Re: [Mesa-dev] [PATCH 0/2] Optimizing glGetTexImage for Gallium

2013-02-07 Thread Ian Romanick
On 02/07/2013 12:13 PM, Marek Olšák wrote: For reasons I don't know, WarCraft 3 under Wine is using glGetTexImage during rendering, which is killing framerate, and it doesn't seem to be a problem with Wine, so I decided to optimize that function properly. I implemented st_GetTexImage using a b

[Mesa-dev] [PATCH 0/2] Optimizing glGetTexImage for Gallium

2013-02-07 Thread Marek Olšák
For reasons I don't know, WarCraft 3 under Wine is using glGetTexImage during rendering, which is killing framerate, and it doesn't seem to be a problem with Wine, so I decided to optimize that function properly. I implemented st_GetTexImage using a blit, where the target format exactly matches