aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'remove-intel-dri1'Kristian Høgsberg2010-01-05164-2237/+903
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
| * intel: intelScreenContext() is no longer usedKristian Høgsberg2010-01-041-15/+0
| |
| * intel: Remove remaining dri2.enabled testsKristian Høgsberg2010-01-042-27/+0
| |
| * intel: Drop more cliprect bookkeepingKristian Høgsberg2010-01-046-122/+44
| |
| * intel: Remove struct intel_framebufferKristian Høgsberg2010-01-045-90/+51
| | | | | | | | | | | | With the vsync fields no longer relevant and by refactoring the code to no longer use color_rb[0-1] we can just use struct gl_framebuffer directly.
| * intel: Remove client-side vblank codeKristian Høgsberg2010-01-048-221/+0
| |
| * intel: Drop intelWindowMoved()Kristian Høgsberg2010-01-042-81/+0
| | | | | | | | | | | | Everything this functions does under DRI2 is also taken care of by intel_draw_buffer(), which is always called where intelWindowMoved() is called.
| * intel: Drop batchbuffer cliprect_mode trackingKristian Høgsberg2010-01-0413-128/+49
| |
| * intel: Drop DRI1 static regionsKristian Høgsberg2010-01-044-352/+3
| |
| * intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()Kristian Høgsberg2010-01-041-7/+12
| | | | | | | | | | | | This function was using intel->depth_region, which is the static region for the DRI1 depth buffer. This code has always been broken with DRI2 but I suspect it doesn't get excersized much.
| * intel: Drop LOCK/UNLOCK_HARDWARE()Kristian Høgsberg2010-01-0413-204/+3
| |
| * intel: Drop DRI1 SwapBuffer implementationKristian Høgsberg2010-01-043-189/+0
| |
| * intel: Drop DRI1 CopySubBuffer implementationKristian Høgsberg2010-01-042-30/+0
| |
| * intel: Drop DRI1 supportKristian Høgsberg2010-01-041-133/+0
| | | | | | | | | | The DDX driver stopped supporting DRI1 so we're dropping support for that from the DRI driver too.
| * Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg2010-01-0416-9/+101
| | | | | | | | | | | | | | | | | | This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
| * Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-04141-639/+634
| | | | | | | | | | | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
| * Check for libdrm_$chipset.pc when neededKristian Høgsberg2010-01-044-11/+27
| | | | | | | | | | | | This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
* | Merge commit 'origin/gallium-draw-retval'Keith Whitwell2010-01-0527-270/+240
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/identity/id_context.c
| * | gallium: propagate draw retval changes into cell driverRoland Scheidegger2009-12-231-10/+8
| | |
| * | gallium: propogate draw retval changes into more driversKeith Whitwell2009-12-2120-164/+146
| | |
| * | gallium: remove return value from draw callsKeith Whitwell2009-12-2110-100/+90
| | |
* | | r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas2010-01-052-6/+5
| | | | | | | | | | | | | | | | | | R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
* | | r600: support depth compare functions & shadow_ambientAndre Maasikas2010-01-055-2/+98
| | |
* | | tgsi: Simplify implementation of few interpreter's instructions.Michal Krol2010-01-051-384/+311
| | |
* | | tgsi: Use FREE() to release MALLOC-ed() memories in sanity.Michal Krol2010-01-051-4/+4
| | |
* | | tgsi: Fix bogus loop condition in sanity.Michal Krol2010-01-051-2/+2
| | |
* | | tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.Michal Krol2010-01-051-1/+1
| | |
* | | tgsi: Store ADDR file in interpreter as an int.Michal Krol2010-01-051-18/+44
| | |
* | | tgsi: Remove dead micro_umod().Michal Krol2010-01-051-14/+0
| | |
* | | tgsi: Make interpreter aware of float and integer data types.Michal Krol2010-01-051-109/+133
| | | | | | | | | | | | | | | | | | | | | Debug check for inf and nan only on float channels. Apply absolute and negate source operand modifiers based on opcode type.
* | | gallium: Add UMOD TGSI opcode.Michal Krol2010-01-054-11/+28
| | | | | | | | | | | | Either that or have UDIV have two destination operands.
* | | gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI.Michal Krol2010-01-054-12/+184
| | | | | | | | | | | | | | | | | | | | | Provide reference implementation of them in tgsi_exec. Note that BREAK opcode is overloaded and can be used to break out of either a loop or a switch-case statement.
* | | tgsi/ureg: Improve immediate match & expand logic.Michal Krol2010-01-051-6/+10
| | | | | | | | | | | | Do not pollute immediates with unsuccessfull attempts to expand them.
* | | tgsi: Support signed/unsigned integer immediate types.Michal Krol2010-01-055-47/+215
| | |
* | | gallium: Add signed/unsigned int immediate data types.Michal Krol2010-01-051-0/+4
| | |
* | | tgsi: Cleanup interpreter code for other existing integer opcodes.Michal Krol2010-01-051-116/+66
| | |
* | | Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol2010-01-057-8/+8
| | | | | | | | | | | | This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
* | | tgsi: Implement new integer opcodes.Michal Krol2010-01-053-225/+413
| | | | | | | | | | | | | | | Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
* | | gallium: Add more integer TGSI opcodes.Michal Krol2010-01-051-1/+22
| | |
* | | mesa: added _mesa_[Get]TexParameterI[u]iv() functionsBrian Paul2010-01-042-1/+128
| | | | | | | | | | | | | | | New in GL 3.0. Primarily meant for setting int/uint-valued texture border color. Not plugged into dispatch table yet.
* | | mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-0421-83/+84
| | | | | | | | | | | | | | | | | | | | | | | | When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
* | | mesa: use get_texobj() in _mesa_GetTexParameter() funcsBrian Paul2010-01-041-35/+16
| | |
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-0462-500/+712
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * | | mesa: add missing _mesa_lock_texture() callBrian Paul2010-01-041-0/+1
| | | |
| * | | i915: Use _MaxLevel on principle in texture setup.Eric Anholt2010-01-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
| * | | intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt2010-01-041-2/+3
| | | | | | | | | | | | | | | | Fixes piglit fbo-copyteximage.
| * | | i965: Fix the surface offset calculation for tiled buffers.Eric Anholt2010-01-041-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
| * | | r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | | | | | | | | | | | | | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
| * | | mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul2010-01-041-0/+2
| | | | | | | | | | | | | | | | Fixes warning seen with Shadowgrounds. See bug 24016.
| * | | docs: initial release notes for 7.7.1Brian Paul2010-01-042-0/+49
| | | |