summaryrefslogtreecommitdiffstats
path: root/include/private/ui/android_natives_priv.h
Commit message (Collapse)AuthorAgeFilesLines
* remove dependency on android_native{s_priv|buffer}.hMathias Agopian2012-02-241-17/+0
| | | | Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
* fix [2167050] glTexImage2D code path buggy in SurfaceFlingerMathias Agopian2009-10-061-46/+1
| | | | | | | | | | | | | | When EGLImage extension is not available, SurfaceFlinger will fallback to using glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an extra copy. However this code path has never been exercised and had some bugs which this patch fix. Mainly the scale factor wasn't computed right when falling back on glDrawElements. We also fallback to this mode of operation if a buffer doesn't have the adequate usage bits for EGLImage usage. This changes only code that is currently not executed. Some refactoring was needed to keep the change clean. This doesn't change anything functionaly.
* be more friendly with CMathias Agopian2009-08-131-2/+2
|
* move android_native_buffer_t declaration into its own ↵Mathias Agopian2009-05-051-0/+62
private/ui/android_native_priv.h header, since user code should never have access to it.