OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
| 6 #define UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
| 7 |
| 8 #include "ui/gfx/gpu_memory_buffer.h" |
| 9 #include "ui/gl/gl_image.h" |
| 10 #include "ui/ozone/public/native_pixmap.h" |
| 11 |
| 12 namespace gfx { |
| 13 |
| 14 GL_EXPORT scoped_refptr<GLImage> CreateImageForOzoneNativePixmap( |
| 15 scoped_refptr<ui::NativePixmap> pixmap, |
| 16 const Size& size, |
| 17 GpuMemoryBuffer::Format format, |
| 18 unsigned internalformat); |
| 19 |
| 20 } // namespace gfx |
| 21 |
| 22 #endif // UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
OLD | NEW |