skia2/gyp
kkinnunen e13ca329fc Add config options to run different GPU APIs to dm and nanobench
Add extended config specification form that can be used to run different
gpu backend with different APIs.

The configs can be specified with the form:
gpu(api=string,dit=bool,nvpr=bool,samples=int)

This replaces and removes the --gpuAPI flag.

All existing configs should still work.

Adds following documentation:

out/Debug/dm --help config

Flags:
    --config:	type: string	default: 565 8888 gpu nonrendering
        Options: 565 8888 debug gpu gpudebug gpudft gpunull msaa16 msaa4
        nonrendering null nullgpu nvprmsaa16 nvprmsaa4 pdf pdf_poppler skp svg
        xps or use extended form 'backend(option=value,...)'.

        Extended form: 'backend(option=value,...)'

        Possible backends and options:

        gpu(api=string,dit=bool,nvpr=bool,samples=int)	GPU backend
        	api	type: string	default: native.
        	    Select graphics API to use with gpu backend.
        	    Options:
        		native			Use platform default OpenGL or OpenGL ES backend.
        		gl    			Use OpenGL.
        		gles  			Use OpenGL ES.
        		debug 			Use debug OpenGL.
        		null  			Use null OpenGL.
        	dit	type: bool	default: false.
        	    Use device independent text.
        	nvpr	type: bool	default: false.
        	    Use NV_path_rendering OpenGL and OpenGL ES extension.
        	samples	type: int	default: 0.
        	    Use multisampling with N samples.

        Predefined configs:

        	gpu      	= gpu()
        	msaa4    	= gpu(samples=4)
        	msaa16   	= gpu(samples=16)
        	nvprmsaa4	= gpu(nvpr=true,samples=4)
        	nvprmsaa16	= gpu(nvpr=true,samples=16)
        	gpudft    	= gpu(dit=true)
        	gpudebug  	= gpu(api=debug)
        	gpunull   	= gpu(api=null)
        	debug     	= gpu(api=debug)
        	nullgpu   	= gpu(api=null)

BUG=skia:2992

Review URL: https://codereview.chromium.org/1490113005
2015-12-14 04:49:17 -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 Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07: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 Revert of skstd -> std for unique_ptr (patchset #17 id:320001 of https://codereview.chromium.org/1436033003/ ) 2015-12-02 12:32:02 -08:00
debugger.gyp Get debugger compiling again 2015-10-26 09:28:12 -07:00
dm.gyp Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07: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 SkBitmapSource 2015-09-25 09:15:55 -07: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-14 04:49:17 -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 Move all text stuff to its own folder 2015-12-11 06:11:21 -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 cumulative pathops patch 2015-03-26 07:52:43 -07: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 SkImageShaderFactoryToName SkAlphaThresholdFilterFactoryToName 2015-12-07 12:02:33 -08:00
SampleApp.gyp Boost GrGLConicEffect's variables to all high precision 2015-12-09 07:54:24 -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 When was SkPDiff last used? 2015-12-07 13:27:32 -08:00
utils.gyp Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07:00
utils.gypi Remove SkThread::setProcessorAffinity() 2015-10-20 11:05:06 -07: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