diff options
author | Corbin Simpson <[email protected]> | 2009-10-17 21:32:56 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-10-17 21:32:56 -0700 |
commit | bb567357bc1366df7115e0daa68c2470e3bf6ba6 (patch) | |
tree | 067805d996a91f632dcd083def6032e9c2ad7736 /src/gallium/include/pipe/p_context.h | |
parent | bfd877e4705002d97ee8dba6fe0c1f8676582ab3 (diff) |
gallium: Permit surface_copy and surface_fill to be NULL.
Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc.
please make sure you are not broken, and fix yourself up if you are.
There were only two or three places where the code did not have painful
fallbacks, so I would advise st maintainers to find less painful workarounds,
or consider overhauling util_surface_copy and util_surface_fill.
Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is.
I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 39620a71980..5569001e601 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -189,6 +189,9 @@ struct pipe_context { /** * Surface functions + * + * The pipe driver is allowed to set these functions to NULL, and in that + * case, they will not be available. */ /*@{*/ |