summary refs log tree commit diff
path: root/qcow_utils/libqcow_utils.pc.in
diff options
context:
space:
mode:
authorZach Reizner <zachr@google.com>2019-06-20 18:24:52 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-24 23:59:15 +0000
commit4a93a21ab34135907ff2e4619b5b829b1ac3b4c2 (patch)
treea187f1cb87be12bc59301796e415a60fc4ccf235 /qcow_utils/libqcow_utils.pc.in
parentf448721872a35509993742095a1d2e54248394ff (diff)
downloadcrosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.tar
crosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.tar.gz
crosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.tar.bz2
crosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.tar.lz
crosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.tar.xz
crosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.tar.zst
crosvm-4a93a21ab34135907ff2e4619b5b829b1ac3b4c2.zip
gpu_renderer: make Box3 less error prone with constructor
The argument order of the new_2d constructor was very odd. That has been
changed to the ordinary x,y,w,h order. Also, each Box3 is checked by
is_empty() before being used, which prevents some degenerate operations
on zero area boxes.

TEST=cargo run -- run --gpu
BUG=None

Change-Id: I6954fa4846f20353517fe81028058b639752d8ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1670549
Tested-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: David Riley <davidriley@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'qcow_utils/libqcow_utils.pc.in')
0 files changed, 0 insertions, 0 deletions