aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/skbug6653.cpp
Commit message (Collapse)AuthorAge
* Remove SK_SUPPORT_GPU checks in tool-only codeGravatar Brian Osman2018-05-31
| | | | | | | | | | | | | | | | Most of this is (obviously) not necessary to do, but once I started, I figured I'd just get it all. Tools (nanobench, DM, skiaserve), all GMs, benches, and unit tests, plus support code (command line parsing and config stuff). This is almost entirely mechanical. Bug: skia: Change-Id: I209500f8df8c5bd43f8298ff26440d1c4d7425fb Reviewed-on: https://skia-review.googlesource.com/131153 Reviewed-by: Mike Klein <mtklein@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
* don't rely on canvas->readPixelsGravatar Mike Reed2017-07-21
| | | | | | | | Bug: skia:3216 Change-Id: I01a8d0083c79c0fe71fbc4d8cfdde4fa6e48b636 Reviewed-on: https://skia-review.googlesource.com/25741 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
* Bail out of test if MSAA surface creation failsGravatar Brian Osman2017-06-15
| | | | | | | | Bug: skia: Change-Id: I44768314fad49fb0e094e30037a3fe159ebcbd0b Reviewed-on: https://skia-review.googlesource.com/20044 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
* Unit test to demonstrate Galaxy S6 MSAA readPixels bugGravatar Brian Osman2017-06-15
After lots of tinkering, this is the smallest test case I've found to reproduce the bug. Frequently, bitmap b4 will be cleared to blue, but not contain the oval drawn right before. Bitmap b5 will contain the oval, so the diff of the two bitmaps will detect the error. There may be something else that can be removed, but I haven't found it. Interesting note: In the original version, all surfaces were cleared to black. When I started trying to change the clear colors to figure out if we were getting an old surface, the bug went away. In particular, the first clear color is irrelevant, but the last three clears must all be the same color. If any are different, the bug doesn't occur. Bug: skia:6653 Change-Id: Iacafcc140b60594fab208e82987b0f37416975f3 Reviewed-on: https://skia-review.googlesource.com/19817 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>