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

Unified Diff: ui/gl/gl_image_ozone_native_pixmap.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/gl_image_memory.cc ('k') | ui/gl/gl_image_ozone_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_ozone_native_pixmap.h
diff --git a/ui/gl/gl_image_ozone_native_pixmap.h b/ui/gl/gl_image_ozone_native_pixmap.h
index 8a3575020640f2f24d1c9c26229550c99766e34c..11b9067a57f67f2065ead156b49469181a3d84bc 100644
--- a/ui/gl/gl_image_ozone_native_pixmap.h
+++ b/ui/gl/gl_image_ozone_native_pixmap.h
@@ -12,23 +12,23 @@
#include "ui/gl/gl_image_egl.h"
#include "ui/ozone/public/native_pixmap.h"
-namespace gfx {
+namespace gl {
class GL_EXPORT GLImageOzoneNativePixmap : public gl::GLImageEGL {
public:
- GLImageOzoneNativePixmap(const Size& size, unsigned internalformat);
+ GLImageOzoneNativePixmap(const gfx::Size& size, unsigned internalformat);
- bool Initialize(ui::NativePixmap* pixmap, BufferFormat format);
+ bool Initialize(ui::NativePixmap* pixmap, gfx::BufferFormat format);
// Overridden from GLImage:
unsigned GetInternalFormat() override;
void Destroy(bool have_context) override;
bool CopyTexImage(unsigned target) override;
- bool ScheduleOverlayPlane(AcceleratedWidget widget,
+ bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
- OverlayTransform transform,
- const Rect& bounds_rect,
- const RectF& crop_rect) override;
+ gfx::OverlayTransform transform,
+ const gfx::Rect& bounds_rect,
+ const gfx::RectF& crop_rect) override;
void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
uint64_t process_tracing_id,
const std::string& dump_name) override;
@@ -41,6 +41,6 @@ class GL_EXPORT GLImageOzoneNativePixmap : public gl::GLImageEGL {
scoped_refptr<ui::NativePixmap> pixmap_;
};
-} // namespace gfx
+} // namespace gl
#endif // UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_
« no previous file with comments | « ui/gl/gl_image_memory.cc ('k') | ui/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698