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

Unified Diff: cc/resource_provider.h

Issue 11439026: Revert 171403 (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
« no previous file with comments | « cc/renderer.h ('k') | cc/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resource_provider.h
===================================================================
--- cc/resource_provider.h (revision 171405)
+++ cc/resource_provider.h (working copy)
@@ -10,7 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "cc/cc_export.h"
-#include "cc/output_surface.h"
+#include "cc/graphics_context.h"
#include "cc/texture_copier.h"
#include "cc/transferable_resource.h"
#include "third_party/khronos/GLES2/gl2.h"
@@ -46,7 +46,7 @@
Bitmap,
};
- static scoped_ptr<ResourceProvider> create(OutputSurface*);
+ static scoped_ptr<ResourceProvider> create(GraphicsContext*);
virtual ~ResourceProvider();
@@ -257,7 +257,7 @@
};
typedef base::hash_map<int, Child> ChildMap;
- explicit ResourceProvider(OutputSurface*);
+ explicit ResourceProvider(GraphicsContext*);
bool initialize();
const Resource* lockForRead(ResourceId);
@@ -269,7 +269,7 @@
bool transferResource(WebKit::WebGraphicsContext3D*, ResourceId, TransferableResource*);
void deleteResourceInternal(ResourceMap::iterator it);
- OutputSurface* m_outputSurface;
+ GraphicsContext* m_context;
ResourceId m_nextId;
ResourceMap m_resources;
int m_nextChild;
« no previous file with comments | « cc/renderer.h ('k') | cc/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698