summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cc/test/test_web_graphics_context_3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index eda6f0f..ff2c704 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -327,6 +327,9 @@ class TestWebGraphicsContext3D {
void set_support_sync_query(bool support) {
test_capabilities_.gpu.sync_query = support;
}
+ void set_support_image(bool support) {
+ test_capabilities_.gpu.image = support;
+ }
// When this context is lost, all contexts in its share group are also lost.
void add_share_group_context(TestWebGraphicsContext3D* context3d) {