[vr] Support setting center of radial gradient on vr::Rect elements
With this change, I have corrected the aspect ratio of our radial gradients. That is, they are no longer elliptical when the quad is rectangular. I have also made it possible to set a different center point for the gradient. Bug: 817620 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I2d3a754fb1b8235ff454ea5148dfd9bbfde69068 Reviewed-on: https://chromium-review.googlesource.com/958037Reviewed-by:Biao She <bshe@chromium.org> Commit-Queue: Ian Vollick <vollick@chromium.org> Cr-Commit-Position: refs/heads/master@{#542607}
Showing
Please register or sign in to comment