This past week we saw some
Tweets from
@zecoxao on
Twitter of OpenGL (Open Graphics Library) for PS4 homebrew in development, and today PlayStation 4 developer
@flatz made available an
OpenGL ES for PS4 Writeup and PlayStation 4 GL Test on
Twitter which can also be found below.
Download:
gl-writeup.7z (139 KB) /
Mirror by
@pearlxcore /
ps4_gl_test-master.zip /
GIT /
gl_test.pkg (16.06 MB - PS4 OpenGL Test Package) /
gl_test.pkg (Mirror) /
ps4_gl_test.7z (17.30 MB - Source Code) /
piglet.7z (2.81 MB - 4.05 / 4.55 OpenGL Shader Compiler DevKit Modules)
To quote from the index.html file:
OpenGL ES
Overview
Zer0xFF and
masterzorag were working on making it usable for homebrew applications but then got stucked with native shader compilation. So I've decided to give it a try.
However I have experienced other problems as well, which were solved successfully. Basically they appeared because I decided to implement OpenGL ES application as my own PKG based application. But OpenGL ES in browser didn't work for me too and I don't know if it's because I've used a more recent firmware than guys did or because I did some dumb mistake. So, nevermind, let's begin.
Library linking
macroses to make fake C function definitions that gets prefix __declspec(dllexport) during compilation but the actual code is not included in an object file due to usage of --stub-only flag during linking process. Then linker generates proper NID tables in a static library which are resolved during runtime linking.
Also it was possible to specify custom function name with some specific NID value if the...