• Khushal's avatar
    gpu: Fix off by 1 error in paint op deserialization. · a4156863
    Khushal authored
    PaintOps with no extra data are of size 4 bytes. The current loop for
    processing deserialized ops will miss the last op in the buffer if it
    is a simple op.
    
    R=ericrk@chromium.org
    
    Bug: 829622
    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
    Change-Id: Ifa58d2211bc46d10bd51175bbd9dd9c010f34e48
    Reviewed-on: https://chromium-review.googlesource.com/1093211Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
    Commit-Queue: Khushal <khushalsagar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#565763}
    a4156863
raster_decoder.cc 120 KB