Chromium Code Reviews| Index: ui/gl/gl_image_native_pixmap.h |
| diff --git a/ui/ozone/gl/gl_image_ozone_native_pixmap.h b/ui/gl/gl_image_native_pixmap.h |
| similarity index 73% |
| rename from ui/ozone/gl/gl_image_ozone_native_pixmap.h |
| rename to ui/gl/gl_image_native_pixmap.h |
| index b06a288af9b4f1a48f282616b0b0d3c9bb32a009..ca6a8488c9d750d843fd5ee8a07c1bc42bd7d57d 100644 |
| --- a/ui/ozone/gl/gl_image_ozone_native_pixmap.h |
| +++ b/ui/gl/gl_image_native_pixmap.h |
| @@ -2,23 +2,22 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef UI_OZONE_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
| -#define UI_OZONE_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
| +#ifndef UI_GL_GL_IMAGE_NATIVE_PIXMAP_H_ |
| +#define UI_GL_GL_IMAGE_NATIVE_PIXMAP_H_ |
| #include <stdint.h> |
| #include <string> |
| -#include "ui/gfx/buffer_types.h" |
| #include "ui/gfx/native_pixmap.h" |
| +#include "ui/gl/gl_export.h" |
| #include "ui/gl/gl_image_egl.h" |
| -#include "ui/ozone/gl/ozone_gl_export.h" |
| namespace ui { |
|
Julien Isorce
2017/03/22 17:33:52
sadrul@, should I change namespace from ui to gl h
sadrul
2017/03/22 17:35:11
Yes please.
|
| -class OZONE_GL_EXPORT GLImageOzoneNativePixmap : public gl::GLImageEGL { |
| +class GL_EXPORT GLImageNativePixmap : public gl::GLImageEGL { |
| public: |
| - GLImageOzoneNativePixmap(const gfx::Size& size, unsigned internalformat); |
| + GLImageNativePixmap(const gfx::Size& size, unsigned internalformat); |
| bool Initialize(NativePixmap* pixmap, gfx::BufferFormat format); |
| @@ -38,7 +37,7 @@ class OZONE_GL_EXPORT GLImageOzoneNativePixmap : public gl::GLImageEGL { |
| static unsigned GetInternalFormatForTesting(gfx::BufferFormat format); |
| protected: |
| - ~GLImageOzoneNativePixmap() override; |
| + ~GLImageNativePixmap() override; |
| private: |
| unsigned internalformat_; |
| @@ -48,4 +47,4 @@ class OZONE_GL_EXPORT GLImageOzoneNativePixmap : public gl::GLImageEGL { |
| } // namespace ui |
| -#endif // UI_OZONE_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
| +#endif // UI_GL_GL_IMAGE_NATIVE_PIXMAP_H_ |