diff options
author | Kenneth Graunke <[email protected]> | 2014-05-18 22:16:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-05-19 17:18:55 -0700 |
commit | 54540ea691e926b36a81a9b1e27b8f035995d07d (patch) | |
tree | e47e4e36d08484d82377ecf0ac306582ec0d03b5 /src/mesa/drivers/dri/nouveau | |
parent | d89ce333ccc585ef88fe10e61de17b885e03eab4 (diff) |
meta: Split _swrast_BlitFramebuffer out of the meta blit path.
Separating the software fallbacks from the rest of the meta path (which
is usually hardware accelerated) gives callers better control over their
blitting options.
For example, i965 might want to try meta blit, hardware blits, then
swrast as a last resort. Splitting it makes that possible.
This updates all callers to maintain the existing behavior (even in the
few cases where it isn't desirable behavior - later patches can change
that).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Cc: "10.2" <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.c b/src/mesa/drivers/dri/nouveau/nouveau_driver.c index 1a8afa2af12..b0afb69e221 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_driver.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.c @@ -155,5 +155,5 @@ nouveau_driver_functions_init(struct dd_function_table *functions) functions->DrawPixels = _mesa_meta_DrawPixels; functions->CopyPixels = _mesa_meta_CopyPixels; functions->Bitmap = _mesa_meta_Bitmap; - functions->BlitFramebuffer = _mesa_meta_BlitFramebuffer; + functions->BlitFramebuffer = _mesa_meta_and_swrast_BlitFramebuffer; } |