gallium: introduce 'pipe_screen' for context-independent functions
authorBrian <brian@i915.localnet.net>
Wed, 27 Feb 2008 03:15:14 +0000 (20:15 -0700)
committerBrian <brian@i915.localnet.net>
Wed, 27 Feb 2008 03:15:14 +0000 (20:15 -0700)
commitaa59a937ccf41609081d3f9a4973df5478979785
treead3fce8490b1d5f701cca1db318f864c8950225a
parentdc2b6e2c33b44c1ffc0578b6bf52d05f7c68bb5c
gallium: introduce 'pipe_screen' for context-independent functions

This will allow creating textures before a rendering context exists, for example.
Only implemented in i915 driver for now.  i915pipe->texture_create() just
dispatches through to the i915screen->texture_create() to avoid state tracker
changes for now.
14 files changed:
src/gallium/drivers/i915simple/Makefile
src/gallium/drivers/i915simple/i915_context.c
src/gallium/drivers/i915simple/i915_context.h
src/gallium/drivers/i915simple/i915_screen.c [new file with mode: 0644]
src/gallium/drivers/i915simple/i915_screen.h [new file with mode: 0644]
src/gallium/drivers/i915simple/i915_strings.c
src/gallium/drivers/i915simple/i915_texture.c
src/gallium/drivers/i915simple/i915_texture.h
src/gallium/drivers/i915simple/i915_winsys.h
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_inlines.h
src/gallium/include/pipe/p_screen.h [new file with mode: 0644]
src/gallium/include/pipe/p_state.h
src/gallium/winsys/dri/intel/intel_winsys_i915.c