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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « tools/valgrind/gtest_exclude/content_browsertests.gtest-drmemory.txt ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index 237bf4760e33be6e1d3227c5aaf22fab6e144c7e..52266c30d5fef49bab92ccffd9be04bd9f8f6317 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -56,7 +56,17 @@ 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.
« no previous file with comments | « tools/valgrind/gtest_exclude/content_browsertests.gtest-drmemory.txt ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698