blob: 211b7cfe92f1c4dfd924e169bdedff799a9914d6 [file] [log] [blame]
Mike Klein6e744122016-10-27 12:21:40 -04001# 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
9samples_sources = [
Ben Wagnerb2c4ea62018-08-08 11:36:17 -040010 "$_samplecode/Sample.cpp",
11 "$_samplecode/Sample.h",
Mike Klein6e744122016-10-27 12:21:40 -040012 "$_samplecode/Sample2PtRadial.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050013 "$_samplecode/Sample3D.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040014 "$_samplecode/SampleAARectModes.cpp",
15 "$_samplecode/SampleAARects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040016 "$_samplecode/SampleAndroidShadows.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050017 "$_samplecode/SampleAnimBlur.cpp",
Leon Scroggins III7a10b332018-01-12 11:24:30 -050018 "$_samplecode/SampleAnimatedImage.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040019 "$_samplecode/SampleAnimatedText.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040020 "$_samplecode/SampleArc.cpp",
21 "$_samplecode/SampleAtlas.cpp",
Mike Reed8a8be222020-08-13 09:14:24 -040022 "$_samplecode/SampleAudio.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040023 "$_samplecode/SampleCamera.cpp",
24 "$_samplecode/SampleChart.cpp",
Robert Phillips4c72b262017-08-15 13:28:42 -040025 "$_samplecode/SampleChineseFling.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040026 "$_samplecode/SampleCircle.cpp",
27 "$_samplecode/SampleClip.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040028 "$_samplecode/SampleClock.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040029 "$_samplecode/SampleComplexClip.cpp",
Jim Van Verth712fe732017-09-25 16:53:49 -040030 "$_samplecode/SampleCowboy.cpp",
Cary Clarkdb160012018-08-31 15:07:51 -040031 "$_samplecode/SampleCusp.cpp",
Michael Ludwige6266a22019-03-07 11:24:32 -050032 "$_samplecode/SampleDegenerateQuads.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040033 "$_samplecode/SampleDegenerateTwoPtRadials.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040034 "$_samplecode/SampleEffects.cpp",
35 "$_samplecode/SampleEmboss.cpp",
36 "$_samplecode/SampleFatBits.cpp",
37 "$_samplecode/SampleFillType.cpp",
Michael Ludwig6aaecfb2020-10-14 15:59:02 -040038 "$_samplecode/SampleFilterBounds.cpp",
Chris Dalton392fa032020-06-09 16:26:50 -060039 "$_samplecode/SampleFitCubicToCircle.cpp",
Jim Van Verthfc4f7682018-01-25 16:26:25 -050040 "$_samplecode/SampleFlutterAnimate.cpp",
Jim Van Verth70276912018-06-01 13:46:46 -040041 "$_samplecode/SampleGlyphTransform.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040042 "$_samplecode/SampleGradients.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050043 "$_samplecode/SampleHairCurves.cpp",
44 "$_samplecode/SampleHairModes.cpp",
Michael Ludwig43c6da22019-07-17 16:31:44 -040045 "$_samplecode/SampleImageFilterDAG.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050046 "$_samplecode/SampleLCD.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040047 "$_samplecode/SampleLayers.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040048 "$_samplecode/SampleManyRects.cpp",
Jim Van Verthc819bb12020-12-17 16:23:45 -050049 "$_samplecode/SampleMaterialShadows.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040050 "$_samplecode/SampleMegaStroke.cpp",
Florin Malitaf2965062019-02-15 13:49:01 -050051 "$_samplecode/SampleMixer.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040052 "$_samplecode/SamplePatch.cpp",
53 "$_samplecode/SamplePath.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040054 "$_samplecode/SamplePathClip.cpp",
55 "$_samplecode/SamplePathEffects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040056 "$_samplecode/SamplePathOverstroke.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050057 "$_samplecode/SamplePathText.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040058 "$_samplecode/SamplePolyToPoly.cpp",
59 "$_samplecode/SampleQuadStroker.cpp",
60 "$_samplecode/SampleRectanizer.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040061 "$_samplecode/SampleRepeatTile.cpp",
Mike Reedec80d902019-02-12 11:31:27 -050062 "$_samplecode/SampleSG.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050063 "$_samplecode/SampleSVGFile.cpp",
Jim Van Verth34d6e4b2017-06-09 11:09:03 -040064 "$_samplecode/SampleShadowColor.cpp",
Jim Van Verth623fadf2017-05-23 13:50:58 -040065 "$_samplecode/SampleShadowReference.cpp",
Jim Van Verthe7705782017-05-04 14:00:59 -040066 "$_samplecode/SampleShadowUtils.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040067 "$_samplecode/SampleShip.cpp",
Tyler Denniston324578b2020-07-17 14:03:42 -040068 "$_samplecode/SampleSimpleStroker.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040069 "$_samplecode/SampleSlides.cpp",
70 "$_samplecode/SampleStringArt.cpp",
71 "$_samplecode/SampleStrokePath.cpp",
72 "$_samplecode/SampleStrokeRect.cpp",
Chris Dalton9ff7eef2021-03-05 21:58:25 -070073 "$_samplecode/SampleStrokeVerb.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040074 "$_samplecode/SampleTextBox.cpp",
Jim Van Verth22098812019-08-07 11:22:13 -040075 "$_samplecode/SampleTextureUpload.cpp",
Michael Ludwigd20cf332019-01-30 14:38:59 -050076 "$_samplecode/SampleThinAA.cpp",
Mike Klein5c612ad2020-08-26 12:26:06 -050077 "$_samplecode/SampleTiming.cpp",
Tyler Denniston189ecd42020-10-22 15:40:49 -040078 "$_samplecode/SampleVariableWidthStroker.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040079 "$_samplecode/SampleVertices.cpp",
80 "$_samplecode/SampleWritePixels.cpp",
81 "$_samplecode/SampleXfer.cpp",
82 "$_samplecode/SampleXfermodesBlur.cpp",
83 "$_samplecode/vertexdump.cpp",
84]
Robert Phillips3674f582021-06-16 12:05:54 -040085
Robert Phillips024668c2021-07-01 12:12:52 -040086skgpu_v1_samples_sources = [ "$_samplecode/SamplePathTessellators.cpp" ]
Robert Phillips3674f582021-06-16 12:05:54 -040087
Robert Phillips024668c2021-07-01 12:12:52 -040088samples_sources += skgpu_v1_samples_sources