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

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

Issue 2818993002: GL Implementation for GPU Discardable
Patch Set: rebase Created 3 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_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 45789ca0e4569a00e9c1dd1cbbb925e55d91c3c0..2924393a9a89565641b39273355758ceda07fb97 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
@@ -465,6 +465,10 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
void AddExpectationsForBindVertexArrayOES();
void AddExpectationsForRestoreAttribState(GLuint attrib);
+ void DoInitializeDiscardableTextureCHROMIUM(GLuint texture_id);
+ void DoUnlockDiscardableTextureCHROMIUM(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