summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
AgeCommit message (Collapse)Author
2009-08-18r300: OQ reworkDave Airlie
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.
2009-08-15r300: clear not_flushed OQ list after flushMaciej Cencora
2009-08-01r300: Fix Z buffer re-emit after window resizeNicolai Hähnle
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 <nhaehnle@gmail.com>
2009-07-27r300: Move vertex program compilation to compilerNicolai Hähnle
This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle
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 <nhaehnle@gmail.com>
2009-07-15intel/radeon: add common metaops code.Dave Airlie
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
2009-07-12r300: fix clear mask to not use sw if not necessaryDave Airlie
2009-07-06radeon/r200/r300: port to new space checking code in libdrmDave Airlie
This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
2009-05-24radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle
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 <nhaehnle@gmail.com>
2009-05-16r300: further cleanupMaciej Cencora
- 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
2009-04-02radeon: tiling supportDave Airlie
2009-03-31r300: fix stencil clearsDave Airlie
2009-03-23raedon/r200/r300: mega-FBO commits.Dave Airlie
Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
2009-03-21r300: hw clear buffer 0 hopefullyDave Airlie
2009-03-03radeon: refactor framebuffer code like intelDave Airlie
this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
2009-02-26r300: don't flush VAP too often.Dave Airlie
Flush the VAP the first time for each state atom we upload new VAP data
2009-02-25r300: drop r300Flush for the generic oneDave Airlie
2009-02-12r200/r300: get up to speed on renamed filesDave Airlie
2009-02-12radeon/r200/r300: another big merge upheavel.Dave Airlie
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
2009-02-04r300: fix up CS for modesetting - gears under kms worksDave Airlie
2009-01-29radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie
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
2009-01-29r300: fix some whitespaceDave Airlie
2009-01-21r200: make tri render on my r200.Dave Airlie
2009-01-15r300: move some more function to genericDave Airlie
2009-01-14r300: start moving new r300 cmdbuf into common codeDave Airlie
2009-01-14radeon/r200/r300: attempt to move lock to common codeDave Airlie
2009-01-14radeon/r200/r300: initial attempt to convert to common context codeDave Airlie
2008-12-22radeon: remove start/end offset + cleanup some whitespaceDave Airlie
2008-12-22radeon: fixup r500 FP emission for new CSDave Airlie
2008-12-01radeon: make DRI1 one work with new CS mechanismDave Airlie
2008-11-14r300: convert to new relocations format (see libdrm-radeon)Jerome Glisse
2008-11-14r300: cs + DRI2 supportJerome Glisse
If DRI2 is enabled then switch cmd assembly to directly build hw packet.
2008-11-14r300: bo and cs abstraction.Jerome Glisse
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
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-07-11R300: update vap_cntl values for NUM_FPUSAlex Deucher
based on info from hw team
2008-06-14r300: Do not include r300_fragprog.h from r300_context.h and other cleanupsNicolai Haehnle
2008-06-07r300: Some cleanups in depth and stencil state handlingNicolai Haehnle
This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
2008-06-07r300: Apply writemask when clearing stencil bufferNicolai Haehnle
This fixes the glean/maskedClear test.
2008-06-07r300: Fix stencil buffer clearNicolai Haehnle
The glean/readPixSanity test passes now.
2008-05-27r300/r500: emit flush inside vap_cntl state atomDave Airlie
Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
2008-05-20r300/r500: fixup some of the register write sizesDave Airlie
2008-05-17r500: write out the correct FP registersAlex Deucher
2008-05-15r500: some trivial fixups to get tri working.Dave Airlie
the counter was being used one instruction over the end
2008-05-15r500: we just need to emit a colour for clear drop tex instructionDave Airlie
2008-05-13R3xx: clean up ZB registersAlex Deucher
2008-05-13R300: clean up Fog registersAlex Deucher
2008-05-13R500: fixup r300EmitClearState() FP for r5xxAlex Deucher
2008-05-13R300: cleanup FS code and fill in missing detailsAlex Deucher
2008-05-13R3xx: more PVS cleanupAlex Deucher
2008-05-03r300: Set correct VAP_CNTL per vertex program.Markus Amsler
adapted from Markus' patch on bug 15386 with updates for non-TCL and R500.