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

Unified Diff: ui/gl/gl_image_io_surface.h

Issue 1269503007: Unify graphics buffer format & usage enums for GpuMemoryBuffer & SurfaceFactoryOzone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constrain includes Created 5 years, 4 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_io_surface.h
diff --git a/ui/gl/gl_image_io_surface.h b/ui/gl/gl_image_io_surface.h
index 28a1e19b80e96579ebce5a58bc20bd3b082996ed..12fd7b57fd1034085b78f398bea646313c512db6 100644
--- a/ui/gl/gl_image_io_surface.h
+++ b/ui/gl/gl_image_io_surface.h
@@ -24,7 +24,7 @@ class GL_EXPORT GLImageIOSurface : public GLImage {
public:
GLImageIOSurface(const gfx::Size& size, unsigned internalformat);
- bool Initialize(IOSurfaceRef io_surface, GpuMemoryBuffer::Format format);
+ bool Initialize(IOSurfaceRef io_surface, BufferFormat format);
// Overridden from GLImage:
void Destroy(bool have_context) override;
@@ -54,7 +54,7 @@ class GL_EXPORT GLImageIOSurface : public GLImage {
private:
const gfx::Size size_;
const unsigned internalformat_;
- GpuMemoryBuffer::Format format_;
+ BufferFormat format_;
base::ScopedCFTypeRef<IOSurfaceRef> io_surface_;
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698