1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-17 07:40:59 +00:00
serenity/Userland/Libraries/LibSoftGPU
Jelle Raaijmakers 84c4b66721 LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support
In OpenGL this is called the (base) internal format which is an
expectation expressed by the client for the minimum supported texel
storage format in the GPU for textures.

Since we store everything as RGBA in a `FloatVector4`, the only thing
we do in this patch is remember the expected internal format, and when
we write new texels we fixate the value for the alpha channel to 1 for
two formats that require it.

`PixelConverter` has learned how to transform pixels during transfer to
support this.
2022-08-27 12:28:05 +02:00
..
Buffer LibGL+LibGPU+LibSoftGPU: Implement flexible pixel format conversion 2022-08-27 12:28:05 +02:00
AlphaBlendFactors.h LibSoftGPU: Move alpha blend factor setup out of triangle rasterization 2022-01-09 16:21:13 +03:30
Clipper.cpp LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
Clipper.h LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
CMakeLists.txt LibGL+LibGPU+LibSoftGPU: Implement flexible pixel format conversion 2022-08-27 12:28:05 +02:00
Config.h LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
Device.cpp LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
Device.h LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
Image.cpp LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
Image.h LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
PixelConverter.cpp LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
PixelConverter.h LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
PixelQuad.h LibGL+LibGPU+LibSoftGPU: Implement point and line drawing 2022-05-09 21:49:48 +02:00
Sampler.cpp LibGL+LibGPU+LibSoftGPU: Add virtual base class for Images 2022-04-06 11:32:24 +02:00
Sampler.h LibGL+LibGPU+LibSoftGPU: Move SamplerConfig to LibGPU 2022-04-06 11:32:24 +02:00
SIMD.h LibGL+LibGPU+LibSoftGPU: Implement point and line drawing 2022-05-09 21:49:48 +02:00
Triangle.h LibGL+LibGPU+LibSoftGPU: Implement point and line drawing 2022-05-09 21:49:48 +02:00