Adam Jackson
312c68fab3
Add DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from the
...
link list for libGL itself under DRI configurations, since the XML parsing
code is in the drivers themselves.
2004-10-25 21:20:29 +00:00
Adam Jackson
7badefa6c4
Bug #1679 : Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.
2004-10-25 21:18:52 +00:00
Adam Jackson
cb3610e37c
Import the GLX client side library, formerly from xc/lib/GL/glx. Build it
...
by adding 'glx/x11' to SRC_DIRS in your build config.
2004-10-25 21:09:16 +00:00
Adam Jackson
bcd8735546
Import sarea.h from Xorg, needed for client GLX code.
2004-10-25 20:52:11 +00:00
Nicolai Haehnle
5a9fd2afc6
Implement ColorMask
2004-10-24 06:17:20 +00:00
Nicolai Haehnle
d586540eaf
Hardware accelerated depth clear
2004-10-24 05:52:10 +00:00
Adam Jackson
94987beb2c
Bug #1682 : Mesa core code that gets linked into DRI drivers should never call
...
through the GL API directly, but should instead use the GL_CALL macro.
2004-10-24 02:05:40 +00:00
Brian Paul
07553c58fd
wrap angle value (Philipp Klaus Krause)
2004-10-23 18:55:48 +00:00
Brian Paul
e57b6d5a4f
addes osdemo32 target (J.P. Delport)
2004-10-23 16:58:32 +00:00
Brian Paul
0aa0343fb0
minor fixes from J.P. Delport
2004-10-23 16:57:44 +00:00
Ian Romanick
74b0080086
Big-endian fixes for R200 sw TCL path.
2004-10-23 00:42:17 +00:00
Michal Krol
cb499595aa
- add decimal literal integer support
...
- fix bug with c-style comment closing - sequences
like /***/ were not correctly parsed
2004-10-22 12:42:37 +00:00
Michal Krol
c69ceaf8eb
forgot about revision increment
2004-10-21 14:11:06 +00:00
Michal Krol
b80bc055bc
- use new program option values from arbprogram.syn
...
- remove redundant check of parsed program target
- remove redundant check of relative addressing range
- use faster grammar interface
2004-10-21 14:09:54 +00:00
Michal Krol
ed60e19d8a
remove redundant check of parsed program target
2004-10-21 14:06:18 +00:00
Michal Krol
718ba9773b
change program options numbering to accommodate future
...
options (up to 256)
2004-10-21 13:57:24 +00:00
Michal Krol
cbef98c2ea
add new grammar_check_fast entry for faster parsing
2004-10-20 15:19:58 +00:00
Michal Krol
904ef741de
- speed up syntax parsing - the parser is now 4 times faster
...
note: to use it you must use grammar_check_fast entry
- allow decimal format for literal integers in .syn files
- raise am error if syntax has duplicate or unreferenced
symbols
- do some little clean-up with linked-list stuff
- make macro APPEND_CHARACTER a function
- fix minor typos and bugs
2004-10-20 14:54:17 +00:00
Daniel Borca
a7855e835d
fixed compilation errors
2004-10-20 11:59:28 +00:00
Daniel Borca
05517d02be
fix compilation error in `convertPalette' (still have to fix the issue, though)
2004-10-19 06:35:01 +00:00
Ian Romanick
f404ff7b76
Small optimization for big-endian (e.g., PowerPC) systems.
2004-10-18 23:24:51 +00:00
Michal Krol
f459b9f9c0
conform to shader spec 1.10.59
2004-10-18 12:18:33 +00:00
Michal Krol
cfb62331bc
conform to language version 1.10 rev 59
...
resolve TODOs
2004-10-18 09:49:25 +00:00
Daniel Borca
a0720cf104
print an error message in convertPalette before dying.
...
this is NOT a fix, but it'll have to wait a little...
2004-10-18 08:17:17 +00:00
Daniel Borca
c99a99b3bc
small fix to match new _mesa_rescale_teximage2d
2004-10-18 08:07:26 +00:00
Daniel Borca
1cfe1e8925
changed _mesa_rescale_teximage2d to allow rescaling of padded images
2004-10-18 08:04:21 +00:00
Daniel Borca
8cd728f436
added dstRowStride to dxtCompressTexFuncExt;
...
good for subimages, padded images and such.
NB: intentionally, this is the last parameter, to avoid
breaking the current API! adding a new parameter
is not harmful, at worst it will be ignored, since all
platforms use a CDECL calling convention.
2004-10-18 07:54:09 +00:00
Daniel Borca
13ec04c480
use RowStride instead of Width in texel fetchers.
...
changed some pointers to be (char *) instead of (long)
2004-10-18 07:49:26 +00:00
Ian Romanick
b430a1ae22
Fix compile errors when DEBUG is defined.
2004-10-18 00:00:41 +00:00
Ian Romanick
48da4a4a86
Fix t_vertex byte-ordering issues for PowerPC. This was tested with gears
...
and tunnel (for fog).
2004-10-17 21:54:41 +00:00
Ian Romanick
40e852271b
Add ARGB modes to support big-endian systems.
2004-10-17 21:53:43 +00:00
Ian Romanick
add38812f0
Fix hangs on big-endian (e.g., PowerPC) hardware.
2004-10-17 21:29:58 +00:00
Nicolai Haehnle
ff42a00402
- FIX: flickering
...
- Scissor support works now
2004-10-17 20:26:06 +00:00
Brian Paul
158a251a6b
added initial support for -exports option, Linux/OpenBSD only for now
2004-10-16 15:10:45 +00:00
Brian Paul
901d9b9a92
GL_OES_read_format info
2004-10-16 15:04:43 +00:00
Brian Paul
c498742768
if CXX or CC env vars aren't set, use g++, gcc by default (Linux)
2004-10-16 15:02:16 +00:00
Ville Syrjala
3152b1586c
Removed two unnecessary variables.
2004-10-16 11:26:06 +00:00
Ville Syrjala
63e9a968ff
Fixed off by one errors in clipping.
2004-10-16 11:09:26 +00:00
Eric Anholt
b1ebd306bf
Add code to support projective texturing and fix mixed enabling of texture
...
coordinate generation. Original code by Roland Schiedegger, with changes by
myself. While here, ensure that the swtcl path does tnl_install_attrs enough
when fog/specular are being (en/dis)abled.
Notable effects:
- projtex test works with TCL and is closer with swtcl (Bugzilla #1461 )
- 8/9 squares work in texgenmix instead of 3.
- texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the
hardware can actually support it).
- flickering in doom3 replaced by just plain darkness.
- blocktube fixed (Bugzilla #984 )
- fixes stex3d
2004-10-16 03:36:14 +00:00
Eric Anholt
a1af92877d
Always turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears that
...
the current cases for turning it on were insufficient (Bugzilla #1519 , 729, 814)
and it has no significant performance impact. Performance tested with quake3
in GL_LINEAR mode both with and without anisotropy, with the workaround always
on or always off.
2004-10-16 01:58:02 +00:00
Ian Romanick
33899b7c35
Add support for OES_read_format. As soon as glext.h is updated with the
...
enums for this extension, the changes to gl.h can be removed.
2004-10-16 01:16:54 +00:00
Brian Paul
83c74b7279
fix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)
2004-10-16 00:29:03 +00:00
Ian Romanick
1aa37f97c4
Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format
...
matches what they optimized versions actually expect.
2004-10-16 00:03:27 +00:00
Ian Romanick
12b53f2079
Fixed a few places that should have been using GET_SRC_PTR.
2004-10-15 23:46:53 +00:00
Ian Romanick
ea6786b453
Convert MGA driver to use new spantmp2.h interface.
2004-10-15 23:00:52 +00:00
Nicolai Haehnle
5696710f96
Huge dumb drop. State:
...
- Color buffer clear is accelerated, but flickers (possibly caused by a
recent DDX or Mesa change or bad merge)
- Everything else uses software fallback rendering
- There should be no clipping-related artifacts with the
sw-clipspan-fixes.patch against Mesa (posted on dri-devel)
- Multiple clients should be rock solid with a DDX patch that is soon to
come (soon = within the next hour or so)
2004-10-15 20:52:47 +00:00
Ian Romanick
0648794518
Add support for optimized versions of the code underlying ReadPixels
...
(and DrawPixels). The R200, R128, and Unichrome drivers get support
in this commit. Other drivers would be easy enough to add for people
that have the cards.
The DRI (CVS) build will need to be updated to account for the new
source files.
2004-10-14 00:59:12 +00:00
Keith Whitwell
dc45ee7a4b
Add a license to this file. It was written on VA's watch, so they get
...
the honours.
2004-10-13 23:16:02 +00:00
Ian Romanick
07bd4c585c
Added some documentation that I managed to figure out through
...
experimentation.
2004-10-13 22:38:31 +00:00
Ian Romanick
82f2e80f14
Make the GL_RENDERER string include the actual chipset information
...
instead of always saying "CLE266".
2004-10-13 22:36:26 +00:00