[D2D/DW] Pixel pushing.

Started by
-1 comments, last by LarsKJ 14 years, 4 months ago
Hello, I am prototyping a high performance datagridview with Direct2D/DirectWrite, which draws /alot/ of text. This works very nicely but there are one scenario that I would like to enhance and that is when a new row is added in the top of the data. I would like to 'push' all existing rows (content) by a small offset (RowHeight), and only draw my new row at the top. Now I have to repaint the entire render target and this involve as alot of memcopy from system memory to GPU memory. Anyone got a idéa how to this can be done whith Direct2D. I tried to draw textlayout, but as there are a lot of different text this will probably eat up the gpu memory quickly. Regards Lars

This topic is closed to new replies.

Advertisement