Brian Paul
ebb248aa5c
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
před 26 roky
Brian Paul
699bc7b73d
More GLchan color channel changes.
Some header file re-org:
Move matrix, vertex buffer structs to types.h to fix #include mess.
Remove typedef, extern declarations from config.h
před 26 roky
Brian Paul
c893a015d8
New colormac.h file for color-related macros.
Lot's of clean-up in macros.h and mmath.h
před 26 roky
Brian Paul
ba643a2094
Basic work to support deep color channels:
Replace GLubyte with GLchan
Replace 255 with CHAN_MAX
před 26 roky
Keith Whitwell
a897b335be
Do per-pixel fog when GL_FOG_HINT is GL_NICEST.
Fix scaling bug in per-pixel fog calculations.
před 26 roky
Jon Taylor
1aa958bc9c
Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.
před 26 roky
Brian Paul
1c4b3f4dfb
restored test for __alpha in _mesa_win_fog_coords_from_z()
před 26 roky
Brian Paul
7dd57a48e1
added info about GL_EXT_secondary_color and GL_EXT_fog_coord
před 26 roky
Brian Paul
a14cbff8e5
Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.c
and state.c file for plugging those functions into the dispatch table.
Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets.
Commented-out references to ctx->FogMode and VB->Specular in FX driver.
Minor clean-up in extensions.c
Removed unused prototype in fog.h
před 26 roky
Keith Whitwell
fe5d67d95f
Implement EXT_fog_coord and EXT_secondary_color.
EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
před 26 roky
Gareth Hughes
ba58a6665f
Change animated apps to double-buffered visuals by default.
před 26 roky
Brian Paul
b4df56fcd9
added GL_BGR case to bytes_per_pixel()
před 26 roky
Brian Paul
7460cfabbc
removed X86/*.m4 files from tar archive
před 26 roky
Brian Paul
66202b75d5
clarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS value
před 26 roky
Brian Paul
7ceffd0e0d
fixed value for GLU_NURBS_MODE
před 26 roky
Brian Paul
27a26bfc4b
added a glFinish() call
před 26 roky
Brian Paul
21d073d55a
added incomplete() debug function/macro
před 26 roky
Brian Paul
9a4a958a5c
signal NEW_TEXTURING if there's a Driver.BindTexture() function
před 26 roky
Brian Paul
6cdf09749c
Put a white texel in each corner of each texture.
Draw polygons using the texture's aspect ratio.
The tdfx-3-0-0 texcoord bug is obvious with the -randomsize option.
před 26 roky
Brian Paul
0448488e11
added idle() func, enable fog by default
před 26 roky
Brian Paul
5a501fbd09
added libOSMesa.so info
před 26 roky
Brian Paul
5bb27edac0
generate separate libOSMesa library ala XFree86/DRI
před 26 roky
Brian Paul
edda9ae9fb
fixed 386/x86 mismatches, reordered a few configs
před 26 roky
Gareth Hughes
ac018f5494
Major audit of all Mesa's x86 assembly code. This round is basically
general cleanups - more to come.
Added P6 architecture timing to debug_xform routines. Still need to add
test_all_vertex_functions test for the v16 asm. Dynamic reconfiguration
of counter overhead for more accurate benchmarking.
Removed redundant x86 assembly build options, replace with linux-x86 and
so on. This will build all x86, MMX, 3DNow!, SSE etc assembly into
libGL - preferred over many different options to include some but not
all assembly code. Note that linux-3dnow and linux-katmai options have
thus been removed.
před 26 roky
Gareth Hughes
fc2427e81b
Major audit of all Mesa's x86 assembly code. This round is basically
general cleanups - more to come.
Added P6 architecture timing to debug_xform routines. Still need to add
test_all_vertex_functions test for the v16 asm. Dynamic reconfiguration
of counter overhead for more accurate benchmarking.
před 26 roky
Brian Paul
e188b6e1f1
added a proper idle() function
před 26 roky
Brian Paul
eb326f5f01
fixed a texture enable bug
před 26 roky
Brian Paul
d0d7d62120
polygon offset changes; added Visual->MRD field
před 26 roky
Brian Paul
d475730357
Changes for multitexture > 3, code clean-ups.
Added GLboolean ctx->Texture.MultiTextureEnabled to determine when
multitexture is enabled. Eventually ctx->Texture.ReallyEnabled may
become a boolean.
před 26 roky
Brian Paul
a2d2aed64a
use 1.1 glPolygonOffset instead of glPolygonOffsetEXT
před 26 roky
Brian Paul
9c7ca850fd
Rewrote get_static_proc_address(). It made mistakes in some situations
před 26 roky
Brian Paul
a5b66333fb
glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly
před 26 roky
Brian Paul
9f0bb59c53
call Driver.SetReadBuffer() in clear_color_buffers() to fix colormasked clear bug
před 26 roky
Brian Paul
cc50ed60b3
improved blending accuracy to fix Glean test failures
před 26 roky
Brian Paul
6aafd2491c
GL_MAX_TEXTURE_UNITS_ARB is now 3
před 26 roky
Brian Paul
ce938b307e
More fixes for MAX_TEXTURE_UNITS > 2. Seems to work now.
Misc code clean-ups, minor bug fixes.
MAX_TEXTURE_UNITS now defaults to 3.
před 26 roky
Brian Paul
d367216678
ported render begin/end calls from Mesa 3.4
před 26 roky
Brian Paul
1873b567b2
added _mesa_get_teximages_from_driver()
před 26 roky
Brian Paul
1100b4daa3
use gray background, memset TempImage to white to help with debugging
před 26 roky
Brian Paul
35324a6c60
if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problems
před 26 roky
Brian Paul
1791901468
update TriangleCaps in GL_POINT/POLYGON_SMOOTH cases
před 26 roky
Brian Paul
fdf2033bda
brighter colors
před 26 roky
Brian Paul
2c7e6334ec
better handling of GLX_DEPTH_SIZE in glXChooseVisual()
před 26 roky
Brian Paul
fa849a0e16
drawing color-index image to RGB window was broken
před 26 roky
Jouk Jansen
55590ee810
Committing in .
Modified Files:
Mesa/demos/paltex.c
Silenced compiler warnings
----------------------------------------------------------------------
před 26 roky
Brian Paul
476609c539
improved to test alpha blending with texture palette
před 26 roky
Brian Paul
16eb23a0cb
more work to support N texture units
před 26 roky
Brian Paul
22f1ca0131
textured line test
před 26 roky
Brian Paul
9c05c0494d
support for N texture units
před 26 roky
Brian Paul
4f66498304
added fps output
před 26 roky