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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 | 54 |
55 scoped_refptr<ui::NativePixmap> | 55 scoped_refptr<ui::NativePixmap> |
56 SurfaceFactoryOzone::CreateNativePixmapFromHandle( | 56 SurfaceFactoryOzone::CreateNativePixmapFromHandle( |
57 gfx::Size size, | 57 gfx::Size size, |
58 gfx::BufferFormat format, | 58 gfx::BufferFormat format, |
59 const gfx::NativePixmapHandle& handle) { | 59 const gfx::NativePixmapHandle& handle) { |
60 return nullptr; | 60 return nullptr; |
61 } | 61 } |
62 | 62 |
| 63 bool SurfaceFactoryOzone::SupportsGLX() { |
| 64 return false; |
| 65 } |
| 66 |
63 } // namespace ui | 67 } // namespace ui |
OLD | NEW |