Commit graph

11215 commits

Author SHA1 Message Date
Matthieu Castet
7356dac1b6 nouveau : implement nv10_render_points 2007-09-16 23:01:56 +02:00
Matthieu Castet
2616b20689 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
2007-09-16 19:37:27 +02:00
Matthieu Castet
e605f2828f nouveau : opps I introduce a bug when cleaning vertex pos attribute swap patch 2007-09-16 18:57:03 +02:00
Matthieu Castet
3d17cdf55a revert a956184f70 2007-09-16 16:15:13 +02:00
Matthieu Castet
d42d5fdba0 nouveau : nv1x pos vertex attribute need to be the first in mesa.
Swap it latter in order it match hw format.
2007-09-16 16:13:55 +02:00
Matthieu Castet
8d9d990cb2 nouveau : use new nouveau_reg.h with correct Bracket in macro 2007-09-15 00:25:09 +02:00
Matthieu Castet
5e78356259 nouveau : check for nmesa->state_cache.atoms overflow 2007-09-14 22:13:52 +02:00
Matthieu Castet
63147344e4 nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANE 2007-09-14 22:07:34 +02:00
Brian
bb4a9b2dce added copypix.c test (test glCopyPixels w/ pixel zoom) 2007-09-14 09:59:08 -06:00
Brian
032707eeca fix copypixels overlap test bug (#12417) 2007-09-14 09:59:08 -06:00
Xiang, Haihao
e04c58e068 mesa: bind VBO_ATTRIB_XXX to correct input array when
executing a display list. fix #10604
2007-09-14 16:26:56 +08:00
Xiang, Haihao
ea07a0df9a i965: align the address of the first element within
the index buffer. (fix#11910)
2007-09-14 11:10:23 +08:00
Brian
75a0f7f4a7 Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-09-13 14:45:22 -06:00
Brian
d3c77cebff updated vrml link 2007-09-13 14:44:27 -06:00
Brian
885a95f4fa Fix timer problem when using Fortran bindings (submitted by Bill Mitchell)
Also, add some comments about what's going on.
2007-09-13 14:42:23 -06:00
Matthieu Castet
3a2559a1e9 nouveau : diable broken light enable on nv10 2007-09-13 22:13:39 +02:00
Brian
ab31a3a764 added program_error2() function for better error reporting 2007-09-13 11:41:49 -06:00
Brian
d799b7a7ec Fix state.texgen parsing error (bug 12313).
Replace *(*inst++) with *(*inst)++ in a few places.
2007-09-13 11:29:00 -06:00
Brian
f3419d5ead added .pc.in files to tarballs 2007-09-13 09:27:10 -06:00
Brian
20b331c2f6 added null ptr check 2007-09-13 09:26:27 -06:00
Jonathan Bestien-Filiatrault
5fdeb52e5d check return value of invert_matrix() 2007-09-12 16:21:13 -06:00
Brian
ae0dd620fe Add glut_fcb.c to the build and update to fix warnings (see bug 12405) 2007-09-12 13:40:15 -06:00
Brian
642267b2d8 Rename. "fcb" = fortran call back 2007-09-12 13:37:10 -06:00
Jesse Barnes
ba5290e836 Remove unused plane->pipe mapping fields from SAREA private. 2007-09-12 09:34:38 -07:00
Brian
5bba58ca22 updated with pkg-config info 2007-09-12 10:11:49 -06:00
Dan Nicholson
94617bc6d5 pkg-config support 2007-09-12 10:03:05 -06:00
Dan Nicholson
f5557c3a52 DESTDIR support. 2007-09-12 09:57:53 -06:00
Xiang, Haihao
a0a5e8cfc0 i965: translate shadow compare function into correct
internal function to match the EXT_shadow_funs
spec. fix bug#11925
2007-09-12 16:51:45 +08:00
Xiang, Haihao
ae078e1a0a i965: revert commit 1a15b2169b,
and keep the instruction state unchanged after calling
brw_emit_tri_setup/brw_emit_line_setup when building setup
thread for SF_UNFILLED_TRIS.
2007-09-12 15:13:06 +08:00
root
9944174abc prefix some include filenames with shader/ 2007-09-11 15:24:43 -06:00
Brian
acfeb3b6ea Fix-up #includes to remove some -I options.
eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
2007-09-11 11:04:15 -06:00
Brian
a614877592 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.
2007-09-11 10:59:59 -06:00
Brian
995e01a6bc Update depth test state when binding new framebuffer object 2007-09-11 09:23:13 -06:00
Brian
0c43ab6fbc fix comment 2007-09-11 09:23:13 -06:00
Jesse Barnes
7f6decf3e4 Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa 2007-09-11 03:55:40 -07:00
Jesse Barnes
78b7e49c84 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.
2007-09-11 03:54:34 -07:00
Xiang, Haihao
0aedb9a204 i965: take the secondary color into account when drawing
bitmap. fix#10688
2007-09-11 16:57:07 +08:00
Xiang, Haihao
241b7bc0a3 i965: limit on LOD Bias, fix#11987 2007-09-11 16:49:02 +08:00
Brian
24cd84162e clean-up (see bug 12317) 2007-09-10 08:37:09 -06:00
Patrice Mandin
249ca55555 nouveau: nv10: check NULL pointers 2007-09-06 22:36:12 +02:00
Patrice Mandin
15a6bf9118 nouveau: init depth range 2007-09-06 22:33:22 +02:00
Patrice Mandin
7307ff80c9 nouveau: nv10: replace macros by loop to set vertex attributes 2007-09-06 20:00:25 +02:00
Patrice Mandin
8f9b9ac387 nouveau: need parenthesis around macro params, generator should be fixed 2007-09-06 19:58:59 +02:00
Patrice Mandin
a956184f70 Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x 2007-09-06 19:12:58 +02:00
Patrice Mandin
db9f97e2ae nouveau: nv10: emit vertex data in proper order for nv1x hw 2007-09-05 23:37:18 +02:00
Brian
9ceff4ac4c updated bug report guidelines 2007-09-05 10:04:37 -06:00
Christoph Kubisch
8822069e71 updated VC7 project files 2007-09-05 10:04:37 -06:00
Xiang, Haihao
1a15b2169b i965: only take non-varying attribute into account when
compiling sf_prog. fix bug#11378 (which is introduced by
commit d619cceea4)
2007-09-05 13:31:01 +08:00
Stephane Marchesin
8752a20dec nouveau: who needs nv03 ? 2007-09-04 23:21:21 +02:00
Patrice Mandin
ece08b7fd9 nouveau: nv10: need to transpose mesa model+proj matrix for hw 2007-09-04 19:17:06 +02:00