From[1]
Repainting is not immediate, but happens after when the event loop is
exited.
Could anybody explain this?
For example In my case I want to read pixel from files and then writes to
Canvas's image data array which eventually paints the image on HTML5Canvas.
Since I want to pull small tiles from the large data I can pull it block by
block of size 256x256.
But the repaint happens at the end everything get painted at the end
irrespective of the data is pulled before fom the file.
I tried using UpdateLock to update from thread. But since the
WPaintedWidget::update comes from the thread it repainted at end.
[1]
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WPaintedWidget.html#a3d4b42ac400fb9ba56c6b02aa4615775
--
Regards,
Rashad
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest