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

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

Issue 2814583002: Service/ClientDiscardableManager (Closed)
Patch Set: Feedback Created 3 years, 7 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 5b3bde3ec606552ea9a1d993011f86c9e0a9d4a9..17ddd46c5ce38e3ed52ebe45100b0b24425a8544 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
@@ -468,6 +468,11 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
void AddExpectationsForBindVertexArrayOES();
void AddExpectationsForRestoreAttribState(GLuint attrib);
+ void DoInitializeDiscardableTextureCHROMIUM(GLuint texture_id);
+ void DoUnlockDiscardableTextureCHROMIUM(GLuint texture_id);
+ void DoLockDiscardableTextureCHROMIUM(GLuint texture_id);
+ bool IsDiscardableTextureUnlocked(GLuint texture_id);
+
GLvoid* BufferOffset(unsigned i) { return static_cast<int8_t*>(NULL) + (i); }
template <typename Command, typename Result>

Powered by Google App Engine
This is Rietveld 408576698