Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h

Issue 1494553002: Revert of Upgrade PixelStorei to ES3/WebGL2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
index d0758a60a34e396e8ffae4c232790edc508f90c0..0488e54a6435190b5e053f80a0c6991977bb81b6 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -175,7 +175,6 @@
ScriptValue getParameter(ScriptState*, GLenum pname) override;
ScriptValue getTexParameter(ScriptState*, GLenum target, GLenum pname) override;
ScriptValue getFramebufferAttachmentParameter(ScriptState*, GLenum target, GLenum attachment, GLenum pname) override;
- void pixelStorei(GLenum pname, GLint param) override;
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, DOMArrayBufferView* pixels) override;
void restoreCurrentFramebuffer() override;
@@ -235,9 +234,6 @@
void removeBoundBuffer(WebGLBuffer*) override;
- void resetUnpackParameters() override;
- void restoreUnpackParameters() override;
-
PersistentWillBeMember<WebGLFramebuffer> m_readFramebufferBinding;
PersistentWillBeMember<WebGLTransformFeedback> m_transformFeedbackBinding;
GLint m_maxArrayTextureLayers;
@@ -259,15 +255,6 @@
PersistentWillBeMember<WebGLQuery> m_currentBooleanOcclusionQuery;
PersistentWillBeMember<WebGLQuery> m_currentTransformFeedbackPrimitivesWrittenQuery;
PersistentHeapVectorWillBeHeapVector<Member<WebGLSampler>> m_samplerUnits;
-
- GLint m_packRowLength;
- GLint m_packSkipPixels;
- GLint m_packSkipRows;
- GLint m_unpackRowLength;
- GLint m_unpackImageHeight;
- GLint m_unpackSkipPixels;
- GLint m_unpackSkipRows;
- GLint m_unpackSkipImages;
};
DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context,

Powered by Google App Engine
This is Rietveld 408576698