summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/program_cache.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 21:12:35 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 21:12:35 +0000
commited9f9cd8516eee1fac01379dc7fd0be4fb63e5c4 (patch)
tree7d5d691ebafb18e259bd0f0356c36416d37e30d3 /gpu/command_buffer/service/program_cache.h
parent31f49d116d1fee7389052b9a524ec668a07dbf69 (diff)
downloadchromium_src-ed9f9cd8516eee1fac01379dc7fd0be4fb63e5c4.zip
chromium_src-ed9f9cd8516eee1fac01379dc7fd0be4fb63e5c4.tar.gz
chromium_src-ed9f9cd8516eee1fac01379dc7fd0be4fb63e5c4.tar.bz2
Refactor/Rename a bunch of GPU stuff
Remove typedef scoped_refptr<Foo> Ref; FooManager::FooInfo -> Foo Create/Get/RemoveFooInfo to Create/Get//RemoveFoo BUG=None Review URL: https://codereview.chromium.org/12326146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185036 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/program_cache.h')
-rw-r--r--gpu/command_buffer/service/program_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpu/command_buffer/service/program_cache.h b/gpu/command_buffer/service/program_cache.h
index 310908b..e52a465 100644
--- a/gpu/command_buffer/service/program_cache.h
+++ b/gpu/command_buffer/service/program_cache.h
@@ -54,16 +54,16 @@ class GPU_EXPORT ProgramCache {
// there was an error, PROGRAM_LOAD_FAILURE should be returned.
virtual ProgramLoadResult LoadLinkedProgram(
GLuint program,
- ShaderManager::ShaderInfo* shader_a,
- ShaderManager::ShaderInfo* shader_b,
+ Shader* shader_a,
+ Shader* shader_b,
const LocationMap* bind_attrib_location_map) const = 0;
// Saves the program into the cache. If successful, the implementation should
// call LinkedProgramCacheSuccess.
virtual void SaveLinkedProgram(
GLuint program,
- const ShaderManager::ShaderInfo* shader_a,
- const ShaderManager::ShaderInfo* shader_b,
+ const Shader* shader_a,
+ const Shader* shader_b,
const LocationMap* bind_attrib_location_map) = 0;
// clears the cache