Fix BlitFramebuffer RGB emulation on macOS.
The fix for Issue 699566 regressed blits between user framebuffers on macOS when alpha:false and antialias:false. Only apply the workaround when blitting to the default WebGL back buffer. Tested by new conformance test conformance2/rendering/blitframebuffer-r11f-g11f-b10f.html from https://github.com/KhronosGroup/WebGL/pull/2469 . BUG=751206 TBR=zmo@chromium.org NOTRY=true 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 Change-Id: I6025bcd562675318d6cd9d3fcc50aa90fa83642b Reviewed-on: https://chromium-review.googlesource.com/596679Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#491300}
Showing
Please register or sign in to comment