summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* i965: Fix build after blind merge of mesa 7.7 by Brian.Eric Anholt2010-01-051-2/+3
|
* Merge branch 'remove-intel-dri1'Kristian Høgsberg2010-01-05153-2163/+807
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0415-9/+93
| | | | | | | | | | | | | | | | | | 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-04132-574/+569
| | | | | | | | | | | | | | | | | | 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-042-2/+4
| | | | | | | | | | | | 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.
* | 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
| |
* | mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-0415-45/+45
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-049-47/+65
|\ \ | |/ |/| | | | | | | | | | | | | 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
| * 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?
| * r300: Use C-style comments.Vinson Lee2010-01-031-15/+15
| |
| * r300: Silence 'mixed declarations and code' warnings.Vinson Lee2010-01-031-4/+7
| |
| * r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+2
| |
| * r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+3
| |
| * i810: Fix include recursion.Vinson Lee2010-01-021-1/+0
| |
| * sis: ifdef out unused variable.Vinson Lee2010-01-021-0/+2
| | | | | | | | Silences GCC warning.
* | 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: fix blend enable/disable calls in meta.c codeFrancis Galiegue2010-01-031-6/+16
| | | | | | | | | | | | Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes. Signed-off-by: Brian Paul <[email protected]>
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-3112-16/+18
|\| | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * tdfx: Silence uninitialized variable warning.Vinson Lee2009-12-291-1/+1
| |
| * intel: Silence compiler warnings.Vinson Lee2009-12-289-14/+16
| |
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-275-3/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| | * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| | |
| | * intel: Silence implicit function declaration warning.Vinson Lee2009-12-251-0/+1
| | |
| | * i965: Fix assert.Vinson Lee2009-12-241-1/+1
| | |
| | * i965: Add missing va_end.Vinson Lee2009-12-241-0/+1
| | |
| | * ffb: Silence compiler warnings.Vinson Lee2009-12-221-1/+1
| | |
* | | mesa: implement per-buffer color maskingBrian Paul2009-12-2927-121/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* | | mesa: per-buffer blend enabled flagsBrian Paul2009-12-291-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled.
* | | intel: Fix false positives in checking for non-packed depth/stencil RB.Eric Anholt2009-12-281-7/+14
| | | | | | | | | | | | | | | | | | | | | The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case.
* | | intel: Allow binding a stencil but not a depth buffer.Eric Anholt2009-12-282-1/+7
| | | | | | | | | | | | | | | | | | Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it.
* | | intel: Improve INTEL_DEBUG=fbo output.Eric Anholt2009-12-281-1/+6
| | |
* | | intel: Remove dead fthrottle_mode option. We only do IRQ waits.Eric Anholt2009-12-282-5/+1
| | | | | | | | | | | | Noticed by clang.
* | | i965: Extra asserts on flow control instructions to clarify for clang.Eric Anholt2009-12-261-1/+3
| | |