Re: [Mesa-dev] [PATCH 2/2] meta: Fix restoring of fixed function texture enables.

2011-11-11 Thread Brian Paul
On 11/11/2011 11:31 AM, Eric Anholt wrote: If they were disabled on entry, and we enabled one (like for BlitFramebuffer), we wouldn't disable it on the way out. Retain the attempted optimization here (don't keep calling to set each bit for changes that won't matter) by just setting the bits dire

[Mesa-dev] [PATCH 2/2] meta: Fix restoring of fixed function texture enables.

2011-11-11 Thread Eric Anholt
If they were disabled on entry, and we enabled one (like for BlitFramebuffer), we wouldn't disable it on the way out. Retain the attempted optimization here (don't keep calling to set each bit for changes that won't matter) by just setting the bits directly with appropriate flushing. Fixes misren