Brian Paul
78ad878b66
updated texture image handling - STILL UNTESTED
24 anos atrás
Brian Paul
f378ab825c
added a number of debugging tests to be sure drivers handle texture images correctly
24 anos atrás
Brian Paul
8e39ad2cd6
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.
24 anos atrás
Brian Paul
16461f7c53
added _mesa_adjust_image_for_convolution()
24 anos atrás
Keith Whitwell
d1baa05439
Use a lookup table to compute exponents in tnl fogging code. Slightly
clean up the shine table lookup macro.
24 anos atrás
Brian Paul
8fd9f1748d
misc updates to match latest device driver changes
24 anos atrás
Brian Paul
228748bc49
added mesa_profile extern decl
24 anos atrás
Brian Paul
d8bc5a9eba
replaced frustrum with frustum
24 anos atrás
Jouk Jansen
db7a3318aa
Committing in .
Modified Files:
Mesa/src/descrip.mms
Updated VMS make-files
----------------------------------------------------------------------
24 anos atrás
Keith Whitwell
71270195d5
rework to correctly respect _ac_import_range()
24 anos atrás
Keith Whitwell
6e9f8b7cdb
Fast no-copy drawarrays for large tristrips
24 anos atrás
Gareth Hughes
fe69cb4b9b
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.
24 anos atrás
Jouk Jansen
6d689e8a69
Committing in .
Modified Files:
Mesa/src/descrip.mms
Updates VMS compile-support
----------------------------------------------------------------------
24 anos atrás
Brian Paul
eeb861df0b
make gluPerspective() call glMultMatrix() instead of glFrustum() to get correct error semantics
24 anos atrás
Brian Paul
d68b699291
added packed types to glGetMinMax and glGetHistogram error checks
24 anos atrás
Brian Paul
e56cc3970f
fixed half pixel offset bug in aa point code
24 anos atrás
Gareth Hughes
f2515fa83e
Upgrade to (patched) version 7 of glext.h
24 anos atrás
Brian Paul
426628c374
last segment of AA stippled lines wasn't drawn
24 anos atrás
Brian Paul
326f9ddd8a
fixed inverted Y coord for dithering in write_span_DITHER_5R6G5B_ximage()
24 anos atrás
Brian Paul
ba70e59e82
GL_SHADE_MODEL wasn't popped correctly
24 anos atrás
Brian Paul
961b7cad05
removed unused vars
24 anos atrás
Brian Paul
184a575a00
only compute separate specular if texturing really enabled
24 anos atrás
Brian Paul
407b487017
fixed computation of _MultiTextureEnabled (again)
24 anos atrás
Keith Whitwell
d98fdad3bf
Update implementations of Driver.Clear().
24 anos atrás
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.
24 anos atrás
Brian Paul
4b90e68ac6
optimized lambda computation (Klaus Niederkrueger)
24 anos atrás
Brian Paul
e5dfe384ad
updates to the trace extension
24 anos atrás
Brian Paul
d6dd0fceb1
updated spec
24 anos atrás
Brian Paul
f3da389ae0
redo _mesa_PopAttrib() to call Mesa state functions so derived state is updated
24 anos atrás
Brian Paul
ab36c9aa1c
removed the unused/broken GL_PGI_misc_hints extension
24 anos atrás
Brian Paul
9533fd1842
minor tweaks
24 anos atrás
Brian Paul
74b493a5e6
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
24 anos atrás
Brian Paul
125fddc31d
added DestroyHeads() to test clean-up code
24 anos atrás
Brian Paul
6140a8c65f
minor tweaks
24 anos atrás
Brian Paul
4e3e9ac8fb
added support for 4 texture units
24 anos atrás
Brian Paul
2b2e62154d
space-bar = pause animation
24 anos atrás
Brian Paul
b6bcae5698
Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.
Replace "RGBAMode" with "rgbMode", etc.
Other minor clean-ups.
24 anos atrás
Brian Paul
ab0c886a6c
added dispatch override mechanism, used by trace extension
24 anos atrás
Brian Paul
f2718b0966
fixed glTexSubImage error check bug #128775
24 anos atrás
Brian Paul
39927e60ea
test check-in
24 anos atrás
Keith Whitwell
c0bcd2ca99
Fixes for performance bug on compiled array element paths.
24 anos atrás
Brian Paul
547bbcabff
updated ctx->Driver functions for s/w setup
24 anos atrás
Brian Paul
d292b83d1a
fixed a small error in import_color(), include m_translate.h
24 anos atrás
Keith Whitwell
d43a5943d8
Fix several conformance problems. Hack solution to line stipple problem.
24 anos atrás
Brian Paul
230928ad5f
removed unneeded TXTR_COORD macros (Stephen Tse)
24 anos atrás
Keith Whitwell
3fd01320f1
Fixed conform feedback and drawelements tests.
Use correct pv when rasterizing unfilled polys.
24 anos atrás
Keith Whitwell
ab8b047ae5
fix conform dlist test
24 anos atrás
Keith Whitwell
8415686ea2
Use correct pv in swrast lines routines
24 anos atrás
Keith Whitwell
321f67c472
Fix crash in book/stencil.
Allow drivers to perform the perspective divide themselves. Assembly
to do cliptesting without perspective divide for size-4 vectors.
24 anos atrás
Keith Whitwell
a087c7421b
Resync with new XFree version of this file
24 anos atrás