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

Unified Diff: ui/gfx/mojo/buffer_types_traits.h

Issue 2353453002: ui: Remove SurfaceTexture GpuMemoryBuffer type. (Closed)
Patch Set: ui: Remove SurfaceTexture GpuMemoryBuffer type. Created 4 years, 3 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/gfx/mojo/buffer_types.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types_traits.h
diff --git a/ui/gfx/mojo/buffer_types_traits.h b/ui/gfx/mojo/buffer_types_traits.h
index 5ccbe160c6abd2d54859c04818383f13fa8068f4..175a493be12773aecf0b6a5afb2b6dfbfe28b182 100644
--- a/ui/gfx/mojo/buffer_types_traits.h
+++ b/ui/gfx/mojo/buffer_types_traits.h
@@ -150,8 +150,6 @@ struct EnumTraits<gfx::mojom::GpuMemoryBufferType, gfx::GpuMemoryBufferType> {
return gfx::mojom::GpuMemoryBufferType::SHARED_MEMORY_BUFFER;
case gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER:
return gfx::mojom::GpuMemoryBufferType::IO_SURFACE_BUFFER;
- case gfx::GpuMemoryBufferType::SURFACE_TEXTURE_BUFFER:
- return gfx::mojom::GpuMemoryBufferType::SURFACE_TEXTURE_BUFFER;
case gfx::GpuMemoryBufferType::OZONE_NATIVE_PIXMAP:
return gfx::mojom::GpuMemoryBufferType::OZONE_NATIVE_PIXMAP;
}
@@ -171,9 +169,6 @@ struct EnumTraits<gfx::mojom::GpuMemoryBufferType, gfx::GpuMemoryBufferType> {
case gfx::mojom::GpuMemoryBufferType::IO_SURFACE_BUFFER:
*out = gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER;
return true;
- case gfx::mojom::GpuMemoryBufferType::SURFACE_TEXTURE_BUFFER:
- *out = gfx::GpuMemoryBufferType::SURFACE_TEXTURE_BUFFER;
- return true;
case gfx::mojom::GpuMemoryBufferType::OZONE_NATIVE_PIXMAP:
*out = gfx::GpuMemoryBufferType::OZONE_NATIVE_PIXMAP;
return true;
« no previous file with comments | « ui/gfx/mojo/buffer_types.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698