| 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 26 matching lines...) Expand all Loading... |
| 37 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( | 37 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( |
| 38 gfx::AcceleratedWidget widget) { | 38 gfx::AcceleratedWidget widget) { |
| 39 return nullptr; | 39 return nullptr; |
| 40 } | 40 } |
| 41 | 41 |
| 42 const int32_t* SurfaceFactoryOzone::GetEGLSurfaceProperties( | 42 const int32_t* SurfaceFactoryOzone::GetEGLSurfaceProperties( |
| 43 const int32_t* desired_attributes) { | 43 const int32_t* desired_attributes) { |
| 44 return desired_attributes; | 44 return desired_attributes; |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool SurfaceFactoryOzone::GetSupportedFormats( |
| 48 gfx::BufferUsage buffer_usage, |
| 49 std::vector<gfx::BufferFormat>* support_formats) { |
| 50 return false; |
| 51 } |
| 52 |
| 47 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( | 53 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( |
| 48 gfx::AcceleratedWidget widget, | 54 gfx::AcceleratedWidget widget, |
| 49 gfx::Size size, | 55 gfx::Size size, |
| 50 gfx::BufferFormat format, | 56 gfx::BufferFormat format, |
| 51 gfx::BufferUsage usage) { | 57 gfx::BufferUsage usage) { |
| 52 return nullptr; | 58 return nullptr; |
| 53 } | 59 } |
| 54 | 60 |
| 55 scoped_refptr<ui::NativePixmap> | 61 scoped_refptr<ui::NativePixmap> |
| 56 SurfaceFactoryOzone::CreateNativePixmapFromHandle( | 62 SurfaceFactoryOzone::CreateNativePixmapFromHandle( |
| 57 const gfx::NativePixmapHandle& handle) { | 63 const gfx::NativePixmapHandle& handle) { |
| 58 return nullptr; | 64 return nullptr; |
| 59 } | 65 } |
| 60 | 66 |
| 61 } // namespace ui | 67 } // namespace ui |
| OLD | NEW |