Skip to content

SDL v2.0 Library with Virtual GPU Support for Miyoo Mini (Plus) and TRIMUI SMART

License

Notifications You must be signed in to change notification settings

danroblewis/sdl2_miyoo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL2 Library with Virtual GPU Support for Miyoo Mini (Plus) and TRIMUI SMART

  • Miyoo Mini (Plus)
    • Introduction
    • Build from Scratch
      • How to prepare the build environment (Docker)
      • How to build all libraries
      • How to pack the release build
      • How to delete the build environment (Docker)
  • TRIMUI SMART
    • Introduction
    • Build from Scratch
      • How to prepare the build environment (Docker)
      • How to build all libraries
      • How to pack the release build
      • How to delete the build environment (Docker)

 

Miyoo Mini (Plus)

image image

Introduction

TBD

 

Build from Scratch

How to prepare the build environment (Docker)

$ sudo docker build -t mmiyoo .

How to build all libraries (SDL2 and virtual GPU)

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
# cd /sdl2_miyoo
# rm -rf swiftshader/build/*
# make config
# make

How to build the SDL2 library only

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
# cd /sdl2_miyoo
# make clean
# make config
# make sdl2

How to build the virtual GPU (swiftshader) library only

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
# cd /sdl2_miyoo
# rm -rf swiftshader/build/*
# make clean
# make config
# make gpu

How to build the example

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
# make example

How to delete the build environment (Docker)

$ sudo docker image rm mmiyoo

 

TRIMUI SMART

image

Introduction

TBD

 

Build from Scratch

How to prepare the build environment (Docker)

$ sudo docker build -t mmiyoo .

How to build all libraries (SDL2 and virtual GPU)

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
$ make config MOD=trimui
$ make

How to build the SDL2 library only

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
$ make sdl2

How to build the virtual GPU (swiftshader) library only

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
$ make gpu

How to build the example

$ sudo docker run -it --rm -v $(pwd):/sdl2_miyoo mmiyoo /bin/bash
$ make example MOD=trimui

How to delete the build environment (Docker)

$ sudo docker image rm mmiyoo

About

SDL v2.0 Library with Virtual GPU Support for Miyoo Mini (Plus) and TRIMUI SMART

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 48.8%
  • C++ 44.8%
  • Objective-C 1.9%
  • Shell 1.1%
  • CMake 0.8%
  • M4 0.8%
  • Other 1.8%