summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-03st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardwareKeith Whitwell1-14/+51
State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches.
2009-09-03util: add version of u_blit_pixels which takes a writemaskKeith Whitwell4-15/+69
Values outside the writemask are set in the destination to {0,0,0,1}
2009-09-03progs/tests: re-enable exit() callBrian Paul1-1/+1
See bug 21267.
2009-09-03docs/: document cross-compile fixBrian Paul1-0/+1
2009-09-03r600: rework cb/db setupAlex Deucher3-130/+109
Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658.
2009-09-03st/xorg: add linear and radial gradient accelerationZack Rusin1-20/+71
2009-09-03st/xorg: radial gradient shaderZack Rusin1-0/+85
2009-09-03st/xorg: linear gradient shaderZack Rusin1-0/+59
2009-09-03r600: make sure the active vertex shader bo is re-added to persistent list.Alex Deucher1-0/+7
2009-09-03glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()Brian Paul4-8/+9
2009-09-03mesa: rename gl_sync_object::Status to StatusFlagBrian Paul3-8/+8
There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this.
2009-09-03docs: Document new extension support for 7.6 release.Ian Romanick1-6/+13
2009-09-03Add ARB_sync to the xorg sw dri driver.Eric Anholt1-0/+2
2009-09-03savage: 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-03s3v: 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-03intel: 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-03ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops.Ian Romanick1-1/+1
2009-09-03Don'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-03Add syncobj.c to SConscriptIan Romanick1-0/+1
2009-09-03Whitespace and include file clean-up.Ian Romanick1-14/+0
Based on review comments by Brian Paul.
2009-09-03Use MIN2 instead of open-coded versionIan Romanick1-1/+2
Based on review comments by Brian Paul.
2009-09-03ARB 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-09-03Add dummy list node type 'struct simple_node'Ian Romanick1-0/+5
2009-09-03ARB 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-09-03Eliminate trailing whitespace in extension_helper.cIan Romanick2-674/+674
2009-09-03ARB sync: Regenerate files from previous commitIan Romanick10-5652/+6149
2009-09-03ARB sync: Add base infrastructure for GL_ARB_syncIan Romanick3-0/+84
2009-09-03ARB sync: Add infrastructure for glGetInteger64vIan Romanick6-1/+1862
2009-09-03mesa: fix typos in separable filter functionsBrian Paul1-4/+4
2009-09-03mesa: compute tex env program key size based on nr_enabled_unitsBrian Paul1-8/+18
When no textures are enabled, the key size is 4 bytes. If unit[0] is enabled, the key size is 16 bytes. Inspired by a patch from Chris Wilson.
2009-09-03swrast: wrap comment to 80 columns, remove dead codeBrian Paul1-57/+6
2009-09-03mesa: use new combined PBO validate/map helpers in convolution/filter funcsBrian Paul1-66/+23
2009-09-03mesa: use new combined PBO validate/map helpersBrian Paul4-126/+43
2009-09-03mesa: combined PBO validate/map helpersBrian Paul2-0/+98
2009-09-03mesa: use new _mesa_map_pbo_source/dest() functions in more placesBrian Paul5-354/+192
This trims down the code a bit. The next step would be to combine the validate and map operations into one helper...
2009-09-03mesa: consolidate PBO map/unmap helpersBrian Paul9-104/+60
Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest().
2009-09-03intel: helper to debug bufmgr (disabled)Brian Paul1-0/+4
2009-09-03i915g: Up the number of relocsJakob Bornecrantz1-1/+1
2009-09-03i915g: Don't run in sync with HWJakob Bornecrantz1-4/+7
2009-09-03i915g: Don't send flush flags to HWJakob Bornecrantz1-0/+8
2009-09-03st/xorg: cleanup and adjust to the changes in the ureg codeZack Rusin1-3/+3
2009-09-03st/xorg: adjust enums in preperation for gradientsZack Rusin2-7/+15
2009-09-03mesa: change ctx->Driver.BufferData() to return GLboolean for success/failureBrian Paul5-20/+41
Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa.
2009-09-03aux/tgsi: pull back ureg work from 0.1 branchKeith Whitwell11-174/+429
Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
2009-09-03nv50: move centroid, flat bits when making interp longChristoph Bumiller1-4/+4
Before this, just the perspective divide bit was moved in convert_to_long of the load interpolant instruction.
2009-09-03nv50: fix vbo_static_attrib method size errorChristoph Bumiller1-3/+3
The VTX_ATTR_3/2/1F methods also had size 4 ... a stupid copy/paste error.
2009-09-03nv50: fix draw_elements_inline_u08/16Christoph Bumiller1-2/+2
We've been emitting the same two indices over and over without incrementing map.
2009-09-03r300g: specify point/line/triangle have stuffed texture coordCooper Yuan1-1/+3
2009-09-03r600: visual depth has no meaning here.Dave Airlie1-12/+2
fbos get angry when this happens.
2009-09-03r600: make sure the active shader bo is re-added to persistent list.Dave Airlie1-0/+8