Re: [Mesa-dev] [PATCH 4/4] st/mesa: use _mesa_RasterPos() when possible

2015-10-21 Thread Roland Scheidegger
Ahhh legacy functionality from hell... For the series: Reviewed-by: Roland Scheidegger I'm wondering if it would be possible to omit the rasterPos execution completely, by incorporating it into drawPixels etc. at least in the hopefully common case there's no state changes affecting the results i

[Mesa-dev] [PATCH 4/4] st/mesa: use _mesa_RasterPos() when possible

2015-10-21 Thread Brian Paul
The st_RasterPos() function goes to great pains to implement the rasterpos transformation. It basically uses gallium's draw module to execute the vertex shader to draw a point, then capture that point's attributes. But glRasterPos isn't typically used with a vertex shader so we can usually use th