skia2/gn
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
..
toolchain Support cc_wrapper with MSVC toolchain 2017-10-23 16:34:29 +00:00
__init__.py Make gn directory importable in python 2017-03-20 17:40:30 +00:00
ar.py GN: quiet alink spam on Mac 2016-11-07 14:19:32 +00:00
bench.gni Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
BUILD.gn Support cc_wrapper with MSVC toolchain 2017-10-23 16:34:29 +00:00
BUILDCONFIG.gn [WASM] Add POC compile bot for WebAssembly 2017-09-21 18:24:43 +00:00
call.py Add gn plumbing for mdbviz tool 2017-09-05 13:57:44 +00:00
compile_processors.py switched to infra version of clang-format for skslc 2017-07-27 20:28:50 +00:00
core.gni Try 2 for Gauss filter calculation 2017-11-10 19:58:57 +00:00
cp.py GN: get Angle compiling on Windows. 2016-10-17 16:16:16 +00:00
create_sksl_enums.py sksl enum support 2017-11-13 14:36:40 +00:00
effects.gni Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
find_headers.py Revert "Revert "Update skia to use ifdefs for Vulkan code instead of dummy header"" 2017-06-14 01:43:38 +00:00
find_ios_sysroot.py Add iOS simulator support in GN. 2017-03-13 17:21:43 +00:00
flutter_defines.gni Preemptively disable upcoming Skia features in Flutter/Fuchsia 2017-11-10 13:52:57 +00:00
gm.gni add some lowp gradient stages 2017-11-03 12:31:59 +00:00
gn_helpers.py Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gn_meta_sln.py Move, rename, and document Visual Studio GN helper script 2016-12-14 16:41:52 +00:00
gn_to_bp.py Generate warning settings for Android framework 2017-10-06 16:18:34 +00:00
gn_to_cmake.py Add support for lib_dirs to gn_to_cmake.py. 2016-10-28 15:07:10 +00:00
gpu.gni Don't use analytic clip FPs when drawing to stencil 2017-11-07 21:30:44 +00:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
is_clang.py GN: match shell behavior for cc and cxx in is_clang.py 2016-09-27 09:29:24 -07:00
opts.gni Assume HQ is handled by pipeline, delete legacy code-path 2017-07-20 00:43:37 +00:00
package_ios.py Get viewer running on iOS 2017-09-01 17:30:57 +00:00
pdf.gni SkPDF: simplify drawImage/Bitmap/Sprite code. 2017-07-12 20:41:41 +00:00
push_to_android.py skia_android_serial = "auto" 2017-01-12 16:30:17 +00:00
run_sksllex.py Re-land "converted OverdrawColorFilter to SkSL" 2017-10-26 14:58:27 +00:00
samples.gni Add animated cowboy sample from WebKit tests, and fix. 2017-09-25 21:14:09 +00:00
shared_sources.gni Assume HQ is handled by pipeline, delete legacy code-path 2017-07-20 00:43:37 +00:00
sksl.gni converted LumaColorFilterEffect to sksl 2017-11-07 14:55:18 +00:00
tests.gni Ensure that removing last extension from GrGLExtension doesn't assert. 2017-11-15 20:25:42 +00:00
utils.gni move Sk{Test,Random}ScalerContext to tools 2017-11-10 17:02:20 +00:00
xps.gni SkXPS: new document API. 2017-02-06 19:00:28 +00:00