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 first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Add clipping options to path text bench and samples 2017-11-07 01:51:31 +00:00
bin bin/try: Add interactive mode 2017-10-18 17:16:16 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm Add SkColorSpace_Base::makeColorSpin 2017-11-14 16:33:34 +00:00
docs Update doc and example for SkPaint::FontMetrics. 2017-11-09 18:20:14 +00:00
example Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
experimental [v8-platform] Store the platform in a unique_ptr 2017-11-09 17:19:14 +00:00
fuzz Revert "Revert "Remove MakeForLocalSpace since picture image is sufficient"" 2017-11-09 21:50:27 +00:00
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 platform_tools/android/bin/android_gdbserver: fix error 2017-10-13 16:06:28 +00:00
resources Extract Android FontMgr part of Typeface test. 2017-11-13 17:00:31 +00:00
samplecode Alloc glyph image correctly for SkMask::k3D_Format. 2017-11-14 17:38:34 +00:00
site Update doc and example for SkPaint::FontMetrics. 2017-11-09 18:20:14 +00:00
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 Suppress warning 4577 (noexcept used with no exception handling mechanism specified) 2017-11-12 19:38:16 +00:00
tools slice GMs by native font platform, not by emoji format 2017-11-15 16:52:56 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn streamline GDI bots 2017-11-13 18:47:11 +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 skia/third_party/externals/angle2/ 192199a76..0acb268c9 (1 commit) 2017-11-15 19:22:12 +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 Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
public.bzl Drop support for OSMesa in test tools and remove build bot 2017-11-13 16:20:10 +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 Revert "Whitespace change to test Android autoroller" 2017-09-07 15:25:02 +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.