| Index: ui/gfx/gpu_memory_buffer.h
|
| diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
|
| index e6ce5d25af8da9069b5ae3b310c281ae8df1c36c..3aa0964c36886233cb5ce7c474834abb51b60606 100644
|
| --- a/ui/gfx/gpu_memory_buffer.h
|
| +++ b/ui/gfx/gpu_memory_buffer.h
|
| @@ -42,7 +42,18 @@ class GFX_EXPORT GpuMemoryBuffer {
|
| public:
|
| // The format needs to be taken into account when mapping a buffer into the
|
| // client's address space.
|
| - enum Format { RGBA_8888, RGBX_8888, BGRA_8888, FORMAT_LAST = BGRA_8888 };
|
| + enum Format {
|
| + ATC,
|
| + ATCIA,
|
| + DXT1,
|
| + DXT5,
|
| + ETC1,
|
| + RGBA_8888,
|
| + RGBX_8888,
|
| + BGRA_8888,
|
| +
|
| + FORMAT_LAST = BGRA_8888
|
| + };
|
|
|
| // The usage mode affects how a buffer can be used. Only buffers created with
|
| // MAP can be mapped into the client's address space and accessed by the CPU.
|
|
|