Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: ui/gl/gl_image_native_pixmap.h

Issue 2687093002: Rename GLImageOzoneNativePixmap to GLImageNativePixmap and move it from ui/ozone/gl to ui/gl (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/gl/gl_image_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/gl/gl_image_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698