diff options
author | Federico Mena Quintero <federico@src.gnome.org> | 2000-06-21 01:07:07 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-06-21 01:07:07 +0000 |
commit | 19b37bce67d4b4999d5a3df70788cff53fdaf13e (patch) | |
tree | 3c25af9e01d4b476f0aaedd9110d652a4887f9cf /TODO | |
parent | 18480448142b101d1cf5e7176326f15578ba9d9a (diff) | |
download | eog-19b37bce67d4b4999d5a3df70788cff53fdaf13e.tar.gz |
Plane hacking; scrolling engine is officially done(tm) now2000-06-20 Federico Mena Quintero <federico@helixcode.com>
* image-view.c (paint_rectangle): Special-case zoom == 1.0 to
unconditionally use GDK_INTERP_NEAREST. Pixops should optimize
this itself, but things seem to be slower if you use other
interpolation types even when the zoom is 1.0. Also,
short-circuit the fastest case to not create a temporary pixbuf
and thus avoid a memcpy().
(request_paint_area): Short-circuit NEAREST interpolation and zoom
== 1.0 to paint synchronously.
(scroll_to): Use request_paint_area() instead of calling
uta_add_rect() directly. This lets us do the short-circuiting
there.
(ImageViewPrivate): Added a second microtile array for
interpolated drawing.
(remove_dirty_region): Free both utas.
(paint_iteration_idle): Handle both utas. This is the core of
two-pass scrolling: when a rectangle is pulled from the first
uta, add it to the second uta.
(scroll_to): Handle both utas.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -3,12 +3,9 @@ Federico Mena-Quintero (federico@gimp.org). * Finish the ImageView widget: - - Re-center the offsets when changing the zoom factor. - - - Scrolling using gdk_window_copy_area(). This also requires - writing uta_copy_area() for uta.c. - - - Finish uta.c:uta_find_first_glom_rect(). + - Write a "fast" version of uta.c:uta_find_first_glom_rect(). + Right now we just have a hacked version of libart's + function. - Figure out what to do with the color correction tables; we are not using them right now. |