skia2/gyp
kkinnunen 830e012187 Make SkGLContext lifetime more well-defined
Remove refcounting from SkGLContext.

SkGLContext is expected to behave like GrContextFactory would own
it, as implied by the GrContextFactory function.

If it is refcounted, this does not hold.

Also other use sites, such as in SkOSWindow_win (command buffer gl
object), confirm the behavior. The object is explicitly owned and
destroyed, not shared.

Also fixes potential crashes from using GL context of an abandoned
context.

Also fixes potential crashes in DM/nanobench, if the GrContext lives
longer than GLContext through internal refing of GrContext.

Moves the non-trivial implementations from GrContextFactory.h to
.cpp, just for consistency sake.

Changes pathops_unittest.gyp. The pathops_unittest uses
GrContextFactory, but did not link to its implementation. The reason
they worked was that the implementation used (constructors, destructors)
happened to be in the .h file.

This works towards being able to use command buffer and NVPR from
the SampleApp.

BUG=skia:2992
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1511773005

Review URL: https://codereview.chromium.org/1511773005
2016-01-05 00:30:33 -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 Fix problem with flag unknown to clang. This negates an earlier -Werror causing warnings to be errors. 2015-12-09 12:27:31 -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 Revert of SkTime::GetNSecs() (patchset #10 id:180001 of https://codereview.chromium.org/1422513003/ ) 2015-10-22 17:49:22 -07:00
core.gypi move SkDither.h to private, remove unused shadeSpan16 2016-01-04 05:06:07 -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 dependency on src/android from dm and nanobench 2015-11-13 09:59:11 -08:00
effects.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
effects.gypi remove 565 effects shaders 2016-01-04 09:54:55 -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 Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07: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
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 make GrRect.h private 2015-12-26 18:20:00 -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 Remove experimental/PdfViewer 2015-08-04 14:08:44 -07: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 add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
pathops_unittest.gyp Make SkGLContext lifetime more well-defined 2016-01-05 00:30:33 -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 unused SkCullPoints 2015-12-21 18:37:16 -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 Remove staging for SkImageDecoder::Peeker 2015-12-08 18:48:38 -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 SkPDF/Deflate: clean up old SkFlate code 2015-08-18 13:30:25 -07:00
tools.gyp Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -08:00
utils.gyp Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -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