Commit graph

11511 commits

Author SHA1 Message Date
Zou Nan hai
505453a04e fix fd.o bug #11804
glPolygonMode with point sprite on i965
2007-08-02 15:27:13 +08:00
Zou Nan hai
246d1d2522 Fix previous commit 2007-08-02 14:35:59 +08:00
Zou Nan hai
6bf81a5edf EXT_texture_sRGB support on i965 2007-08-02 14:26:12 +08:00
Brian
394e7575a3 fix error code test limit (bug 11795) 2007-08-01 11:27:29 -06:00
Brian
261eac3c79 triangle rasterization with frag shader 2007-08-01 11:13:25 -06:00
Brian
15b7c9d5ba added trirast program 2007-08-01 11:12:51 -06:00
Brian
f761c99d25 fix mem leak (bug 11793) 2007-08-01 08:43:58 -06:00
Brian
e9fbf69aea fix mem leak (bug 11791) 2007-08-01 08:43:58 -06:00
Zou Nan hai
a6dad044e2 fix fd.o bug #11788, max point size 2007-08-01 11:08:05 +08:00
Brian
6fae66715b fix some FreeBSD issues 2007-07-31 14:57:37 -06:00
Eric Anholt
9c61925da0 bufmgr_fake: eliminate the referenced list, which is now just on_hardware. 2007-07-31 09:24:06 -07:00
Eric Anholt
5e2acfee78 Don't initialize extensions we can't support when !ttm. 2007-07-31 09:24:04 -07:00
Eric Anholt
05fe75e619 Add missing -g in FreeBSD OPT_CFLAGS 2007-07-31 09:24:01 -07:00
Brian
8410b3f8f9 fix failure caused by undeclared variable (bug 11783) 2007-07-31 09:43:57 -06:00
Brian
2c0b3d8c4b added sunos5-v9-cc-g++ config 2007-07-31 09:32:28 -06:00
Brian
59b1233e70 glGetAttribLocation always returned 1 (bug 11774) 2007-07-31 09:32:28 -06:00
Xiang, Haihao
e66757c8ba i965: fix bad casts in do_blit_bitmap to support WindowPos correctly 2007-07-31 22:40:42 +08:00
Xiang, Haihao
69337ed098 i965: Use I16_UNORM instead of L16_UNORM (bug 11742) 2007-07-31 09:10:31 +08:00
Xiang, Haihao
982dcb74fd Fix an error in _save_OBE_DrawElements
In the case that a buffer object is bound to
ELEMENT_ARRARY_BUFFER, it is invalid to directly
dereference indices passed to glDrawElements.
2007-07-31 00:11:22 +08:00
Xiang, Haihao
2394d20daf Fix an error in _mesa_validate_DrawElements
The field 'Data' in an obj is NULL in some dri drivers(such
as i965). Use mapped pointer instead.
2007-07-30 23:50:52 +08:00
Brian
58f9f96c68 New sunos5-v9-cc-gcc config (Roland Egger) 2007-07-30 09:01:02 -06:00
Brian
5c6f1f542b misc comments, clean-ups 2007-07-30 08:52:57 -06:00
Brian
baac66cb05 remove old comment, minor formatting fixes 2007-07-30 08:13:40 -06:00
Xiang, Haihao
501b5305b9 handle LSB_FIRST in _mesa_pack_bitmap by the way used in
_mesa_unpack_bitmap
2007-07-30 16:30:32 +08:00
Xiang, Haihao
775ebb696d Fix an error related to glPolygonStipple.
As glPixelStore(GL_UNPACK) affect the bits into a stipple pattern,
hence 128 bytes used to store the pattern in a display list aren't
enough sometimes.
2007-07-30 16:17:40 +08:00
Zou Nan hai
60179434d1 ARB sprite point support on i965 2007-07-30 10:18:11 +08:00
Brian
e5213be78e added a few more functions 2007-07-29 18:28:46 -06:00
Jan Dvorak
eefb04a2b8 fix glPointParameteriv bug 11754 2007-07-29 18:26:22 -06:00
Brian
aa71b8869b Added shader points and shader bitmap demos 2007-07-29 18:04:23 -06:00
Roland Scheidegger
ab02552cdd fix cos/sin range reduction for i915 driver too 2007-07-29 19:44:55 +02:00
Roland Scheidegger
dde814776c fix range reduction for sin/cos in i915tex (#11609) 2007-07-29 19:43:37 +02:00
Roland Scheidegger
10f5a6ac85 fix fallback crashes when driver can't handle frag prog for i915 driver too (untested) 2007-07-29 18:31:36 +02:00
Roland Scheidegger
a188ba4bf9 Fix crashes when the frag prog can't be handled in hardware (#11131)
Must not change to/from swrast after Render.Start or bad things will happen.
(Driver will still somewhat incorrectly report an implementation error,
and apps can't really figure out if a prog is natively supported as validation
is later - could try doing it earlier to give some hint at least, even though
native status may still change later due to fog etc.)
2007-07-29 18:09:35 +02:00
Zhang
35f35294cd more Mingw32 fixes 2007-07-27 11:19:35 -06:00
Brian
0fb0d9715c fix-up inlined/non-inlined function inconsistencies 2007-07-26 16:42:05 -06:00
Brian
e3cef58875 Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion. 2007-07-26 15:32:02 -06:00
Brian
9ed040c3c9 generate error upon writing to varying var in fragment program (bug 11733) 2007-07-26 11:39:11 -06:00
Brian
daaee90a26 clamp float colors 2007-07-26 08:22:47 -06:00
Brian
51b728cf9a fix color interpolation for CHAN_BITS==32 2007-07-26 08:22:28 -06:00
Brian
efda5cb626 don't use rgba_line() if CHAN_BITS==32 2007-07-26 08:22:09 -06:00
Eric Anholt
9a4cc2e905 Add notes about bufmgr initialization failures. 2007-07-25 10:12:23 -07:00
Brian
03ec41ddc5 remove unused MAX_3D_TEXTURE_SIZE, reformattting 2007-07-24 17:45:14 -06:00
Brian
5b6858c023 call ctx->Driver.NewProgram() instead of _mesa_new_program() 2007-07-24 09:56:44 -06:00
Brian
ffc633c469 fix logic error, typos 2007-07-24 09:19:22 -06:00
Zou Nan hai
c702a7100e DDX DDY support, not very accurate 2007-07-24 11:09:34 +08:00
Brian
da2f1e88bc fix GLX_STEREO handling (bug 11705) 2007-07-23 16:51:57 -06:00
Zhang
76fb808910 Fix a number of MINGW32 issues 2007-07-21 11:28:06 -06:00
Brian
af2aa8e9cf Remove ctx->Point._Size and ctx->Line._Width.
The clamping for these values depends on whether we're drawing AA or non-AA
points, lines.  Defer clamping until drawing time.  Drivers could compute and
keep clamped AA and clamped non-AA values if desired.
2007-07-21 10:06:41 -06:00
Brian
5842bc3bf9 remove VC6/VC7 project files until updated 2007-07-21 10:06:40 -06:00
Roland Scheidegger
82fceba231 fix bogus recently introduced function param comments 2007-07-20 11:47:06 +02:00