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

Unified Diff: cc/test/render_pass_test_common.cc

Issue 22529002: [cc] Allow resources and ui resources to specify wrap mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix botched resolve Created 7 years, 3 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
« no previous file with comments | « cc/test/fake_scoped_ui_resource.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/render_pass_test_common.cc
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index 180746764fad59e6bd729db1b4ce9d4ac945a454..13e5c54f428d46529081bcfd7436ef700619371a 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -37,42 +37,49 @@ void TestRenderPass::AppendOneOfEveryQuadType(
resource_provider->CreateResource(
gfx::Size(45, 5),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource1);
cc::ResourceProvider::ResourceId resource2 =
resource_provider->CreateResource(
gfx::Size(346, 61),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource2);
cc::ResourceProvider::ResourceId resource3 =
resource_provider->CreateResource(
gfx::Size(12, 134),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource3);
cc::ResourceProvider::ResourceId resource4 =
resource_provider->CreateResource(
gfx::Size(56, 12),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource4);
cc::ResourceProvider::ResourceId resource5 =
resource_provider->CreateResource(
gfx::Size(73, 26),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource5);
cc::ResourceProvider::ResourceId resource6 =
resource_provider->CreateResource(
gfx::Size(64, 92),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource6);
cc::ResourceProvider::ResourceId resource7 =
resource_provider->CreateResource(
gfx::Size(9, 14),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(resource7);
@@ -214,6 +221,7 @@ void TestRenderPass::AppendOneOfEveryQuadType(
resource_provider->CreateResource(
gfx::Size(20, 12),
resource_provider->best_texture_format(),
+ GL_CLAMP_TO_EDGE,
ResourceProvider::TextureUsageAny);
resource_provider->AllocateForTesting(plane_resources[i]);
}
« no previous file with comments | « cc/test/fake_scoped_ui_resource.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698