Defer buffer pool creation to the first context creation.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 17 Apr 2007 13:21:54 +0000 (15:21 +0200)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 17 Apr 2007 13:21:54 +0000 (15:21 +0200)
commit1a9483c95492bee3fbda131181945b6c878bf52f
treed7ba75969a29fb94520128f1ce5ffe4716ec5942
parent36949abec763e56a5356b65e2f2570cfed11d853
Defer buffer pool creation to the first context creation.
This way we have a hw context so that we can take the hardware lock.
Also, at this point, AIGLX isn't locked with the X server context as it is
at screen creation.
src/mesa/drivers/dri/i915tex/intel_context.c
src/mesa/drivers/dri/i915tex/intel_screen.c
src/mesa/drivers/dri/i915tex/intel_screen.h