Re: [Mesa-dev] [PATCH 6/8] intel: Don't flush the old context in intelMakeCurrent

2014-10-24 Thread Ian Romanick
On 10/01/2014 12:00 PM, Neil Roberts wrote: > It shouldn't be necessary to flush the context within the driver > implementation because the old context is explicitly flushed in > _mesa_make_current before the driver code is reached. It is useful to only > have a single place that flushes the contex

Re: [Mesa-dev] [PATCH 6/8] intel: Don't flush the old context in intelMakeCurrent

2014-10-16 Thread Neil Roberts
Ian Romanick writes: > I'm a little bit skeptical of this. _mesa_make_current doesn't call > intelMakeCurrent. intelMakeCurrent calls _mesa_make_current, and it > calls _mesa_make_current much later in this function. By the time > _mesa_make_current is called, a bunch of driver state has been

[Mesa-dev] [PATCH 6/8] intel: Don't flush the old context in intelMakeCurrent

2014-10-01 Thread Neil Roberts
It shouldn't be necessary to flush the context within the driver implementation because the old context is explicitly flushed in _mesa_make_current before the driver code is reached. It is useful to only have a single place that flushes the context when switching contexts to make it easier to later