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

Unified Diff: cc/test/test_gles2_interface.h

Issue 817673004: cc: TextureUploader - Reset GL_UNPACK_ALIGNMENT to 4 before uploading images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unittest for ScopedGpuRaster state restore. Created 6 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: cc/test/test_gles2_interface.h
diff --git a/cc/test/test_gles2_interface.h b/cc/test/test_gles2_interface.h
index a12147a639d5aee75a860c38b705581bee9b4a5e..3a174afd06b623cb137f45fbae303ec37af18d26 100644
--- a/cc/test/test_gles2_interface.h
+++ b/cc/test/test_gles2_interface.h
@@ -64,6 +64,8 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
void BindRenderbuffer(GLenum target, GLuint buffer) override;
void BindFramebuffer(GLenum target, GLuint buffer) override;
+ void PixelStorei(GLenum pname, GLint param) override;
+
void TexImage2D(GLenum target,
GLint level,
GLint internalformat,

Powered by Google App Engine
This is Rietveld 408576698