History log of /frameworks/native/opengl/libs/EGL/egl_cache.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
83b1e685d252e589fa4a2e7e54c1f416aca63043 13-Mar-2016 Brian Carlstrom <bdc@google.com> frameworks/native: Make Thread::run threadName argument required

Bug: 27557176
Change-Id: I009046d04cc127ee280c7b2038c04fab540fc5e6
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
eacd31f41ef1851bb420c65552b1aed6b74abe29 03-Feb-2016 Dan Albert <danalbert@google.com> Clean up warnings in EGL.

Bug: http://b/26936282
Change-Id: I059628332d638f080a5236eed62cf0afa1d4d6ba
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
e142428a9c8b9d2380032cd4d7b55ee440fe8770 30-Jul-2013 Mathias Agopian <mathias@google.com> Make Flattenable not virtual

Fallout from the Flattenable change, update all its uses.

Additionnaly, fix/tighten size checks when (un)flatten()ing
things.

Removed the assumption by some flattenables (e.g.: Fence)
that the size passed to them would be exact (it can
and will be larger in some cases)

The code in Parcel is a bit complicated so that we don't
have to expose the full implementation (and also to
keep the code smallish).

Change-Id: I0bf1c8aca2a3128491b4f45510bc46667e566dde
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
5539e219de5ffa93e9f22b30dacf7c28e7f7a0be 31-Jul-2013 Jamie Gennis <jgennis@google.com> EGL: fix eglTerminate blob cache behavior

Bug: 9610573
Change-Id: I258e7e0d82ab76fbacf0b9c25d4f92fca6df04ac
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
39c24a20bbc697630d2b92c251b70c04d6f9d00c 05-Apr-2013 Mathias Agopian <mathias@google.com> fix local include paths

Change-Id: Icb921fa796ec08612dbb2feb7e7161bcb0cf4a99
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
f478e6d18cb9eba1ded1f124ce16a899d271689e 12-Sep-2012 Jamie Gennis <jgennis@google.com> EGL: make max cache key size BoardConfig-able

This change makes the maximum EGL blob cache key size configurable via a
BoardConfig.

Change-Id: Ic669cd25fc743662bd4f13aab62354fc3d54560c
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
a30cc7db8dba9f028333a8e1865006bf6d4f410d 28-Jun-2012 vijay gupta <vijayg@nvidia.com> EGL: do not use sparse files for shader

- Process is killed by system with SIGBUS signal if it writes
data to mapped sparse file on full filesystem.
- Allocate space using write() function instead of ftruncate()
to avoid creation of sparse files on full filesystem.
Catch write() errors to handle out-of-space case during allocation.

Bug: http://code.google.com/p/android/issues/detail?id=35376
Change-Id: Ifc366454f34e71a43a0973eda4f591a920ea3a14
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
ada798b7ca7cabc255aa159964b64975e7fdb2df 14-Feb-2012 Mathias Agopian <mathias@google.com> remove multiplexing of multiple EGL implementation

from now on, the system can only have one EGL
implementation. this means the software and h/w renderer
cannot be used at the same time on a device. Of course, the
h/w renderer is always prefered; in its absence we
default to the software renderer.

Change-Id: Ib579f58055dd0ce4c4a99144131efa11c16ca3d3
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
e6f43ddce78d6846af12550ff9193c5c6fe5844b 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
32397c1cd3327905173b36baa6fd1c579bc328ff 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
89c1d61c16c786ecfd258a43fed24bcf8f8456ed 20-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: Use cache sizes defined in the BoardConfig

This change introduces two new BoardConfig variables to control the size
limits of the EGL blob cache. MAX_EGL_CACHE_ENTRY_SIZE is the size
limit for values inserted into the cache, and MAX_EGL_CACHE_SIZE is the
size limit for all entries in the entire cache (including both keys and
values). If either of these BoardConfig variables are not defined then
a default size limit is used instead.

Change-Id: I6703d93f966b6389c6499f23d841e42339f9c9d7
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
9f43009177520c89ca03789993634a3689f41d10 17-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: fix blob cache extension detection

Bug: 5474671
Change-Id: I6359063ccf23f076fc84c80b8a2f6731a65eef18
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
c42fcf05ce253d5342993b28c412be16e61efffb 10-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: add the ANDROID suffix to the blob cache ext

This change adds the ANDROID suffix to the all the types and functions
defined by the EGL_ANDROID_blob_cache extension.

Change-Id: I087875b96d9a7053efb9c8d5614f9f765eed799d
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
99c3d700d2d0886fe27fa961c89dae7c6c3b8195 09-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: add deferred saving of the cache

This change causes any insertions into the EGL cache to trigger an
attempt to save the cache contents to disk. The save operation is
deferred to allow multiple cache insertions to be batched up.

Change-Id: I6cfec9c0dbbef94d3f8880860e2a365dccc296c7
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
98c6383580f94bb7ff9cc9a7cc24d8b8519e484a 08-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: implement loading and saving the cache

This change adds support for saving and loading the contents of the EGL
cache. It also adds some simple tests for the EGL cache.

Change-Id: I18e5e789e0897a0783d29d1c1e64d26de2dd44c4
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
766010858ea7696d64f1b559413670bdd8627595 06-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: use an in-memory the blob cache

This change makes the makes the stub EGL_ANDROID_blob_cache callbacks
actually use a BlobCache object.

Bug: 5474671
Change-Id: I5cbaae2dea3aad2fe306c9f57029c3f215a0863a
/frameworks/native/opengl/libs/EGL/egl_cache.cpp
aca51c06f38155f1435fbc6944d7fc0a9bf1e4e9 04-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: Add stubs for EGL_ANDROID_blob_cache

This change adds a stub cache implementation that gets passed to the
underlying EGL implementation at initialization time.

Change-Id: I14437c5b6f91b7a34a19bb02ad802e6e54f88d2a
/frameworks/native/opengl/libs/EGL/egl_cache.cpp