Brian Paul
7e2f01e0f1
docs: move SGI GLU link
2009-09-03 16:07:46 -06:00
Brian Paul
beb05393c8
st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted position
...
If the renderbuffer orientation is Y=0=TOP we need to invert the dstY
position.
2009-09-03 16:07:46 -06:00
Keith Whitwell
8fc945cd84
st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardware
...
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-03 16:07:45 -06:00
Keith Whitwell
862724d3c2
util: add version of u_blit_pixels which takes a writemask
...
Values outside the writemask are set in the destination to {0,0,0,1}
2009-09-03 16:07:45 -06:00
Brian Paul
375a6b4c4a
progs/tests: re-enable exit() call
...
See bug 21267.
2009-09-03 16:07:45 -06:00
Brian Paul
3b96db337d
docs/: document cross-compile fix
2009-09-03 16:07:45 -06:00
Alex Deucher
6a97cca081
r600: rework cb/db setup
...
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-03 18:04:47 -04:00
Zack Rusin
323440b3e2
st/xorg: add linear and radial gradient acceleration
2009-09-03 16:52:04 -04:00
Zack Rusin
007a843991
st/xorg: radial gradient shader
2009-09-03 16:52:04 -04:00
Zack Rusin
5571c4fe36
st/xorg: linear gradient shader
2009-09-03 16:52:04 -04:00
Alex Deucher
8c1d85cebe
r600: make sure the active vertex shader bo is re-added to persistent list.
2009-09-03 15:23:18 -04:00
Brian Paul
dc60d0db52
glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()
2009-09-03 13:02:41 -06:00
Brian Paul
e059885ce3
mesa: rename gl_sync_object::Status to StatusFlag
...
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-03 12:47:25 -06:00
Ian Romanick
446a71d1f8
docs: Document new extension support for 7.6 release.
2009-09-03 11:22:47 -07:00
Eric Anholt
5e448a8d4d
Add ARB_sync to the xorg sw dri driver.
2009-09-03 11:22:47 -07:00
Eric Anholt
d5ea2dce93
savage: Fix driver build post-ARB_sync.
...
Like s3v, clean up absurd use of Xlib in the driver, avoiding namespace
pollution.
2009-09-03 11:22:47 -07:00
Eric Anholt
19420f02d4
s3v: Fix driver build for ARB_sync.
...
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-03 11:22:47 -07:00
Eric Anholt
afd6141934
intel: Add support for ARB_sync.
...
We currently weasel out of supporting the timeout parameter, but otherwise
this extension looks ready, and should make the common case happy.
2009-09-03 11:22:47 -07:00
Ian Romanick
aee282faa7
ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops.
2009-09-03 11:22:47 -07:00
Ian Romanick
0342dce226
Don't dereference function pointers in calls.
...
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-03 11:22:47 -07:00
Ian Romanick
18d3409571
Add syncobj.c to SConscript
2009-09-03 11:22:47 -07:00
Ian Romanick
6af24b6b03
Whitespace and include file clean-up.
...
Based on review comments by Brian Paul.
2009-09-03 11:22:47 -07:00
Ian Romanick
0f8fdd8198
Use MIN2 instead of open-coded version
...
Based on review comments by Brian Paul.
2009-09-03 11:22:47 -07:00
Ian Romanick
16b393d059
ARB sync: Fix delete behavior and context destruction behavior
...
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-03 11:22:46 -07:00
Ian Romanick
f5a22721c5
Add dummy list node type 'struct simple_node'
2009-09-03 11:22:46 -07:00
Ian Romanick
f37070bab6
ARB sync: Add support for GL_ARB_sync to swrast
...
This isn't quite right yet. The delete behavior and the context
clean-up needs some work.
2009-09-03 11:22:46 -07:00
Ian Romanick
96bdd993ec
Eliminate trailing whitespace in extension_helper.c
2009-09-03 11:22:46 -07:00
Ian Romanick
064913430d
ARB sync: Regenerate files from previous commit
2009-09-03 11:22:46 -07:00
Ian Romanick
10a09e49fc
ARB sync: Add base infrastructure for GL_ARB_sync
2009-09-03 11:22:45 -07:00
Ian Romanick
10067e4641
ARB sync: Add infrastructure for glGetInteger64v
2009-09-03 11:22:45 -07:00
Brian Paul
d75a99edd6
mesa: fix typos in separable filter functions
2009-09-03 12:10:53 -06:00
Brian Paul
7a7d5879e2
mesa: compute tex env program key size based on nr_enabled_units
...
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-03 11:48:19 -06:00
Brian Paul
5cd7042088
swrast: wrap comment to 80 columns, remove dead code
2009-09-03 11:46:28 -06:00
Brian Paul
2db37ef659
mesa: use new combined PBO validate/map helpers in convolution/filter funcs
2009-09-03 11:45:18 -06:00
Brian Paul
95027a0087
mesa: use new combined PBO validate/map helpers
2009-09-03 11:45:17 -06:00
Brian Paul
dc947c8f92
mesa: combined PBO validate/map helpers
2009-09-03 11:45:17 -06:00
Brian Paul
203f395aaf
mesa: use new _mesa_map_pbo_source/dest() functions in more places
...
This trims down the code a bit. The next step would be to combine
the validate and map operations into one helper...
2009-09-03 11:45:17 -06:00
Brian Paul
1b448c7a5c
mesa: consolidate PBO map/unmap helpers
...
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-03 11:45:17 -06:00
Brian Paul
e0ec405a9f
intel: helper to debug bufmgr (disabled)
2009-09-03 11:45:17 -06:00
Jakob Bornecrantz
3070b13f4c
i915g: Up the number of relocs
2009-09-03 19:33:07 +01:00
Jakob Bornecrantz
8303c722cb
i915g: Don't run in sync with HW
2009-09-03 19:33:07 +01:00
Jakob Bornecrantz
87a4fa56ae
i915g: Don't send flush flags to HW
2009-09-03 19:33:07 +01:00
Zack Rusin
5643942517
st/xorg: cleanup and adjust to the changes in the ureg code
2009-09-03 12:44:15 -04:00
Zack Rusin
07f9ad5c32
st/xorg: adjust enums in preperation for gradients
2009-09-03 12:41:39 -04:00
Brian Paul
2f6d2a9e27
mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure
...
Return GL_FALSE if we failed to allocate the buffer. Then raise
GL_OUT_OF_MEMORY in core Mesa.
2009-09-03 09:42:38 -06:00
Keith Whitwell
848ab8be8c
aux/tgsi: pull back ureg work from 0.1 branch
...
Manual merge of ureg changes on the branch. Too much unrelated stuff
for a proper merge.
2009-09-03 15:16:25 +01:00
Christoph Bumiller
8b1ef3fa35
nv50: move centroid, flat bits when making interp long
...
Before this, just the perspective divide bit was moved in
convert_to_long of the load interpolant instruction.
2009-09-03 12:54:41 +02:00
Christoph Bumiller
ffee352726
nv50: fix vbo_static_attrib method size error
...
The VTX_ATTR_3/2/1F methods also had size 4 ...
a stupid copy/paste error.
2009-09-03 12:42:42 +02:00
Christoph Bumiller
c8258b95d6
nv50: fix draw_elements_inline_u08/16
...
We've been emitting the same two indices over and over
without incrementing map.
2009-09-03 12:42:42 +02:00
Cooper Yuan
e938d4a053
r300g: specify point/line/triangle have stuffed texture coord
2009-09-03 17:06:18 +08:00