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

Unified Diff: cc/surfaces/display.h

Issue 2128113002: Use a cc::Display for WebView resourceless software draws. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: displaywebview: mojom Created 4 years, 5 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 | « cc/output/software_renderer_unittest.cc ('k') | 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 5d477ffd85dfc0d6795ce997c6cd6568bc42fe20..9df93d418a93ac9017e05c77f30d43adb1ac4262 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -39,6 +39,7 @@ class OutputSurface;
class RendererSettings;
class ResourceProvider;
class SharedBitmapManager;
+class SoftwareRenderer;
class Surface;
class SurfaceAggregator;
class SurfaceIdAllocator;
@@ -142,6 +143,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
std::unique_ptr<SurfaceAggregator> aggregator_;
std::unique_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
std::unique_ptr<DirectRenderer> renderer_;
+ SoftwareRenderer* software_renderer_ = nullptr;
std::vector<ui::LatencyInfo> stored_latency_info_;
private:
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698