| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When direct rendering is being used, DRI2 BufferSwapComplete events are
sent unconditionally to clients, even if they haven't been requested.
This causes error messages to be printed by every freeglut application
of the form
freeglut (./gears): Unknown X event type: 104
and might confuse other clients.
This is a fixed up version of the patch by Jesse Barnes, which drops
BufferSwapComplete events if they are not requested by clients.
Fixes fdo bug 27962.
Signed-off-by: Nick Bowler <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
|
|
|
|
|
| |
Fixes MSVC build failure due to inconsistent _ReadWriteBarrier
prototype.
|
|
|
|
|
|
|
| |
The lp_rast_shader_inputs' alignment is irrelevant now that it contains
pointers instead of actual data.
Likewise, lp_rast_triangle's size alignment is meaningless.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
first working version of arb_geometry_shader4
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
just like in Gallium it's a basic functionality needed by a lot
of modern graphcis extensions
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
there's no point of having this per context, so move to screen
(and protect with a mutex).
|
| | |
|
| |
| |
| |
| |
| |
| | |
Just put a pointer to the state in the tri->inputs struct. Remove
some complex logic for eliminating unused statechanges in bins at the
expense of a slightly larger triangle struct.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move this code back out to C for now, will generate separately.
Shader now takes a mask parameter instead of C0/C1/C2/etc.
Shader does not currently use that parameter and rasterizes whole
pixel stamps always.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than inserting an lp_rast_fence command at the end of each
bin, have each rasterizer thread call this function directly once
it has run out of work to do on a particular scene.
This results in fewer calls to the mutex & related functions, but more
importantly makes it easier to recognize empty bins.
|
| |
| |
| |
| |
| | |
This was already the case, but the generated (un)swizzling code was not
benefiting of that knowledge.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Note that the enums.c file is generated with this script.
This will preserve the change from commit
c4066b78c0aad41c199eb27157538c2ec9ab5bfd.
|
| | |
|
| |
| |
| |
| | |
Despite the docs, the corresponding hardware instructions are r5xx-only.
|
| | |
|
| |
| |
| |
| | |
rv3x0 can't do it.
|
| | |
|
| | |
|
| |
| |
| |
| | |
It is a lot simplier, cleaner, and more stable now.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include
recursion.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Need to flush command stream before mapping texture image
that is referenced by current cs.
Candidate for 7.8 branch.
Signed-off-by: Maciej Cencora <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
There's already an implementation of pipe_barrier using
the other pipe_* primitives; just use that on Windows, too.
Now Windows passes pipe_barrier_test.
|
| |
| |
| |
| |
| | |
The new default implementation of pipe_condvar makes it
unnecessary.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Unfortunately compiling with these defines enabled would mean
Gallium can't run on Windows XP/2003 or older.
Todo: Need a macro to declare if we don't care about WinXP
compatibililty.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Or at least a little of it. This version will sleep
for a fixed amount of time instead of just deadlocking,
which is a slight improvement.
Also do the same thing on any unrecognized platform.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
An initial implementation made by Dave Airlie.
For it to be used, a color-only clear must be invoked and exactly one
point-sampled render target must be set. The render target must be
macrotiled (for us to overcome alignment issues) and bpp must be either
16 or 32.
I can't see a difference in performance. :(
Conflicts:
src/gallium/drivers/r300/r300_blit.c
|
| |
| |
| |
| |
| |
| | |
With an ordinary quad, the pixels on the main diagonal are computed
and stored twice, which is somewhat inefficient and might not work well
with specialized clear codepaths.
|
| |
| |
| |
| | |
And other minor fixups.
|