summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_image_stub.cc
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-10-29 05:50:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-29 12:51:20 +0000
commitdf856e02c830fb37ca5afceac7a12b4bddf37a84 (patch)
tree61983bf3545c61f167673bdd1c8b19084bfe3472 /ui/gl/gl_image_stub.cc
parent69a0876721e24f35ba1f7c6338ed07ca684f5cb1 (diff)
downloadchromium_src-df856e02c830fb37ca5afceac7a12b4bddf37a84.zip
chromium_src-df856e02c830fb37ca5afceac7a12b4bddf37a84.tar.gz
chromium_src-df856e02c830fb37ca5afceac7a12b4bddf37a84.tar.bz2
ui/gl: Move GLImage into gl namespace.
BUG=461575 R=piman@chromium.org,sievers@chromium.org, TBR=fsamuel@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1421903006 Cr-Commit-Position: refs/heads/master@{#356825}
Diffstat (limited to 'ui/gl/gl_image_stub.cc')
-rw-r--r--ui/gl/gl_image_stub.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/ui/gl/gl_image_stub.cc b/ui/gl/gl_image_stub.cc
index 803a05f..5bfd62b 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