search for: cache_state

Displaying 15 results from an estimated 15 matches for "cache_state".

Did you mean: cached_state
2008 Jun 05
4
[Bug 16241] New: assertion failed: (movie->cache_state <= SWFDEC_MOVIE_INVALID_CHILDREN)
http://bugs.freedesktop.org/show_bug.cgi?id=16241 Summary: assertion failed: (movie->cache_state <= SWFDEC_MOVIE_INVALID_CHILDREN) Product: swfdec Version: git Platform: x86-64 (AMD64) URL: http://www.cnn.com/ELECTION/2008/primaries/results/score card/#R OS/Version: Linux (All) Status:...
2019 Nov 30
4
[PATCH nbdkit v2 0/3] filters: stats: More useful, more friendly
- Use more friendly output with GiB and MiB/s - Measure time per operation, providing finer grain stats - Add total stats for understanding system throughput - Add missing stats for flush I hope that these changes will help to understand and improve virt-v2v performance. Changes since v1: - Keep bytes values - Increase precision to 0.001 GiB and 0.001 MiB/s - Add total stats - Show time before
2019 Nov 30
0
[PATCH nbdkit v2 2/3] filters: stats: Measure time per operation
Previously we measured the total time and used it to calculate the rate of different operations. This is misleading and hiding the real throughput. Change single operation stats to use the time spent in this operation. To understand total system throughput, show also new "total" stats, summing ops, bytes of other operations, and using the total time. This works well for copying images
2019 Nov 30
0
[PATCH nbdkit v2 1/3] filters: stats: Add size in GiB, show rate in MiB/s
I find bytes and bits-per-second unhelpful and hard to parse. Add also size in GiB, and show rate in MiB per second. This works well for common disk images and storage. Here is an example run with this change: $ ./nbdkit --foreground \ --unix /tmp/nbd.sock \ --exportname '' \ --filter stats \ file file=/var/tmp/dst.img \ statsfile=/dev/stderr \ --run 'qemu-img
2019 Nov 30
0
[PATCH nbdkit v2 3/3] filters: stats: Add flush stats
flush is usually called once but it can take significant time, so we need to include it. Here is an example run with this change: $ ./nbdkit --foreground \ --unix /tmp/nbd.sock \ --exportname '' \ --filter stats \ file file=/var/tmp/dst.img \ statsfile=/dev/stderr \ --run 'qemu-img convert -p -n -f raw -O raw -T none /var/tmp/fedora-30.img
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
....c b/libswfdec/swfdec_movie.c index 567da71..cf6786a 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -70,34 +70,87 @@ swfdec_movie_init (SwfdecMovie * movie) swfdec_color_transform_init_identity (&movie->original_ctrans); movie->visible = TRUE; - movie->cache_state = SWFDEC_MOVIE_INVALID_CONTENTS; + movie->cache_state = SWFDEC_MOVIE_INVALID_EXTENTS; + movie->invalidate_last = TRUE; + movie->invalidate_next = TRUE; swfdec_rect_init_empty (&movie->extents); } /** * swfdec_movie_invalidate: - * @movie: movie to invalidate + * @movie...
2019 Dec 03
2
[PATCH nbdkit] filters: stats: Show size and rate in human size
Make stats output easier to parse and more useful for humans. Here is an example output with this change: elapsed time: 1.33377 s read: 248 ops, 4.75 MiB, 3.56 MiB/s write: 78 ops, 32.64 MiB, 24.48 MiB/s trim: 33 ops, 1.00 GiB, 767.75 MiB/s flush: 9 ops, 0 bytes, 0 bytes/s --- filters/stats/nbdkit-stats-filter.pod | 11 ++++---- filters/stats/stats.c | 36
2007 Aug 22
0
8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie_as.c vivified/core
...x, y); - } else { - SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); - *x -= SWFDEC_TWIPS_TO_DOUBLE (player->offset_x); - *y -= SWFDEC_TWIPS_TO_DOUBLE (player->offset_y); - *x *= player->scale_x; - *y *= player->scale_y; } if (movie->cache_state >= SWFDEC_MOVIE_INVALID_MATRIX) swfdec_movie_update (movie); @@ -539,6 +526,7 @@ swfdec_movie_get_mouse (SwfdecMovie *mov player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); *x = player->mouse_x; *y = player->mouse_y; + swfdec_player_stage_to_global (player, x, y)...
2007 Nov 20
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/image
...b/libswfdec/swfdec_movie.c index a3772c8..0fbf8a2 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -571,6 +571,8 @@ swfdec_movie_global_to_local_matrix (SwfdecMovie *movie, cairo_matrix_t *matrix) cairo_matrix_init_identity (matrix); while (movie) { + if (movie->cache_state >= SWFDEC_MOVIE_INVALID_MATRIX) + swfdec_movie_update (movie); cairo_matrix_multiply (matrix, &movie->inverse_matrix, matrix); movie = movie->parent; } @@ -584,6 +586,8 @@ swfdec_movie_local_to_global_matrix (SwfdecMovie *movie, cairo_matrix_t *matrix) cairo_matr...
2007 Jun 21
0
Branch 'as' - 5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_connection.c libswfdec/swfdec_net_stream_as.c libswfdec/swfdec_net_stream.c
...ec_player_update_mouse_cursor (Swfde static void swfdec_player_update_drag_movie (SwfdecPlayer *player) { - double mouse_x, mouse_y; double x, y; SwfdecMovie *movie; @@ -446,23 +445,23 @@ swfdec_player_update_drag_movie (SwfdecP movie = player->mouse_drag; g_assert (movie->cache_state == SWFDEC_MOVIE_UP_TO_DATE); - mouse_x = player->mouse_x; - mouse_y = player->mouse_y; - swfdec_movie_global_to_local (movie->parent, &mouse_x, &mouse_y); - mouse_x = CLAMP (mouse_x, player->mouse_drag_rect.x0, player->mouse_drag_rect.x1); - mouse_y = CLAMP (mouse_y, pla...
2011 Aug 15
9
[patch v2 0/9] btrfs: More error handling patches
Hi all - The following 9 patches add more error handling to the btrfs code: - Add btrfs_panic - Catch locking failures in {set,clear}_extent_bit - Push up set_extent_bit errors to callers - Push up lock_extent errors to callers - Push up clear_extent_bit errors to callers - Push up unlock_extent errors to callers - Make pin_down_extent return void - Push up btrfs_pin_extent errors to
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...* name; + SwfdecMovieVariableListenerFunction function; +} SwfdecMovieVariableListener; + struct _SwfdecMovie { SwfdecAsObject object; @@ -93,6 +102,7 @@ struct _SwfdecMovie { int depth; /* depth of movie (equals content->depth unless explicitly set) */ SwfdecMovieCacheState cache_state; /* whether we are up to date */ SwfdecMovieState state; /* state the movie is in */ + GSList *variable_listeners; /* textfield's listening to changes in variables - SwfdecMovieVariableListener */ /* static properties (set by PlaceObject tags) */ const char * original_name; /*...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...wasn't given automagically */ GList * list; /* our contained movie clips (ordered by depth) */ int depth; /* depth of movie (equals content->depth unless explicitly set) */ - const SwfdecContent * content; /* the content we are displaying */ SwfdecMovieCacheState cache_state; /* whether we are up to date */ SwfdecMovieState state; /* state the movie is in */ + /* static properties (set by PlaceObject tags) */ + const char * original_name; /* the original name - GC'd and static */ + SwfdecColorTransform original_ctrans; /* color transform set on this mo...
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
..._movie (SwfdecPlayer *player) { + SwfdecPlayerPrivate *priv = player->priv; double x, y; SwfdecMovie *movie; - if (player->mouse_drag == NULL) + if (priv->mouse_drag == NULL) return; - movie = player->mouse_drag; + movie = priv->mouse_drag; g_assert (movie->cache_state == SWFDEC_MOVIE_UP_TO_DATE); - x = player->mouse_x; - y = player->mouse_y; + x = priv->mouse_x; + y = priv->mouse_y; swfdec_player_stage_to_global (player, &x, &y); if (movie->parent) swfdec_movie_global_to_local (movie->parent, &x, &y); - if (playe...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them