OSDN Git Service
Brian Paul [Tue, 6 Feb 2001 21:42:48 +0000 (21:42 +0000)]
Overhaul of texture image handling.
1. gl_texture_image struct's Data pointer points to images in driver's format.
2. Added FetchTexel() function pointer to struct gl_texture_image.
3. Changed Driver Tex[Sub]Image functions, return void now.
4. Texture storage/fetch code in new texstore.c file.
5. Removed texture.[ch] - functions moved to state.c
Note: FX driver updates not finished yet.
Brian Paul [Tue, 6 Feb 2001 17:22:16 +0000 (17:22 +0000)]
added _mesa_adjust_image_for_convolution()
Keith Whitwell [Tue, 6 Feb 2001 04:06:34 +0000 (04:06 +0000)]
Use a lookup table to compute exponents in tnl fogging code. Slightly
clean up the shine table lookup macro.
Brian Paul [Tue, 6 Feb 2001 00:03:47 +0000 (00:03 +0000)]
misc updates to match latest device driver changes
Brian Paul [Mon, 5 Feb 2001 19:17:31 +0000 (19:17 +0000)]
added mesa_profile extern decl
Brian Paul [Mon, 5 Feb 2001 18:48:52 +0000 (18:48 +0000)]
replaced frustrum with frustum
Jouk Jansen [Mon, 5 Feb 2001 08:56:12 +0000 (08:56 +0000)]
Committing in .
Modified Files:
Mesa/src/descrip.mms
Updated VMS make-files
----------------------------------------------------------------------
Keith Whitwell [Sun, 4 Feb 2001 00:47:28 +0000 (00:47 +0000)]
rework to correctly respect _ac_import_range()
Keith Whitwell [Sun, 4 Feb 2001 00:44:36 +0000 (00:44 +0000)]
Fast no-copy drawarrays for large tristrips
Gareth Hughes [Sat, 3 Feb 2001 08:41:03 +0000 (08:41 +0000)]
Some more work on interal debugging, timing routines for things that
will have implementations in assembly code. To come: texture image
conversions, more of internal T&L pipeline and so on.
Jouk Jansen [Wed, 31 Jan 2001 14:10:16 +0000 (14:10 +0000)]
Committing in .
Modified Files:
Mesa/src/descrip.mms
Updates VMS compile-support
----------------------------------------------------------------------
Brian Paul [Tue, 30 Jan 2001 18:08:51 +0000 (18:08 +0000)]
make gluPerspective() call glMultMatrix() instead of glFrustum() to get correct error semantics
Brian Paul [Tue, 30 Jan 2001 17:46:34 +0000 (17:46 +0000)]
added packed types to glGetMinMax and glGetHistogram error checks
Brian Paul [Tue, 30 Jan 2001 16:38:20 +0000 (16:38 +0000)]
fixed half pixel offset bug in aa point code
Gareth Hughes [Tue, 30 Jan 2001 15:02:34 +0000 (15:02 +0000)]
Upgrade to (patched) version 7 of glext.h
Brian Paul [Mon, 29 Jan 2001 23:38:41 +0000 (23:38 +0000)]
last segment of AA stippled lines wasn't drawn
Brian Paul [Mon, 29 Jan 2001 22:40:23 +0000 (22:40 +0000)]
fixed inverted Y coord for dithering in write_span_DITHER_5R6G5B_ximage()
Brian Paul [Mon, 29 Jan 2001 22:15:44 +0000 (22:15 +0000)]
GL_SHADE_MODEL wasn't popped correctly
Brian Paul [Mon, 29 Jan 2001 22:10:37 +0000 (22:10 +0000)]
removed unused vars
Brian Paul [Mon, 29 Jan 2001 22:10:24 +0000 (22:10 +0000)]
only compute separate specular if texturing really enabled
Brian Paul [Mon, 29 Jan 2001 21:47:13 +0000 (21:47 +0000)]
fixed computation of _MultiTextureEnabled (again)
Keith Whitwell [Mon, 29 Jan 2001 20:56:32 +0000 (20:56 +0000)]
Update implementations of Driver.Clear().
Keith Whitwell [Mon, 29 Jan 2001 20:47:39 +0000 (20:47 +0000)]
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.
Brian Paul [Mon, 29 Jan 2001 18:51:25 +0000 (18:51 +0000)]
optimized lambda computation (Klaus Niederkrueger)
Brian Paul [Mon, 29 Jan 2001 16:18:37 +0000 (16:18 +0000)]
updates to the trace extension
Brian Paul [Mon, 29 Jan 2001 16:10:18 +0000 (16:10 +0000)]
updated spec
Brian Paul [Wed, 24 Jan 2001 15:27:10 +0000 (15:27 +0000)]
redo _mesa_PopAttrib() to call Mesa state functions so derived state is updated
Brian Paul [Wed, 24 Jan 2001 04:56:19 +0000 (04:56 +0000)]
removed the unused/broken GL_PGI_misc_hints extension
Brian Paul [Wed, 24 Jan 2001 00:07:01 +0000 (00:07 +0000)]
minor tweaks
Brian Paul [Wed, 24 Jan 2001 00:04:58 +0000 (00:04 +0000)]
Lots of GLchan datatype changes.
Added GLvector4us datatype in math/m_vector.[ch]
Added _math_trans_4us() in math/m_translate.[ch]
Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS.
Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions.
Changed args to Driver.ClearColor(), updated drivers.
Reordered files in Makefile.X11
Brian Paul [Tue, 23 Jan 2001 23:45:05 +0000 (23:45 +0000)]
added DestroyHeads() to test clean-up code
Brian Paul [Tue, 23 Jan 2001 23:44:39 +0000 (23:44 +0000)]
minor tweaks
Brian Paul [Tue, 23 Jan 2001 23:44:15 +0000 (23:44 +0000)]
added support for 4 texture units
Brian Paul [Tue, 23 Jan 2001 23:43:53 +0000 (23:43 +0000)]
space-bar = pause animation
Brian Paul [Tue, 23 Jan 2001 23:39:36 +0000 (23:39 +0000)]
Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.
Replace "RGBAMode" with "rgbMode", etc.
Other minor clean-ups.
Brian Paul [Tue, 23 Jan 2001 23:35:47 +0000 (23:35 +0000)]
added dispatch override mechanism, used by trace extension
Brian Paul [Tue, 23 Jan 2001 23:35:23 +0000 (23:35 +0000)]
fixed glTexSubImage error check bug #128775
Brian Paul [Tue, 23 Jan 2001 23:29:15 +0000 (23:29 +0000)]
test check-in
Keith Whitwell [Wed, 17 Jan 2001 02:49:38 +0000 (02:49 +0000)]
Fixes for performance bug on compiled array element paths.
Brian Paul [Tue, 16 Jan 2001 21:16:56 +0000 (21:16 +0000)]
updated ctx->Driver functions for s/w setup
Brian Paul [Tue, 16 Jan 2001 15:25:11 +0000 (15:25 +0000)]
fixed a small error in import_color(), include m_translate.h
Keith Whitwell [Tue, 16 Jan 2001 05:29:42 +0000 (05:29 +0000)]
Fix several conformance problems. Hack solution to line stipple problem.
Brian Paul [Mon, 15 Jan 2001 20:04:28 +0000 (20:04 +0000)]
removed unneeded TXTR_COORD macros (Stephen Tse)
Keith Whitwell [Sun, 14 Jan 2001 06:14:21 +0000 (06:14 +0000)]
Fixed conform feedback and drawelements tests.
Use correct pv when rasterizing unfilled polys.
Keith Whitwell [Sat, 13 Jan 2001 18:28:19 +0000 (18:28 +0000)]
fix conform dlist test
Keith Whitwell [Sat, 13 Jan 2001 07:13:28 +0000 (07:13 +0000)]
Use correct pv in swrast lines routines
Keith Whitwell [Sat, 13 Jan 2001 05:48:25 +0000 (05:48 +0000)]
Fix crash in book/stencil.
Allow drivers to perform the perspective divide themselves. Assembly
to do cliptesting without perspective divide for size-4 vectors.
Keith Whitwell [Sat, 13 Jan 2001 05:47:06 +0000 (05:47 +0000)]
Resync with new XFree version of this file
Brian Paul [Fri, 12 Jan 2001 22:34:27 +0000 (22:34 +0000)]
initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoop
Brian Paul [Tue, 9 Jan 2001 00:02:55 +0000 (00:02 +0000)]
Added PointSize and PointParametersfv to dd interface, for completeness.
Clean-up and updated comments in dd.h file.
Keith Whitwell [Mon, 8 Jan 2001 21:55:59 +0000 (21:55 +0000)]
Fixed 'IRound' to 'IROUND' in mmath.h
Fixed fallback path for drawarrays/_tnl_hard_begin.
Removed disabled debug code.
Keith Whitwell [Mon, 8 Jan 2001 17:42:13 +0000 (17:42 +0000)]
Still need 'DD_TRI_CULL_FRONT_BACK'
Keith Whitwell [Mon, 8 Jan 2001 17:41:15 +0000 (17:41 +0000)]
Add call to Driver.RenderPrimitive()
Keith Whitwell [Mon, 8 Jan 2001 04:55:22 +0000 (04:55 +0000)]
revert XMesaCreateContext changes
Keith Whitwell [Mon, 8 Jan 2001 04:09:41 +0000 (04:09 +0000)]
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers
that used to require a 'ReducedPrimitiveChange' callback.
Various compilation fixes for XFree86.
Reverted to the older version of glcore.h used internally in XFree86, and
moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with
XFree86.
Keith Whitwell [Mon, 8 Jan 2001 04:06:56 +0000 (04:06 +0000)]
Bring the FX driver into line with core mesa changes.
Keith Whitwell [Mon, 8 Jan 2001 04:06:20 +0000 (04:06 +0000)]
Modify X11 driver and fake glx to store a GLcontext
(ie a 'struct __GLcontextRec *') instead of an 'XMesaContext'.
This is to fix conflicts in XFree86 where both the indirect XMesaContext
and the GLcontext were calling themselves __GLcontextRec's.
Keith Whitwell [Mon, 8 Jan 2001 03:56:53 +0000 (03:56 +0000)]
Moved glcore.h to a location prefixed by 'GL/internal', for compatibility
with XFree86 and the SI code there.
Gareth Hughes [Sat, 6 Jan 2001 22:46:13 +0000 (22:46 +0000)]
Implementation of GL_EXT_texture_env_dot3.
Gareth Hughes [Sat, 6 Jan 2001 20:38:03 +0000 (20:38 +0000)]
Add GL_POINTS as a primitive, including with CVA DrawElements. Useful
for testing non-triangle primitives on hardware driver fastpaths.
Brian Paul [Fri, 5 Jan 2001 21:28:31 +0000 (21:28 +0000)]
Fixed bug in MinMagThresh computation.
Renamed gl_texture_pixels() to _swrast_texture_fragments()
Jouk Jansen [Fri, 5 Jan 2001 08:09:46 +0000 (08:09 +0000)]
Committing in .
Modified Files:
Mesa/src/descrip.mms
VMS makefile update
----------------------------------------------------------------------
Keith Whitwell [Fri, 5 Jan 2001 05:31:42 +0000 (05:31 +0000)]
various compilation/warning fixes
Keith Whitwell [Fri, 5 Jan 2001 02:26:48 +0000 (02:26 +0000)]
Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex
is always the last vertex parameter.
Modify clipping to preserve pv colors.
Modify swrast and X11 driver to expect the pv in the last vertex
(was looking in the first vertex previously).
Remove all handling of flatshading from swrast_setup.
Allow drivers to override the unclipped render tabs in tnl_render_stage
directly. (Like in 3.4). Removed fxsimplerender stage.
Modified t_vb_rendertmp.h to remove the need for 'parity' arguments
in RENDER_TRI macros.
Brian Paul [Thu, 4 Jan 2001 16:22:18 +0000 (16:22 +0000)]
added underflow check in validate_shine_table()
Brian Paul [Thu, 4 Jan 2001 15:32:32 +0000 (15:32 +0000)]
added divide by zero check
Brian Paul [Thu, 4 Jan 2001 15:32:10 +0000 (15:32 +0000)]
changed some point functions, new picking code
Brian Paul [Thu, 4 Jan 2001 15:31:38 +0000 (15:31 +0000)]
minor bug fixes
Brian Paul [Wed, 3 Jan 2001 22:56:23 +0000 (22:56 +0000)]
added divide by zero check
Brian Paul [Wed, 3 Jan 2001 22:55:26 +0000 (22:55 +0000)]
added divide by zero checks
Brian Paul [Wed, 3 Jan 2001 22:17:16 +0000 (22:17 +0000)]
New point rasterization functions based on template code that
handles CI/RGB, texture, antialiasing, attenuation, etc.
Brian Paul [Wed, 3 Jan 2001 15:59:30 +0000 (15:59 +0000)]
More color macro clean-ups.
FLOAT_TO_CHAN() macro removed.
Brian Paul [Wed, 3 Jan 2001 15:56:41 +0000 (15:56 +0000)]
minor clean-up
Jon Taylor [Wed, 3 Jan 2001 02:43:46 +0000 (02:43 +0000)]
Added missing #include "mmath.h"
Brian Paul [Tue, 2 Jan 2001 22:05:55 +0000 (22:05 +0000)]
missed a few color macro changes
Brian Paul [Tue, 2 Jan 2001 22:02:51 +0000 (22:02 +0000)]
Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)
Clean-up of color conversion macros.
New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
Brian Paul [Tue, 2 Jan 2001 21:40:57 +0000 (21:40 +0000)]
include state.h
Brian Paul [Tue, 2 Jan 2001 21:09:50 +0000 (21:09 +0000)]
minor GLchan-related changes
Jouk Jansen [Tue, 2 Jan 2001 10:07:33 +0000 (10:07 +0000)]
Committing in .
Modified Files:
Mesa/demos/descrip.mms Mesa/src/descrip.mms
Mesa/src/dispatch.c
-Updated VMS compile suppport
-Included glthread.h in dispatch.c to make sure that THREADS is defined if
i.e. PTHREADS is defined in the makefile.
----------------------------------------------------------------------
Keith Whitwell [Thu, 28 Dec 2000 22:11:04 +0000 (22:11 +0000)]
Add render stage for unclipped vb's to fx driver.
Bump MAX_TEXTURE_UNITS to 8
Fix mem. leak in destroy_lists
Fix crash in q3 (cva generally)
Keith Whitwell [Thu, 28 Dec 2000 16:42:37 +0000 (16:42 +0000)]
try and force a log message
Keith Whitwell [Thu, 28 Dec 2000 16:35:42 +0000 (16:35 +0000)]
try and force a log message
Keith Whitwell [Thu, 28 Dec 2000 16:32:22 +0000 (16:32 +0000)]
try and force a log message
Jon Taylor [Thu, 28 Dec 2000 02:00:27 +0000 (02:00 +0000)]
Fixed GGIMesa build problems.
Swrast triangle drawing fixes.
Keith Whitwell [Wed, 27 Dec 2000 23:01:25 +0000 (23:01 +0000)]
try and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:59:46 +0000 (22:59 +0000)]
try and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:57:13 +0000 (22:57 +0000)]
try and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:55:09 +0000 (22:55 +0000)]
try and force a log message
Keith Whitwell [Wed, 27 Dec 2000 22:52:45 +0000 (22:52 +0000)]
fix demos/fire, enable lazy vertex flushing
Keith Whitwell [Wed, 27 Dec 2000 22:30:29 +0000 (22:30 +0000)]
Fix evalpoints bug (samples/nurb)
Keith Whitwell [Wed, 27 Dec 2000 21:49:40 +0000 (21:49 +0000)]
fix sproingies bug
Keith Whitwell [Wed, 27 Dec 2000 19:57:37 +0000 (19:57 +0000)]
Fixes for compiling assembly (disable unused 'masked' versions)
Fixes for compiling without debug.
Fix line clipping
Fix unfilled polygon clipping (should be correct now).
Keith Whitwell [Tue, 26 Dec 2000 15:14:04 +0000 (15:14 +0000)]
The array cache.
Keith Whitwell [Tue, 26 Dec 2000 07:41:32 +0000 (07:41 +0000)]
fix xscreensaver cores
Keith Whitwell [Tue, 26 Dec 2000 05:09:27 +0000 (05:09 +0000)]
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.
pesco [Sun, 24 Dec 2000 22:53:54 +0000 (22:53 +0000)]
* demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util.
* demos/Makefile.X11, demos/Makefile.BeOS-R4, demos/Makefile.cygnus:
Essentially the same.
Program files updated to include "readtex.c", not "../util/readtex.c".
* demos/reflect.c: Likewise for "showbuffer.c".
* Makefile.am (EXTRA_DIST): Added top-level regular files.
* include/GL/Makefile.am (INC_X11): Added glxext.h.
* src/GGI/include/ggi/mesa/Makefile.am (EXTRA_HEADERS): Include
Mesa GGI headers in dist even if HAVE_GGI is not given.
* configure.in: Look for GLUT and demo source dirs in $srcdir.
* src/swrast/Makefile.am (libMesaSwrast_la_SOURCES): Set to *.[ch].
More source list updates in various Makefile.am's.
* Makefile.am (dist-hook): Remove CVS directory from distribution.
(DIST_SUBDIRS): List all possible subdirs here.
(SUBDIRS): Only list subdirs selected for build again.
The above two applied to all subdir Makefile.am's also.
pesco [Thu, 21 Dec 2000 20:04:14 +0000 (20:04 +0000)]
* include/GL/Makefile.am: ENABLE_GLUT_BUILD -> NEED_GLUT
* bootstrap: Fixed stupid mistakes.
* configure.in (LIBGL_VERSION): Include Mesa version as tiny number.
(LIBGLU_VERSION): Likewise.
Brian Paul [Sat, 16 Dec 2000 00:21:28 +0000 (00:21 +0000)]
set visual->MRD to 2.0
Brian Paul [Sat, 16 Dec 2000 00:19:12 +0000 (00:19 +0000)]
Polygon._OffsetAny wasn't being computed
Brian Paul [Fri, 15 Dec 2000 16:42:30 +0000 (16:42 +0000)]
minor fog clean-ups (Klaus Niederkrueger)