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

Unified Diff: cc/resources/resource_provider.h

Issue 1666203003: Separate out resource mailbox creation and fix synchronization issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | cc/resources/resource_provider.cc » ('j') | cc/resources/resource_provider.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 1913ef0ae7d2ad4a2be4354e40f15a54f88e1e40..f97253ba15e8148aebaedf61db21696b4dffd516 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -537,6 +537,8 @@ class CC_EXPORT ResourceProvider
static void PopulateSkBitmapWithResource(SkBitmap* sk_bitmap,
const Resource* resource);
+ bool CreateMailboxAndBindResource(gpu::gles2::GLES2Interface* gl,
piman 2016/02/04 19:27:02 nit: maybe document what the return value is meant
David Yen 2016/02/04 19:40:16 Done.
+ Resource* resource);
void TransferResource(gpu::gles2::GLES2Interface* gl,
ResourceId id,
TransferableResource* resource);
« no previous file with comments | « no previous file | cc/resources/resource_provider.cc » ('j') | cc/resources/resource_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698