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

Unified Diff: cc/resources/scoped_resource_unittest.cc

Issue 12665005: cc: Use highp precision for texture coords if available and needed (Closed) Base URL: http://git.chromium.org/chromium/src.git@highp2
Patch Set: rebase after all dependencies landed Created 7 years, 9 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/resources/resource_update_controller_unittest.cc ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/scoped_resource_unittest.cc
diff --git a/cc/resources/scoped_resource_unittest.cc b/cc/resources/scoped_resource_unittest.cc
index 97e93d2adcb055102ede22a797719691eb413135..b08c1e21daf5c3f6fd2149047440ebbbec6adfca 100644
--- a/cc/resources/scoped_resource_unittest.cc
+++ b/cc/resources/scoped_resource_unittest.cc
@@ -16,7 +16,7 @@ namespace {
TEST(ScopedResourceTest, NewScopedResource) {
scoped_ptr<OutputSurface> context(CreateFakeOutputSurface());
scoped_ptr<ResourceProvider> resource_provider(
- ResourceProvider::Create(context.get()));
+ ResourceProvider::Create(context.get(), 0));
scoped_ptr<ScopedResource> texture =
ScopedResource::create(resource_provider.get());
@@ -31,7 +31,7 @@ TEST(ScopedResourceTest, NewScopedResource) {
TEST(ScopedResourceTest, CreateScopedResource) {
scoped_ptr<OutputSurface> context(CreateFakeOutputSurface());
scoped_ptr<ResourceProvider> resource_provider(
- ResourceProvider::Create(context.get()));
+ ResourceProvider::Create(context.get(), 0));
scoped_ptr<ScopedResource> texture =
ScopedResource::create(resource_provider.get());
texture->Allocate(
@@ -49,7 +49,7 @@ TEST(ScopedResourceTest, CreateScopedResource) {
TEST(ScopedResourceTest, ScopedResourceIsDeleted) {
scoped_ptr<OutputSurface> context(CreateFakeOutputSurface());
scoped_ptr<ResourceProvider> resource_provider(
- ResourceProvider::Create(context.get()));
+ ResourceProvider::Create(context.get(), 0));
{
scoped_ptr<ScopedResource> texture =
ScopedResource::create(resource_provider.get());
@@ -78,7 +78,7 @@ TEST(ScopedResourceTest, ScopedResourceIsDeleted) {
TEST(ScopedResourceTest, LeakScopedResource) {
scoped_ptr<OutputSurface> context(CreateFakeOutputSurface());
scoped_ptr<ResourceProvider> resource_provider(
- ResourceProvider::Create(context.get()));
+ ResourceProvider::Create(context.get(), 0));
{
scoped_ptr<ScopedResource> texture =
ScopedResource::create(resource_provider.get());
« no previous file with comments | « cc/resources/resource_update_controller_unittest.cc ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698