Go to file
Leon Scroggins III a4db9be6a2 Correct GIF frame dependencies and track alpha
Add SkCodec::FrameInfo::fAlphaType. The SkImageInfo for the SkCodec
specifies the SkAlphaType for the first frame, but the opacity can vary
from frame to frame.

When determining the required frame, also compute whether a frame has
alpha. Update how we determine the required frame, which had bugs.
(Update a test that had an incorrect required frame as a result.)

Add new test images covering cases that have been fixed:
- randPixelsAnim2.gif
It has the following frames:
A (keep)
B (keep) (subset)
C (disposePrevious) (covers B)
D (any) (does *not* cover B)

B and C depend on A, but D depends on B, since after disposing C, B
should be visible again.

- alphabetAnim.gif
Includes frames which fill the image size, with different disposal
methods and transparencies.

Change-Id: Ie086167711c4cac4931ed8c4ddaeb9c9b0b91fdb
Reviewed-on: https://skia-review.googlesource.com/9810
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
2017-04-11 15:05:05 +00:00
animations
bench Allow FPs to elevate default precision for the entire fragment program 2017-04-05 14:00:50 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm Allow BF and BRD clients to request an output color space 2017-04-11 14:27:28 +00:00
example Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
experimental Move the ability to access textures, buffers, and image storages out from GrProcessor. 2017-04-04 15:27:44 +00:00
fuzz Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
gm Revert "Rm makeRenderTargetContext in favor of deferred version" 2017-04-11 12:23:30 +00:00
gn constexprify GrBlend.h and GrPorterDuffXferProcessor.cpp 2017-04-10 16:27:36 +00:00
include Correct GIF frame dependencies and track alpha 2017-04-11 15:05:05 +00:00
infra Fix symbolization of ASAN crashes 2017-04-11 14:32:39 +00:00
platform_tools One-liner fix that allows Viewer to switch between Raster and OpenGL 2017-02-23 22:33:36 +00:00
resources Correct GIF frame dependencies and track alpha 2017-04-11 15:05:05 +00:00
samplecode hide most details of SkPatchUtils 2017-04-05 17:24:08 +00:00
site Update instructions on Skia/Chromium multi try. 2017-03-30 15:59:50 +00:00
src Correct GIF frame dependencies and track alpha 2017-04-11 15:05:05 +00:00
tests Correct GIF frame dependencies and track alpha 2017-04-11 15:05:05 +00:00
third_party Correct GIF frame dependencies and track alpha 2017-04-11 15:05:05 +00:00
tools consolidate read/writePixels in GrSurfaceContext 2017-04-10 12:56:33 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Refactor Vulkan support to support Fuchsia 2017-04-05 17:32:09 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn SkMultiPictureDocument : clean up MultiPictureDocumentReader interface 2017-04-07 15:55:38 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Update build tools to newer gn. 2017-03-17 17:38:58 +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
PRESUBMIT.py Change PRESUBMIT.py to use [Get|Update]DescriptionLines 2017-04-05 12:49:32 +00:00
public.bzl remove g3 flag 2017-04-05 10:19:54 +00:00
README
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Marker for driver update on Win10 Golo GT610 2017-03-29 14:07:18 +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.