summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri2010-01-061-4/+0
| | | | | | | | | | | | | | | | | | This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
* mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queriesBrian Paul2010-01-052-0/+26
| | | | New in GL 3.0.
* mesa: call _mesa_compute_version() to set context's version infoBrian Paul2010-01-052-80/+6
|
* mesa: added version.c to buildBrian Paul2010-01-052-0/+2
|
* mesa: added _mesa_compute_version() in new version.c fileBrian Paul2010-01-052-0/+137
|
* mesa: added version fields to GLcontextBrian Paul2010-01-051-0/+4
|
* 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: 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-0420-321/+390
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee2010-01-041-15/+32
| | |
| * | mesa: regenerated enums.c fileBrian Paul2010-01-041-234/+231
| | |
| * | glapi: comment-out TIMEOUT_IGNOREDBrian Paul2010-01-041-1/+3
| | | | | | | | | | | | This is not really a GLenum value.
| * | glsl: use varName variable in _slang_gen_assignment()Brian Paul2010-01-041-3/+4
| | |
| * | st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer2010-01-041-1/+1
| | | | | | | | | | | | | | | This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
| * | 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
| | |
| * | mesa: Cope with the degenerate case of zero length ranges.José Fonseca2010-01-031-4/+45
| | | | | | | | | | | | Fixes assertion failures on glean's bufferObject test.
| * | apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSXJeremy Huddleston2010-01-031-4/+0
| | | | | | | | | | | | Signed-off-by: Jeremy Huddleston <[email protected]>
| * | i810: Fix include recursion.Vinson Lee2010-01-021-1/+0
| | |
| * | sis: ifdef out unused variable.Vinson Lee2010-01-021-0/+2
| | | | | | | | | | | | Silences GCC warning.
| * | x86: Silence printf format warnings.Vinson Lee2010-01-011-12/+2
| | |