| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| |
| |
| |
| | |
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
|
| |
| |
| |
| | |
Fixes piglit fp-fog failure with gallium.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This prevents the driver from discarding a buffer when the whole buffer
is mapped for writing, but only a portion is effectively written.
This is a temporary fix, because WRITE shouldn't imply DISCARD.
The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout
the code, and will go only into master.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
In radeonRefillCurrentDmaRegion() make sure we
unmap the previous buffer.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Pauli Nieminen <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
This allows us to return the unused portion of the dma buffer
to the allocator instead of wasting nearly 16k a pop.
Cherry picked and ported to new code by Pauli.
|
| |
| |
| |
| | |
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]>
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Handle checking was done using hash tables. Now that they are gone, we
have to loop over the lists.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| | |
progs/egl/demo3.c is also changed since it uses an internal function.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
The hash table was used to map a display to a handle. It is simpler to
cast directly.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
The hash table was used to map a surface to a handle. It is simpler to
cast directly.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Move drv->API.Terminate call to eglTerminate. Remove
_eglReleaseDisplayResource as drivers are doing it.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Move some fields of _EGLDriver to _EGLDisplay. It also becomes
unnecessary to pass _EGLDisplay to drivers when _eglMain is called.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Driver is chosen and preloaded when eglGetDisplay is called. Later when
eglInitialize is called, the same driver is matched to initialize the
display. Also, add new, but unused, hooks to EGLDriver to allow a
driver to probe a display or unload itself.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The motivation is so that drivers do not need to look up and check for
bad display, context, and etc. It also becomes unnecessary for drivers
to call the link functions.
This commit makes eglapi.[ch] do the lookup and check. As a result, the
driver API is overhauled, and almost all sources and drivers need
update. The updates are mainly find and replace with human brains.
Signed-off-by: Chia-I Wu <[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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This fixes invalid values for CondStackTop, LoopStackTop, etc.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
make sure the number of indices is valid for the
requested prim type. glxgears sends invalid
quad strips with only 2 indices for example.
|
| |
| |
| |
| |
| | |
This stuff was a vestige of the r600 bring up and
now mostly serves to periodically break the build.
|
| | |
|
| |
| |
| |
| |
| | |
- This fixes neverball corruption.
- I'm unsure about what we're actually flushing here.
|
| | |
|
| | |
|
| |
| |
| |
| | |
The value is an enum, not a bitmask.
|
| |
| |
| |
| |
| | |
Split vbo rendering when the number of elements requested
by drawarrays is bigger than 65536.
|
| |
| |
| |
| |
| |
| |
| | |
It's the front stencil methods that have contiguous offsets,
not the back ones.
Unfortunately the names in the header still have FRONT/BACK
reversed, so I'm using hex values until it gets updated.
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Supported only on HW with TCL block and with proper radeon drm.
Required minimum radeon drm version is 1.30 or KMS.
|
| | | |
|