Deferred rendering in GPAC
Clone this wiki locally
The GPAC compositor can render content in a special mode allowing to debug deferred rendering in 2D. In this mode, only the rectangular regions of the window that have changed since the previous frame are drawn in each frame.
To enable this mode, you need to modify the GPAC configuration file, by setting
debug in the
filter@compositor section, or using
Below is a video showing the rendering by GPAC of an SVG animation.
The next video shows the same SVG animation being rendered in defer-debug mode. You can see that since only the triangle moves, only the triangle and its surroundings need to be redrawn.