Go to file
Dongseong Hwang 4e1f0225db Disable blend explicitly when the color mask is false.
Currently, GrGLGpu doesn't disable blend when the color mask is false. It
causes bad happening as follows,
* GPU thinks the blend is on so reads FBO unnecessary.
* In the case the blend needs SRC1 but shader doesn't have the color
attachment, some GPU driver can crash [1]
* In the above case, it's undefined behavior according to the spec [2]

[1] Mesa on Intel had the issue but it was fixed thank to this test failure.
https://patchwork.freedesktop.org/patch/235939/
[2] https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_blend_func_extended.txt

TEST: mixedtextblobs in dm or skqp
Bug: b/116339546
Change-Id: I71a36defd0ffe48ed914aa428bd351fd0c5f5974
Reviewed-on: https://skia-review.googlesource.com/c/167220
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Dongseong Hwang <dongseong.hwang@intel.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2018-11-01 17:12:24 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Make nanobench --mpd flush between canvases. 2018-10-31 17:39:11 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm remove src/jumper 2018-10-24 11:15:58 +00:00
docker Use new build targets in continuous build of skottie and debugger. 2018-09-20 15:26:18 +00:00
docs update bookmaker build docs 2018-11-01 15:03:07 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental experimental/tools/generate-unicode-test-txt: update 2018-10-31 17:05:54 +00:00
fuzz Remove SrcRectConstraint from drawImageRect overloads with no src rect 2018-10-29 15:11:52 +00:00
gm Remove unused GrCubicEffect 2018-11-01 14:36:39 +00:00
gn add unpremul gm 2018-10-31 15:41:30 +00:00
include clean up some odd SkRefCnt features 2018-10-31 20:47:16 +00:00
infra tools/skqp/make_universal_apk -> python 2018-11-01 16:48:59 +00:00
modules SkShaper: Fix a couple of crashes when fonts aren't found 2018-10-31 17:46:54 +00:00
platform_tools SkQP/Java: remove unneeded stack trace, count tests correcctly 2018-10-26 18:07:33 +00:00
resources Test a GIF with an out of range transparent index 2018-10-12 14:20:02 +00:00
samplecode Refactor Nima code 2018-10-30 19:32:52 +00:00
site update bookmaker build docs 2018-11-01 15:03:07 +00:00
src Disable blend explicitly when the color mask is false. 2018-11-01 17:12:24 +00:00
tests clean up some odd SkRefCnt features 2018-10-31 20:47:16 +00:00
third_party Roll skia/third_party/skcms 1ce6da5c8d99..26679709b32f (1 commits) 2018-11-01 15:37:24 +00:00
tools tools/skqp/make_universal_apk -> python 2018-11-01 16:48:59 +00:00
.clang-format clean up flattenable macro cruft 2018-10-19 16:18:32 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn refactor bookmaker 2018-11-01 13:58:32 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 580baf379673..2197dc529052 (1 commits) 2018-11-01 04:38:35 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Add new autoroll service accounts to AUTHORS check bypass 2018-09-07 18:49:23 +00:00
public.bzl Revert "add flag for google3 build" 2018-10-27 15:38:16 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.