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

Side by Side Diff: ui/ozone/platform/cast/surface_factory_cast.h

Issue 2731733002: Convert Ozone GL OSMesa implementation. (Closed)
Patch Set: Fix rebase. Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « ui/ozone/common/gl_ozone_osmesa.cc ('k') | ui/ozone/platform/cast/surface_factory_cast.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_ 5 #ifndef UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_
6 #define UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_ 6 #define UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 std::unique_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget( 34 std::unique_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
35 gfx::AcceleratedWidget widget) override; 35 gfx::AcceleratedWidget widget) override;
36 scoped_refptr<NativePixmap> CreateNativePixmap( 36 scoped_refptr<NativePixmap> CreateNativePixmap(
37 gfx::AcceleratedWidget widget, 37 gfx::AcceleratedWidget widget,
38 gfx::Size size, 38 gfx::Size size,
39 gfx::BufferFormat format, 39 gfx::BufferFormat format,
40 gfx::BufferUsage usage) override; 40 gfx::BufferUsage usage) override;
41 41
42 private: 42 private:
43 std::unique_ptr<GLOzoneEglCast> egl_implementation_; 43 std::unique_ptr<GLOzoneEglCast> egl_implementation_;
44 std::unique_ptr<GLOzone> osmesa_implementation_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(SurfaceFactoryCast); 46 DISALLOW_COPY_AND_ASSIGN(SurfaceFactoryCast);
46 }; 47 };
47 48
48 } // namespace ui 49 } // namespace ui
49 50
50 #endif // UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_ 51 #endif // UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_
OLDNEW
« no previous file with comments | « ui/ozone/common/gl_ozone_osmesa.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