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
93c132a058
added XMesaResizeBuffers()
2002-03-16 00:53:48 +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
5033f21d05
tweak file list for tarballs
2002-03-11 14:59:50 +00:00
Brian Paul
1c91fe2e3f
obsolete
2002-03-11 14:57:40 +00:00
Brian Paul
a3e44f4531
fix some minor warnings
2002-03-08 19:44:28 +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
aa24e9171a
use official enum values for GL_ARB_depth_texture and GL_ARB_shadow
2002-02-25 22:18:14 +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
9ff74a0f15
undo some debug changes mistakenly checked in earlier
2002-02-17 17:37:55 +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
f204c9d2bb
updated to use GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
2002-02-16 14:54:18 +00:00
Brian Paul
9ac7182ec4
use separate GC for SwapBuffers to avoid colormask problem
2002-02-15 19:15:33 +00:00
Brian Paul
026c036be0
include string.h to silence warning
2002-02-15 16:48:48 +00:00
Brian Paul
78a21f96b5
added new depth_texture/shadow tokens (temporary)
2002-02-15 16:41:36 +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
Brian Paul
c4c4213b69
obsolete
2002-02-15 14:10:19 +00:00
Brian Paul
ce57201825
uniformly pass texcoords as GLfloat [4]
2002-02-15 03:41:47 +00:00
Brian Paul
09700ee358
added alternate glBitmap code (disabled)
2002-02-15 03:41:00 +00:00
Brian Paul
a048da0767
added SPAN_SPEC flag in smooth_multitextured_line()
2002-02-15 03:39:37 +00:00
Brian Paul
3ff07d2062
fixed float->int conversion. Fix conditional for 16-bit Z buffer path
2002-02-15 03:38:12 +00:00