| Index: ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| diff --git a/ui/ozone/common/gpu/ozone_gpu_message_params.cc b/ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| index 77633c5713e5abc991f01c61d1a4d05bfdae47c0..a7185fdf4845643166bf1e72a10e8ad3844923a2 100644
|
| --- a/ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| +++ b/ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| @@ -29,7 +29,18 @@ OverlayCheck_Params::OverlayCheck_Params(
|
| display_rect(gfx::ToNearestRect(candidate.display_rect)),
|
| crop_rect(candidate.crop_rect),
|
| plane_z_order(candidate.plane_z_order),
|
| - weight(0) {}
|
| + weight(0),
|
| + state(kTest),
|
| + optimal_format(candidate.format),
|
| + required_buffer_size(candidate.buffer_size) {}
|
| +
|
| +bool OverlayCheck_Params::operator==(const OverlayCheck_Params& param) const {
|
| + return this->plane_z_order == param.plane_z_order &&
|
| + this->format == param.format && this->transform == param.transform &&
|
| + this->display_rect == param.display_rect &&
|
| + this->buffer_size == param.buffer_size &&
|
| + this->crop_rect == param.crop_rect;
|
| +}
|
|
|
| OverlayCheck_Params::~OverlayCheck_Params() {
|
| }
|
|
|