summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* apple: Use mesa gl.h rather than generating one.Jeremy Huddleston2010-04-277-181/+48
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* apple: Integrate our libGL into the existing build system betterJeremy Huddleston2010-04-273-76/+116
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* darwin: Use clientattribJeremy Huddleston2010-04-273-3/+3
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston2010-04-2717-120/+108
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* apple: Remove duplicate headers that already exist in mesa.Jeremy Huddleston2010-04-277-20231/+0
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* apple: Initial import of libGL for OSX from AppleSGLX svn repository.Jeremy Huddleston2010-04-2770-40/+71580
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* glapi: Fix loading of old DRI drivers.Chia-I Wu2010-04-271-0/+20
| | | | | | | The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built before the commit from loading. Add stub versions of the functions to make them load again.
* nv30/40g: fix calls to draw_create(), draw_set_rasterizer_state()Pedro Maia2010-04-273-3/+3
| | | | Signed-off-by: Brian Paul <[email protected]>
* docs: document updated glext.h and glxext.h filesBrian Paul2010-04-261-0/+6
|
* glxext.h: upgraded to 2010/02/10 versionBrian Paul2010-04-261-0/+4
|
* glext: upgraded to version 61Brian Paul2010-04-261-1595/+2211
|
* docs: add links to old mailing list archivesBrian Paul2010-04-231-0/+9
|
* Fix __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig ↵7.8-branchpointAaron Plattner2010-04-231-0/+2
| | | | | | | | | | | | | | tags. __glXInitializeVisualConfigFromTags doesn't skip the payload of unrecognized tags. Instead, it treats the value as if it were the next tag, which can happen if the server's GLX extension is not Mesa's. For example, this falls down when NVIDIA sends a GLX_FLOAT_COMPONENTS_NV = 0 pair, causing __glXInitializeVisualConfigFromTags to bail out early. Signed-off-by: Aaron Plattner <[email protected]> Signed-off-by: Ian Romanick <[email protected]>
* r600: don't enable depth test if there is no depth bufferJerome Glisse2010-04-231-1/+4
| | | | | | | | If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <[email protected]>
* glx/dri2: Fix build with dri2proto which doesn't define X_DRI2SwapInterval.Michel Dänzer2010-04-231-0/+2
|
* radeon: 9800 SE has only one quadpipeTormod Volden2010-04-221-0/+2
| | | | | | | | | | Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <[email protected]>
* st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24Brian Paul2010-04-221-0/+4
|
* mesa: fix conversion errors in signed_rgba8888[rev] texel fetchBrian Paul2010-04-221-8/+8
| | | | | | Without the cast the returned texel colors were wrong. Also, we don't need the "& 0xff" part anymore. Bug found by Vinson Lee.
* r300: fix vertex unit setupAlex Deucher2010-04-221-7/+8
| | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* progs/demos: Fix the progs/demos/rain help textAaron Plattner2010-04-211-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* egl: Pass flags to locate Xlib headers and librariesDan Nicholson2010-04-194-4/+5
| | | | | | | | eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson <[email protected]>
* progs: Fix linking of Xlib demos for non-autoconf buildsDan Nicholson2010-04-191-1/+1
| | | | | | | The Xlib demos were fixed to use $(X11_LIBS) so that configure could detect the proper directory to link the library from, but this broke the non-autoconf builds. Give X11_LIBS a default value to fallback on. (cherry picked from commit e40fce13e152ecf929c899ed38a8e5f7d198c738)
* Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson2010-04-196-9/+13
| | | | | | | | | The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
* gallium: Respect user's CFLAGS for including X headersDan Nicholson2010-04-192-2/+4
| | | | | | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
* Use X_LIBS from pkg-config, instead of libdir, for locating libX11Jeff Smith2010-04-194-6/+10
| | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit 8d86d395dcf6a5f192b6987485bb7aef49f1fefc)
* DRI2: check for swapAvailable before using swap interval protocolJesse Barnes2010-04-191-1/+7
| | | | This should have been part of the last change...
* DRI2: synchronize swap interval with server at startup timeJesse Barnes2010-04-191-1/+6
| | | | | | | In the direct rendered case, we need to tell the server our initial swap interval. If we don't, the local and server values will be out of sync, since the server and client defaults may be different (as they were before this patch).
* st/mesa: invert scissor rect depending on FB orientationBrian Paul2010-04-191-5/+8
| | | | Fixes fd.o bug 27715
* mesa: Fix build with gcc 3.3.Matthieu Herrb2010-04-192-3/+6
| | | | Signed-off-by: Brian Paul <[email protected]>
* radeon: Let this build with gcc 3.3Matthieu Herrb2010-04-191-3/+5
| | | | | | Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <[email protected]>
* radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.Owain Ainsworth2010-04-191-1/+1
| | | | | | | | This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <[email protected]>
* mesa: Use __OpenBSD__ to check for OpenBSD.Matthieu Herrb2010-04-191-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul2010-04-1921-57/+213
| | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
* docs: update links for new mesa-users and mesa-announce listsBrian Paul2010-04-161-4/+4
|
* savage: call _mesa_meta_init/free()Tormod Volden2010-04-161-0/+5
| | | | | | | | Fixes crash when using _mesa_CopyTexImage2D. Bug #27652. Signed-off-by: Tormod Volden <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* softpipe: Fix division by zeroArpad Borsos2010-04-141-3/+3
| | | | | | | This can be triggered by running the cairo tests using the gl backend and softpipe. Signed-off-by: Brian Paul <[email protected]>
* Initialize DRI2 swap interval to 0Michael Schmidt2010-04-141-0/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=27628
* DRI2: report swap events correctly in direct rendered caseJesse Barnes2010-04-131-2/+1
| | | | | | | In the direct rendered case, we need to convert DRI2 swap complete events to GLX events for the client to consume. This path had what looks like a stray "& 0x75" from some earlier debugging that prevented clients from seeing the right event code.
* docs: update name, link for mesa-dev listBrian Paul2010-04-121-2/+2
|
* i915g: Fix assert.Vinson Lee2010-04-111-1/+1
|
* r300: respect radeon common code fallbacksMaciej Cencora2010-04-113-2/+10
| | | | Fixes progs/demos/shadowtex under KMS
* r300: set proper vertex index limits also in non indexed modeMaciej Cencora2010-04-111-0/+8
| | | | Fixes #27521, broken menus in UT2004 and broken water refraction in Sauerbraten.
* r600: add new r7xx pci idsAlex Deucher2010-04-092-0/+6
|
* glx: Fix config chooser logic for 'mask' matchingKristian Høgsberg2010-04-091-5/+9
| | | | | | | | | | | | | | | | | | | | | When matching attributes using the 'mask' matching criteria, the spec says that "Only GLXFBConfigs for which the set bits of attribute include all the bits that are set in the requested value are considered. (Additional bits might be set in the attribute)." The current test returns true if the two bit masks have bits in common, specifically it matches even if the requested value has bits set that are not set in the fbconfig attribute. For example, an application asking for GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT | GLX_PBUFFER_BIT, as glxpbdemo does, will match fbconfigs that don't support pbuffer rendering, as long as they support pixmap rendering. Reviewed-by: Ian Romanick <[email protected]>
* mesa: fix instruction indexing bugsBrian Paul2010-04-091-2/+2
| | | | | | | We were looping over instructions but only looking at the 0th instruction's opcode. Fixes fd.o bug 27566.
* docs: link to 7.8.2 release notesBrian Paul2010-04-081-0/+1
|
* docs: initial 7.8.2 release notesBrian Paul2010-04-081-0/+46
|
* progs/tests: added some debug code (disabled)Brian Paul2010-04-081-0/+13
|
* st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regressionBrian Paul2010-04-081-21/+20
| | | | | | | | | | Commit 1454f20a991ddda35f1a2ffda953012078b407ba caused the regression. When the vertex shader emitted both a texcoord and color we were grabbing the wrong vertex attributes. Fix the draw_quad() code to put texcoords in slot[1] and color in slot[2]. That's a bit cleaner than changing the vertex shader code. Tested with progs/tests/zreaddraw.c
* intel: Call intel_prepare_render() in intelClear()Li Peng2010-04-082-2/+4
| | | | | Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.