diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 01:11:37 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 01:11:37 +0000 |
commit | f7b85373bada6dc2da2ca3b47c38fc25d89dcf2e (patch) | |
tree | b14cdb3fd116c4287f2d61cd0f4e75c91cdf13b4 /gpu/command_buffer/common/gles2_cmd_utils.h | |
parent | 50d22375941bee74a33e504c78e4355c878c30b9 (diff) | |
download | chromium_src-f7b85373bada6dc2da2ca3b47c38fc25d89dcf2e.zip chromium_src-f7b85373bada6dc2da2ca3b47c38fc25d89dcf2e.tar.gz chromium_src-f7b85373bada6dc2da2ca3b47c38fc25d89dcf2e.tar.bz2 |
Implements glGetUniformiv and glGetUniformfv.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/566019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_utils.h')
-rw-r--r-- | gpu/command_buffer/common/gles2_cmd_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h index 6a14133..1d2139d 100644 --- a/gpu/command_buffer/common/gles2_cmd_utils.h +++ b/gpu/command_buffer/common/gles2_cmd_utils.h @@ -30,6 +30,8 @@ class GLES2Util { static uint32 ComputeImageDataSize( int width, int height, int format, int type, int unpack_alignment); + static uint32 GetGLDataTypeSize(int type); + private: int num_compressed_texture_formats_; }; |