mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
LibGL: Implement glReadPixels()
This commit is contained in:
parent
d6c84ca4df
commit
e54d96d53e
3 changed files with 249 additions and 0 deletions
|
@ -38,6 +38,8 @@ public:
|
|||
void wait_for_all_threads() const;
|
||||
void set_options(const RasterizerOptions&);
|
||||
RasterizerOptions options() const { return m_options; }
|
||||
Gfx::RGBA32 get_backbuffer_pixel(int x, int y);
|
||||
float get_depthbuffer_value(int x, int y);
|
||||
|
||||
private:
|
||||
RefPtr<Gfx::Bitmap> m_render_target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue