feat(gx): add incomplete 'CGxDeviceGLSDL' (#2)
* chore(build): add vendored SDL 3.0.0 library * chore(build): add vendored glew-cmake-2.2.0 library * feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl * feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux * chore(build): change SDL3 linkage from shared (bad) to to static (good)
102
vendor/sdl-3.0.0/test/android/res/drawable/sdl-test_foreground.xml
vendored
Normal file
26
vendor/sdl-3.0.0/test/android/res/layout/arguments_layout.xml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:orientation="vertical" >
|
||||
<TextView
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:inputType="textImeMultiLine|textNoSuggestions"
|
||||
android:text="@string/label_enter_arguments" />
|
||||
<EditText
|
||||
android:id="@+id/arguments_edit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="top"
|
||||
android:hint="@string/hint_enter_arguments_here" />
|
||||
<Button
|
||||
android:id="@+id/arguments_start_button"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:text="@string/button_start_app" />
|
||||
</LinearLayout>
|
||||
5
vendor/sdl-3.0.0/test/android/res/mipmap-anydpi-v26/sdl-test.xml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/sdl-test_background"/>
|
||||
<foreground android:drawable="@drawable/sdl-test_foreground"/>
|
||||
</adaptive-icon>
|
||||
5
vendor/sdl-3.0.0/test/android/res/mipmap-anydpi-v26/sdl-test_round.xml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/sdl-test_background"/>
|
||||
<foreground android:drawable="@drawable/sdl-test_foreground"/>
|
||||
</adaptive-icon>
|
||||
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-hdpi/sdl-test.png
vendored
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-hdpi/sdl-test_round.png
vendored
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-mdpi/sdl-test.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-mdpi/sdl-test_round.png
vendored
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-xhdpi/sdl-test.png
vendored
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-xhdpi/sdl-test_round.png
vendored
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-xxhdpi/sdl-test.png
vendored
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-xxhdpi/sdl-test_round.png
vendored
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-xxxhdpi/sdl-test.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
vendor/sdl-3.0.0/test/android/res/mipmap-xxxhdpi/sdl-test_round.png
vendored
Normal file
|
After Width: | Height: | Size: 19 KiB |
7
vendor/sdl-3.0.0/test/android/res/values/arg_strings.xml
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<resources>
|
||||
<string name="label_enter_arguments">Arguments</string>
|
||||
<string name="hint_enter_arguments_here">One argument per line.\ne.g.\n--track-mem\n--windows\n3</string>
|
||||
<string name="button_start_app">Start</string>
|
||||
<string name="shortcutModifyArgumentsShortLabel">Modify arguments</string>
|
||||
<string name="shortcutIntermediateActivityShortLabel">Pass through activity</string>
|
||||
</resources>
|
||||
4
vendor/sdl-3.0.0/test/android/res/values/sdl-test_background.xml
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="sdl-test_background">#FFFFFF</color>
|
||||
</resources>
|
||||