Brian Paul
cd1cefae91
Allow different max texture sizes for 1/2D, 3D and cube maps.
2001-06-13 14:56:14 +00:00
Brian Paul
5a2f32b102
fixed a potential tex obj reference count problem involving multi-texture
2001-04-25 18:21:05 +00:00
Brian Paul
0a31a67269
improved a glBindTexture error message
2001-04-20 17:16:52 +00:00
Brian Paul
5bfaa2f12e
use Image[i]->TexFormat to check for mipmap consistency
2001-03-28 21:31:54 +00:00
Gareth Hughes
2c3d34c905
- Port 3.4 texture utils, texture format work to 3.5 (including new
...
FetchTexel routines).
- Initial hooks for GL_EXT_texture_filter_anisotropic.
2001-03-18 08:53:49 +00:00
Gareth Hughes
22144ab755
Consistent copyright info (version number, date) across all files.
2001-03-12 00:48:37 +00:00
Brian Paul
01915e90e6
More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.
2001-03-08 15:23:46 +00:00
Brian Paul
0883634178
lots of gl_*() to _mesa_*() namespace clean-up
2001-03-03 20:33:27 +00:00
Brian Paul
eb198d2702
tiny change to a gl_problem() call
2001-02-26 18:25:25 +00:00
Brian Paul
c499ce31ba
Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.
...
Added some const keywords in the s/w texturing code.
2001-02-20 16:42:25 +00:00
Brian Paul
e75d2424e5
Changed FetchTexel() function pointer arguments.
...
Implemented glGetTexImage(format=GL_COLOR_INDEX).
Changed _mesa_unpack_depth_span() args.
Minor changes/clean-ups in mtypes.h.
Histogram counter component sizes were wrong.
2001-02-17 18:41:01 +00:00
Keith Whitwell
5c1e7fa6ee
Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels
...
functions from core mesa -- if drivers need these fallbacks they
must now call them themselves.
Introduced hooks for clip-vertex-interpolation and the rendering
of clipped lines and polygons. Allows drivers to interpolate
their hardware-format vertices directly. Used in dri drivers to
replace fastpath code.
Slight optimizations to pipeline build/run routines.
2001-01-29 20:47:39 +00:00
Keith Whitwell
cab974cf6c
Major rework of tnl module
...
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.
2000-12-26 05:09:27 +00:00
Brian Paul
083e466f88
Renamed texture object _P to _MaxLevel and _M to _MaxLambda.
...
Now add BaseLevel in _MaxLevel computation.
2000-12-14 20:25:56 +00:00
Jouk Jansen
5e3bc0c2a2
Committing in .
...
Modified Files:
Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h
Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c
Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c
Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c
Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c
Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h
Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c
Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h
Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h
Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h
Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c
Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c
Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h
Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c
Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h
Mesa/src/extensions.c Mesa/src/extensions.h
Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c
Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c
Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h
Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h
Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h
Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c
Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h
Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c
Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h
Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c
Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h
Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c
Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h
Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c
Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h
Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c
Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c
Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c
Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c
Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h
Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h
Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h
Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h
Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h
Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h
Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h
Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h
Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h
Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c
Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h
Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h
Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h
Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h
Mesa/src/swrast_setup/ss_context.h
Mesa/src/swrast_setup/ss_triangle.c
Mesa/src/swrast_setup/ss_triangle.h
Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c
Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c
Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c
Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c
Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h
Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h
Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h
Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h
Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h
Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h
Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h
Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h
Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h
Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h
Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h
Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h
Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h
Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h
Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h
Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h
Mesa/src/tnl/tnl.h
Added Files:
Mesa/src/mtypes.h
Removed Files:
Mesa/src/types.h
Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while
compiling on a VMS system.
----------------------------------------------------------------------
2000-11-22 07:32:16 +00:00
Brian Paul
a852378a62
Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
...
Completely removed the dirty texture object list. Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.
2000-11-19 23:10:25 +00:00
Brian Paul
7351049dba
init WrapR to GL_REPEAT mode
2000-11-11 20:23:47 +00:00
Keith Whitwell
14940c4ffe
- Changes for new software rasterizer modules
...
- Remove support for choosing software fallbacks from core code
- Remove partial fallback code from vbrender.c -- drivers are now
expected to be able to find a triangle/quad function for every state,
even if they have to use _swsetup_Triangle or _swsetup_Quad.
- Marked derived variables in the GLcontext struct with a leading
underscore '_'.
2000-11-05 18:40:57 +00:00
Keith Whitwell
a96308c37d
Replace the flags Mesa was using for ctx->NewState with a new set
...
based on the GL attribute groups.
Introduced constants describing the circumstances under which some
key derived values can change:
_SWRAST_NEW_RASTERMASK -- ctx->RasterMask
_SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle
function
_DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps
These are helpful in deciding whether you need to recalculate state if your
recalculation involves reference to a derived value.
2000-10-30 13:31:59 +00:00
Brian Paul
ebb248aa5c
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
2000-10-29 18:23:16 +00:00
Brian Paul
21d073d55a
added incomplete() debug function/macro
2000-10-24 02:53:18 +00:00
Brian Paul
9a4a958a5c
signal NEW_TEXTURING if there's a Driver.BindTexture() function
2000-10-24 01:13:58 +00:00
Brian Paul
e4b684ce49
init mutex
2000-09-12 21:07:40 +00:00
Brian Paul
507d83e4cc
added NULL parameter checking to API functions
2000-08-03 14:03:17 +00:00
Brian Paul
bd0f7f42d6
fixed return val bug in glAreTexturesResident()
2000-08-02 20:16:03 +00:00
Brian Paul
6d04725282
initialize texture priorities to 1.0, clean-up of _mesa_PrioritizeTextures()
2000-08-02 00:38:25 +00:00
Brian Paul
63ec423823
GL_TEXTURE_BASE_LEVEL wasn't working correctly
2000-06-12 16:09:49 +00:00
Brian Paul
ad817704fa
more work on GL_ARB_texture_cube_map
2000-05-30 00:27:24 +00:00
Brian Paul
413d6a21f8
more work on GL_ARB_texture_cube_map
2000-05-26 14:44:59 +00:00
Brian Paul
35d5301a54
more texture cube work, misc code clean-up
2000-05-23 17:14:49 +00:00
Brian Paul
fc4b44399a
more work on GL_ARB_texture_cube_map
2000-05-23 15:17:12 +00:00
Brian Paul
4bdcfe50f8
dynamically allocate color table data, uses less memory
2000-04-17 17:57:04 +00:00
Brian Paul
4827179cc0
changes for single-copy textures
2000-03-29 18:13:59 +00:00
Brian Paul
021a525616
put _mesa prefix on some functions
2000-03-27 17:54:17 +00:00
Brian Paul
832179c50e
added more locking
2000-03-21 17:42:27 +00:00
Brian Paul
59d6da5365
fixed reference count but in DeleteTextures()
2000-02-12 01:59:19 +00:00
Brian Paul
9560f05def
added mutexes for thread safety
2000-01-31 23:11:39 +00:00
Brian Paul
c79fab4aa6
replaced HashLookup() with _mesa_HashLookup()
2000-01-24 20:53:32 +00:00
Brian Paul
bb79790662
prefixed hash functions with _mesa_
2000-01-24 16:19:54 +00:00
Brian Paul
420ef64f18
gl_BindTexture was broken when target==GL_TEXTURE_3D
1999-12-01 21:10:08 +00:00
Kendall Bennett
e312cf26ea
. Updates to get X86, MXX and 3DNow assembler code working with Watcom
...
C++ and NASM. This includes lots of _ASMAPI macros to ensure that
assembler functions are prototyped as __cdecl, as Watcom C++ uses
register calling conventions by default.
. Misc fixes to files to remove warnings generated by Watcom C++.
1999-11-12 04:56:54 +00:00
Brian Paul
fbd8f212c3
first big check-in of new Mesa 3.3 code
1999-11-11 01:22:25 +00:00
Brian Paul
5b37c32274
clean-up to reduce MSVC warnings
1999-11-05 06:43:10 +00:00
Brian Paul
bd5cdaf444
removed GL_ prefix from memory macros
1999-10-13 18:42:49 +00:00
Brian Paul
567a1de666
now using GL_MALLOC, GL_FREE
1999-10-10 13:04:17 +00:00
Brian Paul
6e6d4c66bd
texture units now share default texture objects
1999-10-09 20:17:07 +00:00
Keith Whitwell
485f040741
Fixed includes & added a few hooks for the DRI.
1999-10-08 09:27:09 +00:00
Keith Whitwell
69cfdb2fcb
more hooks for mga driver, including an immediate fastpath
1999-09-30 11:18:21 +00:00
jtg
afb833d4e8
Initial revision
1999-08-19 00:55:39 +00:00