1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00
serenity/Userland/Libraries/LibGL
Jelle Raaijmakers dda5987684 LibGL+LibGPU+LibSoftGPU: Remove concept of layer in favor of depth
Looking at how Khronos defines layers:

  https://www.khronos.org/opengl/wiki/Array_Texture

We both have 3D textures and layers of 2D textures, which can both be
encoded in our existing `Typed3DBuffer` as depth. Since we support
depth already in the GPU API, remove layer everywhere.

Also pass in `Texture2D::LOG2_MAX_TEXTURE_SIZE` as the maximum number
of mipmap levels, so we do not allocate 999 levels on each Image
instantiation.
2022-09-11 22:37:07 +01:00
..
GL LibGL+LibSoftGPU: Implement fixed pipeline support for GL_COMBINE 2022-09-11 22:37:07 +01:00
Tex LibGL+LibGPU+LibSoftGPU: Remove concept of layer in favor of depth 2022-09-11 22:37:07 +01:00
ClipPlane.cpp LibGL: Rename units to all singular 2022-08-27 12:28:05 +02:00
CMakeLists.txt LibGL+LibGPU+LibSoftGPU: Implement flexible pixel format conversion 2022-08-27 12:28:05 +02:00
ContextParameter.cpp LibGL+LibSoftGPU: Implement fixed pipeline support for GL_COMBINE 2022-09-11 22:37:07 +01:00
GLAPI.cpp LibGL: Implement glMultiTexCoord2fv(ARB)? APIs 2022-09-11 22:37:07 +01:00
GLContext.cpp LibGL+LibGPU+LibSoftGPU: Implement glCopyTex(Sub)?Image2d 2022-09-11 22:37:07 +01:00
GLContext.h LibGL: Implement glGetTexImage 2022-09-03 00:07:24 +02:00
Image.cpp LibGL+LibGPU+LibSoftGPU: Implement glCopyTex(Sub)?Image2d 2022-09-11 22:37:07 +01:00
Image.h LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
Lighting.cpp LibGL: Set correct color material mode for GL_AMBIENT_AND_DIFFUSE 2022-09-08 12:05:54 -04:00
List.cpp LibGL: Rename units to all singular 2022-08-27 12:28:05 +02:00
Matrix.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Stencil.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Texture.cpp LibGL+LibGPU+LibSoftGPU: Remove concept of layer in favor of depth 2022-09-11 22:37:07 +01:00
Vertex.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00