| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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]>
|
| |
|
|
|
|
|
| |
This makes it easier to predict size of next rendering operation so we
can do early flush.
|
|
|
|
|
|
|
|
|
| |
This fixes some state atom check functions from returing wrong emit size.
There is emit code cleanup so that emit function selection is done in init
time instead of runtime.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
|
| |
- emit prediction
- fixes to emit_sizes for data
- clean up of excesive use of radeonEnsureCmdBufferSpace
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
| |
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes bug that xdemos/manywin would segfault if it was run with command
./manywin 2. Demo is tring to call glXSwapBuffers while another context was
bind using glXMakeCurrent.
Fix is simple makes drawable and readable persistent untill they change or
context is destroyed.
I found a logic error when same dri context is used for multiple drawables
which caused readable and drawable to fall out of sync in special case. Fix
is simple just updating drawables more often than in original patch.
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
|
|
| |
The real difference is that the driver suffix is now appended. This
also fixes an annoying bug that EGL_DRIVER could not specify the path to
a driver because a suffix was always appended.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
libX11 is used to determine the screen number, which is in turned used
to determine the DRI driver. However, the sysfs interface for
determining the DRI driver is gone, and no working driver depends on
this mechanism.
Display string parsing is moved to a new function,
_eglSplitDisplayString.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
An unlinked context is destroyed after _eglMakeCurrent. Flushing such
context would cause segfault.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
The display may be NULL when checking a handle.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
| |
switches more state handling to common code. We need
should be more fine grained with the state atoms
eventually.
|
|
|
|
|
| |
Slowing migrating to atom based system like
the other radeon drivers.
|
|
|
|
|
| |
We probably want to go finer grained eventually, but
this is a good start.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
1. Larger sphere to match cube size
2. Allow -geometry option to override window size
3. Cube samplers
|
| |
|
| |
|
| |
|
|
|
|
| |
At least its better then hardcoded to i915
|
| |
|
| |
|
|
|
|
| |
Fall back to interpreter for now. This doesn't happen very often.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SOA dependencies can happen when a register is used both as a source and
destination and the source is swizzled. For example:
MOV T, T.yxwz; would expand into:
MOV t0, t1;
MOV t1, t0;
MOV t2, t3;
MOV t3, t2;
The second instruction will produce the wrong result since we wrote to t0
in the first instruction. We need to use an intermediate temporary to fix
this.
This will take more work to fix for all TGSI instructions. This seems to
happen with MOV instructions more than anything else so fix that case now
and warn on others.
Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
|
|
|
|
| |
Users of the parser can make use of this.
|
|
|
|
|
| |
fixes corruption issues with apps like teapot and
geartrain.
|
|
|
|
|
| |
These regs don't use the SET_CONTEXT_REG packet,
so they weren't getting set correctly.
|
|
|
|
|
| |
Plus, add a comment about 'type' error checking.
See bug 19087.
|
|
|
|
| |
make sure we allocate enough space for relocs
|
|
|
|
|
|
| |
This fixes problem that dma buffers were leaking in dri1 mode.
Signed-off-by: Pauli Nieminen <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This may or may not be required pre-965, but it doesn't seem unlikely, and
I'd rather be safe.
|
|
|
|
| |
Signed-off-by: Pauli Nieminen <[email protected]>
|
|
|
|
|
|
| |
This fixes problems when application is using large vertex arrays for drawing.
Signed-off-by: Pauli Nieminen <[email protected]>
|