diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-12 02:19:01 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-12 02:19:01 +0000 |
commit | 900db441ac70a0a0b55fa185ff0383914f7a92f2 (patch) | |
tree | 7cd26003dfe706440d1a888ab7e8ee4a0f9850ab /cc/test/test_web_graphics_context_3d.h | |
parent | 58e2806f18c789e91f89c0a836013f29926e8028 (diff) | |
download | chromium_src-900db441ac70a0a0b55fa185ff0383914f7a92f2.zip chromium_src-900db441ac70a0a0b55fa185ff0383914f7a92f2.tar.gz chromium_src-900db441ac70a0a0b55fa185ff0383914f7a92f2.tar.bz2 |
cc: ContextProvider::Capabilities compose gpu::Capabilities
Clean up after introducing gpu::Capabilities.
BUG=285390
Review URL: https://codereview.chromium.org/132783003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_web_graphics_context_3d.h')
-rw-r--r-- | cc/test/test_web_graphics_context_3d.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index db85b19..d8bab3d2 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -215,23 +215,23 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { void ResetUsedTextures() { used_textures_.clear(); } void set_have_extension_io_surface(bool have) { - test_capabilities_.iosurface = have; - test_capabilities_.texture_rectangle = have; + test_capabilities_.gpu.iosurface = have; + test_capabilities_.gpu.texture_rectangle = have; } void set_have_extension_egl_image(bool have) { - test_capabilities_.egl_image_external = have; + test_capabilities_.gpu.egl_image_external = have; } void set_have_post_sub_buffer(bool have) { - test_capabilities_.post_sub_buffer = have; + test_capabilities_.gpu.post_sub_buffer = have; } void set_have_discard_framebuffer(bool have) { - test_capabilities_.discard_framebuffer = have; + test_capabilities_.gpu.discard_framebuffer = have; } void set_support_compressed_texture_etc1(bool support) { - test_capabilities_.texture_format_etc1 = support; + test_capabilities_.gpu.texture_format_etc1 = support; } void set_support_texture_storage(bool support) { - test_capabilities_.texture_storage = support; + test_capabilities_.gpu.texture_storage = support; } // When this context is lost, all contexts in its share group are also lost. |