Brian Paul
c0d3b7679a
i965: implement GL_EXT_texture_swizzle
...
If the texture swizzle is not XYZW (no-op) add an extra MOV instruction
after the TEX instruction to rearrange the components.
2009-01-28 14:50:03 -07:00
Brian Paul
9e7903e492
i965: minor clean-up, comments, etc.
2009-01-28 14:48:41 -07:00
Brian Paul
68acc61fc3
Merge commit 'origin/master' into texture_swizzle
2009-01-28 14:45:18 -07:00
Brian Paul
faa48915d2
i965: fix bug in pass0_precalc_mov()
...
Previously, "in-place" swizzles such as:
MOV t, t.xxyx;
were handled incorrectly. Fixed by splitting the one loop into two loops so we
get all the refs before assigning them (to avoid potential clobbering).
2009-01-28 14:35:58 -07:00
Brian Paul
2ace634024
i965: minor comment additions/edits
2009-01-28 14:33:07 -07:00
Keith Whitwell
a38b8213ff
wgl: add missing header
2009-01-28 20:41:00 +00:00
Keith Whitwell
cbd368e91b
stw: use proper stw_context pointers in shared interface
...
Move away from hglrc.
2009-01-28 20:39:06 +00:00
Keith Whitwell
866587942c
stw: clean up error paths
2009-01-28 20:19:17 +00:00
Keith Whitwell
9a58a9d6ca
stw: don't call out to wglGetPixelFormat()
2009-01-28 20:08:07 +00:00
Keith Whitwell
7dbd95618f
stw: remove duplicate function declarations
2009-01-28 20:07:07 +00:00
Keith Whitwell
ef3fe78478
stw: fix comment
2009-01-28 19:13:58 +00:00
Keith Whitwell
c7e38bc7fe
stw: remove header
2009-01-28 19:10:50 +00:00
Brian Paul
89fddf978c
i965: minor improvements in brw_wm_populate_key()
2009-01-28 11:42:42 -07:00
Brian Paul
177eda834e
i965: remove pad field
2009-01-28 11:38:42 -07:00
Brian Paul
f78c388b6c
i965: widen per-texture bitfields for 16 texture image units
2009-01-28 11:37:11 -07:00
Brian Paul
3147d7785d
i965: minor comments
2009-01-28 11:36:39 -07:00
Keith Whitwell
906230d16e
svga: remove pixelformat helpers from stw shared interface
...
Keep these internal structs private to wgl/shared. Pull in
some pixelformat choosing code from wgl/wgl to avoid exporting them
more generally.
2009-01-28 18:25:46 +00:00
Brian Paul
72f0b4a55b
mesa: additional GL_INVALID_OPERATION tests for texture swizzle
2009-01-28 10:44:04 -07:00
Brian Paul
54c62ba5c3
mesa: implement texture swizzling in swrast
...
And enable GL_EXT_texture_swizzle for software drivers.
2009-01-28 10:31:05 -07:00
Brian Paul
4a89e51c5f
mesa: set/get new state for GL_EXT_texture_swizzle
2009-01-28 10:27:33 -07:00
Keith Whitwell
66059cd3c9
stw: move get_proc_address and extension functions to shared
2009-01-28 17:07:49 +00:00
Keith Whitwell
54688ebdb2
stw: use shared version of make current in icd code
2009-01-28 16:47:31 +00:00
Keith Whitwell
cfb3fdfcb1
stw: more swapbuffers refactoring
2009-01-28 16:23:52 +00:00
Brian Paul
be1a76f88f
mesa: if texObj is NULL in fetch_texel_*(), return black.
2009-01-28 09:16:11 -07:00
Keith Whitwell
67b6e5b907
wgl: split device structs, move swapbuffers to shared
...
Each of icd, shared and wgl now have the opportunity to maintain their
own per-device structs, which should reduce the need for these
modules to be looking into each others structures.
2009-01-28 16:11:46 +00:00
José Fonseca
1be4d4d4c6
pipebuffer: More assertions.
2009-01-28 15:54:13 +00:00
José Fonseca
815de0a5df
pipebuffer: Fix alignment assertion.
2009-01-28 15:54:13 +00:00
José Fonseca
665d6d6c1e
pipebuffer: Export the pipe buffer winsys hooks.
2009-01-28 15:54:13 +00:00
Keith Whitwell
507498af10
stw: rename stw_wgl_ --> stw_
2009-01-28 13:45:01 +00:00
Keith Whitwell
c3d744f5bb
stw: move pixelformat_get/set to shared
2009-01-28 13:43:10 +00:00
Keith Whitwell
cb70d27dd1
stw: move pixelformat_describe to shared
2009-01-28 13:35:49 +00:00
Keith Whitwell
f17eb0b13c
wgl: move context functions to shared
2009-01-28 12:25:25 +00:00
Keith Whitwell
19d06f4e16
wgl: split into shared, (fake)wgl and icd directories
2009-01-28 11:40:54 +00:00
Eric Anholt
0f72de5538
dri2: add complaints for more initialization failures.
...
Somehow we're running into DRI2Authenticate failing, and silent demotion to
swrast is bad.
2009-01-27 14:34:29 -08:00
Eric Anholt
65d39a9eed
intel: clean up more pf mess.
2009-01-27 12:05:47 -08:00
Brian Paul
318e53a4bf
mesa: refactor glTexParameter code
2009-01-27 11:07:21 -07:00
Zack Rusin
4f5308bdcb
gallium: remove redundant size from the constant buffer
...
reuse the size of the actual buffer
2009-01-27 12:20:26 -05:00
Zack Rusin
d6888e811d
gallium: it's a reference value, not a reference number
2009-01-27 12:20:26 -05:00
Zack Rusin
2299f21f8d
gallium: standardize api on the prefix "nr"
2009-01-27 12:20:25 -05:00
Zack Rusin
a7e72231e3
gallium: standardize naming of masks
2009-01-27 12:20:25 -05:00
Zack Rusin
872b515e8f
gallium: standardize on stride instead of pitch in the interface
2009-01-27 12:20:25 -05:00
Brian Paul
38768dbc76
mesa: move call to _mesa_update_framebuffer_visual()
...
Update the visual info in the _mesa_test_framebuffer_completeness()
function when we've determined the FBO to be "complete".
Fixes regression seen in progs/demos/shadowtex.c
2009-01-27 09:49:27 -07:00
Keith Whitwell
0e471ac457
wgl: relocate wgl code to state_trackers/wgl
...
Similar to the GLX state trackers for DRI and xlib.
2009-01-27 11:28:29 +00:00
Keith Whitwell
4d710dd3cf
tgsi: silence some warnings
2009-01-27 11:16:32 +00:00
Keith Whitwell
27e5097e2a
draw: silence some warnings
2009-01-27 11:16:32 +00:00
Keith Whitwell
3b853e93b2
i915: queiten compiler warnings
2009-01-27 11:16:32 +00:00
Keith Whitwell
ef9194a4f4
failover: queiten compiler warnings
2009-01-27 11:16:32 +00:00
Keith Whitwell
f675972428
draw: queiten compiler warnings
2009-01-27 11:16:32 +00:00
Keith Whitwell
9a7aeac49c
scons: remove pedantic flag
2009-01-27 11:16:32 +00:00
Brian Paul
3cf7f9887a
i915: rename some functions
2009-01-26 17:23:59 -07:00