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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl.cc

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 | « gpu/ipc/client/gpu_channel_host.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/gpu_memory_buffer_impl.cc
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl.cc b/gpu/ipc/client/gpu_memory_buffer_impl.cc
index e2ac46e28fb0d15b2e608af99c406564f69e4ed8..5327088a0543745780bdaca5657a09c983296b4f 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl.cc
+++ b/gpu/ipc/client/gpu_memory_buffer_impl.cc
@@ -12,10 +12,6 @@
#include "gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h"
#endif
-#if defined(OS_ANDROID)
-#include "gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h"
-#endif
-
#if defined(USE_OZONE)
#include "gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h"
#endif
@@ -53,11 +49,6 @@ std::unique_ptr<GpuMemoryBufferImpl> GpuMemoryBufferImpl::CreateFromHandle(
return GpuMemoryBufferImplIOSurface::CreateFromHandle(
handle, size, format, usage, callback);
#endif
-#if defined(OS_ANDROID)
- case gfx::SURFACE_TEXTURE_BUFFER:
- return GpuMemoryBufferImplSurfaceTexture::CreateFromHandle(
- handle, size, format, usage, callback);
-#endif
#if defined(USE_OZONE)
case gfx::OZONE_NATIVE_PIXMAP:
return GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandle(
« no previous file with comments | « gpu/ipc/client/gpu_channel_host.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698