- docker/ext/php-opengl.patch: framebuffers, glGetIntegerv/Floatv, uniforms, binary strings, non-fatal shader errors, glDelete*, WebGL guards - desktop, desktop-async and the WebAssembly engine build both extensions (WebGL 1 / Web Audio in the browser) - engine: OpenGl (raw gl* in SDL's context, begin/end, resources), WebGl rewritten on top of it (jumphp-gl.js removed), Audio3d (positional sound) - headless test/shot run GL games on Xvfb (jumphp-xvfb), JUMPHP_GL - stubs for phpstan (tools/gl-stubs.php) - hello-webgl: RawGlScene (raw gl* + 3D beep); jumpball: mediump-safe post - docs: AGENTS.md, api-web, build, READMEs Co-Authored-By: Claude Opus 5.5 <[email protected]>
11 lines
488 B
Text
11 lines
488 B
Text
dnl config.m4 for extension opengl (PHP-OpenGL, Ponup + docker/ext/php-opengl.patch), emscripten build:
|
|
dnl the GL headers and library come from emscripten (WebGL through library_webgl.js, linked by -sUSE_SDL=2)
|
|
|
|
PHP_ARG_ENABLE([opengl],
|
|
[whether to enable OpenGL support],
|
|
[AS_HELP_STRING([--enable-opengl], [Enable OpenGL (WebGL) support])],
|
|
[no])
|
|
|
|
if test "$PHP_OPENGL" != "no"; then
|
|
PHP_NEW_EXTENSION(opengl, php_opengl.c php_convert.c, $ext_shared,, -Wno-unused-function)
|
|
fi
|