| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
This can happen when an X window is destroyed behind our back. We use
DRI2CopyRegion behind the scenes in many places (like flushing the fake
front to the real front) so we have to ignore X errors triggered in that
case.
The glean test cases trigger this consistently as they don't destroy the
GLX drawable nicely, they just destroy the X window.
|
|
|
|
| |
...This state's interdependent? Really? Needs moar cleanup.
|
|
|
|
| |
May or may not be responsible for slight increases in ipers FPS.
|
|
|
|
|
| |
Those paths aren't important anymore, and a debugging warning won't stop
a hardlock anyway.
|
|
|
|
|
|
|
|
|
|
|
| |
This change passes a remainder of 1 to the server with the
DRI2SwapBuffers request, causing it to honor the OML semantics for the
swap rather than falling through to glXSwapBuffers behavior. The
remainder actually ends up ignored since the divisor is 0, but we need
to differentiate the OML and standard behavior somehow.
Reported-by: Mario Kleiner <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
|
|
|
|
| |
Rejecting all doesn't seem to be helping get the pipeline lit up.
|
| |
|
| |
|
|
|
|
|
|
|
| |
It appears that the thing that was killing VS threads was the
gratuitous NOP that replaced the gratuitous jump from OPCODE_END to
the nearby OPCODE_END implementation. With that gone, we can move on
to the rest of the pipeline.
|
|
|
|
|
|
| |
Just emit the URB write at END time. Subroutine code that sits after
OPCODE_END won't be executed since we've ended the thread at the point
that the URB write is done.
|
|
|
|
|
| |
Otherwise, we may not get the FFTID set up which would break freeing
of resources.
|
|
|
|
|
|
|
| |
The hope is to later take advantage of the reduced constant usage to
free up regs. This only covers the GLSL path at the moment, because
the brw_wm_emit path doesn't get the information as to whether a float
value is a constant or a uniform.
|
|
|
|
|
| |
I keep finding the desire to force this path to debug it instead of
cooking up goofy-looking testcases to do so.
|
|
|
|
| |
Tested with piglit glsl-fs-sqrt-branch, fp-cmp.vpfp.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Be clear that this function is not just a cast wrapper.
|
|
|
|
| |
Fixes #27213.
|
| |
|
|
|
|
|
| |
Simply use the libglapi.a archive instead of individual .o files.
Fixes the non-debug build.
|
| |
|
| |
|
| |
|
|
|
|
| |
same.
|
| |
|
| |
|
|
|
|
|
| |
Fixes broken intermediate frames when a window is being resized
(regression caused by 878eef8c4).
|
|
|
|
| |
The code was half converted, resulting in texturing being totally broken.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/mesa/state_tracker/st_cb_drawpixels.c
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Emit sizes prediction didn't account for render splitting in
hwtnl path.
|
| |
| |
| |
| |
| |
| |
| | |
Flush in middle of rendering in KMS is not allowed because
buffers are discarded in flush.
Fixes crash when emiting split indices with RADEON_DEBUG=all.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Flush after transition would emit wrong state that could cause
wrong state emited for pending rendering operation.
Fixes wan once from extrement tuxracer that is using per vertex
materials.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
vbo_split_copy was passing one past the max_index to draw function
which caused _tnl_draw_prims function to read uninitialized values
from copied array.
Bug was spoted in valgrind report of progs/tests/cva_huge.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e.
glBlitFramebuffer, for example, is an alias to the non-static
glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to
_dispatch_stub_NNN.
|
| |
| |
| |
| |
| | |
The entry point names, instead of the function name, should be used to
test if the entry point should be statically dispatched.
|
| |
| |
| |
| | |
Fixing RGBA 4ub vertex colors.
|
| |
| |
| |
| | |
Based on a patch from Tom Fogal.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The assertion is checking that the low-order bits of offset are not
set. It does this by anding the inverted offset mask with the
offset. This is clearly intended to be a bit-wise "invert".
Fixes bug #25984.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The assertion is checking that the low-order bits of offset are not
set. It does this by anding the inverted offset mask with the
offset. This is clearly intended to be a bit-wise "invert".
Fixes bug #25984.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The default viewport is the window rectangle, which is set up by
_mesa_make_current(). To be able to do that we need to get the
window dimension (and buffers) first, so we have to call
intel_prepare_render() before we can call into _mesa_make_current().
Fixes #26676 and #26678.
|
| |
| |
| |
| |
| | |
With this feature, we get OpenGL version 2.0 and the progs/glsl/
demos run as-is.
|
| |
| |
| |
| |
| | |
This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2
which changed the depth/stencil format we were trying to use.
|