Keith Whitwell
3004bf8fd7
Remove values from VB->importable_data as those arrays are removed
...
from the VB.
2001-04-19 12:23:07 +00:00
Keith Whitwell
2b7c042525
Fix striding of color material inputs. (Fixes glean colorLitPerf)
2001-04-19 12:22:09 +00:00
Brian Paul
72fc93302c
minor optimization to dot3 computation
2001-04-17 22:08:28 +00:00
Brian Paul
bcfe3936a8
Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
2001-04-17 21:25:53 +00:00
Brian Paul
15eddf38fb
another fix in import_texcoord()
2001-04-17 21:08:32 +00:00
Brian Paul
a6c6fce7e8
replaced ac->count with ac->count - ac->start in import_texcoord(), as in the other import functions
2001-04-17 20:37:44 +00:00
Brian Paul
0d47d26a68
fixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays()
2001-04-17 17:01:33 +00:00
Brian Paul
62c24f315b
return hex string for unknown tokens in _mesa_lookup_enum_by_nr()
2001-04-16 21:07:33 +00:00
Brian Paul
a2ade36eb1
added missing 'break' in _mesa_TexEnvfv(), better error messages
2001-04-16 21:06:54 +00:00
Brian Paul
bf478280eb
added a work-around in _swrast_copy_texsubimage[123]d() to fix alpha channel problem in some DRI drivers (see comments)
2001-04-13 00:13:51 +00:00
Brian Paul
77ff5e038a
b-key toggles between textures w/ and w/out border
2001-04-12 20:50:26 +00:00
Brian Paul
608889d18f
Moved FRAC macro out of mmath.h into s_texture.c since it's only used there
...
and doesn't do what one might expect for negative values.
Reimplemented FRAC in terms of floor() to fix glitches seen in tests/texwrap.c.
Minor fix for problem with GL_CLAMP_TO_BORDER_ARB with GL_NEAREST sampling.
2001-04-12 15:18:07 +00:00
Brian Paul
93de8d3d86
Reimplemented glPopAttrib code for GL_TEXTURE_BIT. It now calls the
...
various texture API functions to restore state. Before, the device
drivers weren't getting notified of important texture state changes.
2001-04-11 23:22:20 +00:00
Brian Paul
6ac852d45b
fixed some divide by zero conformance problems
2001-04-10 15:46:51 +00:00
Brian Paul
33143303fe
Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus Niederkrueger)
2001-04-10 15:25:45 +00:00
Alan Hourihane
148bd34079
remove a HAVE_ELTS that I'd stuck before.
2001-04-09 15:41:11 +00:00
Keith Whitwell
8a09c3a34b
Perform fixup on material values
2001-04-09 14:47:34 +00:00
Alan Hourihane
c818d6cce5
fix use of projected vertices with notex vertices when DO_PTEX isn't set.
2001-04-09 10:16:01 +00:00
Alan Hourihane
30c75badd1
Add quad and quad_strip
2001-04-07 16:16:58 +00:00
Alan Hourihane
d3abe14a3a
add FINISH function at end of each render_* function
...
fix typo.
2001-04-06 16:26:41 +00:00
Brian Paul
2aacac9a5d
replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_format()
2001-04-04 23:56:33 +00:00
Brian Paul
01429fa46a
GL_INTENSITY case was incorrect in extract_float_rgba()
2001-04-04 23:22:38 +00:00
Brian Paul
36f3712e85
fixed tmpTexelSize computation bug
2001-04-04 22:41:23 +00:00
Brian Paul
7d58f44f73
More texture image changes.
...
1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's
internalFormat, format, type params and returns a gl_texture_format.
2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(),
allocates storage and transfers the image into the desired format.
3. _mesa_transfer_teximage() now takes a gl_texture_format to describe
the destination format. Any combination of input format/type and
output gl_texture_format is accepted. Uses optimized _mesa_convert_-
texsubimage[123]d() functions when possible.
3. DRI driver's TexImage[123]D functions should be a lot simpler now.
2001-04-04 21:54:20 +00:00
Brian Paul
bb0830da9e
Updated bug report info in _mesa_problem()
2001-04-04 13:38:51 +00:00
Jouk Jansen
bb95cf8934
Committing in .
...
Modified Files:
Mesa/src/descrip.mms
Removed glapinoop
----------------------------------------------------------------------
2001-04-04 12:02:12 +00:00
Brian Paul
bc80faa7d9
another fix to clear_32bit_ximage()
2001-04-03 17:35:54 +00:00
Brian Paul
a9e2abdcfb
include fxdrv.h before other headers (Ivan Kalvatchev)
2001-04-03 16:32:29 +00:00
Brian Paul
2e1ed6447a
fixed wglUseFontBitmapsA() bugs (Frank Warmerdam)
2001-04-03 16:25:54 +00:00
Brian Paul
9d205e3542
clear pixel value wasn't byteswapped for scissored clears in clear_32bit_ximage()
2001-04-03 16:19:54 +00:00
Brian Paul
373aea11c8
applied David's patch for parsing display's server:screen string
2001-04-02 22:45:07 +00:00
Brian Paul
67f7554232
querying proxy texture image info was segfaulting because of NULL TexFormat pointer
2001-03-30 21:14:30 +00:00
Brian Paul
347b3f0daf
add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accomodate negative offsets correctly
2001-03-30 21:12:15 +00:00
Brian Paul
e116d3b3e5
texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()
2001-03-30 15:31:44 +00:00
Brian Paul
7b0b2ec73a
fixed compilation problems related to ctx->_Enabled removal
2001-03-30 15:16:12 +00:00
Gareth Hughes
5e23af22f7
Remove all traces of CULL_MASK_ACTIVE.
2001-03-30 14:44:43 +00:00
Keith Whitwell
afc5699b08
Fix calculation of fog coordinate in translate_vertex().
2001-03-30 00:39:02 +00:00
Keith Whitwell
ed39a43b8c
Remove ENABLE_* flags, ctx->_Enabled.
...
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
2001-03-29 21:16:25 +00:00
Brian Paul
2780ed4b97
silence a compiler warning
2001-03-29 17:15:21 +00:00
Keith Whitwell
3d5815f463
Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.
...
Added some switchable debug to s_context.c
2001-03-29 17:08:26 +00:00
Brian Paul
ee403ff0ba
Removed DD_Z_NEVER.
...
Replaced SEPERATE with SEPARATE.
Renumbered _NEW_ flags.
Removed _NEW_COLORTABLE.
2001-03-29 16:50:31 +00:00
Gareth Hughes
1b2fef5c28
Consolidation of asm code in 3.5
2001-03-29 06:46:15 +00:00
Gareth Hughes
8e48a232fe
Make generation of matypes.h more transparent.
2001-03-29 03:41:39 +00:00
Gareth Hughes
c41edfb7c4
Add missing GEN_SOURCES definitions.
2001-03-29 03:14:48 +00:00
Brian Paul
3d9168025c
compilation updates
2001-03-28 21:39:49 +00:00
Brian Paul
f1f288182e
adjustment to coverage sample positions
2001-03-28 21:37:24 +00:00
Gareth Hughes
16a8e986ce
- Restore texImage->IntFormat.
...
- Fix FX driver texture image conversions.
2001-03-28 21:36:31 +00:00
Brian Paul
d082417dae
check for startX off the right edge of the window
2001-03-28 21:36:31 +00:00
Brian Paul
5bfaa2f12e
use Image[i]->TexFormat to check for mipmap consistency
2001-03-28 21:31:54 +00:00
Brian Paul
38e3675d7d
simplify test for specific texture formats
2001-03-28 21:31:24 +00:00