Commit Graph

4586 Commits

Author SHA1 Message Date
Daniel Borca fc332f008c added GL_NV_blend_square
fixed alpha blending modes for Napalm
minor fix in compressed texture aspectratio adjust
2004-05-19 08:16:44 +00:00
Ian Romanick 73f59b01ea New scripts for processing the XML version of APIspec. Mail is being
sent to mesa3d-dev with a more detailed description.
2004-05-18 18:33:40 +00:00
Daniel Borca 3e15e861b2 added some core-level extensions 2004-05-18 07:13:54 +00:00
Brian Paul b7460bb62a fixed some bogus array enable tests (Soju Matsumoto) 2004-05-17 14:19:57 +00:00
Brian Paul 3ef972f538 Replaced 'core' with 'main'.
Other minor updates.
2004-05-16 22:07:02 +00:00
Brian Paul de4b3bb776 minor doxygen updates 2004-05-14 23:11:53 +00:00
Brian Paul d72834dd0b Minor fixes/optimizations to type conversions in draw_depth_pixels().
Fix off by one errors in a few assertions.
2004-05-14 14:39:59 +00:00
Roland Scheidegger b9cbd52724 Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix errors when blending is disabled (set blend equation and function to default values). 2004-05-14 13:01:08 +00:00
Brian Paul d359f96a18 cast driHwLock assignment 2004-05-13 18:24:20 +00:00
Brian Paul f4bc136273 silence warning in assignment to gp.value 2004-05-13 18:09:53 +00:00
Brian Paul 7d749ec9be fix parameters to StoreImage() 2004-05-13 18:07:30 +00:00
Brian Paul defb035b6c Another pass at implementing byte-swapped texture formats.
More code re-use this time.
Most formats now tested/debugged with new packedpixels.c test.
2004-05-13 15:26:51 +00:00
Brian Paul 46bc595969 Test program to check that packed pixel formats work as expected with
glTexImage2D.  All samples should appear identical.  Press f/F to change
the internal texture format.
2004-05-12 23:05:21 +00:00
Brian Paul db862e4d4c GL_BGR can't be used with the packed types, according to the GL spec. Enforce such. 2004-05-12 22:54:47 +00:00
Brian Paul f35b47fa62 some component ordering bugs in extract_float_rgba() 2004-05-12 21:53:34 +00:00
Erdi Chen ba8788fee7 Fixed code that has computed incorrect number of modes. 2004-05-12 18:37:11 +00:00
Ian Romanick c318d50717 Added support for GL_EXT_blend_equation_separate and
GL_NV_blend_square.  Fix a bug in the way the GL_MIN and GL_MAX
blending modes were handled.
2004-05-12 16:36:30 +00:00
Ian Romanick 0e22d598e6 Fixed a bug that showed up in several multitexturing games (Quake3 and
ThinkTanks were tested) that was related to the recent 4 TMU changes.
Removed the un-needed TexBlendColorPipeNum field from the hardware
context.
2004-05-12 16:29:55 +00:00
Brian Paul f1cfb4b7a7 fix compiler warnings (Jerome Glisse) 2004-05-12 15:29:36 +00:00
Brian Paul 2e66f7eef7 fix parameters to StoreImage calls 2004-05-12 15:05:53 +00:00
Brian Paul 71e373f186 remove last remnants of NEWTEXSTORE stuff 2004-05-12 15:02:49 +00:00
Brian Paul 5726a238d4 remove the last line of the previous patch 2004-05-12 14:51:51 +00:00
Brian Paul 86c7541f9b fix red/green/blueBits typos 2004-05-12 14:48:39 +00:00
Brian Paul 751c9d096d obsolete in favor of regular Makefiles 2004-05-12 14:04:29 +00:00
Brian Paul 8813cb56b0 yank bgr233 texformat. minor comment updates. 2004-05-12 14:00:36 +00:00
Daniel Borca e61d60eb81 minor fixes 2004-05-12 05:36:24 +00:00
Brian Paul a156b49800 Added big-endian texture formats.
Moved CI->RGBA palette lookup into texel fetch function.
2004-05-12 01:50:30 +00:00
Ian Romanick 939f6a724e Added a 4th square to the output. Expanded the message written to the
console.
2004-05-11 19:59:13 +00:00
Ian Romanick 5f6691f371 Added simple EXT_blend_minmax test. 2004-05-11 19:57:58 +00:00
Ian Romanick d2f18ec6fa Added simple NV_blend_square test. 2004-05-11 17:48:33 +00:00
Ian Romanick 366a27d2b9 Fix a possible segfault caused by the SGI_make_current_read changes. 2004-05-11 16:17:49 +00:00
Brian Paul 4e0d575c64 Don't call calculate_derived_texenv() from in _mesa_TexEnv().
Minor code rearranging.
2004-05-10 22:37:20 +00:00
Brian Paul d6693c4294 s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/ 2004-05-10 22:07:57 +00:00
Keith Whitwell 352d4dbfb2 Add EXT_vertex_cull support to mesa 2004-05-10 18:16:03 +00:00
Daniel Borca 39fe9a7fe3 fixed bugs in fxddtex.c
cleaned up win32 definition files
2004-05-10 07:42:26 +00:00
Jon Smirl 1cbee9c159 Fix solo build, add missing #ifdef NEW_INTERFACE 2004-05-09 04:38:42 +00:00
Felix Kuehling 302781f6cc Added german translation to option texture_units. 2004-05-08 10:08:21 +00:00
Eric Anholt c753f367eb Don't mix variable definitions and other statements (fixed build on old
compiler).
2004-05-08 07:48:13 +00:00
Ian Romanick c94a96bae4 Add support for GLX_SGI_make_current_read. 2004-05-07 22:46:37 +00:00
Ian Romanick 3d769b81fa Warning clean-ups. 2004-05-07 22:43:52 +00:00
Ian Romanick 216d980d53 Uses either the GLX_SGI_make_current_read or GLX 1.3 interface,
depending on which is available.
2004-05-07 18:20:43 +00:00
Ian Romanick ed046bf842 Enable use of new DRI interface in i830 driver. 2004-05-07 18:04:23 +00:00
Ian Romanick d81d2aeca8 Add support for the 3rd and 4th texture units. The actual number of
available units is configurable via the texture_units option.
2004-05-07 17:30:31 +00:00
Ian Romanick f539860f79 Added a config option to set the number of available texture units. A
German translation is still needed.
2004-05-07 17:29:48 +00:00
Daniel Borca 4a1d4a25e2 documentation update 2004-05-07 06:00:53 +00:00
Ian Romanick 54f1027362 Refactor "classic" texture environments to be implemented in terms of
ARB_texture_env_combine state.  Add support for
ARB_texture_env_crossbar.  Combiner state is only emitted for operands
that need to be emitted for the combine operation.
2004-05-07 00:33:12 +00:00
Brian Paul 4ab8b77520 fix rectangle texture clamping and border-related code 2004-05-06 20:28:26 +00:00
Brian Paul 1229100703 Added menu options to test border modes and linear/nearest filtering.
Adjust texcoords so we always have to sample the border.
Other misc changes.
2004-05-06 20:27:32 +00:00
Ian Romanick eec8dbd512 Remove a debug printf that should not have been left in. 2004-05-05 21:32:16 +00:00
Ian Romanick cd6ca58c3f Modified to use vertex arrays. Vertex arrays and immediate mode calls
are toggled with the 't' key.
2004-05-05 20:17:19 +00:00