|
Rendering charts using hardware accelartion(GPU) |
Posted by Dhananjayan on Jul-22-2016 14:39 |
|
Hello Peter,
I can understand being a graphical API, ~70-80% of ChartDirector's CPU usage goes mainly in generating the chart pixels and displaying it. For an MFC application is it possible to offload this chart rendering process to the GPU so that CPU is available for other time-critical operations?
Mainly if you need to display two real-time charts of size 1900x1000 which updates every 100-200ms in separate monitors at a time.
Thanks
Dhananjayan |
Re: Rendering charts using hardware accelartion(GPU) |
Posted by Peter Kwan on Jul-23-2016 01:29 |
|
Hi Dhananjayan,
Unluckily, ChartDirector currently cannot directly use GPU for rendering.
ChartDirector can output the graphics in SVG or PDF, in which case the rendering (creating the pixels) are performed by the software that displays the SVG and PDF. I understand the Qt framework supports OpenGL using the GPU and can render SVG (but I have not tried myself). However, for MFC, I am not aware how it can display SVG directly.
Regards
Peter Kwan |
|