Commit Graph

4144 Commits

Author SHA1 Message Date
Felix Kuehling d9a0330872 Converted vertex setup to use t_vertex.[ch]. 2004-02-26 00:59:00 +00:00
Ian Romanick 795f1faf81 Create all the right modes for 16-bit screens. 2004-02-26 00:33:22 +00:00
Brian Paul 04bcaac383 added _tnl_allow_vertex/pixel_fog() calls 2004-02-26 00:28:03 +00:00
Felix Kuehling 21893e56e0 Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul) 2004-02-25 20:47:46 +00:00
Brian Paul 54056db8db use ABS(Z) when computing blend factors 2004-02-25 16:14:16 +00:00
Brian Paul 20e25ca50a call _tnl_allow_pixel/vertex_fog() funcs 2004-02-24 16:11:30 +00:00
Brian Paul 8d407300c2 turns out we probably need a _tnl_allow_pixel_fog() function afterall 2004-02-24 16:10:52 +00:00
Brian Paul 4d5dddd125 jump through dispatch table instead of calling gl functions directly 2004-02-24 15:08:22 +00:00
Brian Paul 9d1ff8c1bb fix incorrect texcoord attribute index 2004-02-24 14:59:26 +00:00
Brian Paul 2615e81620 added some GLAPIENTRY keywords, minor clean-ups 2004-02-24 14:47:01 +00:00
Brian Paul 4a048e5e48 s/transform/tnl/ 2004-02-24 04:57:48 +00:00
Brian Paul 0adce8f7c7 upgraded to version 22 2004-02-24 03:01:27 +00:00
Brian Paul 1e3d868ffb Yet another revision of _ae_update_state(). Issue both conventional AND
generic vertex attribute commands, ignoring ctx->VertexProgram.Enabled
since this function may be used during display list compilation.
2004-02-24 02:49:43 +00:00
Brian Paul 0f1e19c03c added some const keywords 2004-02-24 02:47:05 +00:00
Brian Paul ffa7eff9ff glDrawArrays loop was wrong 2004-02-24 02:42:46 +00:00
Brian Paul cf20f8cc3f updates from Erdi Chen 2004-02-23 21:07:12 +00:00
Brian Paul 537f42e240 fix typo (Matt Case) 2004-02-23 20:26:58 +00:00
Ian Romanick c00fbd55ba The available GLX version is now logged in addition to the client
version and the server version.
2004-02-23 17:37:36 +00:00
Dave Airlie 001dc022fc delete the textures 2004-02-23 06:35:22 +00:00
Felix Kuehling 263581bba4 Imported the Savage DRI driver from the savage-2-0-0-branch of DRI CVS
with modifications to make it work with current Mesa 6.
2004-02-22 16:11:12 +00:00
Brian Paul 6e450f22bb some minor tweaks 2004-02-21 18:08:41 +00:00
Daniel Borca 2aa84490c0 fixed some typos 2004-02-20 09:47:42 +00:00
Ian Romanick 304d3aa9cb Refactored several variables out of XMesaVisual in favor of identical
fields in __GLcontextModes (the base type).  Removed the need to keep
the XMesaVisualInfo pointer when building inside the X-server.
2004-02-19 00:57:04 +00:00
Brian Paul e01370271e recent bug fixes/changes (fog, glArrayElement, triangle rasterization) 2004-02-17 23:38:05 +00:00
Brian Paul 0733dbb011 A few more tweaks to fog code.
Remove unneeded FABSF() macros.
Added blend factor clamping in a few spots.
2004-02-17 22:14:18 +00:00
Brian Paul 4e41eb1061 compute fog coord in eye space, not clip space 2004-02-17 22:00:45 +00:00
Brian Paul 09da0b8e66 A bit of an overhaul of the fog code.
glFogCoord didn't always work reliably.
ARB fragment program fog options work now.
Per-fragment fog computations are now perspective corrected.
2004-02-17 21:03:03 +00:00
Brian Paul 9a389d4bdb define DO_FRAGMENT_FOG=1 to test fragment program fog option 2004-02-17 17:59:59 +00:00
Brian Paul a60c89e8c8 added SPAN_W 2004-02-17 14:08:23 +00:00
Brian Paul 230ebaff2a just some reformatting 2004-02-17 04:28:37 +00:00
Brian Paul 4250c7acac some debug code 2004-02-17 04:26:42 +00:00
Brian Paul 5cd79f9267 added FogOption to fragment_program struct 2004-02-17 04:25:24 +00:00
Brian Paul c2f6d6d092 added FixedToDouble() macro 2004-02-17 04:24:52 +00:00
Brian Paul 84b4a3a087 Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles
instead of GLfixed. (Justin Novosad)
2004-02-17 03:51:47 +00:00
Roland Scheidegger bb1dcb4fad texture env combine refactor (Andreas Stenglein), following the same principles as the refactored code already present in the R200 driver 2004-02-16 17:34:03 +00:00
Brian Paul 64d6ddabaa remove incorrect negation in fog coord computation 2004-02-16 16:44:40 +00:00
Keith Whitwell 477363455d Add _tnl_set_attr() to complement existing get_attr() call. 2004-02-16 15:15:24 +00:00
Keith Whitwell 7b5199e8a4 glutInitWindowPosition 2004-02-16 14:45:56 +00:00
Daniel Borca 45f4c5ec3b cleanup and some WGL PIXELFORMAT issues 2004-02-16 07:32:27 +00:00
Daniel Borca a49a08d014 fog_coord demo 2004-02-16 07:31:29 +00:00
Brian Paul 05ad3078a9 some code clean-ups 2004-02-15 17:45:17 +00:00
Brian Paul 7c4a61c57f Minor clean-ups of variable scopes, initializations, etc.
New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size
and rasterization accuracy.
2004-02-15 16:21:07 +00:00
Keith Whitwell 0200947f5e Remove debug 2004-02-14 15:49:55 +00:00
Keith Whitwell 964e5325bd Make it easier for drivers to create "subclasses" of the existing
program struct hierarchy.

Add driver callbacks to enable the above and make it possible to track
more changes to program objects.
2004-02-14 15:00:42 +00:00
Brian Paul 70dacabfe5 added note about kernel modules 2004-02-13 18:29:42 +00:00
Ian Romanick 659dce40e2 Minor tweaks to get the fbconfig list returned by __driCreateNewScreen
to pass through filter_modes (in libGL) properly.
2004-02-13 17:38:41 +00:00
Brian Paul 9ad80a475d info about precompiled libs for Solaris 2004-02-13 15:50:13 +00:00
Brian Paul 88bf038708 init secondary color to (0,0,0,1). remove some redundant initializations. 2004-02-13 15:30:08 +00:00
Brian Paul 85ad44b292 set buffer object default Usage and Access 2004-02-13 14:04:26 +00:00
Brian Paul de47068b85 new comments, rename some stuff 2004-02-13 03:00:11 +00:00