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

Unified Diff: ui/ozone/common/gpu/ozone_gpu_messages.h

Issue 1426993003: Ozone: Dont hardcode format to YUV when using Overlay Composition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cosmetic fixes Created 5 years, 1 month 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
Index: ui/ozone/common/gpu/ozone_gpu_messages.h
diff --git a/ui/ozone/common/gpu/ozone_gpu_messages.h b/ui/ozone/common/gpu/ozone_gpu_messages.h
index aa93245186f4f8b08e1f42e87b5e7b71712c1981..3bb9a4d24fa385a420116f0e140658bd7a4b617c 100644
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h
@@ -32,6 +32,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(ui::HDCPState, ui::HDCP_STATE_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(gfx::OverlayTransform, gfx::OVERLAY_TRANSFORM_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(ui::OverlayCheck_Params::State,
+ ui::OverlayCheck_Params::kOverlay)
+
// clang-format off
IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params)
IPC_STRUCT_TRAITS_MEMBER(size)
@@ -70,7 +73,9 @@ IPC_STRUCT_TRAITS_BEGIN(ui::OverlayCheck_Params)
IPC_STRUCT_TRAITS_MEMBER(crop_rect)
IPC_STRUCT_TRAITS_MEMBER(plane_z_order)
IPC_STRUCT_TRAITS_MEMBER(weight)
- IPC_STRUCT_TRAITS_MEMBER(plane_ids)
+ IPC_STRUCT_TRAITS_MEMBER(state)
+ IPC_STRUCT_TRAITS_MEMBER(optimal_format)
+ IPC_STRUCT_TRAITS_MEMBER(required_buffer_size)
IPC_STRUCT_TRAITS_END()
// clang-format on
@@ -141,9 +146,11 @@ IPC_MESSAGE_CONTROL2(OzoneGpuMsg_SetGammaRamp,
int64_t, // display ID,
std::vector<ui::GammaRampRGBEntry>) // lut
-IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CheckOverlayCapabilities,
- gfx::AcceleratedWidget /* widget */,
- std::vector<ui::OverlayCheck_Params> /* overlays */)
+IPC_MESSAGE_CONTROL3(
+ OzoneGpuMsg_CheckOverlayCapabilities,
+ gfx::AcceleratedWidget /* widget */,
+ std::vector<ui::OverlayCheck_Params> /* current combination */,
+ std::vector<ui::OverlayCheck_Params> /* new combinationon */)
//------------------------------------------------------------------------------
// Browser Messages

Powered by Google App Engine
This is Rietveld 408576698