diff options
author | Brian Paul <[email protected]> | 2011-10-23 10:44:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-10-23 10:44:47 -0600 |
commit | 68da4b50e9b6aa72a9b155f650952620063e1b94 (patch) | |
tree | 369f3d98b315e6a000f3d45ad96b006aebc310e0 /src/mesa/sources.mak | |
parent | 66681b4c8cb1ef16f42c1591298cb30c83bca09b (diff) |
mesa: add swrast_texture_image::Buffer
In the past, swrast_texture_image::Data has been overloaded. It could
either point to malloc'd memory storing texture data, or it could point
to a current mapping of GPU memory.
Now, Buffer always points to malloc'd memory (if we're not using GPU
memory) and Data always points to mapped memory. The next step would
be to rename Data -> Map.
This change also involves adding swrast functions for mapping textures
and renderbuffers prior to rendering to setup the Data pointer. Plus,
corresponding functions to unmap texures and renderbuffers. This is
very much like similar code in the dri drivers.
Diffstat (limited to 'src/mesa/sources.mak')
0 files changed, 0 insertions, 0 deletions