1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00
serenity/Userland/Libraries/LibGL
Luke Wilde f91e41f90c LibGL: Generate texture in glBindTexture if not previously generated
Required by Xash3D, which forgoes glGenTexture and implements its own
texture generator. It expects glBindTexture to pick up on this though.

The strategy here is to keep texture_object null if we don't find the
texture in the allocation textures map, as it will then both generate
and set the texture in the allocated textures map using the texture
name passed to us, then bind it.
2022-01-13 10:07:45 +02:00
..
GL LibGL: Stub glStencilMask 2022-01-13 10:07:45 +02:00
Tex LibGL: Remove stubbed border from glTexImage2D 2021-12-27 11:58:43 +01:00
CMakeLists.txt LibGL: Stub lots of map-related methods 2021-12-27 11:58:43 +01:00
GLBlend.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLColor.cpp LibGL: Implement glColor3d and glColor3ubv 2022-01-11 23:47:42 +01:00
GLContext.cpp LibGL: Support missing context in glGetError and glGetIntegerv 2021-12-12 21:51:08 +01:00
GLContext.h Ports+LibGL: Replace LibGL context check by ScummVM patch 2022-01-12 14:54:18 +01:00
GLDraw.cpp LibGL: Stub glPointSize 2022-01-11 23:47:42 +01:00
GLFog.cpp LibGL: Implement glFogi 2021-08-25 23:50:54 +04:30
GLLights.cpp LibGL: Flesh out glMaterialf{v} 2022-01-12 13:36:56 +01:00
GLLists.cpp LibGL: Implement glIsList 2021-12-12 21:51:08 +01:00
GLMap.cpp LibGL: Stub lots of map-related methods 2021-12-27 11:58:43 +01:00
GLMat.cpp LibGL: Implement glRotated 2022-01-11 23:47:42 +01:00
GLStencil.cpp LibGL: Stub glStencilMask 2022-01-13 10:07:45 +02:00
GLTexture.cpp LibGL: Implement glTexEnvi 2022-01-11 23:47:42 +01:00
GLUtils.cpp Ports+LibGL: Replace LibGL context check by ScummVM patch 2022-01-12 14:54:18 +01:00
GLVert.cpp LibGL: Implement glTexCoord{1,3,4}f(v) 2022-01-13 10:07:45 +02:00
GLVertexArrays.cpp LibGL: Implement glDrawElements 2021-08-14 12:49:29 +02:00
SoftwareGLContext.cpp LibGL: Generate texture in glBindTexture if not previously generated 2022-01-13 10:07:45 +02:00
SoftwareGLContext.h LibGL+LibSoftGPU: Move lighting model parameters to SoftGPU 2022-01-12 13:36:56 +01:00