[Ozone] Pass uv_rect from CC instead of current hardcode.
commita387588d79134204b726479aba22d122dd3264ff
authorwilliam.xie <william.xie@intel.com>
Wed, 16 Sep 2015 15:04:45 +0000 (16 08:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Sep 2015 15:05:44 +0000 (16 15:05 +0000)
tree95a4a86ad9c4ecf7c3bcb6c33353a04f3b6f4762
parent809782aba283065b8f58bd11a59ca84cbbded7e1
[Ozone] Pass uv_rect from CC instead of current hardcode.

For some usage like video playback, uv_rect is useful to
crop the padding data. Driver may also use it to calculate
the suitable watermark value for overlay. This CL passes
uv_rect from CC instead of current hardcode value.

BUG=

Review URL: https://codereview.chromium.org/1345113002

Cr-Commit-Position: refs/heads/master@{#349126}
ui/ozone/common/gpu/ozone_gpu_message_params.cc
ui/ozone/common/gpu/ozone_gpu_message_params.h
ui/ozone/common/gpu/ozone_gpu_messages.h
ui/ozone/platform/drm/gpu/drm_window.cc