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

Unified Diff: gpu/vulkan/vulkan_surface.h

Issue 1963983002: Support vulkan surface formats for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments. Created 4 years, 7 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 | « no previous file | gpu/vulkan/vulkan_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_surface.h
diff --git a/gpu/vulkan/vulkan_surface.h b/gpu/vulkan/vulkan_surface.h
index 20aae899a6a203d3da520c66457e891cfeb1d4db..2d39812f31156c848066e8c8448ac501b29dda70 100644
--- a/gpu/vulkan/vulkan_surface.h
+++ b/gpu/vulkan/vulkan_surface.h
@@ -21,11 +21,11 @@ class VULKAN_EXPORT VulkanSurface {
public:
// Minimum bit depth of surface.
enum Format {
- FORMAT_BGRA8888,
- FORMAT_RGB565,
+ FORMAT_RGBA_32,
+ FORMAT_RGB_16,
NUM_SURFACE_FORMATS,
- DEFAULT_SURFACE_FORMAT = FORMAT_BGRA8888
+ DEFAULT_SURFACE_FORMAT = FORMAT_RGBA_32
};
virtual ~VulkanSurface() = 0;
« no previous file with comments | « no previous file | gpu/vulkan/vulkan_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698