Page 1 of 1

Vector Brush as a Hardware Brush

Posted: Thu Oct 01, 2020 3:42 am
by PEB
Would it be possible to extend the current hardware-accelerated brush capabilities of Hollywood to make quick, smooth image transformations possible using vector brushes?
Currently, if a vector brush is put into video memory using CopyBrush(), it is automatically rasterized; so even though scaling transformations become really fast, the quality is lost.

Re: Vector Brush as a Hardware Brush

Posted: Thu Oct 01, 2020 6:41 pm
by airsoftsoftwair
I'm afraid that's not possible because all the code that manages vector brushes in plugins like SVG Image or Polybios is purely portable C and cannot be magically transformed to use the GPU to rasterize PDFs :) I'm not even sure modern GPUs support such stuff at all. This would require the GPU to be capable of path rendering which is not their main target.