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

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: Add comment on switch 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
« no previous file with comments | « ui/ozone/platform/cast/ozone_platform_cast.cc ('k') | ui/ozone/platform/cast/surface_factory_cast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ec779742c173e32b9513d5ba1e755760732c78ac 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.h
+++ b/ui/ozone/platform/cast/surface_factory_cast.h
@@ -18,17 +18,20 @@ 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 widget) override;
intptr_t GetNativeDisplay() override;
scoped_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
gfx::AcceleratedWidget widget) override;
const int32* GetEGLSurfaceProperties(const int32* desired_list) override;
scoped_refptr<NativePixmap> CreateNativePixmap(
- gfx::AcceleratedWidget w,
+ gfx::AcceleratedWidget widget,
gfx::Size size,
gfx::BufferFormat format,
gfx::BufferUsage usage) override;
« no previous file with comments | « ui/ozone/platform/cast/ozone_platform_cast.cc ('k') | ui/ozone/platform/cast/surface_factory_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698