skia2/gyp
kkinnunen 702501ddca Simplify path allocation, clean up resources correctly
Simplify path id allocation in NVPR backend. Instead of using
an AVL tree of path id ranges for the first 65535 ids, use just
a simple stategy of overallocation and "bump index".

Fixes the bug where previously overallocated ids were not deleted.

The advantage is that the implementation is simple and all allocations
go through overallocation, not just the first 65535 of the 1-range
allocations.

Removes the logic where paths were cleared with setting path data to
null instead of deleting the whole path. Now deleted paths are just
deleted normally. These operations should have equivalent performance on
command buffer. Deleting the path should enable the driver to do more
maintainance.

Removes the GLNameAllocator, as it was only used for paths. In order for
it to be used for other IDs, it probably would need to be re-written to
support cleanup and arbitrary ranges. Also, the interface would probably
need to be changed to not requiring the block to be allocated before it
could be managed by the structure.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1150243003

Review URL: https://codereview.chromium.org/1150243003
2016-01-13 23:36:45 -08:00
..
android_deps.gyp Match libjpeg-turbo name change in Android 2015-12-03 09:48:54 -08:00
android_framework_lib.gyp Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
android_output.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
android_system.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
angle.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
animator.gyp Revert[8] "move some public headers into private" 2015-08-17 18:29:48 -07:00
apptype_console.gypi Remove all code related to NaCl 2015-04-02 12:16:36 -07:00
bench.gyp Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -08:00
bench.gypi Remove dependency on src/android from dm and nanobench 2015-11-13 09:59:11 -08:00
canvas_state_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
codec_android.gyp Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
codec.gyp Use SkOpts routines in SkSwizzler 2016-01-12 06:51:11 -08:00
common_conditions.gypi Make skia_sanitizer work on Macs too. 2015-12-09 12:39:01 -08:00
common_variables.gypi Disable sanitizers with a blacklist. 2015-12-08 14:26:17 -08:00
common.gypi skia: Add ANGLE support on Mac 2015-10-28 08:42:29 -07:00
core.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
core.gypi reorg global initialization, separating core from optional 2016-01-13 08:47:54 -08:00
debugger.gyp Get debugger compiling again 2015-10-26 09:28:12 -07:00
dm.gyp Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -08:00
dm.gypi remove SkGPipe 2016-01-08 06:30:14 -08:00
effects.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
effects.gypi Delete SkRectShaderImageFilter 2016-01-12 14:17:30 -08:00
etc1.gyp Revert of Depend on ETC1 via DEPS instead of a direct third_party checkin. (patchset #1 id:1 of https://codereview.chromium.org/1296253003/ ) 2015-08-17 11:15:00 -07:00
everything.gyp Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
example.gyp Create a standalone example for using Skia with SDL 2015-11-13 11:22:19 -08:00
experimental.gyp experimental: remove old PDF benchmarking tools 2015-07-15 08:06:29 -07:00
FileReaderApp.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
find.py Sort build files for consistent link order. 2015-05-20 09:26:47 -07:00
flags.gyp Add config options to run different GPU APIs to dm and nanobench 2015-12-23 01:33:01 -08:00
freetype.gyp Update Android FreeType version. 2015-10-27 08:39:39 -07:00
freetype.gypi Update Android FreeType version. 2015-10-27 08:39:39 -07:00
fuzz.gyp Add new fuzz binary. 2016-01-13 12:57:58 -08:00
giflib.gyp Update giflib to 5.1.1 (AOSP hash) 2015-08-24 12:00:15 -07:00
gmslides.gypi A bit of misc cleanup. 2015-08-14 10:03:45 -07:00
gpu.gyp skia: add ability to load command_buffer_gles2 2015-08-27 10:38:39 -07:00
gpu.gypi Simplify path allocation, clean up resources correctly 2016-01-13 23:36:45 -08:00
gputest.gyp Add include paths in gputest.gyp for use by additional gpu tests. 2015-08-14 08:37:50 -07:00
icu.gyp Update giflib to 5.1.1 (AOSP hash) 2015-08-24 12:00:15 -07:00
images.gyp Remove flag needed by outdated libpng 2015-12-10 14:45:03 -08:00
iOSShell.gyp Modify iOSShell-gyp to generate unique bundle identifier 2015-12-02 09:45:30 -08:00
jsoncpp.gyp Roll jsoncpp, drop dependency on Chromium overrides. 2014-08-19 07:21:00 -07:00
ktx.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
libjpeg-turbo-selector.gyp Remove dependencies on Android's forked decoder libraries 2015-11-06 11:15:49 -08:00
libjpeg-turbo.gyp Switch Skia's libjpeg-turbo to 1.4.2 2015-11-23 11:09:14 -08:00
libpng.gyp Fix the build on Android devices 2015-11-06 15:19:24 -05:00
libwebp_skia.gypi Comments Style: s/skbug.com/bug.skia.org/ 2015-11-07 05:29:00 -08:00
libwebp.gyp Reenable warnings in src/codec 2015-10-15 06:41:06 -07:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
most.gyp Add new fuzz binary. 2016-01-13 12:57:58 -08:00
nanomsg.gyp Experiment with find as a road to Gyp sanity. 2015-05-16 15:47:10 -07:00
opts.gyp Add build targets for advanced Intel instruction sets (1.5 of 3) 2015-08-25 06:30:07 -07:00
opts.gypi float xfermodes (burn, dodge, softlight) in Sk8f, possibly using AVX. 2015-11-11 11:39:09 -08:00
pathops_skpclip.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
pathops_unittest.gyp Make SkGLContext lifetime more well-defined 2016-01-06 23:49:31 -08:00
pathops_unittest.gypi More conic-specific tests revealed a few conic-specific bugs. Because javascript / canvas make visualizing conics tricky, new native tools are required. 2015-10-30 12:03:06 -07:00
pdf.gyp SkPDF: Optionally output PDF/A-2b archive format. 2015-10-12 10:11:18 -07:00
pdf.gypi SkPDF: Optionally output PDF/A-2b archive format. 2015-10-12 10:11:18 -07:00
ports.gyp Enable NVPR with command buffer 2015-12-21 04:05:53 -08:00
SampleApp.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
sdl.gyp Initial gyp files for SDL 2015-10-29 07:09:53 -07:00
sfnt.gyp Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
sfntly.gyp Disable sanitizers with a blacklist. 2015-12-08 14:26:17 -08:00
SimpleCocoaApp.gyp Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files. 2015-06-18 11:49:42 -07:00
SimpleiOSApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_for_android_framework_defines.gypi Fix DM tests in the Android Framework 2016-01-06 11:38:14 -08:00
skia_for_chromium_defines.gypi Remove SK_IGNORE_GL_TEXTURE_TARGET from skia_for_chromium_defines.gypi 2015-12-07 14:05:31 -08:00
skia_launcher.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_lib.gyp Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
svg.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
tests.gypi remove SkGPipe 2016-01-08 06:30:14 -08:00
tools.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
utils.gyp remove SkGPipe 2016-01-08 06:30:14 -08:00
utils.gypi remove unused SkCubicInterval 2015-12-23 11:21:39 -08:00
v8.gyp Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files. 2015-06-18 11:49:42 -07:00
views_animated.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views.gyp bring up SDL on windows 2015-11-11 13:17:06 -08:00
visualbench.gyp Remove dependency on src/android from dm and nanobench 2015-11-13 09:59:11 -08:00
xml.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xps.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
yasm.gyp simplify the way we disable sanitizers for yasm 2015-12-08 10:04:42 -08:00
zlib.gyp Fix warnings on VS2015 x86_64 build 2015-08-06 17:33:16 -07:00