| Index: third_party/WebKit/Source/modules/webgl/WebGLTexture.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLTexture.h b/third_party/WebKit/Source/modules/webgl/WebGLTexture.h
|
| index a71cb81389aef26cc32f8e5b27cbc3e56dcf975d..325194380bcdcd0d023c5b548aeaf0971ec9950b 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLTexture.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLTexture.h
|
| @@ -41,6 +41,10 @@ public:
|
|
|
| GLenum getTarget() const { return m_target; }
|
|
|
| + void setColorFormat(GLenum);
|
| +
|
| + GLenum getColorFormat() const { return m_colorFormat; }
|
| +
|
| static GLenum getValidFormatForInternalFormat(GLenum);
|
|
|
| bool hasEverBeenBound() const { return object() && m_target; }
|
| @@ -56,6 +60,7 @@ private:
|
|
|
| int mapTargetToIndex(GLenum) const;
|
|
|
| + GLenum m_colorFormat;
|
| GLenum m_target;
|
| };
|
|
|
|
|