diff options
author | Brian <[email protected]> | 2007-07-31 17:42:03 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-31 17:42:03 -0600 |
commit | 20adf45c23dd9ec86a1439ad87c1473395bbb1a7 (patch) | |
tree | eee17a4b7b1572651c2b20661b26b82def9cdd34 /src/mesa/pipe/p_context.h | |
parent | 2f245bce420c7a6c6928c4927d0f9a5701cde17f (diff) |
Redesign pipe_surface in terms of pipe_region.
struct pipe_buffer goes away.
Added basic region functions to softpipe to allocate/release malloc'd regions.
Surface-related code is fairly coherent now.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r-- | src/mesa/pipe/p_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h index bfae55a4bab..b48c7775de3 100644 --- a/src/mesa/pipe/p_context.h +++ b/src/mesa/pipe/p_context.h @@ -117,6 +117,14 @@ struct pipe_context { /* + * Surface functions + * This might go away... + */ + struct pipe_surface *(*surface_alloc)(struct pipe_context *pipe, + GLuint format); + + + /* * Memory region functions * Some of these may go away... */ |