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

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

Issue 741253002: Add AcceleratedWidget to native pixmap allocation to specify which display controller to create the… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/public/surface_factory_ozone.h ('k') | no next file » | 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/ozone/public/surface_factory_ozone.h" 5 #include "ui/ozone/public/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/ozone/public/native_pixmap.h" 10 #include "ui/ozone/public/native_pixmap.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const int32* desired_attributes) { 58 const int32* desired_attributes) {
59 return desired_attributes; 59 return desired_attributes;
60 } 60 }
61 61
62 ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates( 62 ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates(
63 gfx::AcceleratedWidget w) { 63 gfx::AcceleratedWidget w) {
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( 67 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
68 gfx::AcceleratedWidget widget,
68 gfx::Size size, 69 gfx::Size size,
69 BufferFormat format, 70 BufferFormat format,
70 BufferUsage usage) { 71 BufferUsage usage) {
71 return NULL; 72 return NULL;
72 } 73 }
73 74
74 bool SurfaceFactoryOzone::ScheduleOverlayPlane( 75 bool SurfaceFactoryOzone::ScheduleOverlayPlane(
75 gfx::AcceleratedWidget widget, 76 gfx::AcceleratedWidget widget,
76 int plane_z_order, 77 int plane_z_order,
77 gfx::OverlayTransform plane_transform, 78 gfx::OverlayTransform plane_transform,
78 scoped_refptr<NativePixmap> buffer, 79 scoped_refptr<NativePixmap> buffer,
79 const gfx::Rect& display_bounds, 80 const gfx::Rect& display_bounds,
80 const gfx::RectF& crop_rect) { 81 const gfx::RectF& crop_rect) {
81 return false; 82 return false;
82 } 83 }
83 84
84 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { 85 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() {
85 return false; 86 return false;
86 } 87 }
87 88
88 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) { 89 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) {
89 return false; 90 return false;
90 } 91 }
91 92
92 } // namespace ui 93 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/public/surface_factory_ozone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698