Commit Graph

74545 Commits

Author SHA1 Message Date
Michel Dänzer bf92350b5b Fix linux-dri-x86 build. 2007-09-17 13:22:51 +01:00
Matthieu Castet c29886718a nouveau : avoid vertex_size / 4 for each vertex ops 2007-09-16 23:33:10 +02:00
Matthieu Castet 7cc4d31ed9 nouveau : use GLfloat instead of uint32_t. After all, our vertex attributes are float. 2007-09-16 23:19:22 +02:00
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 032707eeca fix copypixels overlap test bug (#12417) 2007-09-14 09:59:08 -06:00
Michel Daenzer d59c95bfae intel_winsys: Fix intel_buffer_reference.
Correctly clear the pointer to the old buffer (not sure how this could build at
all before...) and only reference the new one when its pointer is non-NULL.
2007-09-14 15:53:52 +01:00
Michel Daenzer c01a5ec3d6 intel_winsys: Adapt to recent drm changes (s/pipes/planes/). 2007-09-14 15:48:54 +01: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 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 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
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
Brian 09fbb3837b Implement query object interface.
This replaces the temporary occlusion counter functions we had before.
Added new ctx->Driver.WaitQuery() function which should block until the result is ready.
Sketch out some code for vertex transformation feedback counters.
2007-09-11 16:01:17 -06: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 5620d66e36 vertex feedback functions 2007-09-10 17:02:58 -06:00
Brian 6275b40063 merge buffer_unreference(), buffer_reference() 2007-09-10 16:52:05 -06:00
Brian 051a2a3028 clean-ups, comments 2007-09-10 16:35:16 -06:00
Brian c3f7f3124a s/xm_softpipe.c/xm_winsys.c/ 2007-09-10 16:32:24 -06:00
Brian b06641eb4a Rename 2007-09-10 16:31:24 -06:00
Brian d56a3adc30 More work on vertex feedback / glRasterPos. Basic rasterpos works now. 2007-09-10 16:29:23 -06:00
Brian b2dfe2be6c added st_cb_rasterpos.c 2007-09-10 16:28:39 -06:00
Brian bee148cb7d plug in rasterpos/feedback code 2007-09-10 16:28:27 -06:00
Brian bb193c6d22 glRasterPos function 2007-09-10 16:28:10 -06:00
Brian 21c925f491 move FLUSH_CURRENT 2007-09-10 16:27:07 -06:00