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

Unified Diff: ui/compositor/compositor.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: add header to BUILD.gn 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
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index f70377182268a39b2245fd6e63fa8561f08dc3af..0346346d11e212178f0e0e8bc604c399db11597f 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -96,8 +96,8 @@ class COMPOSITOR_EXPORT ContextFactory {
virtual bool DoesCreateTestContexts() = 0;
// Returns the OpenGL target to use for image textures.
- virtual uint32 GetImageTextureTarget(gfx::GpuMemoryBuffer::Format format,
- gfx::GpuMemoryBuffer::Usage usage) = 0;
+ virtual uint32 GetImageTextureTarget(gfx::BufferFormat format,
+ gfx::BufferUsage usage) = 0;
// Gets the shared bitmap manager for software mode.
virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0;
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698