| OLD | NEW |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::Size size, | 68 gfx::Size size, |
| 69 BufferFormat format) { | 69 BufferFormat format, |
| 70 BufferUsage usage) { |
| 70 return NULL; | 71 return NULL; |
| 71 } | 72 } |
| 72 | 73 |
| 73 bool SurfaceFactoryOzone::ScheduleOverlayPlane( | 74 bool SurfaceFactoryOzone::ScheduleOverlayPlane( |
| 74 gfx::AcceleratedWidget widget, | 75 gfx::AcceleratedWidget widget, |
| 75 int plane_z_order, | 76 int plane_z_order, |
| 76 gfx::OverlayTransform plane_transform, | 77 gfx::OverlayTransform plane_transform, |
| 77 scoped_refptr<NativePixmap> buffer, | 78 scoped_refptr<NativePixmap> buffer, |
| 78 const gfx::Rect& display_bounds, | 79 const gfx::Rect& display_bounds, |
| 79 const gfx::RectF& crop_rect) { | 80 const gfx::RectF& crop_rect) { |
| 80 return false; | 81 return false; |
| 81 } | 82 } |
| 82 | 83 |
| 83 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { | 84 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { |
| 84 return false; | 85 return false; |
| 85 } | 86 } |
| 87 |
| 88 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) { |
| 89 return false; |
| 90 } |
| 91 |
| 86 } // namespace ui | 92 } // namespace ui |
| OLD | NEW |