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

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

Issue 1925093002: Handle compressed textures allocated via TexStorage2D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move IsCompressedTextureFormat into GLES2Decoder. Created 4 years, 8 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_mock.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
index 32dc5e646124bd4444808e8f6e2a5dcff25d8d20..1c801179dc1b1b1eb0461afe07436b29b871942f 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
@@ -115,6 +115,15 @@ class MockGLES2Decoder : public GLES2Decoder {
int y_offset,
int width,
int height));
+ MOCK_METHOD6(ClearCompressedTextureLevel,
+ bool(Texture* texture,
+ unsigned target,
+ int level,
+ unsigned format,
+ int width,
+ int height));
+ MOCK_METHOD1(IsCompressedTextureFormat,
+ bool(unsigned format));
MOCK_METHOD8(ClearLevel3D,
bool(Texture* texture,
unsigned target,

Powered by Google App Engine
This is Rietveld 408576698