commit | 247f09c8ead4992a8df0136d86ed797226f36bda | [log] [tgz] |
---|---|---|
author | Eric Karl <ericrk@chromium.org> | Thu Mar 15 02:06:36 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 15 02:06:36 2018 |
tree | cbcc93d63c4e7ae031fb452192ebf149b6554d73 | |
parent | b7ade40d324391eb598d16d4b82eca2c5218083d [diff] |
[Reland] Use glUnpremultiplyAndDitherCopyCHROMIUM in GPU Raster This change addresses banding issues by using the newly added glUnpremultiplyAndDitherCopyCHROMIUM. In cases where we previously rasterized into a RGBA4444 target, we instead rasterize into a temporary RGBA8888 target, then do an unpremultiply/dither copy into the RGBA4444 target. This means that tiles may be either unpremultiplied or premultiplied, so we need a way to pipe this information to the GLRenderer, so it can blend correctly. This change introduces a is_premultiplied property to ContentDrawQuadBase to handle this. Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I769a51e6a5f37dd5b9bede42577dbfade17e27e2 Reviewed-on: https://chromium-review.googlesource.com/937991 Reviewed-by: enne <enne@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#543283}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .