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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 486853002: cc: Use a normal texture for background texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TextureHintImmutableFramebuffer because fbo binding immutable texture is efficient. Created 6 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 abdb8c15373f8d44c19d51e057539419e7a62225..a7d5e0b6eb1fa3c9226d739e950a4b1e8d0a58e0 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -307,6 +307,9 @@ class TestWebGraphicsContext3D {
void set_support_texture_storage(bool support) {
test_capabilities_.gpu.texture_storage = support;
}
+ void set_support_texture_usage(bool support) {
+ test_capabilities_.gpu.texture_usage = support;
+ }
void set_support_sync_query(bool support) {
test_capabilities_.gpu.sync_query = support;
}

Powered by Google App Engine
This is Rietveld 408576698