diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-22 15:55:43 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-22 16:01:15 -0600 |
commit | ef2664da6c4db1b52ef351641e3ee949b87f9c7b (patch) | |
tree | ad24224aae9516203aacf4218141731e84061610 /include/KHR | |
parent | af0b0e1172a14ca215777f6ef6569d1433f45af2 (diff) |
st/glx: fix depth/stencil format selection code
This fixes a pretty big performance regression caused by commit
3475e88442c16fb2b50b903fe246b3ebe49da226.
When the user does not request a stencil buffer it's important that we
don't use a depth/stencil format (or at least make it our last choice).
If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined
depth/stencil buffer, that causes us to hit the clear_with_quad() path
which can be much, much slower than calling pipe_context::clear().
Also, try to use a shallower depth format before a deeper one.
Diffstat (limited to 'include/KHR')
0 files changed, 0 insertions, 0 deletions