| 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 gl::GLImplementation implementation, | 37 gl::GLImplementation implementation, |
| 38 const gfx::Size& size) { | 38 const gfx::Size& size) { |
| 39 return nullptr; | 39 return nullptr; |
| 40 } | 40 } |
| 41 | 41 |
| 42 std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( | 42 std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( |
| 43 gfx::AcceleratedWidget widget) { | 43 gfx::AcceleratedWidget widget) { |
| 44 return nullptr; | 44 return nullptr; |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool SurfaceFactoryOzone::LoadEGLGLES2Bindings() { |
| 48 return false; |
| 49 } |
| 50 |
| 47 std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats( | 51 std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats( |
| 48 gfx::AcceleratedWidget widget) { | 52 gfx::AcceleratedWidget widget) { |
| 49 return std::vector<gfx::BufferFormat>(); | 53 return std::vector<gfx::BufferFormat>(); |
| 50 } | 54 } |
| 51 | 55 |
| 52 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( | 56 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( |
| 53 gfx::AcceleratedWidget widget, | 57 gfx::AcceleratedWidget widget, |
| 54 gfx::Size size, | 58 gfx::Size size, |
| 55 gfx::BufferFormat format, | 59 gfx::BufferFormat format, |
| 56 gfx::BufferUsage usage) { | 60 gfx::BufferUsage usage) { |
| 57 return nullptr; | 61 return nullptr; |
| 58 } | 62 } |
| 59 | 63 |
| 60 scoped_refptr<ui::NativePixmap> | 64 scoped_refptr<ui::NativePixmap> |
| 61 SurfaceFactoryOzone::CreateNativePixmapFromHandle( | 65 SurfaceFactoryOzone::CreateNativePixmapFromHandle( |
| 62 gfx::AcceleratedWidget widget, | 66 gfx::AcceleratedWidget widget, |
| 63 gfx::Size size, | 67 gfx::Size size, |
| 64 gfx::BufferFormat format, | 68 gfx::BufferFormat format, |
| 65 const gfx::NativePixmapHandle& handle) { | 69 const gfx::NativePixmapHandle& handle) { |
| 66 return nullptr; | 70 return nullptr; |
| 67 } | 71 } |
| 68 | 72 |
| 69 } // namespace ui | 73 } // namespace ui |
| OLD | NEW |