summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600
Commit message (Collapse)AuthorAgeFilesLines
* r600g: drop file I added by mistake in a previous commitDave Airlie2010-08-291-186/+0
|
* Revert "r600g: simplify states"Dave Airlie2010-08-277-7879/+1224
| | | | | | | | | This reverts commit bd25e23bf3740f59ce8859848c715daeb9e9821f. Apart from introducing a lot of hex magic numbers and being highly impenetable code, it causes lots of lockups on an average piglit run that always runs without lockups. Always run piglit before/after doing big things like this.
* r600g: simplify statesJerome Glisse2010-08-257-1224/+7879
| | | | | | | | Directly build PM4 packet, avoid using malloc (no states are bigger than 128 dwords), remove unecessary informations, remove pm4 building in favor of prebuild pm4 packet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* r600g: Don't blindly unmap NULL->size.Henri Verbeet2010-08-221-1/+3
| | | | | There may actually be something mapped in that range, especially for large buffers like e.g. the GL Drawable.
* r600g: add occlusion query supportDave Airlie2010-08-204-10/+88
| | | | | Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* r600g: kill event type magic number in winsysDave Airlie2010-08-172-3/+5
| | | | these events have names, use them.
* r600g: add user clip plane support.Dave Airlie2010-08-171-4/+14
| | | | | | | | | Apart from the fact that the radeon.h/r600_states.h editing is a nightmare, this wasn't so bad. passes piglit user-clip test now also trivial tests. Signed-off-by: Dave Airlie <airlied@redhat.com>
* r600g: drop libdrm_radeon linkDave Airlie2010-08-171-0/+186
|
* scons: Fix r600g build.Vinson Lee2010-08-141-0/+25
|
* r600g: Remove unnecessary headers.Vinson Lee2010-08-142-2/+0
|
* r600g: fix warning in the winsysDave Airlie2010-08-131-1/+1
|
* r600g: fix memory leaks running gears.Dave Airlie2010-08-131-0/+1
| | | | | I noticed gears memory usage was heading skywards, some r600 "states" aren't properly refcounted, and the ctx->state is never freed.
* r600g: avoid reemiting literal, avoid scheduling empty csJerome Glisse2010-08-102-30/+2
| | | | Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* r600g: finish multi target rendering supportJerome Glisse2010-08-061-6/+90
| | | | Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* Revert "r600g: don't use dynamic state allocation for states"Jerome Glisse2010-08-065-63/+299
| | | | | | | | | | | This reverts commit 9c949d4a4dd43b7889e13bdf683bcf211f049ced. Conflicts: src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_draw.c src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state.c
* r600g: don't use dynamic state allocation for statesJerome Glisse2010-08-055-299/+63
| | | | | | | | | | Simplify state handly by avoiding state allocation. Next step is to allocate once for all context packet buffer and then avoid rebuilding pm4 packet each time (through use of combined crc) this would also avoid number of memcpy. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* r600g: split pipe state creating/binding from hw state creationJerome Glisse2010-07-281-2/+2
| | | | | | | | | Split hw vs pipe states creation handling as hw states group doesn't match pipe state group exactly. Right now be dumb about that and rebuild all hw states on each draw call. More optimization on that side coming. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* r600g: add family retrivalDave Airlie2010-07-211-0/+5
| | | | allow pipe driver to get the family of the gpu.
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-282-29/+14
|\ | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
| * r600g: Move bootstrap code to targetJakob Bornecrantz2010-06-242-29/+14
| |
* | r600g: handle DRM_API_HANDLE_TYPE_KMS in buffer_get_handleMarek Olšák2010-06-201-10/+13
|/
* r600g: RS880 is r6xx-basedAlex Deucher2010-05-301-1/+1
| | | | Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
* r600g: remove unused variableMarek Olšák2010-05-291-1/+0
|
* r600g: fix gallium function parametersMarek Olšák2010-05-291-2/+1
|
* r600g: adapt to latest interfaces changesMarek Olšák2010-05-2714-0/+5398
- Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.