Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Figured out how to optimize the SDL_compat path and simplify writing …
Browse files Browse the repository at this point in the history
…framebuffer drivers
  • Loading branch information
slouken committed Aug 10, 2007
1 parent 63b2128 commit 7b34fe6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions NOTES
Expand Up @@ -150,3 +150,13 @@ IRC - Mon Aug 6 23:50:44 PDT 2007
[12:01am] slouken: If it were software only I could just say, write your own and register it here, but you'd have to maintain parity with the OpenGL and Direct3D renderers as well.
[12:01am] slouken: At that point you might as well be working in surfaces and uploading to texture.
[12:02am] icculus: yeah

TODO
----
Change textures to static/streaming. Static textures are not lockable,
streaming textures are lockable and may have system memory pixels available.
SDL_compat will use a streaming video texture, and will never be HWSURFACE,
but may be PREALLOC, if system memory pixels are available.

The software renderer will be abstracted so the surface management can be
used by any renderer that provides functions to copy surfaces to the window.

0 comments on commit 7b34fe6

Please sign in to comment.