aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_queryobj.c
Commit message (Collapse)AuthorAgeFilesLines
* radeon: replace __FUNCTION__ with __func__Marius Predut2015-04-211-8/+8
| | | | | | | | | Consistently just use C99's __func__ everywhere. No functional changes. Signed-off-by: Marius Predut <[email protected]> Acked-by: Michel Dänzer <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* mesa: Move simple_list.h to src/util.Eric Anholt2015-01-281-1/+1
| | | | | | We have two copies of it in the tree, I'm going to delete one. Reviewed-by: Marek Olšák <[email protected]>
* radeon / r200: Eliminate BEGIN_BATCH_NO_AUTOSTATEIan Romanick2014-01-231-1/+1
| | | | | | | | | | | | | | Sed job: grep -lr BEGIN_BATCH_NO_AUTOSTATE src/mesa/drivers/dri/ | while read f do cat $f | sed 's/BEGIN_BATCH_NO_AUTOSTATE/BEGIN_BATCH/g' > x mv x $f done Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: Marek Olšák <[email protected]>
* radeon/r200: make radeon_context subclass of gl_contextBrian Paul2012-10-051-2/+2
| | | | | radeon_context now contains a gl_context, rather than a pointer to one. This will allow some minor core Mesa clean-up.
* radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernelDave Airlie2011-10-301-32/+4
| | | | | | | | This drops all the old drmSupports* checks since KMS does them all, and it also drop R300_CLASS and R600_CLASS. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* radeon: Drop the non-kernel-memory-manager support, and thus DRI1.Eric Anholt2011-10-281-14/+10
| | | | | | | | | | It's past time, and it was going to get in the way of the renderbuffer mapping refactor. We dropped all the other DRI1 drivers for this release, and I can't imagine anybody supporting DRI1 radeon classic in a new release of Mesa. Diff produced by treating kernel_mm as true, deleting the DRI1 paths that produce kernel_mm false, and deleting code.
* r600c: get OQ results only for 4 DBs on r600 classAndre Maasikas2011-01-211-2/+6
| | | | | - since evergreen addition which increased this to 8 depth backends other bytes may contain garbage values
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-10/+10
|
* r600c: add OQ support for evergreenAlex Deucher2010-09-101-1/+1
|
* radeon: fix warningsMarek Olšák2010-04-281-1/+3
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-2/+2
|
* radeon: Silence "format" compiler warnings.Vinson Lee2010-01-281-1/+1
|
* Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora2009-11-181-18/+3
|\
| * radeon: use radeon_bo_is_referenced_by_cs for query objectsMaciej Cencora2009-11-141-18/+3
| |
* | radeon: Fix occlusion queries on big endian.Michel Dänzer2009-11-171-7/+9
|/
* r600: add occlusion query supportAlex Deucher2009-10-281-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | Based on initial patch from Stephan Schmid <[email protected]>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <[email protected]>
* radeon: Fix OQ to set ful lstate as dirty too.Pauli Nieminen2009-09-021-0/+1
|
* radeon: Make OQ to use new style debugging.Pauli Nieminen2009-08-311-11/+12
|
* radeon: use proper macroMaciej Cencora2009-08-231-3/+1
|
* radeon: use bo_is_idle interface for checking if OQ result is availableMaciej Cencora2009-08-231-19/+38
|
* r300: OQ reworkDave Airlie2009-08-181-0/+216
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.