OSDN Git Service

EGL: add deferred saving of the cache
authorJamie Gennis <jgennis@google.com>
Wed, 9 Nov 2011 01:59:36 +0000 (17:59 -0800)
committerJamie Gennis <jgennis@google.com>
Wed, 9 Nov 2011 01:59:36 +0000 (17:59 -0800)
commit99c3d700d2d0886fe27fa961c89dae7c6c3b8195
treef1479a9eec2a5ca05d7b9bdabe4cff6604d4a85b
parent07289f166a4b82867ed06b6b0a4c48528d4783af
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
opengl/libs/EGL/egl_cache.cpp
opengl/libs/EGL/egl_cache.h