aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* r300: Convert to shared debug code.Pauli Nieminen2009-08-311-3/+3
|
* r300: Fix dri1 not to emit state that is not supported in old drm.Pauli Nieminen2009-08-221-3/+16
|
* r300: Clean emit code.Pauli Nieminen2009-08-211-1/+8
| | | | | | | | | 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]>
* r300: OQ reworkDave Airlie2009-08-181-12/+1
| | | | | | | | | | | | 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.
* r300: clear not_flushed OQ list after flushMaciej Cencora2009-08-151-1/+12
|
* r300: Fix Z buffer re-emit after window resizeNicolai Hähnle2009-08-011-5/+8
| | | | | | | | | | | | | | We used to not always correctly re-emit the Z buffer size in all cases, in particular the clear path, and invalidated state was not always picked up correctly. This fixes a bug where the kernel CS checker correctly complains about a Z buffer that is too small. Note that this bug was probably only visible with ridiculously high framerates, i.e. glxgears. Signed-off-by: Nicolai Hähnle <[email protected]>
* r300: Move vertex program compilation to compilerNicolai Hähnle2009-07-271-5/+4
| | | | | | | This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <[email protected]>
* r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle2009-07-271-2/+61
| | | | | | | | This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <[email protected]>
* intel/radeon: add common metaops code.Dave Airlie2009-07-151-6/+1
| | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
* r300: fix clear mask to not use sw if not necessaryDave Airlie2009-07-121-0/+2
|
* radeon/r200/r300: port to new space checking code in libdrmDave Airlie2009-07-061-5/+43
| | | | | This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
* radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle2009-05-241-8/+8
| | | | | | | The duplication of state data caused a crash due to double-free on destruction of context, because a variable wasn't correctly null'ed out. Signed-off-by: Nicolai Hähnle <[email protected]>
* r300: further cleanupMaciej Cencora2009-05-161-3/+2
| | | | | | | - move extensions init into seperate function - move options handling into seperate function - create new structure to hold options values - use context->options.hw_tcl_enabled field instead of global hw_tcl_on and future_hw_tcl_on variables
* radeon: tiling supportDave Airlie2009-04-021-1/+1
|
* r300: fix stencil clearsDave Airlie2009-03-311-0/+3
|
* raedon/r200/r300: mega-FBO commits.Dave Airlie2009-03-231-54/+85
| | | | | | Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
* r300: hw clear buffer 0 hopefullyDave Airlie2009-03-211-0/+11
|
* radeon: refactor framebuffer code like intelDave Airlie2009-03-031-4/+4
| | | | | this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
* r300: don't flush VAP too often.Dave Airlie2009-02-261-0/+2
| | | | | Flush the VAP the first time for each state atom we upload new VAP data
* r300: drop r300Flush for the generic oneDave Airlie2009-02-251-17/+1
|
* r200/r300: get up to speed on renamed filesDave Airlie2009-02-121-1/+2
|
* radeon/r200/r300: another big merge upheavel.Dave Airlie2009-02-121-4/+3
| | | | | | | | This merges lots of the hw state atom emission and firevertices code. it also removes a lot of the extra radeon crap from r300 and merge scissor
* r300: fix up CS for modesetting - gears under kms worksDave Airlie2009-02-041-2/+2
|
* radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie2009-01-291-5/+5
| | | | | | this gets back a lot of the lots speed in gears on r500 at least I also fixed the legacy bufmgr to deal when the dma space fills up
* r300: fix some whitespaceDave Airlie2009-01-291-28/+28
|
* r200: make tri render on my r200.Dave Airlie2009-01-211-2/+2
|
* r300: move some more function to genericDave Airlie2009-01-151-2/+2
|
* r300: start moving new r300 cmdbuf into common codeDave Airlie2009-01-141-3/+3
|
* radeon/r200/r300: attempt to move lock to common codeDave Airlie2009-01-141-1/+1
|
* radeon/r200/r300: initial attempt to convert to common context codeDave Airlie2009-01-141-4/+4
|
* radeon: remove start/end offset + cleanup some whitespaceDave Airlie2008-12-221-4/+5
|
* radeon: fixup r500 FP emission for new CSDave Airlie2008-12-221-37/+45
|
* radeon: make DRI1 one work with new CS mechanismDave Airlie2008-12-011-1/+1
|
* r300: convert to new relocations format (see libdrm-radeon)Jerome Glisse2008-11-141-2/+2
|
* r300: cs + DRI2 supportJerome Glisse2008-11-141-30/+71
| | | | | If DRI2 is enabled then switch cmd assembly to directly build hw packet.
* r300: bo and cs abstraction.Jerome Glisse2008-11-141-556/+298
| | | | | | | | | | This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-4/+4
| | | | Makefile.template
* R300: update vap_cntl values for NUM_FPUSAlex Deucher2008-07-111-4/+5
| | | | based on info from hw team
* r300: Do not include r300_fragprog.h from r300_context.h and other cleanupsNicolai Haehnle2008-06-141-0/+1
|
* r300: Some cleanups in depth and stencil state handlingNicolai Haehnle2008-06-071-1/+1
| | | | This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
* r300: Apply writemask when clearing stencil bufferNicolai Haehnle2008-06-071-1/+2
| | | | This fixes the glean/maskedClear test.
* r300: Fix stencil buffer clearNicolai Haehnle2008-06-071-13/+2
| | | | The glean/readPixSanity test passes now.
* r300/r500: emit flush inside vap_cntl state atomDave Airlie2008-05-271-0/+2
| | | | Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
* r300/r500: fixup some of the register write sizesDave Airlie2008-05-201-6/+7
|
* r500: write out the correct FP registersAlex Deucher2008-05-171-3/+8
|
* r500: some trivial fixups to get tri working.Dave Airlie2008-05-151-7/+11
| | | | the counter was being used one instruction over the end
* r500: we just need to emit a colour for clear drop tex instructionDave Airlie2008-05-151-34/+1
|
* R3xx: clean up ZB registersAlex Deucher2008-05-131-14/+14
|
* R300: clean up Fog registersAlex Deucher2008-05-131-2/+2
|
* R500: fixup r300EmitClearState() FP for r5xxAlex Deucher2008-05-131-8/+19
|