URL:
  <http://gna.org/patch/?1952>

                 Summary: improved rendering algorithm which speeds up
drawing_buffer_add and drawing_buffer_commit
                 Project: Battle for Wesnoth
            Submitted by: mkretz
            Submitted on: Sunday 09/12/2010 at 12:51
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Speed up the rendering algorithm by using one list of tblit objects instead
of a map of a map of a map of vectors. The correct order for rendering is
achieved with a single 32-bit integer which encodes the layer group, y,
layer, and x.

I also changed the interface of drawing_buffer_add so that tblit is internal
to display, which reduces the amount of required copies.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 09/12/2010 at 12:51  Name: wesnoth_new_rendering_algorithm.patch
 Size: 33kB   By: mkretz

<http://gna.org/patch/download.php?file_id=10321>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1952>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to