Glenn Kasten
846db33313
Bug 3515073 Add ANativeWindow_fromSurfaceTexture
...
This is similar to ANativeWindow_fromSurface.
Change-Id: Iaadc06a5d0d50685c34876aa89488c16e7cfaa65
2011-03-04 16:39:29 -08:00
Mathias Agopian
3026a1c4e8
add format parameter to setBufferGeometry
...
Change-Id: I7cc2acdc6e65e9468ecfd5b2f22e6b495a383be9
2010-10-25 15:58:35 -07:00
Dianne Hackborn
289b9b6237
Add ANativeWindow API for directly drawing to the surface bits.
...
Also other cleanup and fixes:
- We now properly set the default window format to 565.
- New APIs to set the window format and flags from native code.
- Tweaked glue for simpler handling of the "destroy" message.
- Um, other stuff.
Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
2010-07-09 16:58:19 -07:00
Dianne Hackborn
8ae5a8e7c0
Get to the point of being able to do native drawing.
...
A little cleanup.
Change-Id: I37ef0557abf330d91d6fe47e81d062206b3bc346
2010-07-01 18:44:46 -07:00
Dianne Hackborn
54a181b1a2
Make real API for native code to get its window.
...
Added implementation to use ANativeWindow and provide
it to a NativeActivity.
Change-Id: I890d71b6e15d4af71e6cf81b327961d7061ec1c2
2010-07-01 14:43:23 -07:00