| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a DRI2 swap buffer is pending we need to make sure we
have the flush extension so radeon doesn't resume rendering to
or reading from the not yet blitted front buffer.
This fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28341
https://bugs.freedesktop.org/show_bug.cgi?id=28410
Signed-off-by: Jerome Glisse <[email protected]>
Signed-off-by: Mario Kleiner <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
So if we don't actually emit an atom to the hw because we don't
need it in the current state (e.g. lighting related atoms when
lighting is off) then don't mark it as clean, because when
lighting gets switched on we won't emit it at all.
This fixes funky gears colors.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
|
|
|
| |
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
|
|
|
|
|
| |
It does nothing else while being less useful than exit() because it lacks
attributes that real exit() has.
|
|
|
|
|
|
|
| |
Bug 25699
The main problem was the optimising flush wasn't doing the front
rendering checks properly.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/main/version.h
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
progs/demos/projtex.c
progs/xdemos/glxinfo.c
src/mesa/main/version.h
To fix the confilicts in projtex.c and glxinfo.c I just took the code from
mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from
mesa_7_7_branch to mesa_7_6_branch followed by commmits just to
mesa_7_6_branch.
|
| | |
| | |
| | |
| | |
| | |
| | | |
fixes fdo bug 25354
Signed-off-by: Alex Deucher <[email protected]>
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
state in KMM mode"
This reverts commit 286bf89e5a1fc931dbf523ded861b809859485e2.
This doesn't appear to be correct, regression so revert it.
http://bugs.freedesktop.org/show_bug.cgi?id=25193
|
| | |
|
| |
| |
| |
| | |
mode
|
| |
| |
| |
| | |
fixes bo space accounting errors
|
|\| |
|
| |
| |
| |
| | |
fixes fdo bug 24248
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
Radeon generic scissors code had problem that some of code was using exclusive
and some inclusive bottom right corner. Only r600 driver is using exclusive
coordinate so changed generic code to pass inclusive coordinate and r600 driver
changes BR coordinate to be exclusive.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
There really need to use state emits under kms, otherwise
we end up with some dwords in the command buffer before we've
ever emitted any useful state.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
| |
Converted r100 to use shared debug code with sed and fast compile check. New
code has compability layer so old debugging code doesn't have to be changed
all immidiatly.
|
|
|
|
| |
DRI1 has to set scissors in framebuffer coordinates.
|
|
|
|
| |
DRI1 didn't have support for command buffer emit for stripple.
|
| |
|
|
|
|
|
|
| |
For non-FBOs we need to invert, for FBOs the scissors are non-inverted.
no matter what we need to clamp them to the buffer sizes.
|
| |
|
| |
|
|
|
|
| |
Scissors are jsut one of states that we have to emit so it should be in state list
|
| |
|
| |
|
| |
|
|
|
|
| |
Trying to make understanding code easier with small refactoring and renaming.
|
|
|
|
|
|
|
|
| |
We do flush for cmd buffer in case there isn't enough space left for whole
rendering operation. This protects dma regions from getting released in middle
of state emit.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
| |
Calling EnsureCmdBufSpace is not required because rendering pipeline has to quarentee free space.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
| |
This patch makes render emit size prediction count the corect maximum emit size
for state.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Patch adds prediction functionthat tries to predict emit size to the smallest
possible values that is quarenteed to be higher than worst case scenario in
rendering pipeline.
State emit size prediction code is in place but fix for emit sizes is included
in next patch.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
We keep dma buffer objects in list untill they have been unused for many
draw operations. Current limit of having 100 flushes is just guess for
good performance/memory trade off.
Moving WARN_ONCE macro to common context because it is used in multiple drivers.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move to common code base so radeon/r200 can add support for this.
Make OQ start a state emitted like all normal state, and make no-tcl
flushing work in proper places.
Really need a generic post emit space reservation mechanism like max_state
so we can reserve some space for the emit
this code passes demos/arbocclude, piglit occlusion query and
glean occlusion query with TCL and NO-TCL on my rv530.
|
| |
|
|
|
|
| |
NOTE: THIS REQUIRES AN UPDATED DRM!
|
|
|
|
| |
(corresponding fix to the intel driver one)
|
|
|
|
|
|
|
| |
Reported to fix corruption while dragging an active window by John Bridgman.
Signed-off-by: Pauli Nieminen <[email protected]>
Signed-off-by: Nicolai Hähnle <[email protected]>
|
|\
| |
| |
| |
| |
| |
| | |
into r6xx-rewrite
This builds, but I get an assertion in radeonGetLock() due to
the drawable being null.
|
| |
| |
| |
| |
| | |
Move all the metaops to a dri_metaops file and port radeon/intel
to use the new common meta ops code.
|
| |
| |
| |
| |
| | |
This function takes a GLint not a GLuint, passing in -1
breaks internally.
|