From 8ab49ba60a93c60bf3fc6c70cb4b08025135ea76 Mon Sep 17 00:00:00 2001 From: danakj Date: Wed, 29 Oct 2014 09:36:25 -0700 Subject: Add setter for test_capabilities_.gpu.image in TestWebGraphicsContext3D. R=reveman BUG=428071 Review URL: https://codereview.chromium.org/690453003 Cr-Commit-Position: refs/heads/master@{#301856} --- cc/test/test_web_graphics_context_3d.h | 3 +++ 1 file changed, 3 insertions(+) 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) { -- cgit v1.1