• Aldo Culquicondor's avatar
    VR: Ability to clip elements · ee5a9c78
    Aldo Culquicondor authored
    It affects drawing and hit testing. If the quad is completely outside the clip, nothing is sent to the CPU.
    This is going to be used to implement scrolling.
    Also, this CL removes the unused copy_rect.
    
    Bug: 839488
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr
    Change-Id: I07c087f3d7860456587de092797349851c26502a
    Reviewed-on: https://chromium-review.googlesource.com/1054371
    Commit-Queue: Aldo Culquicondor <acondor@chromium.org>
    Reviewed-by: default avatarChristopher Grant <cjgrant@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#558021}
    ee5a9c78
textured_element.cc 2.73 KB