PhoenixGL Sprite Batching - Preliminary Tests

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
111 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 8, 2009

I'm working on PhoenixGL's optimizing, batching engine. This is a simple test of the concept. There is no caching here, and no sort of tree in place to split and optimize batches. This is just a test of one batch of sprites at a single depth. Each 'sprite' transforms and passes its vertex (position, color, tcoords) to a batch renderer which just pushes them all with glDrawArrays. This produces a 10x increase in framerate over immediate rendering. This batch shares three properties in common: same depth, same texture, and same geometric primitive (GL_QUAD). These three criteria will be the leaves of the tree that will eventually become a full-blown batching renderer.

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more