summaryrefslogtreecommitdiff
path: root/opengl/libs/EGL/egl_cache.cpp
AgeCommit message (Collapse)Author
2012-03-07remove files that moved to frameworks/nativeMathias Agopian
Change-Id: I140d291e520097b1148930f736823650e08488f7
2012-02-13remove multiplexing of multiple EGL implementationMathias Agopian
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
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2012-01-06Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
2011-11-21EGL: Use cache sizes defined in the BoardConfigJamie Gennis
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
2011-11-17EGL: fix blob cache extension detectionJamie Gennis
Bug: 5474671 Change-Id: I6359063ccf23f076fc84c80b8a2f6731a65eef18
2011-11-11EGL: add the ANDROID suffix to the blob cache extJamie Gennis
This change adds the ANDROID suffix to the all the types and functions defined by the EGL_ANDROID_blob_cache extension. Change-Id: I087875b96d9a7053efb9c8d5614f9f765eed799d
2011-11-08EGL: add deferred saving of the cacheJamie Gennis
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
2011-11-08EGL: implement loading and saving the cacheJamie Gennis
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
2011-11-07EGL: use an in-memory the blob cacheJamie Gennis
This change makes the makes the stub EGL_ANDROID_blob_cache callbacks actually use a BlobCache object. Bug: 5474671 Change-Id: I5cbaae2dea3aad2fe306c9f57029c3f215a0863a
2011-11-04EGL: Add stubs for EGL_ANDROID_blob_cacheJamie Gennis
This change adds a stub cache implementation that gets passed to the underlying EGL implementation at initialization time. Change-Id: I14437c5b6f91b7a34a19bb02ad802e6e54f88d2a