| Index: gpu/command_buffer/service/in_process_command_buffer.cc
|
| diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc
|
| index 65986f82540b9945fb79f2d626b319bbe4b5dbfb..71a6532c0b89ef847abd1c3d6164b91115046730 100644
|
| --- a/gpu/command_buffer/service/in_process_command_buffer.cc
|
| +++ b/gpu/command_buffer/service/in_process_command_buffer.cc
|
| @@ -713,6 +713,8 @@ int32 InProcessCommandBuffer::CreateImage(ClientBuffer buffer,
|
|
|
| int32 new_id = next_image_id_.GetNext();
|
|
|
| + DCHECK(gpu::ImageFactory::IsGpuMemoryBufferFormatSupported(
|
| + gpu_memory_buffer->GetFormat(), capabilities_));
|
| DCHECK(gpu::ImageFactory::IsImageFormatCompatibleWithGpuMemoryBufferFormat(
|
| internalformat, gpu_memory_buffer->GetFormat()));
|
|
|
|
|