aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
Commit message (Collapse)AuthorAgeFilesLines
...
* radeon/r200: Add -Wall to default build flags like it is in r300/r600Pauli Nieminen2009-08-211-1/+2
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r200: make use of DMA buffers for Elts a lot better.Dave Airlie2009-08-181-11/+5
| | | | | | | 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.
* r200: Fix missing offset from elt buffer pointer.Pauli Nieminen2009-08-181-1/+1
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* radeon: Optimize memory handling for dma operations.Pauli Nieminen2009-08-182-4/+11
| | | | | | | | | | 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]>
* radeon/r200: fix build after OQ commitsDave Airlie2009-08-183-1/+4
|
* radeon: remove RADEON_DEBUG_BO stuffAlex Deucher2009-08-171-6/+0
| | | | | This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
* r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen2009-08-121-0/+12
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r200: fix scissor emission for r200 under kmsDave Airlie2009-08-071-18/+24
|
* r200: emit colorpitchDave Airlie2009-08-051-2/+2
|
* r200: fix off-by-one errors causing 6th texture unit to not workRoland Scheidegger2009-08-051-2/+2
| | | | | both for normal and cube textures, this fixes demos/multiarb (with 6 enabled texture units) and fixes #23142.
* r200: fix compiler warning (unused var)Roland Scheidegger2009-08-051-2/+0
|
* Track Radeon driver symlinks in Git.Michel Dänzer2009-07-2133-62/+32
|
* R200: fix build when RADEON_DEBUG_BO is setAlex Deucher2009-07-171-0/+6
|
* 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.
* radeon: Differentiate 16 bpp destination formats.Michel Dänzer2009-07-141-1/+10
| | | | | | Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
* radeon: Invert front face winding when rendering to FBO.Michel Dänzer2009-07-141-0/+4
| | | | | | Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
* radeon/r200: fix color masking under dri2Dave Airlie2009-07-141-7/+18
| | | | Need to retrieve the bits from the rrb not from screen struct
* r200: fix makefileDave Airlie2009-07-061-1/+1
|
* radeon/r200/r300: port to new space checking code in libdrmDave Airlie2009-07-063-16/+24
| | | | | This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
* radeon/r200/r300: drop radeon renderbuffer private width/heightDave Airlie2009-07-021-3/+3
| | | | half stealing the code without taking the intel regions
* Revert "r200: make use of DMA buffers for Elts a lot better."Dave Airlie2009-06-291-5/+10
| | | | | | This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3. Need to revisit where this is going wrong
* radeon: Update .gitignoreNicolai Hähnle2009-06-271-1/+13
| | | | | | | Add all source files that are symlink'ed from common radeon code to the ignore list. Signed-off-by: Nicolai Hähnle <[email protected]>
* r200: make use of DMA buffers for Elts a lot better.Dave Airlie2009-06-261-10/+5
| | | | | This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop.
* r200: only emit unitneeded texturesDave Airlie2009-06-261-0/+2
|
* radeon: fix hw texture limitsRoland Scheidegger2009-06-251-3/+3
| | | | | | | | | still always enable max, but the right values this time. More work should probably be done for saner limits without mm, and/or dri conf option allow_large_textures (which is ignored) removed. 3D limit on r100 is pretty arbitrary as still handled by swrast anyway. Also fix r300 limits (except 3d I've no idea what the max is anyway so keep using mesa default).
* radeon/r200: add some hw texture limitsDave Airlie2009-06-251-1/+4
|
* Fix crash when debug output is enabled and sarea is notset in r200ClearPauli Nieminen2009-06-231-1/+4
|
* r200: fix cube maps for non-mm pathRoland Scheidegger2009-06-191-1/+28
| | | | drm cmd checker rightfully fell over any cube emit
* radeons: use dp4 for position invariant vertex programsRoland Scheidegger2009-06-191-0/+2
| | | | | | | | Fixes #22181. R200 requires this since DP4 is used in hw tnl mode. R300 prefers it (should be faster due to no instruction dependencies), but both methods should be correct (when sw tcl is used though, MUL/MAD might be faster). Probably doesn't make much difference for R100 since vertex progs are executed in software anyway, but let's just keep it the same there too.
* r200: emit scissor when dri2 is enabledJerome Glisse2009-05-251-0/+31
| | | | | In DRI1 kernel emit scissor but in dri2 cs path we have to explicitly program them.
* r200: fix multitexturing in dri2 pathJerome Glisse2009-05-251-1/+1
|
* r200: emit cliprect with indexed primitiveJerome Glisse2009-05-251-1/+1
|
* radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle2009-05-244-124/+124
| | | | | | | 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]>
* r200: fix vbo array renderingJerome Glisse2009-05-201-4/+2
|
* radeon: set max texture sizeJerome Glisse2009-05-201-0/+4
| | | | | This still need some work to actually report somethings reasonable if no memory manager is available.
* r200: fix indexed draw color order and cs missmatchJerome Glisse2009-05-202-3/+6
|
* R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXTAlex Deucher2009-05-131-1/+4
| | | | | | | | In r*00SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
* radeon: glReadBuffer set _NEW_BUFFERS, not _NEW_PIXELJerome Glisse2009-05-121-1/+1
| | | | | This was broken with last merge see 62043b27575c378c027251316421e4699f461108 for explanations
* Merge commit 'origin/master' into radeon-rewriteJerome Glisse2009-05-101-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r200/r200_state.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_fragprog.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/radeon/radeon_screen.c src/mesa/drivers/dri/radeon/radeon_state.c
| * mesa: in glReadBufer() set _NEW_BUFFERS, not _NEW_PIXELBrian Paul2009-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since GL_READ_BUFFER is historically part of the gl_pixel_attrib group it made sense to signal changes with _NEW_PIXEL. But now with FBOs it's also part of the framebuffer state. Now _NEW_PIXEL strictly indicates pixels transfer state changes. This change avoids framebuffer state validation when any random bit of pixel-transfer state is set. DRI drivers updated too: don't check _NEW_COLOR when updating framebuffer state. I think that was just copied from the Xlib driver because we care about dither enable/disable state there.
| * r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flagBrian Paul2009-04-221-1/+2
| | | | | | | | | | | | Make sure we detect constant buffer changes indicated by the new flag. Should be able to remove _NEW_PROGRAM (and _NEW_MODELVIEW, _NEW_LIGHT, etc) from several places (someday.
* | r200: fix cubic emission.Dave Airlie2009-05-061-3/+4
| | | | | | | | | | Still doesn't fix cubemaps, I really missed the whole drmsupports thing when testing this all originally
* | r200: fix some cube map issuesRoland Scheidegger2009-05-051-24/+12
| | | | | | | | | | | | | | | | remove the r100-ism of swapping cube faces which doesn't apply to r200, and also use precalculated offsets. Note that cube textures will still not work on r100 and r200 since mipmap layout is level-first order (for r300) whereas r100/r200 require face-first (and possibly also 2k alignment for face at least with tiling).
* | r200: fix another section size mismatchRoland Scheidegger2009-05-051-1/+0
| |
* | r200: fix CS section size mismatch (bug 21565)Roland Scheidegger2009-05-051-0/+2
| |
* | r300: remove unused debugging in set tex buffer pathsDave Airlie2009-04-281-1/+0
| |
* | Merge remote branch 'origin/master' into radeon-rewriteDave Airlie2009-04-221-17/+17
|\|
| * mesa: merge the prog_src_register::NegateBase and NegateAbs fieldsBrian Paul2009-04-141-17/+17
| | | | | | | | | | | | There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step.
* | r200: fix texture level for compiz caseJerome Glisse2009-04-121-2/+2
| |
* | r200: validate vertex bufferJerome Glisse2009-04-121-0/+5
| |