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

Unified Diff: ui/ozone/platform/cast/surface_factory_cast.h

Issue 1478753003: [Chromecast] Support software rendering when disable-gpu used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use disable-gpu to enable software canvas Created 5 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: ui/ozone/platform/cast/surface_factory_cast.h
diff --git a/ui/ozone/platform/cast/surface_factory_cast.h b/ui/ozone/platform/cast/surface_factory_cast.h
index c0bc8f9cf3dca9f6967b305533e0de8ee2db4946..1feb52b60c1c707aeab0266ddf2af004b1eabc3e 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.h
+++ b/ui/ozone/platform/cast/surface_factory_cast.h
@@ -18,11 +18,14 @@ namespace ui {
// SurfaceFactoryOzone implementation for OzonePlatformCast.
class SurfaceFactoryCast : public SurfaceFactoryOzone {
public:
+ SurfaceFactoryCast();
explicit SurfaceFactoryCast(
scoped_ptr<chromecast::CastEglPlatform> egl_platform);
~SurfaceFactoryCast() override;
// SurfaceFactoryOzone implementation:
+ scoped_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
+ gfx::AcceleratedWidget w) override;
slan 2015/12/08 22:40:25 nit: I see that using "w" as a param name has prec
halliwell 2015/12/08 23:27:57 Done.
intptr_t GetNativeDisplay() override;
scoped_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
gfx::AcceleratedWidget widget) override;

Powered by Google App Engine
This is Rietveld 408576698