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

Side by Side Diff: ui/gfx/ozone/surface_factory_ozone.cc

Issue 275263002: [wip] ozonex: X11 backend for ozone. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | ui/gfx/x/gfx_x11.gyp » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "ui/gfx/ozone/surface_factory_ozone.h" 5 #include "ui/gfx/ozone/surface_factory_ozone.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "ui/gfx/ozone/surface_ozone_canvas.h" 10 #include "ui/gfx/ozone/surface_ozone_canvas.h"
(...skipping 17 matching lines...) Expand all
28 SurfaceFactoryOzone* SurfaceFactoryOzone::GetInstance() { 28 SurfaceFactoryOzone* SurfaceFactoryOzone::GetInstance() {
29 CHECK(impl_) << "No SurfaceFactoryOzone implementation set."; 29 CHECK(impl_) << "No SurfaceFactoryOzone implementation set.";
30 return impl_; 30 return impl_;
31 } 31 }
32 32
33 intptr_t SurfaceFactoryOzone::GetNativeDisplay() { 33 intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
34 return 0; 34 return 0;
35 } 35 }
36 36
37 scoped_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget( 37 scoped_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget(
38 gfx::AcceleratedWidget widget) { 38 intptr_t widget) {
39 NOTIMPLEMENTED(); 39 NOTIMPLEMENTED();
40 return scoped_ptr<SurfaceOzoneEGL>(); 40 return scoped_ptr<SurfaceOzoneEGL>();
41 } 41 }
42 42
43 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( 43 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
44 gfx::AcceleratedWidget widget) { 44 intptr_t widget) {
45 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
46 return scoped_ptr<SurfaceOzoneCanvas>(); 46 return scoped_ptr<SurfaceOzoneCanvas>();
47 } 47 }
48 48
49 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties( 49 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
50 const int32* desired_attributes) { 50 const int32* desired_attributes) {
51 return desired_attributes; 51 return desired_attributes;
52 } 52 }
53 53
54
55 gfx::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates( 54 gfx::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates(
56 gfx::AcceleratedWidget w) { 55 intptr_t w) {
57 return NULL; 56 return NULL;
58 } 57 }
59 58
60 void SurfaceFactoryOzone::ScheduleOverlayPlane( 59 void SurfaceFactoryOzone::ScheduleOverlayPlane(
61 gfx::AcceleratedWidget w, 60 intptr_t w,
62 int plane_z_order, 61 int plane_z_order,
63 gfx::OverlayTransform plane_transform, 62 gfx::OverlayTransform plane_transform,
64 gfx::NativeBufferOzone buffer, 63 gfx::NativeBufferOzone buffer,
65 const gfx::Rect& display_bounds, 64 const gfx::Rect& display_bounds,
66 gfx::RectF crop_rect) { 65 gfx::RectF crop_rect) {
67 NOTREACHED(); 66 NOTREACHED();
68 } 67 }
69 68
70 gfx::NativeBufferOzone SurfaceFactoryOzone::CreateNativeBuffer( 69 gfx::NativeBufferOzone SurfaceFactoryOzone::CreateNativeBuffer(
71 gfx::Size size, 70 gfx::Size size,
72 BufferFormat format) { 71 BufferFormat format) {
73 return 0; 72 return 0;
74 } 73 }
75 74
76 } // namespace gfx 75 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | ui/gfx/x/gfx_x11.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698