summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-01Add ARB_sync to the xorg sw dri driver.arb_syncEric Anholt1-0/+2
2009-09-01savage: Fix driver build post-ARB_sync.Eric Anholt2-8/+6
Like s3v, clean up absurd use of Xlib in the driver, avoiding namespace pollution.
2009-09-01s3v: Fix driver build for ARB_sync.Eric Anholt1-3/+2
This driver was including Xlibint.h to get the CARD32 typedef to use for 32-bit unsigned integers, which #defined Status to something. CARD32 isn't actually a 32-bit unsigned integer, so replacing with uint32_t usage should fix bugs on 64-bit along with the build.
2009-09-01intel: Add support for ARB_sync.Eric Anholt8-0/+147
We currently weasel out of supporting the timeout parameter, but otherwise this extension looks ready, and should make the common case happy.
2009-09-01ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops.Ian Romanick1-1/+1
2009-09-01Don't dereference function pointers in calls.Ian Romanick1-7/+7
I'm apparently alone in prefering this calling convention, so I'll be a team player. :p Based on review comments by Brian Paul and Eric Anholt.
2009-09-01Add syncobj.c to SConscriptIan Romanick1-0/+1
2009-09-01Whitespace and include file clean-up.Ian Romanick1-14/+0
Based on review comments by Brian Paul.
2009-09-01Use MIN2 instead of open-coded versionIan Romanick1-1/+2
Based on review comments by Brian Paul.
2009-08-31ARB sync: Fix delete behavior and context destruction behaviorIan Romanick4-24/+103
I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared.
2009-08-31Add dummy list node type 'struct simple_node'Ian Romanick1-0/+5
2009-08-28ARB sync: Add support for GL_ARB_sync to swrastIan Romanick13-0/+541
This isn't quite right yet. The delete behavior and the context clean-up needs some work.
2009-08-28Eliminate trailing whitespace in extension_helper.cIan Romanick2-674/+674
2009-08-28ARB sync: Regenerate files from previous commitIan Romanick10-5652/+6149
2009-08-28ARB sync: Add base infrastructure for GL_ARB_syncIan Romanick3-0/+84
2009-08-28ARB sync: Add infrastructure for glGetInteger64vIan Romanick6-1/+1862
2009-08-27st/xorg: Set shared usage of pixmaps for use via DRI2.Michel Dänzer3-13/+10
Also allow pixmaps to have both the shared and displayed usage flags, as is the case for the screen pixmap now.
2009-08-27st/dri: Make sure the front left renderbuffer is there for texture-from-pixmap.Michel Dänzer1-0/+8
2009-08-27st/xorg: Don't hardcode ExaPrepareCopy to fall back to software.Michel Dänzer1-3/+0
2009-08-27st/xorg: Flush context if necessary in ExaPrepareAccess.Michel Dänzer1-0/+4
2009-08-27st/dri: Only ask for fake front buffer for single buffer visuals by default.Michel Dänzer1-1/+2
2009-08-27st/xorg/dri: Pass texture formats via the DRI2 protocol flags.Michel Dänzer2-11/+7
No need to guess.
2009-08-27r300: Cleanup reported native program limitsNicolai Hähnle1-6/+3
The fragment program native limits are actually higher on R4xx as reported by Alex Deucher, but using those requires some bit-twiddling changes to program handling. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-27r300: Debug messages are written to stderr, so fflush thatNicolai Hähnle5-10/+10
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-27radeon/r200/r300: Fix swtcl prediction to work after primitie change.Pauli Nieminen4-41/+86
Swtcl calls flush everytime primitive changes so prediction has to made again after flushing.
2009-08-27Merge branch 'mesa_7_5_branch'Brian Paul2-0/+206
2009-08-27gallium/util: added support for SRGB formatsBrian Paul1-0/+196
Fixes glean/texture_srgb failure, bug #23449.
2009-08-27gallium/util: added cases for SRGB formatsBrian Paul1-0/+10
2009-08-27progs: EGL/X progs should link to libX11.Chia-I Wu3-74/+29
Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links to libX11. Add the dependency to affected progs and cleanup prog/egl/Makefile. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-27mesa: move decls before codeVinson Lee1-2/+4
2009-08-27r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan2-7/+7
2009-08-27radeon: fix scissor calcs.Dave Airlie1-15/+20
For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes.
2009-08-26i965: Increase assmebly shader program parameter limitsIan Romanick1-2/+2
Increase the number of native program parameters to the same values exposed by GLSL.
2009-08-26ARB prog: Change handling of program parameter limitsIan Romanick4-28/+80
Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490.
2009-08-27radeon: fix max indx/vertex emission due to state checkerDave Airlie2-2/+4
2009-08-26mesa: gitignoreYounes Manton2-0/+2
2009-08-26nv04: Handle more Z formats.Younes Manton1-0/+4
Based on the patch from Luo Jinghua.
2009-08-27r300/compiler: Fix vertex program MAD emitNicolai Hähnle1-6/+46
Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-27r300/compiler: Fix bug in rc_find_free_temporaryNicolai Hähnle1-2/+8
Find used temporaries even if they are only written to in dead code. This fixes a bug in the NQSSADCE stage. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-26egl: Remove Xdpy from EGLDisplay.Chia-I Wu2-11/+0
It is not used anymore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26egl_glx: Make fbconfigs and visuals per display.Chia-I Wu1-114/+135
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26egl_softpipe: Make winsys and pipe screen per display.Chia-I Wu2-27/+77
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26EGL_i915: Make struct drm_device per display.Chia-I Wu4-43/+55
This is to allow a driver to drive multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-27Merge branch 'fix_r300_swtcl' into push_masterPauli Nieminen6-26/+84
2009-08-27radeon: Fix loop en condition so debug output doesn't flood meaningless values.Pauli Nieminen1-1/+1
2009-08-27radeon: Make RADEON_CMDBUF more fine grained.Pauli Nieminen1-2/+8
2009-08-27radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.Pauli Nieminen5-23/+75
We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul2-4/+16
2009-08-26i965: init the tex_units_used fieldBrian Paul1-0/+1
2009-08-26i965: fix incorrect tex unit in emit_tex() and emit_txb()Brian Paul1-2/+4
The instructions we're translating already went through the brw_wm_pass_fp() function which does the sampler->texture unit mapping. We were applying the sample->unit mapping a second time in the GLSL texture emitters. Often, this made no difference but other times it could lead to accessing an invalid texture and could cause a GPU lockup.