diff options
author | kloveless@chromium.org <kloveless@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 21:11:50 +0000 |
---|---|---|
committer | kloveless@chromium.org <kloveless@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 21:11:50 +0000 |
commit | d3eba3428254af18968db5dc81ec632b04b0c014 (patch) | |
tree | dd5c5dae04331d26709d3790bf3a9296047e812f /gpu/command_buffer/service/texture_manager.h | |
parent | 58a0644d395cdc0c1f921a527f3b6d6ba69d1977 (diff) | |
download | chromium_src-d3eba3428254af18968db5dc81ec632b04b0c014.zip chromium_src-d3eba3428254af18968db5dc81ec632b04b0c014.tar.gz chromium_src-d3eba3428254af18968db5dc81ec632b04b0c014.tar.bz2 |
Clean up of GLES2 Command Decoder by moving some of the error state into a separate class.
Review URL: https://chromiumcodereview.appspot.com/14308014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/texture_manager.h')
-rw-r--r-- | gpu/command_buffer/service/texture_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h index 58b4c5c..51c9ba4 100644 --- a/gpu/command_buffer/service/texture_manager.h +++ b/gpu/command_buffer/service/texture_manager.h @@ -23,6 +23,7 @@ namespace gles2 { class GLES2Decoder; class Display; +class ErrorState; class FeatureInfo; class TextureDefinition; class TextureManager; @@ -477,7 +478,7 @@ class GPU_EXPORT TextureManager { // Returns GL_NO_ERROR on success. Otherwise the error to generate. // TODO(gman): Expand to SetParameteri,f,iv,fv void SetParameter( - const char* function_name, GLES2Decoder* decoder, + const char* function_name, ErrorState* error_state, Texture* texture, GLenum pname, GLint param); // Makes each of the mip levels as though they were generated. |