Index: content/common/gpu/client/gpu_memory_buffer_impl.cc |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.cc b/content/common/gpu/client/gpu_memory_buffer_impl.cc |
index 5d2350af8f6d46625289f5bc18faf52fdfe8bf35..aef00669a0d0e0ba279989a23edcbce380c2c616 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl.cc |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl.cc |
@@ -82,6 +82,7 @@ GpuMemoryBufferImpl* GpuMemoryBufferImpl::FromClientBuffer( |
size_t GpuMemoryBufferImpl::NumberOfPlanesForGpuMemoryBufferFormat( |
Format format) { |
switch (format) { |
+ case ASTC: |
case ATC: |
case ATCIA: |
case DXT1: |
@@ -103,6 +104,7 @@ size_t GpuMemoryBufferImpl::NumberOfPlanesForGpuMemoryBufferFormat( |
// static |
size_t GpuMemoryBufferImpl::SubsamplingFactor(Format format, int plane) { |
switch (format) { |
+ case ASTC: |
case ATC: |
case ATCIA: |
case DXT1: |
@@ -136,6 +138,7 @@ bool GpuMemoryBufferImpl::RowSizeInBytes(size_t width, |
DCHECK_EQ(plane, 0); |
*size_in_bytes = width; |
return true; |
+ case ASTC: |
case ATC: |
case DXT1: |
case ETC1: |