DescriptionHandle pixel (un)pack buffers with non-zero offset.
The passthrough command buffer (Compressed)Tex(Sub)Image and ReadPixels
handlers didn't handle the case where shm_id == 0 but shm_offset != 0
which can happen when a PBO is bound.
This patch also adds a dataSize argument to the CompressedTex(Sub)Image
doers that will be needed to have a robust version of them when "data"
can be an offset in a PBO.
BUG=chromium:602688
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2811693005
Cr-Commit-Position: refs/heads/master@{#464137}
Committed: https://chromium.googlesource.com/chromium/src/+/95f938225bec04fe8e3d87bcc692f67c6388cf06
Patch Set 1 #
Total comments: 10
Patch Set 2 : Address comments #
Messages
Total messages: 16 (10 generated)
|