Brian Paul
934bee04f2
popping of user-defined clip planes was broken
2002-03-28 22:42:41 +00:00
Brian Paul
7c8b5399f0
reset span.end to zero after rendering the span
2002-03-28 16:24:14 +00:00
Brian Paul
c028617784
fixed inequality in an assertion
2002-03-27 15:49:27 +00:00
Brian Paul
e6f2b4174b
removed a bad assertion
2002-03-25 17:24:43 +00:00
Brian Paul
636b2801d9
Test implementation of proposed GL_EXT_shadow_funcs extension. This just
...
generalizes the R/texture comparision operators to include all eight of
the depth test comparisons.
2002-03-23 16:33:53 +00:00
Brian Paul
e69bfe74d7
DOS/Mesa driver updates (Daniel Borca)
2002-03-23 02:34:07 +00:00
Brian Paul
7de02fef5b
replaced an assertion with a conditional
2002-03-23 02:29:37 +00:00
Brian Paul
819505ad2a
removed temporary GL_ARB_texture_mirrored_repeat enums
2002-03-23 01:49:58 +00:00
Brian Paul
8334c89e70
removed temporary ARB_texture enum defs
2002-03-23 01:48:18 +00:00
Brian Paul
80ac8d171c
don't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem
2002-03-19 16:48:06 +00:00
Brian Paul
aeb4434563
Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
...
memory. These can be overridden by applications which need to manage this
memory specially. Contributed by Gerk Huisma.
Also, new code for 8-bit -> 16-bit/channel texture image storage which
fills in the least-significant bits properly.
2002-03-19 16:47:04 +00:00
Brian Paul
d0570646bd
fix Intel C compiler warnings (Gerk Huisma)
2002-03-19 15:22:50 +00:00
Brian Paul
f7c830e35c
rename ResizeBuffersMESA to ResizeBuffers
2002-03-16 18:07:39 +00:00
Brian Paul
31f12f504e
New mipmap lambda calculation. Previously, trilinear filtering could
...
result in _very_ blurry textures. Still need to do some optimization
of the new code in s_span.c
2002-03-16 18:02:07 +00:00
Brian Paul
bc6b60c4ff
buffer resize changes
2002-03-16 00:57:14 +00:00
Brian Paul
18a285a5e2
Lots of changes related to framebuffer/window buffer resizing. Basically,
...
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*.
The idea is that a window can be resized without it being bound to a rendering
context. This makes for a nice clean-up in the XFree86 server-side GLX code.
Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
2002-03-16 00:53:15 +00:00
Brian Paul
8d687e7e58
protect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA
2002-03-15 18:43:25 +00:00
Brian Paul
1d822ea8cf
updated comments. removed dead code.
2002-03-15 18:33:12 +00:00
Brian Paul
a72edf01ba
remove a debug printf
2002-03-15 18:24:53 +00:00
Brian Paul
8843d52af1
fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)
2002-03-15 18:05:49 +00:00
Brian Paul
612fc01293
fixed pointer arithmetic error in glCopyPixels
2002-03-14 22:09:25 +00:00
Brian Paul
d488af5b34
added _mesa_image_image_stride()
2002-03-13 04:34:32 +00:00
Brian Paul
9a888bdc2a
added a comment
2002-03-13 04:33:32 +00:00
Brian Paul
f9708e45ac
initial work for NV_vertex_program1_1 extension
2002-03-13 04:33:16 +00:00
Brian Paul
1d01794e6e
Removed the xm_context field from XMesaBuffer. It was preventing N threads
...
from rendering into one window in parallel and wasn't really needed anyway.
2002-03-12 21:55:50 +00:00
Brian Paul
1c91fe2e3f
obsolete
2002-03-11 14:57:40 +00:00
Brian Paul
b43a828ad4
DOS driver updates from Daniel Borca
2002-03-08 19:27:17 +00:00
Brian Paul
7fd50afbbf
new DOS driver files from Daniel Borca
2002-03-08 19:24:56 +00:00
Brian Paul
2b9ba3f84f
new assertions, use INLINE macro (Klaus Niederkrueger)
2002-03-08 00:09:18 +00:00
Brian Paul
5104b4d9df
minor patches from David Dawes
2002-03-07 21:50:41 +00:00
Brian Paul
0b2fa873c6
syntax fixes for Solaris (David Dawes)
2002-03-07 21:40:08 +00:00
Brian Paul
c5a76cbed4
silence gcc warnings (Marc La France)
2002-03-01 04:28:32 +00:00
Brian Paul
09a0cb464d
updated comments for CHAN_BITS=16 or 32
2002-03-01 04:23:36 +00:00
Brian Paul
e0193a9425
DOS updates from Daniel Borca
2002-02-23 17:11:27 +00:00
Brian Paul
c7a3356746
Fixed out-of-bounds memory write problem (CONVERT_TEXEL_DWORD macro).
...
Renamed 'packing' to 'unpacking' since we're moving data from client -> GL.
Rnamed DST_ROW_WIDTH to DST_ROW_BYTES.
2002-02-21 15:12:31 +00:00
Brian Paul
d0271502f8
check for initialized XMesaBuffer in XMesaGarbageCollect()
2002-02-20 23:59:03 +00:00
Brian Paul
ad7306b23c
Updated 1D/3D/cube mipmapping code to work like the new 2D code.
2002-02-17 17:58:31 +00:00
Brian Paul
711e27fda2
Simplified fog code.
2002-02-17 17:30:57 +00:00
Brian Paul
983bc3e018
don't include s_fog.h
2002-02-17 17:30:23 +00:00
Brian Paul
4f252bd980
Lots of improvements in the 2D texture sampling code. Fewer function calls
...
and no more switches inside loops. To do: give the 1D/3D/cube routines the
same treatment.
2002-02-17 01:58:59 +00:00
Brian Paul
c14a5a6c62
Optimized the interpolate_texcoords() function:
...
Use fast approximation to log().
Check for dq==0 to avoid a per-pixel divide.
2002-02-17 01:49:31 +00:00
Brian Paul
8baae48fb7
removed dead code
2002-02-16 23:44:46 +00:00
Brian Paul
9ac7182ec4
use separate GC for SwapBuffers to avoid colormask problem
2002-02-15 19:15:33 +00:00
Brian Paul
2e47ff7b9c
Finished up GL_ARB_depth_texture and GL_ARB_shadow
2002-02-15 16:37:36 +00:00
Brian Paul
9a3061715c
updated VERT_BIT_* definitions
2002-02-15 16:32:36 +00:00
Brian Paul
4182cf60d9
Finished up GL_ARB_depth_texture and GL_ARB_shadow.
2002-02-15 16:32:06 +00:00
Brian Paul
c9ceef41fe
GL_ARB_window_pos fog fix
2002-02-15 16:27:13 +00:00
Brian Paul
a8f2efd147
finished up GL_ARB_window_pos
2002-02-15 16:26:08 +00:00
Brian Paul
70b8d304bb
added a glClear() error check
2002-02-15 16:25:16 +00:00
Brian Paul
4ba35633d6
fixed a multitexture MatrixMode() bug
2002-02-15 16:24:37 +00:00