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

Unified Diff: ui/gl/gl_image_memory.h

Issue 1078253002: gfx namespace cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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_linux_dma_buffer.cc ('k') | ui/gl/gl_image_memory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_memory.h
diff --git a/ui/gl/gl_image_memory.h b/ui/gl/gl_image_memory.h
index a50a38064b1574ad55f571bb76581e9922d9399f..d209ba7e33a3a193a81d767911c7e66296c4bfa2 100644
--- a/ui/gl/gl_image_memory.h
+++ b/ui/gl/gl_image_memory.h
@@ -20,18 +20,18 @@ namespace gfx {
class GL_EXPORT GLImageMemory : public GLImage {
public:
- GLImageMemory(const gfx::Size& size, unsigned internalformat);
+ GLImageMemory(const Size& size, unsigned internalformat);
static bool StrideInBytes(size_t width,
- gfx::GpuMemoryBuffer::Format format,
+ GpuMemoryBuffer::Format format,
size_t* stride_in_bytes);
bool Initialize(const unsigned char* memory,
- gfx::GpuMemoryBuffer::Format format);
+ GpuMemoryBuffer::Format format);
// Overridden from GLImage:
void Destroy(bool have_context) override;
- gfx::Size GetSize() override;
+ Size GetSize() override;
bool BindTexImage(unsigned target) override;
void ReleaseTexImage(unsigned target) override {}
bool CopyTexImage(unsigned target) override;
@@ -39,7 +39,7 @@ class GL_EXPORT GLImageMemory : public GLImage {
void DidUseTexImage() override;
void WillModifyTexImage() override {}
void DidModifyTexImage() override {}
- bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
+ bool ScheduleOverlayPlane(AcceleratedWidget widget,
int z_order,
OverlayTransform transform,
const Rect& bounds_rect,
@@ -51,10 +51,10 @@ class GL_EXPORT GLImageMemory : public GLImage {
private:
void DoBindTexImage(unsigned target);
- const gfx::Size size_;
+ const Size size_;
const unsigned internalformat_;
const unsigned char* memory_;
- gfx::GpuMemoryBuffer::Format format_;
+ GpuMemoryBuffer::Format format_;
bool in_use_;
unsigned target_;
bool need_do_bind_tex_image_;
« no previous file with comments | « ui/gl/gl_image_linux_dma_buffer.cc ('k') | ui/gl/gl_image_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698