History log of /frameworks/base/include/ui/egl/android_natives.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f6331a497455fdb6618bf4c634c9326695304c24 12-Mar-2010 Mathias Agopian <mathias@google.com> Add a new connect/disconnect API to android_native_window_t

it's used to keep track of which API owns the surface.

Change-Id: I1021c5905c020efc3c428e561b38189377168b22
/frameworks/base/include/ui/egl/android_natives.h
2b8954809e7de900e2c159c255d5237ae6f0e6f8 17-Aug-2009 Mathias Agopian <mathias@google.com> really be more friendly with C
/frameworks/base/include/ui/egl/android_natives.h
f233915016a9053c23af6e4bceb319e7140f71bc 14-Aug-2009 Mathias Agopian <mathias@google.com> be more friendly with C
/frameworks/base/include/ui/egl/android_natives.h
8db93389141fbce1e37f4c22f415fc2cebf19ebf 14-Aug-2009 Dima Zavin <dima@android.com> ui: make native_window_set_usage be a static inline

Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/base/include/ui/egl/android_natives.h
5cec4742b3a1d7448bd32ae57cb4cf70b484c64c 12-Aug-2009 Mathias Agopian <mathias@google.com> second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
/frameworks/base/include/ui/egl/android_natives.h
64e89a8aff9a45a491f1d7064a655b9021fe644a 12-Aug-2009 Fred Quintana <fredq@google.com> Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."

This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
/frameworks/base/include/ui/egl/android_natives.h
8b76a0ac6fbf07254629ed1ea86af014d5abe050 11-Aug-2009 Mathias Agopian <mathias@google.com> SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.

This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
/frameworks/base/include/ui/egl/android_natives.h
25ec00fd13a6310d80a726cc9493a4b394056063 07-Aug-2009 Mathias Agopian <mathias@google.com> added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
/frameworks/base/include/ui/egl/android_natives.h
5b5c9144872b4e31ba5a041dce585a8ddbbe495d 31-Jul-2009 Mathias Agopian <mathias@google.com> fixed some issues with the software renderer when surfaces are made current.

there was several issues:
- when a surface was made non-current, the last frame wasn't shown and the buffer could stay locked
- when a surface was made current the 2nd time, it would not dequeue a new buffer

now, queue/dequeue are done when the surface is made current.

for this to work, a new query() hook had to be added on android_native_window_t, it allows to retrieve some attributes of a window (currently only width and height).
/frameworks/base/include/ui/egl/android_natives.h
9bd5da4db97fec7cdbe6e07870411c1fcaff4365 06-May-2009 Mathias Agopian <mathias@google.com> get rid off unneeded flags
/frameworks/base/include/ui/egl/android_natives.h
b51e18d59b6f8e44a5d3516fc3359c54fa913331 06-May-2009 Mathias Agopian <mathias@google.com> move android_native_buffer_t declaration into its own private/ui/android_native_priv.h header, since user code should never have access to it.
/frameworks/base/include/ui/egl/android_natives.h
ac2523b161df2bb507cc88906bb070878266770d 06-May-2009 Mathias Agopian <mathias@google.com> move opengl/include/EGL/android_natives.h to include/ui/egl/android_natives.h and don't include it from egl.h

the android_native_ types are just forward declared in egl.h
/frameworks/base/include/ui/egl/android_natives.h