Brian [Tue, 2 Oct 2007 22:50:40 +0000 (16:50 -0600)]
fix comment: s/branch/kill/
Brian [Mon, 1 Oct 2007 23:55:33 +0000 (17:55 -0600)]
updated glext.h license info (Khronos), plus other clean-ups
Brian [Sat, 29 Sep 2007 18:01:34 +0000 (12:01 -0600)]
fix VBO-split infinite loop (bug 12164)
Chris Rankin [Sat, 29 Sep 2007 16:14:06 +0000 (18:14 +0200)]
r200: Implement SetTexOffset hook.
Implementation guidance by Michel Dänzer, final testing by Timo Aaltonen.
Dan Nicholson [Sat, 29 Sep 2007 00:42:21 +0000 (18:42 -0600)]
add support for LDFLAGS env var
Brian [Sat, 29 Sep 2007 00:39:41 +0000 (18:39 -0600)]
update the DRM/DRI instructions
Brian [Fri, 28 Sep 2007 22:06:01 +0000 (16:06 -0600)]
Remove test for EXT_blend_logic_op in glGetString when determining GL version.
EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode
and does not have to be supported. Per conversation with Roland.
Jesse Barnes [Fri, 28 Sep 2007 17:11:52 +0000 (10:11 -0700)]
Go back to using old drm_i915_flip_t field name
This field shouldn't have been renamed in the first place. Go back to using
the old name so that the tree is backward and forward compatible again.
Eric Anholt [Thu, 27 Sep 2007 22:06:06 +0000 (15:06 -0700)]
[965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.
Eric Anholt [Thu, 27 Sep 2007 18:29:11 +0000 (11:29 -0700)]
FreeBSD: Chase /usr/X11R6 death (replaced by everything in one prefix).
Eric Anholt [Thu, 27 Sep 2007 22:11:39 +0000 (15:11 -0700)]
Revert "WIP 965 conversion to dri_bufmgr."
This reverts commit
b2f1aa2389473ed09170713301b042661d70a48e.
Somehow I ended up with my branch's save-this-while-I-work-on-master commit
actually on master.
Eric Anholt [Thu, 27 Sep 2007 17:16:04 +0000 (10:16 -0700)]
WIP 965 conversion to dri_bufmgr.
Eric Anholt [Wed, 26 Sep 2007 20:57:08 +0000 (13:57 -0700)]
[965] Remove AUB file support.
This code existed to dump logs of hardware access to be replayed in simulation.
Since we have real hardware now, it's not really needed.
Brian [Thu, 27 Sep 2007 16:35:37 +0000 (10:35 -0600)]
for Miniglx, use git sources
Brian [Thu, 27 Sep 2007 16:24:17 +0000 (10:24 -0600)]
Restore old _TriangleCaps code to fix Blender problem (bug 12164)
Brian [Thu, 27 Sep 2007 16:23:32 +0000 (10:23 -0600)]
tweak point rast to fix conform failure
Xiang, Haihao [Thu, 27 Sep 2007 08:14:57 +0000 (16:14 +0800)]
i965: handle all unfilled mode in clip stage. fix bug #12453
Xiang, Haihao [Thu, 27 Sep 2007 07:52:01 +0000 (15:52 +0800)]
mesa: make sure the gotten value isn't greater than the
max depth buffer value on 64bit system. fix bug #12095
Zou Nan hai [Thu, 27 Sep 2007 05:49:35 +0000 (13:49 +0800)]
fix ppracer and bzflag issue with clip optimization
Dave Airlie [Thu, 27 Sep 2007 01:15:42 +0000 (11:15 +1000)]
i915/i965 merge serer directories along lines for radeon/r200
Xiang, Haihao [Wed, 26 Sep 2007 08:42:50 +0000 (16:42 +0800)]
i965: The cube map texture coordinates must be devided by the
component with the largest absolute value before they are
delivered. fix bug #12421
Zou Nan hai [Wed, 26 Sep 2007 02:00:41 +0000 (10:00 +0800)]
fix a bug in 965 ARB_occlusion_query,
fd.o bug #12132
Dave Airlie [Tue, 25 Sep 2007 06:22:00 +0000 (16:22 +1000)]
drm: update bufmgr code to reflect changes in drm interface
Roland Bär [Mon, 24 Sep 2007 20:47:26 +0000 (13:47 -0700)]
[i965] Bug #11812: Fix fwrite return value checks in AUB file code.
Eric Anholt [Mon, 24 Sep 2007 20:36:56 +0000 (13:36 -0700)]
Remove leftover code for i915_texprog.c noticed in crossbar review.
Eric Anholt [Mon, 24 Sep 2007 17:26:56 +0000 (10:26 -0700)]
Fix progs/tests/ build with BSD make.
Eric Anholt [Mon, 24 Sep 2007 17:26:40 +0000 (10:26 -0700)]
Update .gitignore for tests and xdemos.
Eric Anholt [Mon, 24 Sep 2007 17:22:31 +0000 (10:22 -0700)]
Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h.
Eric Anholt [Mon, 24 Sep 2007 17:03:25 +0000 (10:03 -0700)]
Move i915tex driver into place as just i915.
Eric Anholt [Mon, 24 Sep 2007 16:55:16 +0000 (09:55 -0700)]
Remove the old i915 driver now that i915tex works without TTM.
Zou Nan hai [Mon, 24 Sep 2007 08:48:55 +0000 (16:48 +0800)]
fix fd.o bug #12217, recalcuate urb when clip plane size change
Brian [Sun, 23 Sep 2007 19:56:46 +0000 (13:56 -0600)]
fix DrawRangeElements error msg
Eric Anholt [Sat, 22 Sep 2007 00:05:34 +0000 (17:05 -0700)]
Merge branch 'i915-unification'
This branch replaces the DRM pool interface used by i915tex with a "dri_bufmgr"
interface in dri/common which may be set up to use either TTM or traditional
static memory management according to what is available. The i915tex TTM
code now requires an updated DDX which provides proper buffer objects for the
static front/back/depth, instead of using fake buffers. The driver is now
built as i915_dri.so, and should replace the old i915 driver shortly.
Eric Anholt [Fri, 21 Sep 2007 23:16:54 +0000 (16:16 -0700)]
Fix buffer/fence reference counting due to Destroy vs Unreference difference.
While here, remove the unnecessary fence type saving for the wait ioctl, as
a 0 argument for type means "use your other saved copy".
Brian [Fri, 21 Sep 2007 00:42:47 +0000 (18:42 -0600)]
fix -D_BSD_SOURC
Brian [Thu, 20 Sep 2007 21:11:14 +0000 (15:11 -0600)]
fixes for bluegene-xlc-osmesa config
Brian [Thu, 20 Sep 2007 21:09:57 +0000 (15:09 -0600)]
Added bluegene-xlc-osmesa config (Alexander Neundorf)
Eric Anholt [Thu, 20 Sep 2007 18:41:25 +0000 (11:41 -0700)]
Uniquely validate the batchbuffer-referenced buffers.
Otherwise, for multiple references by the batchbuffer, the kernel would see
the buffer already on the unfenced list and wait for it to leave the list
before continuing, leading to hanging and eventual -EBUSY.
Eric Anholt [Thu, 20 Sep 2007 18:38:32 +0000 (11:38 -0700)]
Add disabled-by-default tracing of TTM bufmgr operations.
Eric Anholt [Thu, 20 Sep 2007 16:20:48 +0000 (09:20 -0700)]
Fix flipped sign to strerror.
Eric Anholt [Wed, 19 Sep 2007 18:05:36 +0000 (11:05 -0700)]
Merge branch 'master' into i915-unification
Conflicts:
src/mesa/drivers/dri/common/dri_drmpool.c
src/mesa/drivers/dri/i915tex/i915_vtbl.c
src/mesa/drivers/dri/i915tex/intel_batchbuffer.c
src/mesa/drivers/dri/i915tex/intel_context.c
Xiang, Haihao [Thu, 20 Sep 2007 09:42:13 +0000 (17:42 +0800)]
i965: fix an error in brw_vs_tnl.c
if the state of TEXMAT is changed, the VS isn't updated.
Xiang, Haihao [Thu, 20 Sep 2007 09:37:04 +0000 (17:37 +0800)]
fix memory access error in vbo_bind_vertex_list
Dave Airlie [Thu, 20 Sep 2007 03:36:31 +0000 (13:36 +1000)]
nouveau: add GeForce 7300 SE to card list
Matthieu Castet [Wed, 19 Sep 2007 21:22:39 +0000 (23:22 +0200)]
nouveau : nv1x use OUT_RING_CACHE_FORCE for NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX as strange results
appear when the matrix is partialy updated.
Matthieu Castet [Wed, 19 Sep 2007 21:20:13 +0000 (23:20 +0200)]
nouveau : add OUT_RING_CACHE_FORCE* to add stuff in the cache even if the value didn't change
Matthieu Castet [Wed, 19 Sep 2007 17:57:55 +0000 (19:57 +0200)]
nouveau : add GL_FOG_COLOR + fix a compil error
Eric Anholt [Wed, 19 Sep 2007 17:10:18 +0000 (10:10 -0700)]
Update .gitignore for demos.
Eric Anholt [Thu, 5 Jul 2007 23:57:53 +0000 (16:57 -0700)]
Add missing -g in FreeBSD OPT_CFLAGS
Eric Anholt [Wed, 19 Sep 2007 16:56:43 +0000 (09:56 -0700)]
Replace i915tex batchbuffer printout with a pretty-printed version.
Eric Anholt [Wed, 19 Sep 2007 16:02:24 +0000 (09:02 -0700)]
Enable building the debug (env INTEL_DEBUG=list) code by default.
Eric Anholt [Tue, 19 Jun 2007 22:15:40 +0000 (15:15 -0700)]
i915: Quiet valgrind by initializing the seq value the kernel writes into.
Also, add a couple of comments to the wait/emit IRQ functions.
Patrice Mandin [Wed, 19 Sep 2007 17:08:56 +0000 (19:08 +0200)]
nouveau: nv10: color logic op only for nv11+
Eric Anholt [Tue, 18 Sep 2007 22:46:16 +0000 (15:46 -0700)]
Add some error reporting and a couple of assertions to TTM bufmgr.
Xiang, Haihao [Tue, 18 Sep 2007 01:32:44 +0000 (09:32 +0800)]
mesa: Always use the original mask to update stencil buffer
in stencil_and_ztest_pixels. fix #12263
Matthieu Castet [Sun, 16 Sep 2007 21:33:10 +0000 (23:33 +0200)]
nouveau : avoid vertex_size / 4 for each vertex ops
Matthieu Castet [Sun, 16 Sep 2007 21:19:22 +0000 (23:19 +0200)]
nouveau : use GLfloat instead of uint32_t. After all, our vertex attributes are float.
Matthieu Castet [Sun, 16 Sep 2007 21:01:56 +0000 (23:01 +0200)]
nouveau : implement nv10_render_points
Matthieu Castet [Sun, 16 Sep 2007 17:37:27 +0000 (19:37 +0200)]
nouveau : fix nv10_render functions
use _tnl_RenderClipped helper functions that will call the right driver callback
clean nv10_render_generic_primitive_elts to match nv10_render style
Matthieu Castet [Sun, 16 Sep 2007 16:57:03 +0000 (18:57 +0200)]
nouveau : opps I introduce a bug when cleaning vertex pos attribute swap patch
Matthieu Castet [Sun, 16 Sep 2007 14:15:13 +0000 (16:15 +0200)]
Matthieu Castet [Sun, 16 Sep 2007 14:13:55 +0000 (16:13 +0200)]
nouveau : nv1x pos vertex attribute need to be the first in mesa.
Swap it latter in order it match hw format.
Matthieu Castet [Fri, 14 Sep 2007 22:25:09 +0000 (00:25 +0200)]
nouveau : use new nouveau_reg.h with correct Bracket in macro
Matthieu Castet [Fri, 14 Sep 2007 20:13:52 +0000 (22:13 +0200)]
nouveau : check for nmesa->state_cache.atoms overflow
Matthieu Castet [Fri, 14 Sep 2007 20:07:34 +0000 (22:07 +0200)]
nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANE
Brian [Fri, 14 Sep 2007 15:58:32 +0000 (09:58 -0600)]
added copypix.c test (test glCopyPixels w/ pixel zoom)
Brian [Fri, 14 Sep 2007 15:57:57 +0000 (09:57 -0600)]
fix copypixels overlap test bug (#12417)
Xiang, Haihao [Fri, 14 Sep 2007 08:26:56 +0000 (16:26 +0800)]
mesa: bind VBO_ATTRIB_XXX to correct input array when
executing a display list. fix #10604
Xiang, Haihao [Fri, 14 Sep 2007 03:10:23 +0000 (11:10 +0800)]
i965: align the address of the first element within
the index buffer. (fix#11910)
Brian [Thu, 13 Sep 2007 20:45:22 +0000 (14:45 -0600)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Thu, 13 Sep 2007 20:44:27 +0000 (14:44 -0600)]
updated vrml link
Brian [Thu, 13 Sep 2007 20:42:23 +0000 (14:42 -0600)]
Fix timer problem when using Fortran bindings (submitted by Bill Mitchell)
Also, add some comments about what's going on.
Matthieu Castet [Thu, 13 Sep 2007 20:13:39 +0000 (22:13 +0200)]
nouveau : diable broken light enable on nv10
Brian [Thu, 13 Sep 2007 17:41:49 +0000 (11:41 -0600)]
added program_error2() function for better error reporting
Brian [Thu, 13 Sep 2007 17:29:00 +0000 (11:29 -0600)]
Fix state.texgen parsing error (bug 12313).
Replace *(*inst++) with *(*inst)++ in a few places.
Brian [Thu, 13 Sep 2007 15:27:10 +0000 (09:27 -0600)]
added .pc.in files to tarballs
Brian [Thu, 13 Sep 2007 15:26:27 +0000 (09:26 -0600)]
added null ptr check
Jonathan Bestien-Filiatrault [Wed, 12 Sep 2007 22:21:13 +0000 (16:21 -0600)]
check return value of invert_matrix()
Brian [Wed, 12 Sep 2007 19:40:15 +0000 (13:40 -0600)]
Add glut_fcb.c to the build and update to fix warnings (see bug 12405)
Brian [Wed, 12 Sep 2007 19:37:10 +0000 (13:37 -0600)]
Rename. "fcb" = fortran call back
Jesse Barnes [Wed, 12 Sep 2007 16:03:44 +0000 (09:03 -0700)]
Remove unused plane->pipe mapping fields from SAREA private.
Brian [Wed, 12 Sep 2007 16:11:49 +0000 (10:11 -0600)]
updated with pkg-config info
Dan Nicholson [Wed, 12 Sep 2007 16:03:05 +0000 (10:03 -0600)]
pkg-config support
Dan Nicholson [Wed, 12 Sep 2007 15:57:53 +0000 (09:57 -0600)]
DESTDIR support.
Xiang, Haihao [Wed, 12 Sep 2007 08:51:45 +0000 (16:51 +0800)]
i965: translate shadow compare function into correct
internal function to match the EXT_shadow_funs
spec. fix bug#11925
Xiang, Haihao [Wed, 12 Sep 2007 07:13:06 +0000 (15:13 +0800)]
i965: revert commit
1a15b2169ba6cb100627eb525a20a00537cfb6f0,
and keep the instruction state unchanged after calling
brw_emit_tri_setup/brw_emit_line_setup when building setup
thread for SF_UNFILLED_TRIS.
root [Tue, 11 Sep 2007 21:24:43 +0000 (15:24 -0600)]
prefix some include filenames with shader/
Brian [Tue, 11 Sep 2007 16:57:37 +0000 (10:57 -0600)]
Fix-up #includes to remove some -I options.
eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
Brian [Tue, 11 Sep 2007 16:56:35 +0000 (10:56 -0600)]
In _mesa_make_current(), don't unbind FBOs from the old context.
This fixes the X server crash reported by KeithP on Aug 29.
The old context's FBOs will be unreferenced during context destruction so
there's no memleak with this change.
Brian [Tue, 11 Sep 2007 15:21:34 +0000 (09:21 -0600)]
Update depth test state when binding new framebuffer object
Brian [Tue, 11 Sep 2007 15:20:48 +0000 (09:20 -0600)]
fix comment
Jesse Barnes [Tue, 11 Sep 2007 10:55:40 +0000 (03:55 -0700)]
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
Jesse Barnes [Tue, 11 Sep 2007 10:54:34 +0000 (03:54 -0700)]
intel: disentangle planes & pipes
This is the Mesa portion of the pipe & plane disambiguation. Mesa needs to use
the new assumptions about plane vs. pipe mappings and should use the new SAREA
field names to avoid confusion.
Xiang, Haihao [Tue, 11 Sep 2007 08:57:07 +0000 (16:57 +0800)]
i965: take the secondary color into account when drawing
bitmap. fix#10688
Xiang, Haihao [Tue, 11 Sep 2007 08:49:02 +0000 (16:49 +0800)]
i965: limit on LOD Bias, fix#11987
Brian [Mon, 10 Sep 2007 14:35:53 +0000 (08:35 -0600)]
clean-up (see bug 12317)
Patrice Mandin [Thu, 6 Sep 2007 20:36:12 +0000 (22:36 +0200)]
nouveau: nv10: check NULL pointers
Patrice Mandin [Thu, 6 Sep 2007 20:33:22 +0000 (22:33 +0200)]
nouveau: init depth range
Patrice Mandin [Thu, 6 Sep 2007 18:00:25 +0000 (20:00 +0200)]
nouveau: nv10: replace macros by loop to set vertex attributes
Patrice Mandin [Thu, 6 Sep 2007 17:58:59 +0000 (19:58 +0200)]
nouveau: need parenthesis around macro params, generator should be fixed