blob: 86ce396089f81350a9946f3f350047d70139b636 [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",
Mike Klein6e744122016-10-27 12:21:40 -040032 "$_samplecode/SampleDegenerateTwoPtRadials.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040033 "$_samplecode/SampleEffects.cpp",
34 "$_samplecode/SampleEmboss.cpp",
35 "$_samplecode/SampleFatBits.cpp",
36 "$_samplecode/SampleFillType.cpp",
Michael Ludwig6aaecfb2020-10-14 15:59:02 -040037 "$_samplecode/SampleFilterBounds.cpp",
Chris Dalton392fa032020-06-09 16:26:50 -060038 "$_samplecode/SampleFitCubicToCircle.cpp",
Jim Van Verthfc4f7682018-01-25 16:26:25 -050039 "$_samplecode/SampleFlutterAnimate.cpp",
Jim Van Verth70276912018-06-01 13:46:46 -040040 "$_samplecode/SampleGlyphTransform.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040041 "$_samplecode/SampleGradients.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050042 "$_samplecode/SampleHairCurves.cpp",
43 "$_samplecode/SampleHairModes.cpp",
Michael Ludwig43c6da22019-07-17 16:31:44 -040044 "$_samplecode/SampleImageFilterDAG.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050045 "$_samplecode/SampleLCD.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040046 "$_samplecode/SampleLayers.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040047 "$_samplecode/SampleManyRects.cpp",
Jim Van Verthc819bb12020-12-17 16:23:45 -050048 "$_samplecode/SampleMaterialShadows.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040049 "$_samplecode/SampleMegaStroke.cpp",
Florin Malitaf2965062019-02-15 13:49:01 -050050 "$_samplecode/SampleMixer.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040051 "$_samplecode/SamplePatch.cpp",
52 "$_samplecode/SamplePath.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040053 "$_samplecode/SamplePathClip.cpp",
54 "$_samplecode/SamplePathEffects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040055 "$_samplecode/SamplePathOverstroke.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050056 "$_samplecode/SamplePathText.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040057 "$_samplecode/SamplePolyToPoly.cpp",
58 "$_samplecode/SampleQuadStroker.cpp",
59 "$_samplecode/SampleRectanizer.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040060 "$_samplecode/SampleRepeatTile.cpp",
Mike Reedec80d902019-02-12 11:31:27 -050061 "$_samplecode/SampleSG.cpp",
Mike Klein96f64012020-04-03 10:59:37 -050062 "$_samplecode/SampleSVGFile.cpp",
Jim Van Verth34d6e4b2017-06-09 11:09:03 -040063 "$_samplecode/SampleShadowColor.cpp",
Jim Van Verth623fadf2017-05-23 13:50:58 -040064 "$_samplecode/SampleShadowReference.cpp",
Jim Van Verthe7705782017-05-04 14:00:59 -040065 "$_samplecode/SampleShadowUtils.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040066 "$_samplecode/SampleShip.cpp",
Tyler Denniston324578b2020-07-17 14:03:42 -040067 "$_samplecode/SampleSimpleStroker.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040068 "$_samplecode/SampleSlides.cpp",
69 "$_samplecode/SampleStringArt.cpp",
70 "$_samplecode/SampleStrokePath.cpp",
71 "$_samplecode/SampleStrokeRect.cpp",
Chris Dalton9ff7eef2021-03-05 21:58:25 -070072 "$_samplecode/SampleStrokeVerb.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040073 "$_samplecode/SampleTextBox.cpp",
Jim Van Verth22098812019-08-07 11:22:13 -040074 "$_samplecode/SampleTextureUpload.cpp",
Michael Ludwigd20cf332019-01-30 14:38:59 -050075 "$_samplecode/SampleThinAA.cpp",
Mike Klein5c612ad2020-08-26 12:26:06 -050076 "$_samplecode/SampleTiming.cpp",
Tyler Denniston189ecd42020-10-22 15:40:49 -040077 "$_samplecode/SampleVariableWidthStroker.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040078 "$_samplecode/SampleVertices.cpp",
79 "$_samplecode/SampleWritePixels.cpp",
80 "$_samplecode/SampleXfer.cpp",
81 "$_samplecode/SampleXfermodesBlur.cpp",
82 "$_samplecode/vertexdump.cpp",
83]
Robert Phillips3674f582021-06-16 12:05:54 -040084
Robert Phillips06273bc2021-08-11 15:43:50 -040085skgpu_v1_samples_sources = [
86 "$_samplecode/SampleDegenerateQuads.cpp",
87 "$_samplecode/SamplePathTessellators.cpp",
88]
Robert Phillips3674f582021-06-16 12:05:54 -040089
Robert Phillips024668c2021-07-01 12:12:52 -040090samples_sources += skgpu_v1_samples_sources