Add support to set CursorSize by quering via Capabilities.
commit02ee5f27835143afb8321a569044a25b80f51755
authorkalyan.kondapally <kalyan.kondapally@intel.com>
Wed, 5 Nov 2014 21:59:14 +0000 (5 13:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Nov 2014 21:59:42 +0000 (5 21:59 +0000)
tree14a14103b13a9f5aabcbc7096e405f76159fdb36
parentb75e25f48d8375f3d3a675805d1896d30fab2f5e
Add support to set CursorSize by quering via Capabilities.

We currently hard code cursor size to 64* 64. This patch adds support
to query the size via drmGetCap. In case drmGetCap fails, we fall back
to default cursor size of 64*64.

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

Cr-Commit-Position: refs/heads/master@{#302882}
ui/ozone/platform/dri/dri_surface_factory.cc
ui/ozone/platform/dri/dri_wrapper.cc
ui/ozone/platform/dri/dri_wrapper.h
ui/ozone/platform/dri/test/mock_dri_wrapper.cc
ui/ozone/platform/dri/test/mock_dri_wrapper.h