Go to file
Vladimir Levin 70fb479ae6 Ensure that removing last extension from GrGLExtension doesn't assert.
This patch fixes an assert that triggers when removing the last
extension in the list, since the index operator goes out of bounds.

Added a test that fails without the code changes and passes with the
changes.

R=bsalomon@chromium.org

Change-Id: I0d561b150899c178f638dde088af773fddf112d9
Reviewed-on: https://skia-review.googlesource.com/72000
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-11-15 20:25:42 +00:00
animations
bench
bin
debugger
dm Add SkColorSpace_Base::makeColorSpin 2017-11-14 16:33:34 +00:00
docs
example
experimental
fuzz
gm slice GMs by native font platform, not by emoji format 2017-11-15 16:52:56 +00:00
gn Ensure that removing last extension from GrGLExtension doesn't assert. 2017-11-15 20:25:42 +00:00
include Remove support for image load/store 2017-11-15 20:06:12 +00:00
infra Remove support for image load/store 2017-11-15 20:06:12 +00:00
platform_tools
resources
samplecode Alloc glyph image correctly for SkMask::k3D_Format. 2017-11-14 17:38:34 +00:00
site
src Ensure that removing last extension from GrGLExtension doesn't assert. 2017-11-15 20:25:42 +00:00
tests Ensure that removing last extension from GrGLExtension doesn't assert. 2017-11-15 20:25:42 +00:00
third_party
tools slice GMs by native font platform, not by emoji format 2017-11-15 16:52:56 +00:00
.clang-format
.gitignore
.gn
AUTHORS
BUILD.gn streamline GDI bots 2017-11-13 18:47:11 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll skia/third_party/externals/angle2/ 192199a76..0acb268c9 (1 commit) 2017-11-15 19:22:12 +00:00
Doxyfile
LICENSE
PRESUBMIT.py
public.bzl
README
README.chromium
whitespace.txt

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

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