diff options
author | dongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-21 22:58:58 +0000 |
---|---|---|
committer | dongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-21 23:00:56 +0000 |
commit | 655041fca6018aeb1aba86201d50e68beb0c9ee6 (patch) | |
tree | 2227bc838cb4ef7c70c8bc42d5d0d51a5ab23f70 /cc/test/test_web_graphics_context_3d.h | |
parent | ec89d0c82318812a6d999d418b771d0030af60fe (diff) | |
download | chromium_src-655041fca6018aeb1aba86201d50e68beb0c9ee6.zip chromium_src-655041fca6018aeb1aba86201d50e68beb0c9ee6.tar.gz chromium_src-655041fca6018aeb1aba86201d50e68beb0c9ee6.tar.bz2 |
cc: Use a normal texture for background texture.
We prefer immutable texture to mutable texture and normal texture to framebuffer target texture.
There are 3 changes;
1. Introduce TextureHint enum to clarify immutable and framebuffer target.
2. The texture for render pass and background filter target is changed from mutable
framebuffer texture to immutable framebuffer texture.
3. The texture for background filter source is changed from mutable framebuffer
texture to mutable texture.
TEST=ResourceProviderTest.TextureHint, ResourceProviderTest.TextureAllocationHint
BUG=404986
Review URL: https://codereview.chromium.org/486853002
Cr-Commit-Position: refs/heads/master@{#291223}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291223 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 | 3 |
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 abdb8c1..a7d5e0b 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; } |