Xiang, Haihao [Mon, 13 Aug 2007 03:43:37 +0000 (11:43 +0800)]
i915: satisfy certain alignment restrictions for small
compressed texture
Dan Torop [Sun, 12 Aug 2007 11:41:13 +0000 (13:41 +0200)]
fix spantmp2 READ_RGBA inline asm (#11931)
Keith Whitwell [Sat, 11 Aug 2007 12:48:19 +0000 (13:48 +0100)]
Make it easier to compare against the pipe driver debug code.
Keith Whitwell [Sat, 11 Aug 2007 12:40:22 +0000 (13:40 +0100)]
Improve debugging further.
Pull apart some key packets into individual fields and print sanely.
Keith Whitwell [Fri, 10 Aug 2007 18:17:35 +0000 (19:17 +0100)]
Better debugging
Xiang, Haihao [Fri, 10 Aug 2007 08:37:30 +0000 (16:37 +0800)]
i965: roland's DXTn format texture patch(bug10347)
Xiang, Haihao [Fri, 10 Aug 2007 08:23:14 +0000 (16:23 +0800)]
i965/i915tex: applying right alignment to compressed texture,
which make small textures(4x4,2x2,1x1) work well.
Xiang, Haihao [Fri, 10 Aug 2007 07:14:12 +0000 (15:14 +0800)]
i965: set mt->cpp differently with compressed texture
Brian [Thu, 9 Aug 2007 07:47:05 +0000 (08:47 +0100)]
fix byte swap bug for GLint stencil indexes (bug 11909)
Carlos Martín Nieto [Wed, 8 Aug 2007 12:49:37 +0000 (14:49 +0200)]
nouveau: Missing notifier -> notifierobj migration
I missed this in the original migration.
Brian [Tue, 7 Aug 2007 21:06:08 +0000 (22:06 +0100)]
move free() after dereference (bug 11878)
Brian [Tue, 7 Aug 2007 21:02:27 +0000 (22:02 +0100)]
parse standard -geometry option
Brian [Tue, 7 Aug 2007 20:57:29 +0000 (21:57 +0100)]
fix potential NULL dereference (bug 11879)
Brian [Tue, 7 Aug 2007 20:51:46 +0000 (21:51 +0100)]
remove SHELL line, replace -e test with new logic (Daniel Stone)
Brian [Tue, 7 Aug 2007 20:48:31 +0000 (21:48 +0100)]
fix potential NULL dereference (bug 11880)
Brian [Tue, 7 Aug 2007 20:42:34 +0000 (21:42 +0100)]
fix swizzle error test (bug 11881)
Ingo Molnar [Tue, 7 Aug 2007 07:53:48 +0000 (09:53 +0200)]
glxgears: Add an x/y window size parameter.
Brian [Tue, 7 Aug 2007 07:17:02 +0000 (08:17 +0100)]
fix even-sized point positioning (bug 11874)
Xiang, Haihao [Tue, 7 Aug 2007 00:21:28 +0000 (08:21 +0800)]
fix vbo_split_copy related bug 9962
Carlos Martín Nieto [Mon, 6 Aug 2007 23:00:29 +0000 (01:00 +0200)]
nouveau: update to DRM API patchlevel 10
Finally let DRI build for nouveau.
Brian [Fri, 3 Aug 2007 16:08:39 +0000 (10:08 -0600)]
add OSMESA_LIB_NAME
Brian [Fri, 3 Aug 2007 13:24:11 +0000 (07:24 -0600)]
added -lm
Brian [Fri, 3 Aug 2007 02:26:49 +0000 (20:26 -0600)]
fix missing backslash
Brian [Thu, 2 Aug 2007 20:22:13 +0000 (14:22 -0600)]
added bluegene-osmesa
Brian [Thu, 2 Aug 2007 20:22:02 +0000 (14:22 -0600)]
OSmesa on BlueGene (Alexander Neundorf)
Brian [Thu, 2 Aug 2007 15:08:29 +0000 (09:08 -0600)]
fix stencil value masking bug 11805, and fix sizeof() bug
Brian [Thu, 2 Aug 2007 14:44:34 +0000 (08:44 -0600)]
remove unnecessary null check (bug 11814)
Brian [Thu, 2 Aug 2007 14:40:29 +0000 (08:40 -0600)]
fix invalid pointer usage in bezierPatchDeleteList(), bug 11807
Brian [Thu, 2 Aug 2007 14:38:01 +0000 (08:38 -0600)]
fix double free()s (bug 11808)
Brian [Thu, 2 Aug 2007 14:35:13 +0000 (08:35 -0600)]
s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806)
Brian [Thu, 2 Aug 2007 14:31:44 +0000 (08:31 -0600)]
move code to prevent NULL ptr dereference (bug 11810)
Brian [Thu, 2 Aug 2007 14:29:55 +0000 (08:29 -0600)]
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.
Keith Whitwell [Thu, 2 Aug 2007 10:37:57 +0000 (11:37 +0100)]
Fix typo in logic for unalias2()
Zou Nan hai [Thu, 2 Aug 2007 07:27:13 +0000 (15:27 +0800)]
fix fd.o bug #11804
glPolygonMode with point sprite on i965
Zou Nan hai [Thu, 2 Aug 2007 06:35:59 +0000 (14:35 +0800)]
Fix previous commit
Zou Nan hai [Thu, 2 Aug 2007 06:26:12 +0000 (14:26 +0800)]
EXT_texture_sRGB support on i965
Brian [Wed, 1 Aug 2007 17:27:29 +0000 (11:27 -0600)]
fix error code test limit (bug 11795)
Brian [Wed, 1 Aug 2007 17:13:25 +0000 (11:13 -0600)]
triangle rasterization with frag shader
Brian [Wed, 1 Aug 2007 17:12:51 +0000 (11:12 -0600)]
added trirast program
Brian [Wed, 1 Aug 2007 14:41:51 +0000 (08:41 -0600)]
fix mem leak (bug 11793)
Brian [Wed, 1 Aug 2007 14:40:49 +0000 (08:40 -0600)]
fix mem leak (bug 11791)
Zou Nan hai [Wed, 1 Aug 2007 03:08:05 +0000 (11:08 +0800)]
fix fd.o bug #11788, max point size
Brian [Tue, 31 Jul 2007 20:57:37 +0000 (14:57 -0600)]
fix some FreeBSD issues
Brian [Tue, 31 Jul 2007 15:43:57 +0000 (09:43 -0600)]
fix failure caused by undeclared variable (bug 11783)
Brian [Tue, 31 Jul 2007 15:32:10 +0000 (09:32 -0600)]
added sunos5-v9-cc-g++ config
Brian [Tue, 31 Jul 2007 15:31:41 +0000 (09:31 -0600)]
glGetAttribLocation always returned 1 (bug 11774)
Xiang, Haihao [Tue, 31 Jul 2007 14:40:42 +0000 (22:40 +0800)]
i965: fix bad casts in do_blit_bitmap to support WindowPos correctly
Xiang, Haihao [Tue, 31 Jul 2007 01:10:31 +0000 (09:10 +0800)]
i965: Use I16_UNORM instead of L16_UNORM (bug 11742)
Xiang, Haihao [Mon, 30 Jul 2007 16:11:22 +0000 (00:11 +0800)]
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.
Xiang, Haihao [Mon, 30 Jul 2007 15:50:52 +0000 (23:50 +0800)]
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.
Brian [Mon, 30 Jul 2007 15:01:02 +0000 (09:01 -0600)]
New sunos5-v9-cc-gcc config (Roland Egger)
Brian [Mon, 30 Jul 2007 14:52:57 +0000 (08:52 -0600)]
misc comments, clean-ups
Brian [Mon, 30 Jul 2007 14:13:40 +0000 (08:13 -0600)]
remove old comment, minor formatting fixes
Xiang, Haihao [Mon, 30 Jul 2007 08:30:32 +0000 (16:30 +0800)]
handle LSB_FIRST in _mesa_pack_bitmap by the way used in
_mesa_unpack_bitmap
Xiang, Haihao [Mon, 30 Jul 2007 08:17:40 +0000 (16:17 +0800)]
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.
Zou Nan hai [Mon, 30 Jul 2007 02:18:11 +0000 (10:18 +0800)]
ARB sprite point support on i965
Brian [Mon, 30 Jul 2007 00:28:46 +0000 (18:28 -0600)]
added a few more functions
Jan Dvorak [Mon, 30 Jul 2007 00:26:22 +0000 (18:26 -0600)]
fix glPointParameteriv bug 11754
Brian [Mon, 30 Jul 2007 00:04:23 +0000 (18:04 -0600)]
Added shader points and shader bitmap demos
Roland Scheidegger [Sun, 29 Jul 2007 17:44:55 +0000 (19:44 +0200)]
fix cos/sin range reduction for i915 driver too
Roland Scheidegger [Sun, 29 Jul 2007 17:40:50 +0000 (19:40 +0200)]
fix range reduction for sin/cos in i915tex (#11609)
Roland Scheidegger [Sun, 29 Jul 2007 16:31:36 +0000 (18:31 +0200)]
fix fallback crashes when driver can't handle frag prog for i915 driver too (untested)
Roland Scheidegger [Sun, 29 Jul 2007 16:04:28 +0000 (18:04 +0200)]
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.)
Zhang [Fri, 27 Jul 2007 17:19:35 +0000 (11:19 -0600)]
more Mingw32 fixes
Brian [Thu, 26 Jul 2007 22:42:05 +0000 (16:42 -0600)]
fix-up inlined/non-inlined function inconsistencies
Brian [Thu, 26 Jul 2007 21:32:02 +0000 (15:32 -0600)]
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
Brian [Thu, 26 Jul 2007 17:39:11 +0000 (11:39 -0600)]
generate error upon writing to varying var in fragment program (bug 11733)
Brian [Thu, 26 Jul 2007 14:22:47 +0000 (08:22 -0600)]
clamp float colors
Brian [Thu, 26 Jul 2007 14:22:28 +0000 (08:22 -0600)]
fix color interpolation for CHAN_BITS==32
Brian [Thu, 26 Jul 2007 14:22:09 +0000 (08:22 -0600)]
don't use rgba_line() if CHAN_BITS==32
Brian [Tue, 24 Jul 2007 23:45:14 +0000 (17:45 -0600)]
remove unused MAX_3D_TEXTURE_SIZE, reformattting
Brian [Tue, 24 Jul 2007 15:56:44 +0000 (09:56 -0600)]
call ctx->Driver.NewProgram() instead of _mesa_new_program()
Brian [Tue, 24 Jul 2007 15:19:22 +0000 (09:19 -0600)]
fix logic error, typos
Brian [Mon, 23 Jul 2007 22:51:57 +0000 (16:51 -0600)]
fix GLX_STEREO handling (bug 11705)
Zhang [Sat, 21 Jul 2007 17:28:06 +0000 (11:28 -0600)]
Fix a number of MINGW32 issues
Brian [Sat, 21 Jul 2007 16:06:18 +0000 (10:06 -0600)]
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.
Brian [Sat, 21 Jul 2007 16:04:14 +0000 (10:04 -0600)]
remove VC6/VC7 project files until updated
Roland Scheidegger [Fri, 20 Jul 2007 09:34:26 +0000 (11:34 +0200)]
fix bogus recently introduced function param comments
Roland Scheidegger [Wed, 18 Jul 2007 18:17:14 +0000 (20:17 +0200)]
fix mesa's handling of fbo's / window fb (again)
Make sure the relevant fields in window fbs get updated at appropriate time
(those are NOT the same as fbos!!!), and fix up related code accordingly.
This is a bit ugly, but there's a reason the issues section in EXT_fbo is
a couple hundred pages long...
Hopefully correct now.
Roland Scheidegger [Wed, 18 Jul 2007 16:07:12 +0000 (18:07 +0200)]
more fixes for mesa's fbo handling (fixes tests/fbotest1/2)
Roland Scheidegger [Thu, 19 Jul 2007 15:58:21 +0000 (17:58 +0200)]
fix up mesa's probably bogus framebuffer updates with different read/write fbs
Conflicts:
src/mesa/main/framebuffer.c
Roland Scheidegger [Tue, 17 Jul 2007 15:29:55 +0000 (17:29 +0200)]
fix mesa fb binding
Make sure that we bind the right buffer (draw or read) when rebinding
the window framebuffer (the api doesn't allow binding different draw and
read buffers at the same time, but the default window framebuffer is basically
2 fb objects, one for read, one for write, which can be different). Pass both
of these two down the driver api (no driver uses this right now).
Roland Scheidegger [Tue, 17 Jul 2007 10:56:30 +0000 (12:56 +0200)]
increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape)
Oliver McFadden [Wed, 18 Jul 2007 02:59:08 +0000 (02:59 +0000)]
Oliver McFadden [Wed, 18 Jul 2007 02:49:26 +0000 (02:49 +0000)]
r300: Cleaned up vertprog construction.
Construct the vertprog instruction in the 4 DWORD parts...
DWORD 0: Opcode and Output.
DWORD 1: First Argument.
DWORD 2: Second Argument.
DWORD 3: Third Argument.
Allow the opcode translation functions to generate more than one instruction;
useful for when an instruction must be emulated. FLR, XPD, etc.
Tommy Schultz Lassen [Wed, 18 Jul 2007 00:37:43 +0000 (00:37 +0000)]
r300: Corrected texcoord start when BFC1 is enabled.
Oliver McFadden [Mon, 16 Jul 2007 21:43:39 +0000 (21:43 +0000)]
r300: Corrected some progs/fp/* regressions from the BFC patch.
I'm not completely sure this is correct; it restores the old behaviour.
Oliver McFadden [Mon, 16 Jul 2007 20:24:41 +0000 (20:24 +0000)]
r300: Use _mesa_num_inst_src_regs for number of arguments.
Oliver McFadden [Mon, 16 Jul 2007 20:07:30 +0000 (20:07 +0000)]
r300: Corrected vertprog FLR and XPD instruction regression.
Oliver McFadden [Mon, 16 Jul 2007 19:20:32 +0000 (19:20 +0000)]
r300: Added code for vertprog opcode ARL.
Oliver McFadden [Mon, 16 Jul 2007 19:13:46 +0000 (19:13 +0000)]
r300: Don't need vertprog scalar flag anymore; it's handled explicitly...
Oliver McFadden [Mon, 16 Jul 2007 19:10:13 +0000 (19:10 +0000)]
r300: Removed broken RCC vertprog opcode.
Oliver McFadden [Mon, 16 Jul 2007 19:09:29 +0000 (19:09 +0000)]
r300: More vertprog rework; give each opcode it's own function.
Oliver McFadden [Mon, 16 Jul 2007 16:21:21 +0000 (16:21 +0000)]
Revert "r300: Gracefully exit after GART memory is exhausted."
This reverts commit
9457bf62bbba3b9226ebbbea5dc7798ca22485f6.
Causes the X server to die with Compiz and Beryl.
Oliver McFadden [Mon, 16 Jul 2007 16:17:50 +0000 (16:17 +0000)]
r300: Reorder the vertprog code to the ARB specification.
Roland Scheidegger [Mon, 16 Jul 2007 16:21:36 +0000 (18:21 +0200)]
fix bogus fb/drawable information
the framebuffer objects attached to drawables can have invalidate state
associated with them, since for the window framebuffer this is per-context
state and not per-fbo state. Since drivers rely on that information
(otherwise would need to check if currently the window-framebuffer is
bound in a lot of places) fix it up in _mesa_make_current (ugly).
(Brought over from i915tex_privbuffers, where it fixes xdemos/wincopy
when switching to front buffer rendering.)
Roland Scheidegger [Mon, 16 Jul 2007 16:09:30 +0000 (18:09 +0200)]
fix segfault with i915 drivers in swrast drawpixels path when resizing windows
Oliver McFadden [Mon, 16 Jul 2007 15:42:16 +0000 (15:42 +0000)]
r300: Use the R300_PVS_UPLOAD_* defines.
Oliver McFadden [Mon, 16 Jul 2007 15:39:12 +0000 (15:39 +0000)]
r300: Added the clip plane upload defines.
Oliver McFadden [Mon, 16 Jul 2007 12:21:38 +0000 (12:21 +0000)]
r300: Enable the vertprog point size again.