Chromium Code Reviews| Index: cc/resource_provider.h |
| diff --git a/cc/resource_provider.h b/cc/resource_provider.h |
| index d90d2244340edfdc731913b8505f1dde6c5e4005..3b99ed354f2cbcbca7d98c606af804061d69583e 100644 |
| --- a/cc/resource_provider.h |
| +++ b/cc/resource_provider.h |
| @@ -6,6 +6,7 @@ |
| #define CC_RESOURCE_PROVIDER_H_ |
| #include "base/basictypes.h" |
| +#include "base/callback.h" |
| #include "base/hash_tables.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/threading/thread_checker.h" |
| @@ -19,6 +20,7 @@ |
| #include "ui/gfx/size.h" |
| #include <deque> |
| #include <vector> |
| +#include <string> |
|
danakj
2013/01/02 16:17:22
Stick all the <> headers above the "" headers whil
alexst (slow to review)
2013/01/02 19:31:35
Done.
|
| namespace WebKit { |
| class WebGraphicsContext3D; |
| @@ -82,6 +84,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, const base::Callback<void(unsigned)>& releaseCallback); |
| + |
| void deleteResource(ResourceId); |
| // Update pixels from image, copying sourceRect (in image) into destRect (in the resource). |