Brian Paul
b95d252c34
added GL_EXT_texture_env_add extension
1999-11-12 02:07:56 +00:00
Brian Paul
a087e348ab
added gl_extension_is_enabled()
1999-11-12 02:05:46 +00:00
Brian Paul
ea895e6839
added some braces to silence gcc warnings
1999-11-12 00:14:06 +00:00
Brian Paul
d23f90726a
minor clean-ups
1999-11-12 00:06:07 +00:00
Brian Paul
1d5971db24
changed a warning string
1999-11-11 17:53:14 +00:00
Brian Paul
845117bd05
ColorTableEXT clean-up
1999-11-11 17:50:04 +00:00
Brian Paul
b99db9ea7b
updated for new texture color palette struct
1999-11-11 17:11:49 +00:00
Brian Paul
eb1f282b73
don't include strings.h or stdio.h
1999-11-11 15:26:45 +00:00
sio
3d993b7dee
Added missing GLAPIENTRY to glConvolution* and glCopy*
1999-11-11 14:11:16 +00:00
Jouk Jansen
d1aeac8d1d
version 3.3 update
1999-11-11 09:57:57 +00:00
Jouk Jansen
86d36643de
tess_macro.h included
1999-11-11 09:55:39 +00:00
Kendall Bennett
a73119234c
. Updated GL/gl.h with GLCALLACKP and GLAPIENTRYP macros for compatibility
...
with the IBM VisualAge C++ compiler. Eventually some more code will be
needed in the headers to enable the reversal of (__stdcall*) to (*__stdcall)
for the IBM compilers, however we currently build using our own header files
that already handle this.
. Changed instances of (GLCALLBACK*) to GLCALLBACKP for compatibility
with the IBM VisualAge C++ compiler in src-glu.
. Misc cleanups for warnings generated with Watcom C++ in src-glu. Compiles
with 0 warnings now.
. tess_hash.c: line 244 - Why is this function stubbed out? I removed the
code with a #if 0 to avoid a compiler warning, but it looks dangerous.
1999-11-11 03:21:43 +00:00
Brian Paul
cb5ecb883e
initial changes for Mesa 3.3
1999-11-11 01:28:16 +00:00
Brian Paul
fbd8f212c3
first big check-in of new Mesa 3.3 code
1999-11-11 01:22:25 +00:00
Keith Whitwell
06ac59281b
fix for colormaterial
1999-11-10 06:29:44 +00:00
Keith Whitwell
6adfc6bd9e
use glClientActiveTexture in interleaved setup
1999-11-09 17:26:15 +00:00
Keith Whitwell
6a9f16edae
more fixes for glDrawArrays
1999-11-09 17:00:25 +00:00
Keith Whitwell
20f6c10b41
second try at drawarrays fix
1999-11-09 10:12:34 +00:00
Keith Whitwell
e43a3aa293
fix for (some of?) the vertex array problems
1999-11-09 09:18:40 +00:00
Brian Paul
f6a79d045c
fixed typo: replaced |= with != in conditional
1999-11-09 07:59:54 +00:00
Brian Paul
0822c1050e
replace GLint with GLsizei in a gluScaleImage, gluBuild1/2DMipmaps()
1999-11-09 06:16:59 +00:00
Brian Paul
c00c0b323f
header includes clean-up (Daryll)
1999-11-08 15:29:43 +00:00
Brian Paul
99f16d01dd
changes to silence MSVC warnings
1999-11-08 15:28:08 +00:00
Brian Paul
19f90e35ff
flush pb after each line segment - for conformance
1999-11-08 14:36:32 +00:00
Brian Paul
327c69127c
clean-up of header includes (Daryll)
1999-11-08 07:36:43 +00:00
Gareth Hughes
787250cc01
Added filename, line number output for debugging messages.
1999-11-05 20:36:55 +00:00
Brian Paul
5b37c32274
clean-up to reduce MSVC warnings
1999-11-05 06:43:10 +00:00
Keith Whitwell
30990a65f8
Fix for glerror on compilation of list containing gldrawelements calls
1999-11-04 19:42:28 +00:00
Gareth Hughes
486e1f982e
Major winding rule updates, especially stacked contour support.
...
Improved debugging output that can be altered with an environment
variable instead of hard coded at compile time. Fixed bug in vertex
sorting function, so vertices are now indexed correctly (left to right).
1999-11-04 04:07:57 +00:00
Brian Paul
5b6677da16
include assert.h with rest of system headers
1999-11-03 19:27:41 +00:00
Josh Vanderhoof
0dd75e2884
swap operand order for Intel style REGOFF
1999-11-03 18:50:44 +00:00
Brian Paul
b09a4cd913
added another fast-path in _mesa_unpack_ubyte_color_spa(), more comments
1999-11-03 18:24:05 +00:00
Brian Paul
c3f0a511a7
new texture image processing
1999-11-03 17:27:05 +00:00
Brian Paul
03d96a0ce2
fixed a typo in a comment
1999-10-31 08:34:47 +00:00
Ted Jump
364b56a20e
Added checking for FXMESA_USE_ARGB to disable pixel reformatting when not appropriate
1999-10-30 18:34:48 +00:00
Brian Paul
12cc2bfff7
pixel pack/unpack ImageHeight and SkipImages was not initialized
1999-10-30 08:22:45 +00:00
Brian Paul
3c14ec9b55
added a few more scale/bias/lookup functions (for future use)
1999-10-30 08:20:57 +00:00
Brian Paul
4a867fcbf5
disabled glXGetProcAddress code
1999-10-27 09:50:10 +00:00
Brian Paul
38a811057d
disabled gluGetProcAddressEXT
1999-10-27 09:47:41 +00:00
Brian Paul
98b607b57d
fixed stupid error in GL_RGA case in gl_pack_rgba_span()
1999-10-26 09:21:04 +00:00
Brian Paul
64b7da799f
fixed byteswapping bug in gl_pack_rgba_span()
1999-10-22 12:49:52 +00:00
Brian Paul
3428162e27
added optimized GL_RGB, GL_UNSIGNED_BYTE case to gl_pack_rgba_span)
1999-10-22 10:59:15 +00:00
Brian Paul
64a79b2f3a
applied Jonn Carmack's patch for faster glTexSubImage2D() in Quake
1999-10-22 10:43:35 +00:00
Brian Paul
bc937424f1
updated some comments/docs
1999-10-21 12:46:27 +00:00
Brian Paul
5393bb3830
silenced some uninitialized var warnings
1999-10-21 12:45:53 +00:00
Brian Paul
fc811e2bfd
silenced ininitialized var warnings
1999-10-21 12:45:03 +00:00
Brian Paul
88737eeedc
silenced uninitialized variable warnings
1999-10-21 12:26:21 +00:00
Brian Paul
2fb055d891
clean-up of optimized GL_RETURN code
1999-10-20 22:39:16 +00:00
Brian Paul
34c7c1838a
fixed divTable precision problem in GL_RETURN case
1999-10-20 22:32:02 +00:00
Brian Paul
2c318aad9d
enable lighting even if no light sources are turned on
1999-10-20 22:16:45 +00:00
Ted Jump
3f17dfb8ba
Minor patches to cleanup some compiler warnings in MSVC
1999-10-20 06:56:40 +00:00
Brian Paul
d53573daf7
fixed a number of error-test bugs
1999-10-19 20:36:20 +00:00
Brian Paul
bc41b08073
more image type error checking in draw_stencil_pixels()
1999-10-19 20:33:57 +00:00
Brian Paul
f3f9b77324
clean-up in gl_LightModelfv()
1999-10-19 20:32:40 +00:00
Brian Paul
351752caff
added more format/type error checking code
1999-10-19 20:31:08 +00:00
Keith Whitwell
d471473b58
Changes to reduce the memory footprint of display lists
1999-10-19 18:37:02 +00:00
Brian Paul
91baaa3d5a
negative offsets to TexSubImage w/ texture borders caused memory corruption
1999-10-17 23:24:16 +00:00
Brian Paul
1e083c8c17
added glGet cases for vertex array enable state
1999-10-17 22:36:35 +00:00
Miklos Fazekas
b9d8c77ca6
Fixed a MacOS specific compile error.
1999-10-16 12:53:37 +00:00
Brian Paul
d95e2eb1a8
removed GL_EXT_get_proc_address
1999-10-16 11:32:15 +00:00
Brian Paul
b80429e49e
removed GL_EXT_get_proc_address
1999-10-16 11:27:02 +00:00
Brian Paul
42f252fc06
fixed an RGB vs CI bug in overlay visual selection
1999-10-14 18:47:37 +00:00
Gareth Hughes
3df50407a3
Added point_contour_test, taken from O'Rourke 1998.
1999-10-14 07:44:41 +00:00
Ted Jump
56a5f8820f
Fixed parameter type for notify function pointer parameter to gl_extensions_add
1999-10-13 22:09:09 +00:00
Gareth Hughes
6450917496
Removed CVS logs from files, as they were getting rather large.
1999-10-13 19:12:25 +00:00
Gareth Hughes
206abd9039
Added edge flag callback support.
1999-10-13 19:01:56 +00:00
Brian Paul
80af3614d8
now using MALLOC, CALLOC, FREE, etc macros
1999-10-13 18:49:47 +00:00
Brian Paul
bd5cdaf444
removed GL_ prefix from memory macros
1999-10-13 18:42:49 +00:00
Gareth Hughes
f80d0b2f61
Fixed delete_all_contours memory deallocation.
1999-10-12 21:26:06 +00:00
Gareth Hughes
2e4fce138c
Updated memory allocation to allow new macros to be used.
1999-10-12 18:49:28 +00:00
Gareth Hughes
21a257d25b
Renamed GLUtesselator user data pointer to avoid confusion.
1999-10-11 17:53:09 +00:00
Gareth Hughes
dbecc01c6e
Correctly initialized GLUtesselator user data pointer.
1999-10-11 17:48:53 +00:00
Gareth Hughes
4aaafa6265
Allow debugging output capture under Win32. This seems really
...
broken to me, but that's Windows for you...
1999-10-11 17:28:05 +00:00
Gareth Hughes
c30627a5af
Updated debugging output. I'm going to change it all to something
...
much more like the GLX project. This was a set of macros left over
from a research project I'd done, and I like the GLX logging more.
1999-10-11 17:26:48 +00:00
Jouk Jansen
cd555f456b
Repaired definition of GL_CALLOC_STRUC
1999-10-11 04:22:57 +00:00
Jouk Jansen
0b6c775f1c
#include <stdlib.h>
1999-10-11 04:20:55 +00:00
Jouk Jansen
4fbb2c6279
#include <assert.h>
1999-10-11 04:20:25 +00:00
Jouk Jansen
0279e2bc3a
misc -> glmisc
1999-10-11 04:17:50 +00:00
Brian Paul
567a1de666
now using GL_MALLOC, GL_FREE
1999-10-10 13:04:17 +00:00
Brian Paul
60a249d009
now using GL_MALLOC, GL_FREE
1999-10-10 12:51:29 +00:00
Brian Paul
375853e867
fixed dumb typo
1999-10-10 12:49:36 +00:00
Brian Paul
826e66a21f
now using GL_MALLOC, GL_FREE
1999-10-10 12:40:54 +00:00
Brian Paul
d77fa30761
added memory macros
1999-10-10 12:39:04 +00:00
Josh Vanderhoof
73d03344f4
no underscore prefix for freebsd >= 3 (Simon Walton)
1999-10-09 23:20:23 +00:00
Brian Paul
6e6d4c66bd
texture units now share default texture objects
1999-10-09 20:17:07 +00:00
Brian Paul
7ec8d588ab
fixed reference count bug in save_TexImage3DEXT()
1999-10-09 10:01:46 +00:00
Keith Whitwell
f8b3fc5454
fixed voodoo initialization
1999-10-08 11:07:54 +00:00
Keith Whitwell
485f040741
Fixed includes & added a few hooks for the DRI.
1999-10-08 09:27:09 +00:00
Miklos Fazekas
a7313e045d
Added PARB support.
1999-10-05 19:51:15 +00:00
Miklos Fazekas
3af541c541
Added gl_ext_multitexture_ADD suport.
1999-10-05 19:50:45 +00:00
Miklos Fazekas
37290c844c
Added packed ARGB support.
1999-10-05 19:49:41 +00:00
Miklos Fazekas
1076e7cd21
Packed RGBA support.
1999-10-05 19:26:54 +00:00
Miklos Fazekas
6a659315cd
Packed RGB support.
1999-10-05 19:00:11 +00:00
Miklos Fazekas
2ed47d29c6
Added support for GL_ext_texture_add
1999-10-05 18:48:49 +00:00
Miklos Fazekas
d598ca05e1
Minor cleanup.
1999-10-05 18:40:17 +00:00
Jouk Jansen
08a454c7af
Added tess_winding.c for compilation
1999-10-04 05:26:46 +00:00
Gareth Hughes
63fee8b3be
Added tessellation winding rule support. Misc bug fixes.
1999-10-03 00:56:07 +00:00
Gareth Hughes
45b95f048d
Added tessellation winding rule files.
1999-10-03 00:53:38 +00:00
Keith Whitwell
69cfdb2fcb
more hooks for mga driver, including an immediate fastpath
1999-09-30 11:18:21 +00:00
Jon Taylor
0b6ae412d3
Disable genkgi sublib handling until we have some sublibs to handle
1999-09-21 00:46:26 +00:00
Keith Whitwell
14f8b8b5c3
Bugfix for ctx->backface_sign calculation
1999-09-20 14:30:22 +00:00
Keith Whitwell
5a437d5889
Cleaning up
1999-09-19 23:43:02 +00:00
Keith Whitwell
c656951110
RasterMask was set incorrectly
1999-09-19 23:06:40 +00:00
Ted Jump
ea8e0b2156
Fixed LIBNAME entry
1999-09-19 10:03:19 +00:00
Ted Jump
a63baa3e8d
Removed use of GLU.H - prevents compiler warning wrt:gluGetProcAddressEXT
1999-09-19 09:59:12 +00:00
Ted Jump
725ec81ae8
More Win32 build compliance fixups
1999-09-19 02:03:18 +00:00
Keith Whitwell
1bf9dfaf5d
Large patch:
...
- FX bug fixes.
- Polygon mode and edgeflag work properly.
- Clipping works with edgeflag.
- Driver.ReducedPrimitiveChange() callback so drivers
that implement lines & points as triangles can turn culling off
before rendering groups of these primitives.
- Cleaned up feedback & select primitives.
1999-09-18 20:41:22 +00:00
Keith Whitwell
39d29fe7fe
Fix for write-rgba-span and others
1999-09-17 15:14:02 +00:00
Brian Paul
1bf28c46c2
glGetProcAddressEXT changes to accomodate Win32 and non-Win32
1999-09-17 12:21:36 +00:00
Brian Paul
9b563507cb
pad GL_TINY to 6 digits
1999-09-17 12:07:10 +00:00
Brian Paul
d2a57c9b2b
pad GLU_TINY to 6 digits
1999-09-17 12:06:56 +00:00
Gareth Hughes
b32966fc80
Winding rule updates.
1999-09-17 06:31:02 +00:00
Jouk Jansen
727f35a518
mesa_wgl.h should only be included when _WIN32 is defined
1999-09-17 05:56:43 +00:00
Ted Jump
477da9eff1
Modified to build better with Mesa wgl functions
1999-09-17 04:27:02 +00:00
Ted Jump
d29b1c2ea6
Patch error fixup
1999-09-17 03:17:18 +00:00
Ted Jump
1f256fd6b3
Win32 build req't updates
1999-09-17 03:07:28 +00:00
Brian Paul
67e9bd246b
fixed typo
1999-09-17 01:00:38 +00:00
Brian Paul
f33e6b1e83
version symbol changes
1999-09-17 00:06:57 +00:00
Brian Paul
20298685c3
gluGetProcAddressEXT change for C++ / BeOS
1999-09-17 00:06:14 +00:00
Brian Paul
3d7e15533f
updated for GL instead of MesaGL
1999-09-17 00:03:47 +00:00
Brian Paul
4811b7c7e0
initial check-in
1999-09-16 22:45:24 +00:00
Brian Paul
b9e8741c8f
added some casts in gluGetProcAddressEXT()
1999-09-16 22:37:56 +00:00
Brian Paul
978b089aee
clean-up of GLU_EXT_get_proc_address
1999-09-16 16:53:28 +00:00
Brian Paul
dd4f708894
GL_EXT_get_proc_address clean-up
1999-09-16 16:47:35 +00:00
Brian Paul
9df2b25af1
added GL_EXT_get_proc_address
1999-09-16 16:44:37 +00:00
Brian Paul
43c9c2cfae
added GLX_MESA_set_3dfx_mode. clean-up of glXGetProcAddress
1999-09-16 15:52:51 +00:00
Brian Paul
17f0efb896
changed version string to return 1.2
1999-09-16 15:46:05 +00:00
Keith Whitwell
e3f37862d2
Do pop for GL_VIEWPORT_BIT via. the api
1999-09-16 11:54:56 +00:00
Gareth Hughes
0099981b1c
Misc winding rule bug fixes.
1999-09-16 06:41:42 +00:00
Brian Paul
69b78057d1
bumped version strings to Mesa 3.1
1999-09-15 20:04:04 +00:00
Brian Paul
212e625c24
new version number symbols
1999-09-15 16:31:31 +00:00
Brian Paul
2f49a40a07
added third, tiny version number to mklib scripts
1999-09-15 15:11:01 +00:00
Brian Paul
af19f37b79
removed unused GLcontext arg from a few functions
1999-09-15 13:56:44 +00:00
Gareth Hughes
a852e8fc0f
Added debugging pragma message.
1999-09-15 02:12:16 +00:00
Gareth Hughes
d7c9c1e5c0
Fixed vector macro calls, specifically COPY_3V params.
1999-09-15 02:11:10 +00:00
Gareth Hughes
2b2746fedd
Added debugging output.
1999-09-14 22:46:02 +00:00
Gareth Hughes
d21c43cd15
Win32 fix by Eero Pajarre.
1999-09-14 06:23:40 +00:00
Gareth Hughes
77dcf82d81
Fixed legacy gluNextContour impact on gluTessEndContour.
1999-09-14 05:37:58 +00:00
Brian Paul
de37ce3e22
fixed pixel packing/unpacking code in gluBuild2DMipmaps()
1999-09-14 00:30:28 +00:00
Brian Paul
a96e8ad978
added gluCheckExtension()
1999-09-14 00:11:40 +00:00
Brian Paul
daa0b0f656
added gluUnProject4()
1999-09-14 00:10:31 +00:00
Gareth Hughes
d1603d4a46
Fixed file headers. Tracking down macro bugs.
1999-09-13 22:20:13 +00:00
Jouk Jansen
70cf58648a
strcmp needs the string.h
1999-09-13 14:31:32 +00:00
Brian Paul
eada67136a
added Eero's multitexture function patch
1999-09-13 14:09:23 +00:00
Jon Taylor
9c097c0f11
Re-added missing GGIMesa context bufsize structure member
1999-09-13 01:08:37 +00:00
Brian Paul
0f9aed04d8
fixed typo in GetProcAddress
1999-09-12 12:04:13 +00:00
Brian Paul
d8ede96148
clean-up of glXGetProcAddressEXT()
1999-09-11 20:13:21 +00:00
Keith Whitwell
6fd3b96822
bugix from raul for fxddbitmap
1999-09-11 16:01:26 +00:00
Brian Paul
84ffacb978
added 1.2 function to gluGetProcAddressEXT()
1999-09-11 12:04:54 +00:00
Brian Paul
c5d7d70be8
GL_EXT_get_proc_address clean-up
1999-09-11 11:48:11 +00:00
Brian Paul
c0e2871718
include extensions.h
1999-09-11 11:47:15 +00:00
Brian Paul
f893f032fa
added GLU_EXT_get_proc_address
1999-09-11 11:34:21 +00:00
Brian Paul
89a42b7e73
added GLX_EXT_get_proc_address
1999-09-11 11:33:45 +00:00
Brian Paul
585a68c82b
added GL_EXT_get_proc_address
1999-09-11 11:31:34 +00:00
Keith Whitwell
6c8657fa5f
new DD_Z_NEVER flag
1999-09-10 14:24:35 +00:00
Gareth Hughes
f0f3815e4f
Fixed triangle output, recovery process termination.
1999-09-10 04:32:10 +00:00
Brian Paul
95740b2c11
changed C++ comments to C style
1999-09-10 03:05:04 +00:00
Gareth Hughes
2856b53e03
Added GLU 1.3 tessellation (except winding rule code).
1999-09-10 02:03:31 +00:00
Brian Paul
2ba7c1cbe4
moved gl_GetPointerv() into get.h
1999-09-09 23:48:02 +00:00
Brian Paul
00dd504c72
moved gl_GetString() into get.c
1999-09-09 23:47:09 +00:00
Miklos Fazekas
e4c15c12d8
More compliant error check.
1999-09-09 18:49:36 +00:00
Brian Paul
45224face0
removed TexCoordUnit from GLcontext, use Array.ActiveTexture instead
1999-09-07 22:31:30 +00:00
Brian Paul
2ca99ca2e7
added vertices.c
1999-09-07 21:32:30 +00:00
Keith Whitwell
9b7c843671
fixes for the mga driver
1999-09-05 19:59:33 +00:00
Keith Whitwell
324beb95f3
fix for mga depthbuffer resize
1999-09-04 14:40:49 +00:00
Keith Whitwell
da54ffc852
more bugfixes
1999-09-03 15:48:54 +00:00
Keith Whitwell
8d8e248ab2
fix for GL_COMPILE_AND_EXECUTE bug
1999-09-03 11:53:33 +00:00
Keith Whitwell
b6e6937287
fixed GL_FRONT_AND_BACK cull bug
1999-09-02 13:16:17 +00:00
Jouk Jansen
a4bb2ef30e
Added vertices.c to compile list
1999-08-30 07:13:55 +00:00
Keith Whitwell
d858a651d8
removed bogus call
1999-08-29 16:18:23 +00:00
Keith Whitwell
50149b085e
more fixes on the fast path
1999-08-29 14:06:02 +00:00
Keith Whitwell
3875679607
new files to support vertex-based geometry
1999-08-29 10:26:31 +00:00
Josh Vanderhoof
4f738b4c10
features weren
1999-08-28 01:38:54 +00:00
Jon Taylor
a43cfd71da
Fixed double buffering bug when running in X
1999-08-27 21:06:30 +00:00
Jouk Jansen
443dd9fd4d
This time the correct file
1999-08-27 11:02:57 +00:00
Keith Whitwell
2be79c1aa2
various pipeline bugs
1999-08-26 14:50:49 +00:00
Jouk Jansen
0552b30633
Update after disk crash
1999-08-24 12:34:50 +00:00
Jouk Jansen
49160c9a81
Update after disk crash
1999-08-24 12:34:20 +00:00
Jon Taylor
668b4ab2fa
*** empty log message ***
1999-08-24 02:03:34 +00:00
Jon Taylor
7b9c36d568
*** empty log message ***
1999-08-23 21:13:19 +00:00
Jon Taylor
72fc9a527d
*** empty log message ***
1999-08-22 08:56:50 +00:00
Jon Taylor
14c53fe1d5
*** empty log message ***
1999-08-21 22:46:13 +00:00
Jon Taylor
035e8d0143
*** empty log message ***
1999-08-21 22:36:52 +00:00
Jon Taylor
b35b28e4d9
*** empty log message ***
1999-08-21 08:53:27 +00:00
Jon Taylor
035e96ec3c
*** empty log message ***
1999-08-21 06:27:37 +00:00
Jon Taylor
95dcb43951
*** empty log message ***
1999-08-21 05:57:17 +00:00
Brian Paul
b30e70436c
fixed alpha channel problem in gl_blend_pixels()
1999-08-19 15:48:01 +00:00
Brian Paul
a4dcdcf0ff
initial check-in (post crash)
1999-08-19 13:57:42 +00:00
Brian Paul
65b5e1e3fd
glIsEnabled(GL_TEXTURE_3D) was wrong
1999-08-19 13:24:27 +00:00
Brian Paul
cddc583aeb
testing
1999-08-19 11:54:28 +00:00
jtg
afb833d4e8
Initial revision
1999-08-19 00:55:39 +00:00