Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
Go to file
Francisco José García García 8838992085 Squashed 'deps/vitaGL/' changes from 2934af8af0..81403e2751
81403e2751 Fix error requiring HAVE_SHARK to be enabled to build. (#45)
58551e1f52 Added possibility to change runtime shader compiler optimization flags.
77ab50a7b1 Added GL_BGR and GL_BGRA texture formats support.
0ac2793bcf Fix error in texture wrapping options. (#42)
0d2110ac7b Improvements to GL buffer support. (#41)
cf86149a85 Added proper compressed texture support. (#40)
8b0a0f735a Unbinded textures and texture units concepts.
1b04851efc Added glUniform2i and glUniform2f implementations.
9a65397ef6 Properly checking for uniform locations existence.
91c557f35d Added support for GL_SHORT attribute types for shaders.
3237fd3fe3 Added vglTexImageDepthBuffer function.
f58b3818f2 Typo fix on mag filter setting.
ee11f7e1d0 Added vglHasRuntimeShaderCompiler function.
3596242f73 Add PowerVR texture compression (PVRTC) support (#39)
2ae694df4b Added support for mipmaps filtering.
af7804b44c Added vglGetGxmTexture implementation.
54b1df4ca2 Removed unused arguments.
7c2ed742ee Allow to call vglBind*Location funcs with wrong param names.
8be84ff698 Fixed RGB565 color conversion.
234ff57f65 Properly setting a single stream with packed attributes.
d3b28a5e32 Fix for correct vglBindAttribLocation behaviour.
46e72d3564 Use a single stream for packed attributes.
72a39315e9 Properly dealing with missing attrs in glGetUniformLocation.
a6269ce574 Added TEXUNIT1 support for custom shaders.
824d43073e Resetting custom shaders uniforms only when invalidated.
d242570161 Minor fix in glShaderSource.
bc28bd946d Added glGetShaderInfoLog implementation.

git-subtree-dir: deps/vitaGL
git-subtree-split: 81403e2751c4dc28cf17cc89a5ab053eb2c5af67
2020-10-16 20:24:43 +02:00
.github Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
samples Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
shaders Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
source Squashed 'deps/vitaGL/' changes from 2934af8af0..81403e2751 2020-10-16 20:24:43 +02:00
.clang-format Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
.gitattributes Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
.gitignore Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
COPYING Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
COPYING.LESSER Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
Makefile Squashed 'deps/vitaGL/' changes from 2934af8af0..81403e2751 2020-10-16 20:24:43 +02:00
README.md Squashed 'deps/vitaGL/' changes from 2934af8af0..81403e2751 2020-10-16 20:24:43 +02:00
format.bat Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00

README.md

vitaGL

vitaGL is a wrapper between openGL and sceGxm. It allows to use a subset of openGL functions with fully hardware acceleration by translating the code to sceGxm equivalent.

Build Instructions

In order to build vitaGL use the following command: make HAVE_SBRK=1 install. If you already have a newlib sbrk replacement in your app (eg. RetroArch), use instead this command: make install.

Samples

You can find samples in the samples folder in this repository.

Help and Troubleshooting

If you plan to use vitaGL for one of your projects, you can find an official channel to get help with it on Vita Nuova discord server: https://discord.gg/PyCaBx9

Projects actually using vitaGL

Here you can find a list of projects using vitaGL:

Direct OpenGL Usage:
vitaQuake - Port of Quake I and mission packs
vitaQuakeII -Port of Quake II and mission packs
vitaQuakeIII - Port of ioquake3 (Quake III: Arena, Quake III: Team Arena, OpenArena, Urban Terror)
vitaRTCW - Port of iortcw (Return to Castle Wolfenstein)
vitaHexenII - Port of Hexen II
vitaXash3D - Port of Xash3D (Half Life, Counter Strike 1.6)
Fade to Black - Port of Fade to Black
vitaVoyager - Port of lilium-voyager (Star Trek Voyager: Elite Force)
Daedalus X64 - Port of Daedalus X64 (N64 Emulator)
RetroArch - Vita's GL1 video driver of RetroArch
vitaET - Port of ET:Legacy (Wolfenstein: Enemy Territory)
flycast - Port of flycast (Dreamcast Emulator)
AvP Gold - Port of Aliens versus Predator: Gold Edition

Libraries:
sdl12_gl - SDL 1.2 Vita port adapted to work with vitaGL as renderer
imgui_vita - Port of dear imGui

sdl12_gl Apps:
SuperMarioWar - Port of Super Mario War
ZeldaOLB - Port of Zelda: Oni Link Begins
ZeldaROTH - Port of Zelda: Return of the Hylian
Zelda3T - Port of Zelda: Time to Triumph
ZeldaNSQ - Port of Zelda: Navi's Quest
vitaWolfen - Port of Wolf4SDL
meritous - Port of meritous