Roland Scheidegger
9f819dc014
fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
2006-09-22 15:48:50 +00:00
Keith Whitwell
9c5d75e592
Explicit test for +ve pitches in intelEmitCopyBlit()
2006-09-22 14:43:09 +00:00
Roland Scheidegger
8a0fb128c3
don't skip user clip plane clipping when the current vertex program is position invariant.
2006-09-22 13:34:24 +00:00
Keith Whitwell
7e9799ac3d
Use _Enabled rather than _Active when checking for fragment shaders
2006-09-22 11:45:21 +00:00
Keith Whitwell
df058298e1
Flush driver, not just tnl module.
2006-09-22 11:40:35 +00:00
Keith Whitwell
f9bfdb1ce4
resize buffers in MakeCurrent
2006-09-22 11:36:30 +00:00
Keith Whitwell
f118b9b40d
Remove unused variable.
2006-09-22 11:33:46 +00:00
Jouk Jansen
424749c3d5
Correcting directory name in OpenVMS-Makefile
2006-09-22 11:09:07 +00:00
Brian Paul
57d705d5a9
remove rgb[] array from span_arrays_struct - was only used in a few places
2006-09-21 23:19:40 +00:00
Brian Paul
c7d0fe1c4b
new comments, indentation fixes
2006-09-21 23:04:29 +00:00
Brian Paul
4af404038c
bump version to 6.5.2
2006-09-21 23:02:21 +00:00
Brian Paul
76785cb70a
move a conditional into an assertion
2006-09-21 22:59:50 +00:00
Brian Paul
87c5ec817c
updated doxygen info
2006-09-21 22:54:53 +00:00
Brian Paul
bb0862968e
updated extension info
2006-09-21 22:53:15 +00:00
Brian Paul
60955d7f96
Re-org of per-release info.
...
From now on, put all release-specific info into the release-X.Y.Z.html file
rather than scattered between a relnotes file, versions.html and news.html.
2006-09-21 22:51:16 +00:00
Brian Paul
2482007373
replace assert(0) with error report, improved comments, etc
2006-09-21 22:43:51 +00:00
Keith Whitwell
bad5cf056a
Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndian
...
until someone can figure out whats wrong there.
2006-09-21 18:31:36 +00:00
Brian Paul
184b5d8938
use new _mesa_little_endian() function
2006-09-21 15:51:55 +00:00
Brian Paul
32e0efbdbe
added _mesa_little_endian()
2006-09-21 15:51:06 +00:00
Brian Paul
81e0d73780
GLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only)
2006-09-21 15:16:36 +00:00
Brian Paul
b7d9b1e724
new code to init DirectColor colormaps
2006-09-21 15:14:30 +00:00
Keith Whitwell
167ca59fe8
Fix the dstMap for rgb888 and bgr888 texture formats, which are the
...
opposite to what you'd naively expect.
2006-09-21 12:43:05 +00:00
Keith Whitwell
cac5974bf9
Do a better job of choosing texture formats to avoid image conversions.
2006-09-21 10:20:15 +00:00
Keith Whitwell
afd244d4e8
use the requested internal texture format where possible
2006-09-21 10:07:04 +00:00
Keith Whitwell
76dd385fed
Catch a couple of cases where we would have to delete and recreate the
...
miptree object.
2006-09-21 10:06:18 +00:00
Keith Whitwell
3974cc8c09
Deal with the overloading of _mesa_texstore_rgba, which is actually
...
used to store all sorts of formats.
Software mesa fails the glean pixelFormats test, but it appears to be
failing even with the swizzle code disabled??
2006-09-20 22:40:34 +00:00
Keith Whitwell
3aea82b396
Extend swizzle support to all remaining source formats and texture
...
destination formats.
2006-09-20 22:02:48 +00:00
Roland Scheidegger
62d4dfbfe3
try to use a 8888 texture format which will result in only a memcopy in mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
2006-09-20 19:11:56 +00:00
Keith Whitwell
46c3bd29be
Support both big and little endian, more source types and more
...
destination formats through the swizzle path. It would be great to
see this tested on eg, PPC machines...
2006-09-20 18:56:19 +00:00
Roland Scheidegger
528de982f8
reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).
2006-09-20 18:22:19 +00:00
Keith Whitwell
2e5c686c2b
Fix various typos to pass glean pixelFormats test.
2006-09-20 17:41:18 +00:00
Keith Whitwell
fce0d13b4f
Enhance compute_component_mapping() to convert to and from any of the
...
color base formats.
2006-09-20 17:07:13 +00:00
Keith Whitwell
4f17378ec3
Add a comment about the interactions of negative pitches, overlapping
...
blits and the different ways of specifying a blit on this hardware.
2006-09-20 15:04:05 +00:00
Keith Whitwell
f1d6ad6fe2
remove some dead code
2006-09-20 15:00:24 +00:00
Keith Whitwell
b5d0f6c17f
Fix some warnings
2006-09-20 14:58:55 +00:00
Roland Scheidegger
85b6d0c4df
fix mixed texgen/non-texgen with texgen modes requiring plane parameters (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).
2006-09-20 14:56:21 +00:00
Keith Whitwell
e38114a5e4
Support ARB_texture_rectangle.
2006-09-20 14:54:49 +00:00
Keith Whitwell
b35121d54d
1) Add a new flag in the sarea (coopting the unused texAge value) to
...
identify context switches between members of a share group -
ie. multiple contexts in a single application, possibly on different
threads. In this case the contexts share a bufmgr instance and there
is no need to evict textures - so don't.
2) Use a new flag 'need_flush' to ensure hardware rendering is flushed
prior to starting a software fallback.
2006-09-20 14:44:40 +00:00
Keith Whitwell
3a5319293c
Broadwater seems to prefer this style of blitting.
2006-09-20 14:39:53 +00:00
Brian Paul
d41d29b8bd
make current GLX context per-thread
2006-09-20 14:39:47 +00:00
Brian Paul
0c54e47c0e
fix a memleak in DestroyContext()
2006-09-20 14:39:24 +00:00
Keith Whitwell
83c3f9658d
add accelerated glCopyPixels path
2006-09-20 14:36:49 +00:00
Keith Whitwell
187f2cfb4a
Add a new internal program parameter value STATE_TEXRECT_SCALE which
...
provides 1/width and 1/height of the active texture, useful for
implementing ARB_texture_rectangle support on hardware which only
supports ARB_npot-style texturing.
2006-09-20 14:30:22 +00:00
Keith Whitwell
0c9259f3b9
Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA
...
conversions, ensuring that the final A value is 0xff in those cases
where we use a RGBA hardware texture format to store RGB textures.
Fix a couple of cases where hardwired texture conversions were
ignoring this restriction.
2006-09-20 14:28:42 +00:00
Keith Whitwell
5658810660
Export _mesa_print_alu_instruction() to allow drivers to roll their
...
own debug code for programs with driver-private opcodes.
Remove redundant loop in _mesa_num_inst_src_regs().
2006-09-20 12:57:54 +00:00
Keith Whitwell
cb54c056a6
restore debug output after brw_wm_fp compilation stage
2006-09-20 12:53:35 +00:00
Keith Whitwell
285801a9ed
Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.
2006-09-20 12:49:52 +00:00
Brian Paul
408ce7e861
added LIBDRM_CFLAGS (Javier Villavicencio)
2006-09-19 22:43:41 +00:00
Brian Paul
dc4bf43898
fix CFLAGS (bug 8344)
2006-09-19 16:31:37 +00:00
Brian Paul
c42afefda1
change make depend output redirection to 2>&1 (bug 8344)
2006-09-18 22:55:13 +00:00