diff options
author | Emil Velikov <[email protected]> | 2015-10-06 23:04:22 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-21 12:52:17 +0000 |
commit | f9c9471b768593d61c486f7a9c0dac52e22fff65 (patch) | |
tree | fb732abe9b641c1c1a63c2e94b1b0b3a02193a2b /src/gallium/auxiliary/target-helpers | |
parent | 6bcd5f0d02fff2db0c330af7d139d7a60b59e0e2 (diff) |
targets/nine: use the existing sw_screen_wrap() over our custom version
Cc: Axel Davy <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/target-helpers')
-rw-r--r-- | src/gallium/auxiliary/target-helpers/inline_sw_helper.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_sw_helper.h b/src/gallium/auxiliary/target-helpers/inline_sw_helper.h index f3693fb1f39..7e10c28f542 100644 --- a/src/gallium/auxiliary/target-helpers/inline_sw_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_sw_helper.h @@ -104,33 +104,6 @@ drisw_create_screen(struct drisw_loader_funcs *lf) } #endif // DRI_TARGET -#if defined(NINE_TARGET) -#include "sw/wrapper/wrapper_sw_winsys.h" -#include "target-helpers/inline_debug_helper.h" - -extern struct pipe_screen *ninesw_create_screen(struct pipe_screen *screen); - -inline struct pipe_screen * -ninesw_create_screen(struct pipe_screen *pscreen) -{ - struct sw_winsys *winsys = NULL; - struct pipe_screen *screen = NULL; - - winsys = wrapper_sw_winsys_wrap_pipe_screen(pscreen); - if (winsys == NULL) - return NULL; - - screen = sw_screen_create(winsys); - if (screen == NULL) { - winsys->destroy(winsys); - return NULL; - } - - screen = debug_screen_wrap(screen); - return screen; -} -#endif // NINE_TARGET - #endif // GALLIUM_SOFTPIPE |