aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* mesa: lift _mesa_set_fetch_functions() calls out of driversBrian Paul2009-10-053-10/+0
| | | | Call it from in the main Mesa glTexImage functions.
* mesa: removed gl_texture_image::CompressedSize fieldBrian Paul2009-10-014-29/+31
| | | | | Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
* mesa: move mesa_set_fetch_functions()Brian Paul2009-10-013-0/+3
|
* radeon: fix tx_table[] entryBrian Paul2009-10-011-1/+1
| | | | XXX need to still verify that the table entries are in correct order.
* savage: s/Xfree/_mesa_free/Brian Paul2009-10-011-1/+1
|
* mesa: remove gl_texture_image::IsCompressed fieldBrian Paul2009-10-0110-29/+27
| | | | Use _mesa_is_format_compressed() instead.
* mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-3042-439/+484
| | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
* drivers: use _mesa_texstoreBrian Paul2009-09-281-14/+14
|
* drivers: use new _mesa_texstore() functionBrian Paul2009-09-285-106/+87
|
* drivers: use more mesa format functionsBrian Paul2009-09-276-22/+32
|
* mesa/drivers: use _mesa_get_format_bytes()Brian Paul2009-09-2714-49/+72
|
* mesa/drivers: use _mesa_get_format_bytes()Brian Paul2009-09-277-16/+15
|
* via: use mesa texture format helper functionsBrian Paul2009-09-271-10/+5
|
* mesa: use _mesa_get_texstore_func()Brian Paul2009-09-275-57/+87
|
* Merge branch 'asm-shader-rework-2'Ian Romanick2009-09-251-0/+1
|\ | | | | | | | | Conflicts: src/mesa/shader/program_parse.tab.c
| * Merge branch 'master' into asm-shader-rework-2Ian Romanick2009-09-1074-1590/+1624
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.tab.h
| * | Enable GL_NV_fragment_program_option for software renderingIan Romanick2009-09-031-0/+1
| | | | | | | | | | | | At this point the extension is not fully implemented.
* | | radeon: Fix newlines.Michal Krol2009-09-251-14/+14
| | |
* | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-255-20/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_clear.c
| * | | intel: Flush the batch when we're about to subdata into a VBO.mesa_7_6_rc1Eric Anholt2009-09-242-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the clears in openarena with the new metaops clear code, and the new piglit vbo-subdata-sync test. Bug #23857.
| * | | i965: Clean up some mess with the batch cache.Eric Anholt2009-09-243-18/+5
| | | | | | | | | | | | | | | | | | | | Its flagging of extra state that's already flagged by the vtbl new_batch when appropriate was confusing my tracking down of the OA clear bug.
* | | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-244-2/+25
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_array.c
| * | | i965: Emit zero initialization for NV VP temporaries as required.Eric Anholt2009-09-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to what r300 does inside the driver, but I've added it as a generic option since it seems most hardware will want it. Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp.
| * | | i965: Remove assert about NV_vp now that it somewhat works.Eric Anholt2009-09-241-2/+0
| | | |
| * | | i965: Load NV program matrices when required.Eric Anholt2009-09-241-0/+3
| | | |
| * | | intel: use default array/element buffers in intel_generate_mipmap()Brian Paul2009-09-241-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If there happened to be a bound VBO when intel_generate_mipmap() was called we blew up because of a bad vertex array pointer. Fixes regnumonline, bug 23859.
* | | | Merge branch 'mesa_7_6_branch'Pauli Nieminen2009-09-242-6/+7
|\| | |
| * | | radeon: Fix scissors for r600 KMS.Pauli Nieminen2009-09-242-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Radeon generic scissors code had problem that some of code was using exclusive and some inclusive bottom right corner. Only r600 driver is using exclusive coordinate so changed generic code to pass inclusive coordinate and r600 driver changes BR coordinate to be exclusive.
* | | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-241-2/+16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/drivers/dri/r600/r700_chip.c src/mesa/drivers/dri/r600/r700_render.c src/mesa/drivers/dri/r600/r700_vertprog.c src/mesa/drivers/dri/r600/r700_vertprog.h src/mesa/drivers/dri/radeon/radeon_span.c
| * | | r600: add support for CUBE textures, also TXPAndre Maasikas2009-09-242-47/+263
| | | | | | | | | | | | | | | | seems to work here ...
| * | | r600: fix typo in the last commitAlex Deucher2009-09-241-5/+5
| | | | | | | | | | | | | | | | 128 gprs, 256 reg-based consts
| * | | r600: various cleanupsAlex Deucher2009-09-243-45/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <[email protected]>
| * | | r600: fix some issues with LIT instructionAndre Maasikas2009-09-241-33/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - MUL_LIT is ALU.Trans instruction - some Trans instructions can take 3 arguments - don't clobber dst.x, use dst.z as temp, it'll get written correct value in last insn - respect source swizzles
| * | | r600: fix point sizesAlex Deucher2009-09-241-4/+4
| | | | | | | | | | | | | | | | registers takes radius
| * | | r600: fix polygon offsetAlex Deucher2009-09-241-3/+8
| | | |
| * | | radeon: don't build non-r600 span code on r600Alex Deucher2009-09-241-1/+5
| | | |
| * | | r600: minor span cleanupsAlex Deucher2009-09-241-4/+3
| | | |
| * | | r600: support position_invariant programsAndre Maasikas2009-09-241-12/+18
| | | |
| * | | r600: add span support for 1D tilesAlex Deucher2009-09-243-1/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
| * | | r600: fix warningAlex Deucher2009-09-241-0/+1
| | | | | | | | | | | | | | | | Noticed by rnoland on IRC.
| * | | r600: fix texcoords from constantsAndre Maasikas2009-09-241-40/+52
| | | | | | | | | | | | | | | | with some minor updates from Richard.
| * | | r600: enable caching of vertex programsAndre Maasikas2009-09-246-62/+110
| | | |
| * | | r600: check if textures are actually enabled before submissionAlex Deucher2009-09-242-56/+64
| | | | | | | | | | | | | | | | noticed by taiu on IRC.
| * | | r600: fix ftp for dri1Alex Deucher2009-09-241-3/+4
| | | | | | | | | | | | | | | | We use t->bo for dri1 since r600 uses CS for dri1.
| * | | r600: don't setup hardware state if TFPDave Airlie2009-09-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
| * | | r600: fix dri2 clippingAlex Deucher2009-09-241-2/+2
| | | |
| * | | r300: fallback to software rendering if we are out of free texcoordsMaciej Cencora2009-09-231-2/+16
| | | | | | | | | | | | | | | | Fixes #22741
* | | | r600 : fix draw_prim bug: vertex fetcher setting.Richard Li2009-09-241-3/+16
| | | |
* | | | r600 : disable draw_prim for now.Richard Li2009-09-241-1/+4
| | | |
* | | | r600: fix up ordering of functions in draw prims pathAlex Deucher2009-09-231-16/+15
| | | | | | | | | | | | | | | | | | | | Shaders and IB need to be updated and allocated before calling validatebuffers.