(
Jump to the original submission)
Wed 02 May 2007 07:57:22 PM UTC, comment #6:
gravity-embedded.swf and other files work now with agg-gtk.
Something must have changed...
|
Sat 04 Nov 2006 12:19:58 AM UTC, comment #5:
Sure, it would also be nice to have a menu item for it (refresh/redraw)
|
Sat 04 Nov 2006 12:17:07 AM UTC, comment #4:
Looks fine. May I suggest a dedicated GUI function for re-render triggering?
|
Fri 03 Nov 2006 11:07:51 PM UTC, comment #3:
It works fine with opengl renderer (but that might actually be given for free with some automatic backingstore implemented in gtkglext)
|
Fri 03 Nov 2006 10:31:15 PM UTC, comment #2:
No, but 'expose' event directly call set_invalidated_bounds and then invoke renderBuffer().
Here's the 'expose' event handler:
// Set an invalidate region that contains the entire screen for sure
// TODO: be more conservative in setting draw_bounds
// (look at the GdkEventExpose)
rect draw_bounds(-1e10f, -1e10f, +1e10f, +1e10f);
gui->set_invalidated_region(draw_bounds);
gui->renderBuffer();
Do you see any obvious pitfall ?
|
Fri 03 Nov 2006 03:13:58 PM UTC, comment #1:
Hmm, is want_redraw() implemented in the GTK gui?
|
Fri 03 Nov 2006 06:05:11 AM UTC, original submission:
Covering the movie window and uncovering it doesn't redraw the exposed parts (unless they move).
Try with gravity-embed.swf, the ball gets redrawn, the buttons don't.
Note that I tested with gtk/agg - am not sure it will still fail
with other renderers.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.