Commit graph

8957 commits

Author SHA1 Message Date
Xiang, Haihao
8ea66fa2ec i965/i915tex: applying right alignment to compressed texture,
which make small textures(4x4,2x2,1x1) work well.
2007-08-10 16:23:14 +08:00
Xiang, Haihao
2cafd749b8 i965: set mt->cpp differently with compressed texture 2007-08-10 15:14:12 +08:00
Brian
48c37a29fa fix byte swap bug for GLint stencil indexes (bug 11909) 2007-08-09 08:49:05 +01:00
Carlos Martín Nieto
6a78221a10 nouveau: Missing notifier -> notifierobj migration
I missed this in the original migration.
2007-08-08 14:49:37 +02:00
Brian
3973d1ad33 move free() after dereference (bug 11878) 2007-08-07 22:06:08 +01:00
Brian
90cc31f31b fix potential NULL dereference (bug 11879) 2007-08-07 21:57:29 +01:00
Brian
237b985356 fix potential NULL dereference (bug 11880) 2007-08-07 21:48:31 +01:00
Brian
872d179141 fix swizzle error test (bug 11881) 2007-08-07 21:42:34 +01:00
Brian
0ed3ff5011 fix even-sized point positioning (bug 11874) 2007-08-07 08:17:02 +01:00
Xiang, Haihao
d05b721543 fix vbo_split_copy related bug 9962 2007-08-07 08:21:28 +08:00
Carlos Martín Nieto
75a88e9082 nouveau: update to DRM API patchlevel 10
Finally let DRI build for nouveau.
2007-08-07 01:00:29 +02:00
Brian
2c3cb693cc fix stencil value masking bug 11805, and fix sizeof() bug 2007-08-02 09:08:29 -06:00
Brian
e2556b7487 remove unnecessary null check (bug 11814) 2007-08-02 08:44:34 -06:00
Brian
85421351e6 fix invalid pointer usage in bezierPatchDeleteList(), bug 11807 2007-08-02 08:40:29 -06:00
Brian
89cad79b41 fix double free()s (bug 11808) 2007-08-02 08:38:01 -06:00
Brian
6e6a02261a s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806) 2007-08-02 08:35:13 -06:00
Brian
6dae3f8c88 move code to prevent NULL ptr dereference (bug 11810) 2007-08-02 08:31:44 -06:00
Brian
c3e6bfc9e2 Remove some code that was never hit (bug 11811).
Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX.
In the unlikely event this ever changes, maybe restore the code.
2007-08-02 08:29:55 -06:00
Keith Whitwell
46ac453196 Fix typo in logic for unalias2() 2007-08-02 11:39:19 +01:00
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
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
Brian
8410b3f8f9 fix failure caused by undeclared variable (bug 11783) 2007-07-31 09:43:57 -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
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
Jan Dvorak
eefb04a2b8 fix glPointParameteriv bug 11754 2007-07-29 18:26:22 -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
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
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