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

Unified Diff: cc/resource_provider.h

Issue 11638028: Mailbox support for texture layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/resource_provider.h
diff --git a/cc/resource_provider.h b/cc/resource_provider.h
index d90d2244340edfdc731913b8505f1dde6c5e4005..82685349f1895d29646ceec00110b544af2b7038 100644
--- a/cc/resource_provider.h
+++ b/cc/resource_provider.h
@@ -18,6 +18,7 @@
#include "third_party/skia/include/core/SkCanvas.h"
#include "ui/gfx/size.h"
#include <deque>
+#include <string>
#include <vector>
namespace WebKit {
@@ -82,6 +83,9 @@ public:
// Wraps an external texture into a GL resource.
ResourceId createResourceFromExternalTexture(unsigned textureId);
+ // Wraps an external texture mailbox into a GL resource.
+ ResourceId createResourceFromTextureMailbox(const std::string& mailboxName);
+
void deleteResource(ResourceId);
// Update pixels from image, copying sourceRect (in image) into destRect (in the resource).

Powered by Google App Engine
This is Rietveld 408576698