summaryrefslogtreecommitdiffstats
path: root/native/include/android/native_window.h
Commit message (Collapse)AuthorAgeFilesLines
* move lock/unlock implementaion outside of Surface into SurfaceTextureClientMathias Agopian2011-07-151-1/+7
| | | | | | | | | | This makes ANativeWindow_lock/ANativeWindow_unlockAndPost work with ANativeWindows implemented by Surface and SurfaceTextureClient. Also, Surface now inherits directly from SurfaceTextureClient. Bug: 5003724 Change-Id: I9f285877c7bae9a262e9a7af91c2bae78804b2ef
* ANativeWindow_setBuffersGeometry now returns proper error codesMathias Agopian2011-03-311-0/+3
| | | | Change-Id: Iac59d513fa1d4a55b8378000714d344ef3e2e0a4
* add format parameter to setBufferGeometryMathias Agopian2010-10-251-1/+1
| | | | Change-Id: I7cc2acdc6e65e9468ecfd5b2f22e6b495a383be9
* More native work.Dianne Hackborn2010-08-111-0/+11
| | | | | | | Implement save/restore of state, and add native APIs for configuration information. Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
* Add ANativeWindow API for directly drawing to the surface bits.Dianne Hackborn2010-07-091-6/+37
| | | | | | | | | | | 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
* Get to the point of being able to do native drawing.Dianne Hackborn2010-07-011-0/+25
| | | | | | A little cleanup. Change-Id: I37ef0557abf330d91d6fe47e81d062206b3bc346
* Make real API for native code to get its window.Dianne Hackborn2010-07-011-0/+17
| | | | | | | Added implementation to use ANativeWindow and provide it to a NativeActivity. Change-Id: I890d71b6e15d4af71e6cf81b327961d7061ec1c2
* Introduce official public NativeWindow type.Dianne Hackborn2010-06-301-0/+33
Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e