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

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

Issue 1157793004: ozone: Add overlay candidate implementation that queries support via IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing license header Created 5 years, 6 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 | « ui/gfx/overlay_transform.h ('k') | ui/ozone/common/gpu/ozone_gpu_message_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/common/gpu/ozone_gpu_message_params.h
diff --git a/ui/ozone/common/gpu/ozone_gpu_message_params.h b/ui/ozone/common/gpu/ozone_gpu_message_params.h
index a2d543a0e741dd9bae4affb5ade05bd0fd164b73..cc0eb0a46d84ac058e5ed0806121c33e4c54fa9d 100644
--- a/ui/ozone/common/gpu/ozone_gpu_message_params.h
+++ b/ui/ozone/common/gpu/ozone_gpu_message_params.h
@@ -11,7 +11,10 @@
#include "ui/display/types/display_constants.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
+#include "ui/gfx/overlay_transform.h"
#include "ui/ozone/ozone_export.h"
+#include "ui/ozone/public/overlay_candidates_ozone.h"
+#include "ui/ozone/public/surface_factory_ozone.h"
namespace ui {
@@ -44,6 +47,19 @@ struct OZONE_EXPORT DisplaySnapshot_Params {
std::string string_representation;
};
+struct OZONE_EXPORT OverlayCheck_Params {
+ OverlayCheck_Params();
+ OverlayCheck_Params(
+ const OverlayCandidatesOzone::OverlaySurfaceCandidate& candidate);
+ ~OverlayCheck_Params();
+
+ gfx::Size buffer_size;
+ gfx::OverlayTransform transform;
+ SurfaceFactoryOzone::BufferFormat format;
+ gfx::Rect display_rect;
+ int plane_z_order;
+};
+
} // namespace ui
#endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
« no previous file with comments | « ui/gfx/overlay_transform.h ('k') | ui/ozone/common/gpu/ozone_gpu_message_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698