| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 } | 43 } |
| 44 | 44 |
| 45 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties( | 45 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties( |
| 46 const int32* desired_attributes) { | 46 const int32* desired_attributes) { |
| 47 return desired_attributes; | 47 return desired_attributes; |
| 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 gfx::BufferFormat format, |
| 54 BufferUsage usage) { | 54 gfx::BufferUsage usage) { |
| 55 return NULL; | 55 return NULL; |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { | 58 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { |
| 59 return false; | 59 return false; |
| 60 } | 60 } |
| 61 | 61 |
| 62 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) { | 62 bool SurfaceFactoryOzone::CanCreateNativePixmap(gfx::BufferUsage usage) { |
| 63 return false; | 63 return false; |
| 64 } | 64 } |
| 65 | 65 |
| 66 } // namespace ui | 66 } // namespace ui |
| OLD | NEW |