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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h

Issue 1154053002: gpu: Use a rectangle to keep track of the cleared area of each texture level. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix GLES2DecoderImpl::DoCopyTexImage2D Created 5 years, 6 months 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: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
index 7719cdf3960f702162a650129b4651738589d237..1583462b3b848e4b359a382b9a39ae14e790ddfe 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
@@ -335,17 +335,18 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
void DeleteIndexBuffer();
- void SetupClearTextureExpectations(
- GLuint service_id,
- GLuint old_service_id,
- GLenum bind_target,
- GLenum target,
- GLint level,
- GLenum internal_format,
- GLenum format,
- GLenum type,
- GLsizei width,
- GLsizei height);
+ void SetupClearTextureExpectations(GLuint service_id,
+ GLuint old_service_id,
+ GLenum bind_target,
+ GLenum target,
+ GLint level,
+ GLenum internal_format,
+ GLenum format,
+ GLenum type,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height);
void SetupExpectationsForRestoreClearState(
GLclampf restore_red,

Powered by Google App Engine
This is Rietveld 408576698