| Index: content/common/gpu/client/gpu_channel_host.cc
|
| diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
|
| index debcfc8032a9c540548798f3e81be05492912a0d..acadc1afe11d6968014a43831d4d9007d2650b0d 100644
|
| --- a/content/common/gpu/client/gpu_channel_host.cc
|
| +++ b/content/common/gpu/client/gpu_channel_host.cc
|
| @@ -51,6 +51,9 @@ bool GpuChannelHost::IsValidGpuMemoryBuffer(
|
| #if defined(OS_MACOSX)
|
| case gfx::IO_SURFACE_BUFFER:
|
| #endif
|
| +#if defined(OS_ANDROID)
|
| + case gfx::SURFACE_TEXTURE_BUFFER:
|
| +#endif
|
| return true;
|
| default:
|
| return false;
|
| @@ -278,6 +281,10 @@ gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess(
|
| case gfx::IO_SURFACE_BUFFER:
|
| return source_handle;
|
| #endif
|
| +#if defined(OS_ANDROID)
|
| + case gfx::SURFACE_TEXTURE_BUFFER:
|
| + return source_handle;
|
| +#endif
|
| default:
|
| NOTREACHED();
|
| return gfx::GpuMemoryBufferHandle();
|
|
|