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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 79603002: ResourceProvider should be able to avoid allocating immutable textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 7 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
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5e876ef258945a3fd137548e6932ec58d3713518..3689e9abf4ae0f6ccdaf508e9e33b2d41139bc64 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -206,6 +206,9 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
void set_support_compressed_texture_etc1(bool support) {
test_capabilities_.texture_format_etc1 = support;
}
+ void set_support_texture_storage(bool support) {
+ test_capabilities_.texture_storage = support;
+ }
// When this context is lost, all contexts in its share group are also lost.
void add_share_group_context(blink::WebGraphicsContext3D* context3d) {
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698