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

Unified Diff: ui/gl/gl_image_stub.cc

Issue 1421903006: ui/gl: Move GLImage into gl namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ozone demo Created 5 years, 2 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
Index: ui/gl/gl_image_stub.cc
diff --git a/ui/gl/gl_image_stub.cc b/ui/gl/gl_image_stub.cc
index 803a05f99cb3a95aac8a40673e1e348241d3d849..5bfd62be2f7669db55a90c6e3f4892ee4a576233 100644
--- a/ui/gl/gl_image_stub.cc
+++ b/ui/gl/gl_image_stub.cc
@@ -6,14 +6,14 @@
#include <GL/gl.h>
-namespace gfx {
+namespace gl {
GLImageStub::GLImageStub() {}
GLImageStub::~GLImageStub() {}
-Size GLImageStub::GetSize() {
- return Size(1, 1);
+gfx::Size GLImageStub::GetSize() {
+ return gfx::Size(1, 1);
}
unsigned GLImageStub::GetInternalFormat() { return GL_RGBA; }
@@ -25,17 +25,17 @@ bool GLImageStub::CopyTexImage(unsigned target) {
}
bool GLImageStub::CopyTexSubImage(unsigned target,
- const Point& offset,
- const Rect& rect) {
+ const gfx::Point& offset,
+ const gfx::Rect& rect) {
return true;
}
-bool GLImageStub::ScheduleOverlayPlane(AcceleratedWidget widget,
+bool GLImageStub::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
- OverlayTransform transform,
- const Rect& bounds_rect,
- const RectF& crop_rect) {
+ gfx::OverlayTransform transform,
+ const gfx::Rect& bounds_rect,
+ const gfx::RectF& crop_rect) {
return false;
}
-} // namespace gfx
+} // namespace gl

Powered by Google App Engine
This is Rietveld 408576698