diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 18:52:02 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 18:52:02 +0000 |
commit | 7f1a51c32f9c8c5a44118483c1255328d7983fce (patch) | |
tree | 5ca178adcc32507a067827922332f39c8bd64135 /gpu/command_buffer_service.gypi | |
parent | afaaacd757849f6f9117aa99bd582f52a152aa9c (diff) | |
download | chromium_src-7f1a51c32f9c8c5a44118483c1255328d7983fce.zip chromium_src-7f1a51c32f9c8c5a44118483c1255328d7983fce.tar.gz chromium_src-7f1a51c32f9c8c5a44118483c1255328d7983fce.tar.bz2 |
Revert 147328 - Current status of patch:
- In-memory cache
- maximum in memory limit (currently 6mb)
- lru eviction
- Cache includes saving the attribute + uniform mappings
Wiring:
- Added bindings for glProgramBinary and glGetProgramBinary
- Plumbed the shader cache from gl_channel_manager to program_manager
Refactoring:
- moved the meat of DoCompile to the ProgramManager
New:
- added field to ShaderInfo to store if we have a possible pending cache compile
- exposed attrib_map and uniform_map in ShaderInfo for the cache
- program_cache base class with in-memory status storage
- Simple memory_program_cache implementation, stores programs with lru eviction
- Added caching logic to DoCompileShader in gles2_cmd_decoder and Link in program_manager
Design doc: https://docs.google.com/document/d/1Vceem-nF4TCICoeGSh7OMXxfGuJEJYblGXRgN9V9hcE/edit
BUG=88572
Review URL: https://chromiumcodereview.appspot.com/10534173
TBR=dmurph@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10795037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer_service.gypi')
-rw-r--r-- | gpu/command_buffer_service.gypi | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi index 46ffcf0..4fbd06f 100644 --- a/gpu/command_buffer_service.gypi +++ b/gpu/command_buffer_service.gypi @@ -57,8 +57,6 @@ 'command_buffer/service/id_manager.cc', 'command_buffer/service/mailbox_manager.cc', 'command_buffer/service/mailbox_manager.h', - 'command_buffer/service/memory_program_cache.h', - 'command_buffer/service/memory_program_cache.cc', 'command_buffer/service/mocks.h', 'command_buffer/service/program_manager.h', 'command_buffer/service/program_manager.cc', @@ -66,10 +64,6 @@ 'command_buffer/service/query_manager.cc', 'command_buffer/service/renderbuffer_manager.h', 'command_buffer/service/renderbuffer_manager.cc', - 'command_buffer/service/program_cache.h', - 'command_buffer/service/program_cache.cc', - 'command_buffer/service/program_cache_lru_helper.h', - 'command_buffer/service/program_cache_lru_helper.cc', 'command_buffer/service/shader_manager.h', 'command_buffer/service/shader_manager.cc', 'command_buffer/service/shader_translator.h', |