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

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: Fixed gpu_unittests after last refactor. 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 afb8fd7fdb8ba4b6e73c380642dae0ab0e292f5e..60db893516b146e7092fb3842a37c139d3e6c8bc 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
@@ -112,6 +112,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,
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698