Andy Wittmann
2009-09-06 08:25:54 UTC
Hello NG!
For some graphical output of a wxWidgets based application i'll need a
fast way to set pixels (without opengl!) on a wxPanel.
Using a Device Context work's fine but Google said that there's maybe a
faster solution which is called wx-sdl.
So i have tried wx-sdl. Created a SDL-Surface, draw on it, do some RGB
<-> BGR conversion, create a wxBitmap and display it via a
wxDC. Performance stats are both equal (nearly) but i don't like the
conversion overhead.
My question: Are there any other faster ways to draw some pixels on a
wx-control? Portability is important and direct-access through direct-x
(or gtk) is no option.
Thanks,
Andy
For some graphical output of a wxWidgets based application i'll need a
fast way to set pixels (without opengl!) on a wxPanel.
Using a Device Context work's fine but Google said that there's maybe a
faster solution which is called wx-sdl.
So i have tried wx-sdl. Created a SDL-Surface, draw on it, do some RGB
<-> BGR conversion, create a wxBitmap and display it via a
wxDC. Performance stats are both equal (nearly) but i don't like the
conversion overhead.
My question: Are there any other faster ways to draw some pixels on a
wx-control? Portability is important and direct-access through direct-x
(or gtk) is no option.
Thanks,
Andy