Vulkanator icon indicating copy to clipboard operation
Vulkanator copied to clipboard

Implement cached texture uploads utilizing `PF_State`

Open Wunkolo opened this issue 2 years ago • 1 comments

Uses PF_State to conservatively upload the InputTexture only when needed. This optimizes the case where the source input layer is a static image, a time-remapped video, or a low-framerate image.

Ex, in the case of a static image, the source texture is only uploaded once, keeping track of its PF_State, and subsequent render requests will re-use this uploaded texture.

The coherency of PF_State needs to be validated a bit.

Resolves #5

Wunkolo avatar Mar 17 '23 02:03 Wunkolo

Red frames indicate a GPU upload of the input texture. With a 12.5 gif in a 50fps composition, the input-texture is now only uploaded to the GPU when the incoming frame index is unique from the previous. AfterFX_hXKHR4aYQo

Wunkolo avatar Mar 17 '23 03:03 Wunkolo