Go to file
Leon Scroggins III 34a2a76e20 Remove assert that BGRA and RGBA are not opaque
Bug: skia:7353
Bug: skia:8235

This should fix the Wuffs bot. A recent change set SkWuffsCodec's
SkEncodedInfo::Color to BGRA or RGBA even if they are opaque, which
resulted in this assert firing. As has been brought up previously,
SkEncodedInfo::Color is overspecified. The only code that cares
about the type is SkSwizzler, which will treat the alpha as
potentially non-opaque (whereas BGRX_Color (there is no RGBX_Color)
ignores the alpha channel, which is important for some BMPs).

TBR=reed@google.com

Change-Id: I3396b53aef114e09513579f829c5b5345acba4f0
Reviewed-on: https://skia-review.googlesource.com/c/193028
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2019-02-15 19:53:04 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench bench: Fix a couple presumed copy/paste errors 2019-02-09 12:34:17 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm [SVGCanvas] Clean up public factories 2019-02-14 19:17:35 +00:00
docker Build code size treemaps for skottie_tool 2019-02-12 13:54:00 +00:00
docs Update examples to use SkFont 2019-02-14 13:29:34 +00:00
example drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
experimental [canvaskit] Add SkShaper to build list 2019-01-23 17:04:11 +00:00
fuzz Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
gm Remove GrContextPriv.h from GrRenderTargetContext.h 2019-02-15 17:29:03 +00:00
gn add mixer colorfilter 2019-02-15 19:22:33 +00:00
include Remove assert that BGRA and RGBA are not opaque 2019-02-15 19:53:04 +00:00
infra Update go_deps asset 2019-02-15 13:39:02 +00:00
modules ICU: enable on wasm 2019-02-15 18:14:43 +00:00
platform_tools Add support for Windows to the gradle builds 2019-01-08 20:01:29 +00:00
resources New SkCurve type with multiple curve segments 2019-02-15 14:10:39 +00:00
samplecode add mixer colorfilter 2019-02-15 19:22:33 +00:00
site docs - Trim down infra trooper docs. 2019-02-08 15:12:26 +00:00
src Revert of CL/192440 which would not reland cleanly. 2019-02-15 19:26:03 +00:00
tests Remove GrContextPriv.h from GrRenderTargetContext.h 2019-02-15 17:29:03 +00:00
third_party ICU: enable on wasm 2019-02-15 18:14:43 +00:00
tools Remove GrContextPriv.h from GrRenderTargetContext.h 2019-02-15 17:29:03 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +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 Fix bug of SkSVGCanvas::Make 2019-02-14 02:09:30 +00:00
BUILD.gn Add MoltenVK support to Viewer. 2019-02-14 20:56:38 +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 ../src b698b62f407e..5862f084f69f (425 commits) 2019-02-15 17:07:05 +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 [presubmit] Remove pylint check 2019-01-14 13:47:51 +00:00
public.bzl Remove all references to jsoncpp (build scripts, DEPS, etc) 2019-02-06 15:15:52 +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.