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

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: tests updated. Created 6 years, 2 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: 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 0e12aece46845b889925251ae18a9e3a2aeac8f0..b2957aac549eb592c75649acd9b5fca5b71e6ddb 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -187,8 +187,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);
@@ -436,6 +435,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