mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:17:45 +00:00
LibGL+LibSoftGPU: Implement glDrawPixels
depth buffer support
This enabled writing directly to the depth buffer, and allows games like Grim Fandango to render their pre-baked depth buffers correctly!
This commit is contained in:
parent
ca78327a96
commit
8efd6bc878
3 changed files with 52 additions and 15 deletions
|
@ -105,6 +105,7 @@ public:
|
|||
void clear_depth(float);
|
||||
void blit_to(Gfx::Bitmap&);
|
||||
void blit_to_color_buffer_at_raster_position(Gfx::Bitmap const&);
|
||||
void blit_to_depth_buffer_at_raster_position(Vector<float> const&, size_t, size_t);
|
||||
void wait_for_all_threads() const;
|
||||
void set_options(const RasterizerOptions&);
|
||||
void set_light_model_params(const LightModelParameters&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue