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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 635543002: cc: Make ResourceProvider use bindless Produce/ConsumeTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test fails in LTH unittest. Created 6 years, 1 month 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: cc/test/test_web_graphics_context_3d.h
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index eda6f0f222d6f6327ea39a8e9d0829769522ca70..af06b9945812677f7e6eadf35711bff9a82d7bee 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -189,8 +189,7 @@ class TestWebGraphicsContext3D {
const GLbyte* mailbox) {}
virtual void consumeTextureCHROMIUM(GLenum target,
const GLbyte* mailbox) { }
- virtual GLuint createAndConsumeTextureCHROMIUM(GLenum target,
- const GLbyte* mailbox);
+ GLuint createAndConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox);
virtual void loseContextCHROMIUM(GLenum current, GLenum other);
@@ -430,6 +429,7 @@ class TestWebGraphicsContext3D {
void CreateNamespace();
GLuint BoundTextureId(GLenum target);
scoped_refptr<TestTexture> BoundTexture(GLenum target);
+ scoped_refptr<TestTexture> UnboundTexture(GLuint texture);
void CheckTextureIsBound(GLenum target);
unsigned context_id_;

Powered by Google App Engine
This is Rietveld 408576698