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

Unified Diff: cc/resources/resource_provider.cc

Issue 267073003: Make --enable-delegated-renderer show stuff on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix null checks" Created 6 years, 7 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
Index: cc/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 3ce8d6361ee257e22c49c7b9203656a9e8b29dba..aaddcd69926bb8480d7d83aa5f2fc22dd1f6a90d 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -1612,7 +1612,6 @@ void ResourceProvider::TransferResource(GLES2Interface* gl,
source->origin == Resource::Delegated ||
(source->origin == Resource::External && source->mailbox.IsValid()));
DCHECK(source->allocated);
- DCHECK_EQ(source->wrap_mode, GL_CLAMP_TO_EDGE);
ccameron 2014/05/06 00:20:32 I added this check when implementing wrapping, to
resource->id = id;
resource->format = source->format;
resource->mailbox_holder.texture_target = source->target;
« no previous file with comments | « no previous file | content/browser/compositor/delegated_frame_host.h » ('j') | content/browser/compositor/delegated_frame_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698