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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: fix unittests Created 3 years, 4 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 02c6bffaa54a2c0bf9bfc2fa6685c80ad4bea701..6e187803e04b040d6802746b34cd506cb374316c 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -356,6 +356,9 @@ class TestWebGraphicsContext3D {
void set_support_multisample_compatibility(bool support) {
test_capabilities_.multisample_compatibility = support;
}
+ void set_support_texture_buffer_chromium(bool support) {
+ test_capabilities_.texture_buffer_chromium = support;
+ }
// When this context is lost, all contexts in its share group are also lost.
void add_share_group_context(TestWebGraphicsContext3D* context3d) {

Powered by Google App Engine
This is Rietveld 408576698