From 686b50e481bb67f0aee267660cf0e02b486e7103 Mon Sep 17 00:00:00 2001 From: Martin Fouilleul Date: Wed, 9 Aug 2023 18:08:07 +0200 Subject: [PATCH] Move all native examples to sketches/ and remove milepost repo --- .gitignore | 1 + milepost/.gitignore | 18 ------------------ .../examples => sketches}/atlas/build.bat | 0 {milepost/examples => sketches}/atlas/build.sh | 0 {milepost/examples => sketches}/atlas/main.c | 0 .../examples => sketches}/canvas/build.bat | 0 .../examples => sketches}/canvas/build.sh | 0 {milepost/examples => sketches}/canvas/main.c | 0 .../examples => sketches}/image/build.bat | 0 {milepost/examples => sketches}/image/build.sh | 0 {milepost/examples => sketches}/image/main.c | 0 .../multi_surface/build.bat | 0 .../multi_surface/build.sh | 0 .../examples => sketches}/multi_surface/main.c | 0 .../examples => sketches}/perf_text/build.bat | 0 .../examples => sketches}/perf_text/build.sh | 0 .../examples => sketches}/perf_text/main.c | 0 .../examples => sketches}/polygon/build.bat | 0 .../examples => sketches}/polygon/build.sh | 0 {milepost/examples => sketches}/polygon/main.c | 0 .../render_thread/build.bat | 0 .../render_thread/build.sh | 0 .../examples => sketches}/render_thread/main.c | 0 .../simpleWindow/build.bat | 0 .../simpleWindow/build.sh | 0 .../examples => sketches}/simpleWindow/main.c | 0 .../smooth_resize/build.bat | 0 .../smooth_resize/build.sh | 0 .../examples => sketches}/smooth_resize/main.c | 0 .../surface_sharing/build.bat | 0 .../surface_sharing/build.sh | 0 .../surface_sharing/main.c | 0 .../tiger/Ghostscript_Tiger.svg | 0 .../examples => sketches}/tiger/build.bat | 0 {milepost/examples => sketches}/tiger/build.sh | 0 {milepost/examples => sketches}/tiger/main.c | 0 .../examples => sketches}/tiger/svg2mg.py | 0 {milepost/examples => sketches}/tiger/tiger.c | 0 .../examples => sketches}/triangleGL/build.bat | 0 .../examples => sketches}/triangleGL/build.sh | 0 .../examples => sketches}/triangleGL/main.c | 0 .../triangleGLES/build.bat | 0 .../triangleGLES/build.sh | 0 .../examples => sketches}/triangleGLES/main.c | 0 .../triangleMetal/build.sh | 0 .../examples => sketches}/triangleMetal/main.m | 0 .../triangleMetal/shader.metal | 0 .../triangleMetal/vertex.h | 0 {milepost/examples => sketches}/ui/build.bat | 0 {milepost/examples => sketches}/ui/build.sh | 0 {milepost/examples => sketches}/ui/main.c | 0 51 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 milepost/.gitignore rename {milepost/examples => sketches}/atlas/build.bat (100%) rename {milepost/examples => sketches}/atlas/build.sh (100%) rename {milepost/examples => sketches}/atlas/main.c (100%) rename {milepost/examples => sketches}/canvas/build.bat (100%) rename {milepost/examples => sketches}/canvas/build.sh (100%) rename {milepost/examples => sketches}/canvas/main.c (100%) rename {milepost/examples => sketches}/image/build.bat (100%) rename {milepost/examples => sketches}/image/build.sh (100%) rename {milepost/examples => sketches}/image/main.c (100%) rename {milepost/examples => sketches}/multi_surface/build.bat (100%) rename {milepost/examples => sketches}/multi_surface/build.sh (100%) rename {milepost/examples => sketches}/multi_surface/main.c (100%) rename {milepost/examples => sketches}/perf_text/build.bat (100%) rename {milepost/examples => sketches}/perf_text/build.sh (100%) rename {milepost/examples => sketches}/perf_text/main.c (100%) rename {milepost/examples => sketches}/polygon/build.bat (100%) rename {milepost/examples => sketches}/polygon/build.sh (100%) rename {milepost/examples => sketches}/polygon/main.c (100%) rename {milepost/examples => sketches}/render_thread/build.bat (100%) rename {milepost/examples => sketches}/render_thread/build.sh (100%) rename {milepost/examples => sketches}/render_thread/main.c (100%) rename {milepost/examples => sketches}/simpleWindow/build.bat (100%) rename {milepost/examples => sketches}/simpleWindow/build.sh (100%) rename {milepost/examples => sketches}/simpleWindow/main.c (100%) rename {milepost/examples => sketches}/smooth_resize/build.bat (100%) rename {milepost/examples => sketches}/smooth_resize/build.sh (100%) rename {milepost/examples => sketches}/smooth_resize/main.c (100%) rename {milepost/examples => sketches}/surface_sharing/build.bat (100%) rename {milepost/examples => sketches}/surface_sharing/build.sh (100%) rename {milepost/examples => sketches}/surface_sharing/main.c (100%) rename {milepost/examples => sketches}/tiger/Ghostscript_Tiger.svg (100%) rename {milepost/examples => sketches}/tiger/build.bat (100%) rename {milepost/examples => sketches}/tiger/build.sh (100%) rename {milepost/examples => sketches}/tiger/main.c (100%) rename {milepost/examples => sketches}/tiger/svg2mg.py (100%) rename {milepost/examples => sketches}/tiger/tiger.c (100%) rename {milepost/examples => sketches}/triangleGL/build.bat (100%) rename {milepost/examples => sketches}/triangleGL/build.sh (100%) rename {milepost/examples => sketches}/triangleGL/main.c (100%) rename {milepost/examples => sketches}/triangleGLES/build.bat (100%) rename {milepost/examples => sketches}/triangleGLES/build.sh (100%) rename {milepost/examples => sketches}/triangleGLES/main.c (100%) rename {milepost/examples => sketches}/triangleMetal/build.sh (100%) rename {milepost/examples => sketches}/triangleMetal/main.m (100%) rename {milepost/examples => sketches}/triangleMetal/shader.metal (100%) rename {milepost/examples => sketches}/triangleMetal/vertex.h (100%) rename {milepost/examples => sketches}/ui/build.bat (100%) rename {milepost/examples => sketches}/ui/build.sh (100%) rename {milepost/examples => sketches}/ui/main.c (100%) diff --git a/.gitignore b/.gitignore index 3a3d3e5..c6ce003 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ scripts/__pycache__ src/gles_api.json src/bindgen_core_api.c src/bindgen_gles_api.c +src/graphics/glsl_shaders.h sdk/io_stubs.c sdk/orca_surface.c sdk/gl31.h diff --git a/milepost/.gitignore b/milepost/.gitignore deleted file mode 100644 index 4efd5e4..0000000 --- a/milepost/.gitignore +++ /dev/null @@ -1,18 +0,0 @@ -.DS_Store -*.dSYM -bin -build -*.metallib - -*.pdb -*.exe -*.ilk -*.vs -*.obj -*.lib -*.dll -*.sln - -Debug/* -src/glsl_shaders.h -scripts/__pycache__ \ No newline at end of file diff --git a/milepost/examples/atlas/build.bat b/sketches/atlas/build.bat similarity index 100% rename from milepost/examples/atlas/build.bat rename to sketches/atlas/build.bat diff --git a/milepost/examples/atlas/build.sh b/sketches/atlas/build.sh similarity index 100% rename from milepost/examples/atlas/build.sh rename to sketches/atlas/build.sh diff --git a/milepost/examples/atlas/main.c b/sketches/atlas/main.c similarity index 100% rename from milepost/examples/atlas/main.c rename to sketches/atlas/main.c diff --git a/milepost/examples/canvas/build.bat b/sketches/canvas/build.bat similarity index 100% rename from milepost/examples/canvas/build.bat rename to sketches/canvas/build.bat diff --git a/milepost/examples/canvas/build.sh b/sketches/canvas/build.sh similarity index 100% rename from milepost/examples/canvas/build.sh rename to sketches/canvas/build.sh diff --git a/milepost/examples/canvas/main.c b/sketches/canvas/main.c similarity index 100% rename from milepost/examples/canvas/main.c rename to sketches/canvas/main.c diff --git a/milepost/examples/image/build.bat b/sketches/image/build.bat similarity index 100% rename from milepost/examples/image/build.bat rename to sketches/image/build.bat diff --git a/milepost/examples/image/build.sh b/sketches/image/build.sh similarity index 100% rename from milepost/examples/image/build.sh rename to sketches/image/build.sh diff --git a/milepost/examples/image/main.c b/sketches/image/main.c similarity index 100% rename from milepost/examples/image/main.c rename to sketches/image/main.c diff --git a/milepost/examples/multi_surface/build.bat b/sketches/multi_surface/build.bat similarity index 100% rename from milepost/examples/multi_surface/build.bat rename to sketches/multi_surface/build.bat diff --git a/milepost/examples/multi_surface/build.sh b/sketches/multi_surface/build.sh similarity index 100% rename from milepost/examples/multi_surface/build.sh rename to sketches/multi_surface/build.sh diff --git a/milepost/examples/multi_surface/main.c b/sketches/multi_surface/main.c similarity index 100% rename from milepost/examples/multi_surface/main.c rename to sketches/multi_surface/main.c diff --git a/milepost/examples/perf_text/build.bat b/sketches/perf_text/build.bat similarity index 100% rename from milepost/examples/perf_text/build.bat rename to sketches/perf_text/build.bat diff --git a/milepost/examples/perf_text/build.sh b/sketches/perf_text/build.sh similarity index 100% rename from milepost/examples/perf_text/build.sh rename to sketches/perf_text/build.sh diff --git a/milepost/examples/perf_text/main.c b/sketches/perf_text/main.c similarity index 100% rename from milepost/examples/perf_text/main.c rename to sketches/perf_text/main.c diff --git a/milepost/examples/polygon/build.bat b/sketches/polygon/build.bat similarity index 100% rename from milepost/examples/polygon/build.bat rename to sketches/polygon/build.bat diff --git a/milepost/examples/polygon/build.sh b/sketches/polygon/build.sh similarity index 100% rename from milepost/examples/polygon/build.sh rename to sketches/polygon/build.sh diff --git a/milepost/examples/polygon/main.c b/sketches/polygon/main.c similarity index 100% rename from milepost/examples/polygon/main.c rename to sketches/polygon/main.c diff --git a/milepost/examples/render_thread/build.bat b/sketches/render_thread/build.bat similarity index 100% rename from milepost/examples/render_thread/build.bat rename to sketches/render_thread/build.bat diff --git a/milepost/examples/render_thread/build.sh b/sketches/render_thread/build.sh similarity index 100% rename from milepost/examples/render_thread/build.sh rename to sketches/render_thread/build.sh diff --git a/milepost/examples/render_thread/main.c b/sketches/render_thread/main.c similarity index 100% rename from milepost/examples/render_thread/main.c rename to sketches/render_thread/main.c diff --git a/milepost/examples/simpleWindow/build.bat b/sketches/simpleWindow/build.bat similarity index 100% rename from milepost/examples/simpleWindow/build.bat rename to sketches/simpleWindow/build.bat diff --git a/milepost/examples/simpleWindow/build.sh b/sketches/simpleWindow/build.sh similarity index 100% rename from milepost/examples/simpleWindow/build.sh rename to sketches/simpleWindow/build.sh diff --git a/milepost/examples/simpleWindow/main.c b/sketches/simpleWindow/main.c similarity index 100% rename from milepost/examples/simpleWindow/main.c rename to sketches/simpleWindow/main.c diff --git a/milepost/examples/smooth_resize/build.bat b/sketches/smooth_resize/build.bat similarity index 100% rename from milepost/examples/smooth_resize/build.bat rename to sketches/smooth_resize/build.bat diff --git a/milepost/examples/smooth_resize/build.sh b/sketches/smooth_resize/build.sh similarity index 100% rename from milepost/examples/smooth_resize/build.sh rename to sketches/smooth_resize/build.sh diff --git a/milepost/examples/smooth_resize/main.c b/sketches/smooth_resize/main.c similarity index 100% rename from milepost/examples/smooth_resize/main.c rename to sketches/smooth_resize/main.c diff --git a/milepost/examples/surface_sharing/build.bat b/sketches/surface_sharing/build.bat similarity index 100% rename from milepost/examples/surface_sharing/build.bat rename to sketches/surface_sharing/build.bat diff --git a/milepost/examples/surface_sharing/build.sh b/sketches/surface_sharing/build.sh similarity index 100% rename from milepost/examples/surface_sharing/build.sh rename to sketches/surface_sharing/build.sh diff --git a/milepost/examples/surface_sharing/main.c b/sketches/surface_sharing/main.c similarity index 100% rename from milepost/examples/surface_sharing/main.c rename to sketches/surface_sharing/main.c diff --git a/milepost/examples/tiger/Ghostscript_Tiger.svg b/sketches/tiger/Ghostscript_Tiger.svg similarity index 100% rename from milepost/examples/tiger/Ghostscript_Tiger.svg rename to sketches/tiger/Ghostscript_Tiger.svg diff --git a/milepost/examples/tiger/build.bat b/sketches/tiger/build.bat similarity index 100% rename from milepost/examples/tiger/build.bat rename to sketches/tiger/build.bat diff --git a/milepost/examples/tiger/build.sh b/sketches/tiger/build.sh similarity index 100% rename from milepost/examples/tiger/build.sh rename to sketches/tiger/build.sh diff --git a/milepost/examples/tiger/main.c b/sketches/tiger/main.c similarity index 100% rename from milepost/examples/tiger/main.c rename to sketches/tiger/main.c diff --git a/milepost/examples/tiger/svg2mg.py b/sketches/tiger/svg2mg.py similarity index 100% rename from milepost/examples/tiger/svg2mg.py rename to sketches/tiger/svg2mg.py diff --git a/milepost/examples/tiger/tiger.c b/sketches/tiger/tiger.c similarity index 100% rename from milepost/examples/tiger/tiger.c rename to sketches/tiger/tiger.c diff --git a/milepost/examples/triangleGL/build.bat b/sketches/triangleGL/build.bat similarity index 100% rename from milepost/examples/triangleGL/build.bat rename to sketches/triangleGL/build.bat diff --git a/milepost/examples/triangleGL/build.sh b/sketches/triangleGL/build.sh similarity index 100% rename from milepost/examples/triangleGL/build.sh rename to sketches/triangleGL/build.sh diff --git a/milepost/examples/triangleGL/main.c b/sketches/triangleGL/main.c similarity index 100% rename from milepost/examples/triangleGL/main.c rename to sketches/triangleGL/main.c diff --git a/milepost/examples/triangleGLES/build.bat b/sketches/triangleGLES/build.bat similarity index 100% rename from milepost/examples/triangleGLES/build.bat rename to sketches/triangleGLES/build.bat diff --git a/milepost/examples/triangleGLES/build.sh b/sketches/triangleGLES/build.sh similarity index 100% rename from milepost/examples/triangleGLES/build.sh rename to sketches/triangleGLES/build.sh diff --git a/milepost/examples/triangleGLES/main.c b/sketches/triangleGLES/main.c similarity index 100% rename from milepost/examples/triangleGLES/main.c rename to sketches/triangleGLES/main.c diff --git a/milepost/examples/triangleMetal/build.sh b/sketches/triangleMetal/build.sh similarity index 100% rename from milepost/examples/triangleMetal/build.sh rename to sketches/triangleMetal/build.sh diff --git a/milepost/examples/triangleMetal/main.m b/sketches/triangleMetal/main.m similarity index 100% rename from milepost/examples/triangleMetal/main.m rename to sketches/triangleMetal/main.m diff --git a/milepost/examples/triangleMetal/shader.metal b/sketches/triangleMetal/shader.metal similarity index 100% rename from milepost/examples/triangleMetal/shader.metal rename to sketches/triangleMetal/shader.metal diff --git a/milepost/examples/triangleMetal/vertex.h b/sketches/triangleMetal/vertex.h similarity index 100% rename from milepost/examples/triangleMetal/vertex.h rename to sketches/triangleMetal/vertex.h diff --git a/milepost/examples/ui/build.bat b/sketches/ui/build.bat similarity index 100% rename from milepost/examples/ui/build.bat rename to sketches/ui/build.bat diff --git a/milepost/examples/ui/build.sh b/sketches/ui/build.sh similarity index 100% rename from milepost/examples/ui/build.sh rename to sketches/ui/build.sh diff --git a/milepost/examples/ui/main.c b/sketches/ui/main.c similarity index 100% rename from milepost/examples/ui/main.c rename to sketches/ui/main.c