| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } | 48 } |
| 49 | 49 |
| 50 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( | 50 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( |
| 51 gfx::AcceleratedWidget widget, | 51 gfx::AcceleratedWidget widget, |
| 52 gfx::Size size, | 52 gfx::Size size, |
| 53 BufferFormat format, | 53 BufferFormat format, |
| 54 BufferUsage usage) { | 54 BufferUsage usage) { |
| 55 return NULL; | 55 return NULL; |
| 56 } | 56 } |
| 57 | 57 |
| 58 base::FileDescriptor SurfaceFactoryOzone::ExportDmaBuf( |
| 59 gfx::AcceleratedWidget widget, |
| 60 scoped_refptr<NativePixmap> pixmap) { |
| 61 return base::FileDescriptor(); |
| 62 } |
| 63 |
| 58 bool SurfaceFactoryOzone::ScheduleOverlayPlane( | 64 bool SurfaceFactoryOzone::ScheduleOverlayPlane( |
| 59 gfx::AcceleratedWidget widget, | 65 gfx::AcceleratedWidget widget, |
| 60 int plane_z_order, | 66 int plane_z_order, |
| 61 gfx::OverlayTransform plane_transform, | 67 gfx::OverlayTransform plane_transform, |
| 62 scoped_refptr<NativePixmap> buffer, | 68 scoped_refptr<NativePixmap> buffer, |
| 63 const gfx::Rect& display_bounds, | 69 const gfx::Rect& display_bounds, |
| 64 const gfx::RectF& crop_rect) { | 70 const gfx::RectF& crop_rect) { |
| 65 return false; | 71 return false; |
| 66 } | 72 } |
| 67 | 73 |
| 68 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { | 74 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { |
| 69 return false; | 75 return false; |
| 70 } | 76 } |
| 71 | 77 |
| 72 } // namespace ui | 78 } // namespace ui |
| OLD | NEW |