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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase 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 c50893f90fab45d282541ee2248b79b1bdc7d26a..f003b1a0b01fab1852beb7b68e35dbf41e22ac0c 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -359,6 +359,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) {
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_buffer.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698