Skip to content

Commit

Permalink
Refactor GL render targets
Browse files Browse the repository at this point in the history
The previous GL render target had devolved into chaos and was in need of an overhaul. Split it into two separate classes: TextureRenderTargetGL and FramebufferRenderTargetGL. The former draws to an external texture and the latter renders to an external framebuffer, both provided by the client.

Also assume the responsibilty for blitting to and from FramebufferRenderTargetGL's target FBO. We used to punt this work to the client, but doing it ourselves will enable some optimizations in atomic mode.

Diffs=
  • Loading branch information
csmartdalton committed Jan 23, 2024
1 parent 8168e18 commit 684d96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dd6ec42ac4b89e3557f606169ee4e47d63399b12
019015ba06dc0a67f641e03c4a1047d8d42426aa

0 comments on commit 684d96b

Please sign in to comment.