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

Unified Diff: cc/resources/resource_provider.h

Issue 13870013: Pass texture target to CreateResourceFromExternalTexture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 01e602771011145584e5897b121f45a5bfdd1df7..e964437757ba5ed4e6f7c8356bb083cc00c78e67 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -99,7 +99,9 @@ class CC_EXPORT ResourceProvider {
ResourceId CreateBitmap(gfx::Size size);
// Wraps an external texture into a GL resource.
- ResourceId CreateResourceFromExternalTexture(unsigned texture_id);
+ ResourceId CreateResourceFromExternalTexture(
+ unsigned texture_target,
+ unsigned texture_id);
// Wraps an external texture mailbox into a GL resource.
ResourceId CreateResourceFromTextureMailbox(const TextureMailbox& mailbox);

Powered by Google App Engine
This is Rietveld 408576698