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

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

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates( 66 ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates(
67 gfx::AcceleratedWidget w) { 67 gfx::AcceleratedWidget w) {
68 return NULL; 68 return NULL;
69 } 69 }
70 70
71 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( 71 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
72 gfx::AcceleratedWidget widget, 72 gfx::AcceleratedWidget widget,
73 gfx::Size size, 73 gfx::Size size,
74 BufferFormat format, 74 BufferFormat format,
75 BufferUsage usage) { 75 BufferUsage usage,
76 return NULL; 76 gfx::GpuMemoryBufferHandle* handle) {
77 return nullptr;
77 } 78 }
78 79
79 bool SurfaceFactoryOzone::ScheduleOverlayPlane( 80 bool SurfaceFactoryOzone::ScheduleOverlayPlane(
80 gfx::AcceleratedWidget widget, 81 gfx::AcceleratedWidget widget,
81 int plane_z_order, 82 int plane_z_order,
82 gfx::OverlayTransform plane_transform, 83 gfx::OverlayTransform plane_transform,
83 scoped_refptr<NativePixmap> buffer, 84 scoped_refptr<NativePixmap> buffer,
84 const gfx::Rect& display_bounds, 85 const gfx::Rect& display_bounds,
85 const gfx::RectF& crop_rect) { 86 const gfx::RectF& crop_rect) {
86 return false; 87 return false;
87 } 88 }
88 89
89 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { 90 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() {
90 return false; 91 return false;
91 } 92 }
92 93
93 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) { 94 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) {
94 return false; 95 return false;
95 } 96 }
96 97
97 } // namespace ui 98 } // namespace ui
OLDNEW
« ui/ozone/platform/drm/gpu/gbm_map_pixmap_intel.cc ('K') | « 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