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

Unified Diff: cc/surfaces/display.h

Issue 303113007: Add software renderer support for surfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 309f58f68f2508eb3bc7e181489d3a6ec52aa8f5..a5c5ca3bd57cc0e50f75c4607b51b324c7e60bcb 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -24,6 +24,7 @@ class DisplayClient;
class LayerTreeHost;
class OutputSurface;
class ResourceProvider;
+class SharedBitmapManager;
class Surface;
class SurfaceManager;
@@ -33,7 +34,9 @@ class CC_SURFACES_EXPORT Display
NON_EXPORTED_BASE(public LayerTreeHostClient),
NON_EXPORTED_BASE(public LayerTreeHostSingleThreadClient) {
public:
- Display(DisplayClient* client, SurfaceManager* manager);
+ Display(DisplayClient* client,
+ SurfaceManager* manager,
+ SharedBitmapManager* bitmap_manager);
virtual ~Display();
void Resize(const gfx::Size& new_size);
@@ -75,6 +78,7 @@ class CC_SURFACES_EXPORT Display
DisplayClient* client_;
SurfaceManager* manager_;
SurfaceAggregator aggregator_;
+ SharedBitmapManager* bitmap_manager_;
scoped_ptr<Surface> current_surface_;
scoped_ptr<LayerTreeHost> layer_tree_host_;
scoped_refptr<DelegatedFrameResourceCollection> resource_collection_;
« no previous file with comments | « no previous file | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698