Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 1 | # Copyright 2016 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | # Things are easiest for everyone if these source paths are absolute. |
| 7 | _samplecode = get_path_info("../samplecode", "abspath") |
| 8 | |
| 9 | samples_sources = [ |
Ben Wagner | b2c4ea6 | 2018-08-08 11:36:17 -0400 | [diff] [blame] | 10 | "$_samplecode/Sample.cpp", |
| 11 | "$_samplecode/Sample.h", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 12 | "$_samplecode/Sample2PtRadial.cpp", |
Mike Klein | 96f6401 | 2020-04-03 10:59:37 -0500 | [diff] [blame] | 13 | "$_samplecode/Sample3D.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 14 | "$_samplecode/SampleAARectModes.cpp", |
| 15 | "$_samplecode/SampleAARects.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 16 | "$_samplecode/SampleAndroidShadows.cpp", |
Mike Klein | 96f6401 | 2020-04-03 10:59:37 -0500 | [diff] [blame] | 17 | "$_samplecode/SampleAnimBlur.cpp", |
Leon Scroggins III | 7a10b33 | 2018-01-12 11:24:30 -0500 | [diff] [blame] | 18 | "$_samplecode/SampleAnimatedImage.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 19 | "$_samplecode/SampleAnimatedText.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 20 | "$_samplecode/SampleArc.cpp", |
| 21 | "$_samplecode/SampleAtlas.cpp", |
Mike Reed | 8a8be22 | 2020-08-13 09:14:24 -0400 | [diff] [blame] | 22 | "$_samplecode/SampleAudio.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 23 | "$_samplecode/SampleCamera.cpp", |
| 24 | "$_samplecode/SampleChart.cpp", |
Robert Phillips | 4c72b26 | 2017-08-15 13:28:42 -0400 | [diff] [blame] | 25 | "$_samplecode/SampleChineseFling.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 26 | "$_samplecode/SampleCircle.cpp", |
| 27 | "$_samplecode/SampleClip.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 28 | "$_samplecode/SampleClock.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 29 | "$_samplecode/SampleComplexClip.cpp", |
Jim Van Verth | 712fe73 | 2017-09-25 16:53:49 -0400 | [diff] [blame] | 30 | "$_samplecode/SampleCowboy.cpp", |
Cary Clark | db16001 | 2018-08-31 15:07:51 -0400 | [diff] [blame] | 31 | "$_samplecode/SampleCusp.cpp", |
Michael Ludwig | e6266a2 | 2019-03-07 11:24:32 -0500 | [diff] [blame] | 32 | "$_samplecode/SampleDegenerateQuads.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 33 | "$_samplecode/SampleDegenerateTwoPtRadials.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 34 | "$_samplecode/SampleEffects.cpp", |
| 35 | "$_samplecode/SampleEmboss.cpp", |
| 36 | "$_samplecode/SampleFatBits.cpp", |
| 37 | "$_samplecode/SampleFillType.cpp", |
Michael Ludwig | 6aaecfb | 2020-10-14 15:59:02 -0400 | [diff] [blame] | 38 | "$_samplecode/SampleFilterBounds.cpp", |
Chris Dalton | 392fa03 | 2020-06-09 16:26:50 -0600 | [diff] [blame] | 39 | "$_samplecode/SampleFitCubicToCircle.cpp", |
Jim Van Verth | fc4f768 | 2018-01-25 16:26:25 -0500 | [diff] [blame] | 40 | "$_samplecode/SampleFlutterAnimate.cpp", |
Jim Van Verth | 7027691 | 2018-06-01 13:46:46 -0400 | [diff] [blame] | 41 | "$_samplecode/SampleGlyphTransform.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 42 | "$_samplecode/SampleGradients.cpp", |
Mike Klein | 96f6401 | 2020-04-03 10:59:37 -0500 | [diff] [blame] | 43 | "$_samplecode/SampleHairCurves.cpp", |
| 44 | "$_samplecode/SampleHairModes.cpp", |
Michael Ludwig | 43c6da2 | 2019-07-17 16:31:44 -0400 | [diff] [blame] | 45 | "$_samplecode/SampleImageFilterDAG.cpp", |
Mike Klein | 96f6401 | 2020-04-03 10:59:37 -0500 | [diff] [blame] | 46 | "$_samplecode/SampleLCD.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 47 | "$_samplecode/SampleLayers.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 48 | "$_samplecode/SampleManyRects.cpp", |
Jim Van Verth | c819bb1 | 2020-12-17 16:23:45 -0500 | [diff] [blame] | 49 | "$_samplecode/SampleMaterialShadows.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 50 | "$_samplecode/SampleMegaStroke.cpp", |
Florin Malita | f296506 | 2019-02-15 13:49:01 -0500 | [diff] [blame] | 51 | "$_samplecode/SampleMixer.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 52 | "$_samplecode/SamplePatch.cpp", |
| 53 | "$_samplecode/SamplePath.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 54 | "$_samplecode/SamplePathClip.cpp", |
| 55 | "$_samplecode/SamplePathEffects.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 56 | "$_samplecode/SamplePathOverstroke.cpp", |
Mike Klein | 96f6401 | 2020-04-03 10:59:37 -0500 | [diff] [blame] | 57 | "$_samplecode/SamplePathText.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 58 | "$_samplecode/SamplePolyToPoly.cpp", |
| 59 | "$_samplecode/SampleQuadStroker.cpp", |
| 60 | "$_samplecode/SampleRectanizer.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 61 | "$_samplecode/SampleRepeatTile.cpp", |
Mike Reed | ec80d90 | 2019-02-12 11:31:27 -0500 | [diff] [blame] | 62 | "$_samplecode/SampleSG.cpp", |
Mike Klein | 96f6401 | 2020-04-03 10:59:37 -0500 | [diff] [blame] | 63 | "$_samplecode/SampleSVGFile.cpp", |
Jim Van Verth | 34d6e4b | 2017-06-09 11:09:03 -0400 | [diff] [blame] | 64 | "$_samplecode/SampleShadowColor.cpp", |
Jim Van Verth | 623fadf | 2017-05-23 13:50:58 -0400 | [diff] [blame] | 65 | "$_samplecode/SampleShadowReference.cpp", |
Jim Van Verth | e770578 | 2017-05-04 14:00:59 -0400 | [diff] [blame] | 66 | "$_samplecode/SampleShadowUtils.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 67 | "$_samplecode/SampleShip.cpp", |
Tyler Denniston | 324578b | 2020-07-17 14:03:42 -0400 | [diff] [blame] | 68 | "$_samplecode/SampleSimpleStroker.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 69 | "$_samplecode/SampleSlides.cpp", |
| 70 | "$_samplecode/SampleStringArt.cpp", |
| 71 | "$_samplecode/SampleStrokePath.cpp", |
| 72 | "$_samplecode/SampleStrokeRect.cpp", |
Chris Dalton | 9ff7eef | 2021-03-05 21:58:25 -0700 | [diff] [blame] | 73 | "$_samplecode/SampleStrokeVerb.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 74 | "$_samplecode/SampleTextBox.cpp", |
Jim Van Verth | 2209881 | 2019-08-07 11:22:13 -0400 | [diff] [blame] | 75 | "$_samplecode/SampleTextureUpload.cpp", |
Michael Ludwig | d20cf33 | 2019-01-30 14:38:59 -0500 | [diff] [blame] | 76 | "$_samplecode/SampleThinAA.cpp", |
Mike Klein | 5c612ad | 2020-08-26 12:26:06 -0500 | [diff] [blame] | 77 | "$_samplecode/SampleTiming.cpp", |
Tyler Denniston | 189ecd4 | 2020-10-22 15:40:49 -0400 | [diff] [blame] | 78 | "$_samplecode/SampleVariableWidthStroker.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 79 | "$_samplecode/SampleVertices.cpp", |
| 80 | "$_samplecode/SampleWritePixels.cpp", |
| 81 | "$_samplecode/SampleXfer.cpp", |
| 82 | "$_samplecode/SampleXfermodesBlur.cpp", |
| 83 | "$_samplecode/vertexdump.cpp", |
| 84 | ] |
Robert Phillips | 3674f58 | 2021-06-16 12:05:54 -0400 | [diff] [blame] | 85 | |
Robert Phillips | 024668c | 2021-07-01 12:12:52 -0400 | [diff] [blame^] | 86 | skgpu_v1_samples_sources = [ "$_samplecode/SamplePathTessellators.cpp" ] |
Robert Phillips | 3674f58 | 2021-06-16 12:05:54 -0400 | [diff] [blame] | 87 | |
Robert Phillips | 024668c | 2021-07-01 12:12:52 -0400 | [diff] [blame^] | 88 | samples_sources += skgpu_v1_samples_sources |