search for: swfdec_movie_state_removed

Displaying 5 results from an estimated 5 matches for "swfdec_movie_state_removed".

2007 Nov 28
0
7 commits - configure.ac libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/trace
...b == movie) @@ -275,16 +275,17 @@ swfdec_movie_do_remove (SwfdecMovie *movie) if (player->mouse_drag == movie) player->mouse_drag = NULL; swfdec_movie_invalidate (movie); - swfdec_movie_set_depth (movie, -32769 - movie->depth); /* don't ask me why... */ + movie->state = SWFDEC_MOVIE_STATE_REMOVED; if ((movie->events && swfdec_event_list_has_conditions (movie->events, SWFDEC_AS_OBJECT (movie), SWFDEC_EVENT_UNLOAD, 0)) || swfdec_as_object_has_function (SWFDEC_AS_OBJECT (movie), SWFDEC_AS_STR_onUnload)) { swfdec_movie_queue_script (movie, SWFDEC_EVENT_UNLOAD);...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...P_TO_DATE: @@ -274,7 +323,7 @@ swfdec_movie_do_remove (SwfdecMovie *movie, gboolean destroy) player->mouse_grab = NULL; if (player->mouse_drag == movie) player->mouse_drag = NULL; - swfdec_movie_invalidate (movie); + swfdec_movie_invalidate_last (movie); movie->state = SWFDEC_MOVIE_STATE_REMOVED; if ((movie->events && @@ -1355,6 +1404,28 @@ swfdec_movie_mouse_move (SwfdecMovie *movie, double x, double y) } static void +swfdec_movie_do_invalidate (SwfdecMovie *movie, const cairo_matrix_t *matrix, gboolean last) +{ + GList *walk; + SwfdecRect rect; + + if (movie->i...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...MovieClass *klass = SWFDEC_MOVIE_GET_CLASS (movie); - SwfdecPlayer *player = SWFDEC_ROOT_MOVIE (movie->root)->player; + SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); g_assert (movie->state < SWFDEC_MOVIE_STATE_DESTROYED); if (movie->state < SWFDEC_MOVIE_STATE_REMOVED) { @@ -341,14 +344,12 @@ swfdec_movie_destroy (SwfdecMovie *movie swfdec_movie_destroy (movie->list->data); } if (movie->parent) { - SwfdecPlayer *player = SWFDEC_ROOT_MOVIE (movie->root)->player; if (SWFDEC_IS_DEBUGGER (player) && g_list_find (movie->...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...if (player->mouse_drag == movie) - player->mouse_drag = NULL; + priv = player->priv; + if (priv->mouse_grab == movie) + priv->mouse_grab = NULL; + if (priv->mouse_drag == movie) + priv->mouse_drag = NULL; swfdec_movie_invalidate_last (movie); movie->state = SWFDEC_MOVIE_STATE_REMOVED; @@ -380,7 +382,7 @@ swfdec_movie_destroy (SwfdecMovie *movie) if (movie->parent) { movie->parent->list = g_list_remove (movie->parent->list, movie); } else { - player->roots = g_list_remove (player->roots, movie); + player->priv->roots = g_list_remove...
2007 Nov 20
0
19 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_image.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...cairo_pop_group_to_source (cr); - cairo_mask (cr, mask); - cairo_pattern_destroy (mask); - return NULL; + swfdec_movie_render (movie, cr, &black, inval); + return cairo_pop_group (cr); } void @@ -1141,14 +1141,19 @@ swfdec_movie_iterate_end (SwfdecMovie *movie) movie->state < SWFDEC_MOVIE_STATE_REMOVED; } +typedef struct { + cairo_pattern_t * mask; + int depth; +} ClipEntry; + static void swfdec_movie_do_render (SwfdecMovie *movie, cairo_t *cr, const SwfdecColorTransform *ctrans, const SwfdecRect *inval) { GList *g; GSList *walk; - int clip_depth = 0; - cairo_pattern_t *mas...