diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 21:16:55 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 21:16:55 +0000 |
commit | 56ac89b4cc2d93d8cf288053a4d6b22e04b08936 (patch) | |
tree | bb90a9aa3d7d6e63659f06b3695dc27c3879f20e /gpu/command_buffer/service/gles2_cmd_decoder.h | |
parent | ed85e2d55982c48cf8aea99cd26662d073d78ade (diff) | |
download | chromium_src-56ac89b4cc2d93d8cf288053a4d6b22e04b08936.zip chromium_src-56ac89b4cc2d93d8cf288053a4d6b22e04b08936.tar.gz chromium_src-56ac89b4cc2d93d8cf288053a4d6b22e04b08936.tar.bz2 |
Refactored glGet commands to use a SizedResult for
safer operation and consistancy. Added more tests.
TEST=even more unit tests
BUG=none
Review URL: http://codereview.chromium.org/1003005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h index cfa4c66..fae1af0 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h @@ -26,6 +26,7 @@ class XWindowWrapper; namespace gles2 { class ContextGroup; +class GLES2Util; // This class implements the AsyncAPIInterface interface, decoding GLES2 // commands and calling GL. @@ -84,6 +85,9 @@ class GLES2Decoder : public CommonDecoder { // Gets a service id by client id. virtual uint32 GetServiceIdForTesting(uint32 client_id) = 0; + // Gets the GLES2 Util which holds info. + virtual GLES2Util* GetGLES2Util() = 0; + // Sets a callback which is called when a SwapBuffers command is processed. virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0; |