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

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: Removed obsolete method and fixed tests. 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 c0820ff694556ae40a271893da4784311fe79038..fb40cf617dde2920059e511cb8eb9bf0207956fb 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
@@ -113,6 +113,13 @@ 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_METHOD8(ClearLevel3D,
bool(Texture* texture,
unsigned target,

Powered by Google App Engine
This is Rietveld 408576698