Brian Paul [Fri, 30 Sep 2005 03:00:03 +0000 (03:00 +0000)]
added _swrast_get_row()
Brian Paul [Thu, 29 Sep 2005 18:46:27 +0000 (18:46 +0000)]
call glFinish if drawing to front buffer
Brian Paul [Thu, 29 Sep 2005 04:28:21 +0000 (04:28 +0000)]
implement CopyPixels for GL_DEPTH_STENCIL_EXT
Brian Paul [Thu, 29 Sep 2005 04:27:47 +0000 (04:27 +0000)]
added _swrast_put_row()
Brian Paul [Thu, 29 Sep 2005 03:20:15 +0000 (03:20 +0000)]
Rewrite much of the pixel zoom code.
Zoomed DrawPixels of packed depth/stencil works now.
Brian Paul [Wed, 28 Sep 2005 16:20:34 +0000 (16:20 +0000)]
add error checks for framebuffer completeness
Brian Paul [Wed, 28 Sep 2005 15:46:46 +0000 (15:46 +0000)]
check for framebuffer completeness, code clean-up
Brian Paul [Wed, 28 Sep 2005 14:20:06 +0000 (14:20 +0000)]
updated assertions (see bug 4590)
Brian Paul [Wed, 28 Sep 2005 02:29:50 +0000 (02:29 +0000)]
Initial work for GL_EXT_packed_depth_stencil extension.
glReadPixels done, glDrawPixels mostly done.
Brian Paul [Wed, 28 Sep 2005 02:28:42 +0000 (02:28 +0000)]
change initialization of rb->DepthBits
Brian Paul [Wed, 28 Sep 2005 02:28:00 +0000 (02:28 +0000)]
added GL_EXT_packed_depth_stencil
Brian Paul [Wed, 28 Sep 2005 02:27:22 +0000 (02:27 +0000)]
added _mesa_scale_and_bias_depth()
Brian Paul [Tue, 27 Sep 2005 16:10:49 +0000 (16:10 +0000)]
tweak glAccum error checking
Brian Paul [Tue, 27 Sep 2005 15:52:27 +0000 (15:52 +0000)]
generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same
Brian Paul [Tue, 27 Sep 2005 01:25:24 +0000 (01:25 +0000)]
Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels
functions into the _mesa_Draw/Read/CopyPixels functions.
Brian Paul [Mon, 26 Sep 2005 23:06:01 +0000 (23:06 +0000)]
glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
Roland Scheidegger [Mon, 26 Sep 2005 20:31:40 +0000 (20:31 +0000)]
remove identity check for texgen planes (which was just plain wrong).
Roland Scheidegger [Mon, 26 Sep 2005 17:11:16 +0000 (17:11 +0000)]
fix projective texturing for (swtcl) texture rectangles. Fix wrong argument order for texgen/texmat matrix multiplication.
Brian Paul [Mon, 26 Sep 2005 00:38:00 +0000 (00:38 +0000)]
Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places instead
of the XMesaPixmap field to avoid some X server-side issues with casting.
Dave Airlie [Sun, 25 Sep 2005 10:20:38 +0000 (10:20 +0000)]
Add support for texture compression to R300 driver
This isn't perfect, texcmp still has some issues with the small textures..
but its a good start
Dave Airlie [Sun, 25 Sep 2005 09:45:42 +0000 (09:45 +0000)]
add link for radeon_egl.c
Jouk Jansen [Fri, 23 Sep 2005 07:03:53 +0000 (07:03 +0000)]
Committing in .
1) change compilation on VMS to use IEEE floating points
2) one more problem with _mesa_sprintf solved
Modified Files:
Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms
Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms
Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms
Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms
Mesa/src/mesa/array_cache/descrip.mms
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/drivers/osmesa/descrip.mms
Mesa/src/mesa/drivers/x11/descrip.mms
Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms
Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/shader/grammar/descrip.mms
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/swrast/descrip.mms
Mesa/src/mesa/swrast_setup/descrip.mms
Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
Brian Paul [Fri, 23 Sep 2005 03:24:27 +0000 (03:24 +0000)]
remove printf
Brian Paul [Fri, 23 Sep 2005 03:22:20 +0000 (03:22 +0000)]
Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
Streamline the _mesa_update_framebuffer() function a bit.
Brian Paul [Fri, 23 Sep 2005 02:16:49 +0000 (02:16 +0000)]
fix clipped glReadPixels bug
Brian Paul [Fri, 23 Sep 2005 01:42:23 +0000 (01:42 +0000)]
added XOR line optimization
Brian Paul [Fri, 23 Sep 2005 01:40:59 +0000 (01:40 +0000)]
Added a fast xor_line() function. Uses XDrawLine with GXxor mode.
Only used for front-buffer window/pixmap rendering, GL_FLAT shade model,
no Z test or other fragment operations.
Brian Paul [Fri, 23 Sep 2005 01:20:09 +0000 (01:20 +0000)]
Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbuffer
with another, such as wrapping a hardware/win-sys RGB renderbuffer with a
software-based alpha buffer.
Previous alpha buffer wrapping was conflicting with the X driver's
xmesa_renderbuffer structure containment/inheritance. That lead to
memory corruption.
Brian Paul [Fri, 23 Sep 2005 01:17:07 +0000 (01:17 +0000)]
improve the test for using software alpha buffer
Ian Romanick [Thu, 22 Sep 2005 21:25:31 +0000 (21:25 +0000)]
Enable GL_ARB_texture_mirrored_repeat on Savage4. Refactor the code that
sets the texture wrap mode and texture filter mode for Savage4 to the new
functions savage4_set_wrap_mode and savage4_set_filter_mode.
This was tested with texwrap and tunnel.
Brian Paul [Thu, 22 Sep 2005 05:19:57 +0000 (05:19 +0000)]
Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
BlueBits, etc fields.
Brian Paul [Thu, 22 Sep 2005 05:00:12 +0000 (05:00 +0000)]
When testing visual attributes, use the Draw/Read buffer, not the context.
Brian Paul [Thu, 22 Sep 2005 04:58:42 +0000 (04:58 +0000)]
fix a debug message
Brian Paul [Thu, 22 Sep 2005 04:52:45 +0000 (04:52 +0000)]
changed a renderbuffer check
Brian Paul [Wed, 21 Sep 2005 21:19:22 +0000 (21:19 +0000)]
s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
Brian Paul [Wed, 21 Sep 2005 18:16:33 +0000 (18:16 +0000)]
add missing scale factor in _swrast_read_depth_span_float()
Brian Paul [Wed, 21 Sep 2005 03:35:08 +0000 (03:35 +0000)]
Remove ACCUM_BITS.
Brian Paul [Wed, 21 Sep 2005 02:47:32 +0000 (02:47 +0000)]
replace GLdepth with GLuint and remove GLdepth
Brian Paul [Wed, 21 Sep 2005 02:46:17 +0000 (02:46 +0000)]
replace GLdepth with GLuint
Brian Paul [Tue, 20 Sep 2005 21:04:02 +0000 (21:04 +0000)]
s/programss/programs/
Brian Paul [Tue, 20 Sep 2005 15:51:44 +0000 (15:51 +0000)]
initial check-in
Brian Paul [Tue, 20 Sep 2005 04:47:34 +0000 (04:47 +0000)]
remove 31-bit Z buffer work-around
Brian Paul [Tue, 20 Sep 2005 04:47:04 +0000 (04:47 +0000)]
change mask[] test in put_mono_row_uint()
Brian Paul [Tue, 20 Sep 2005 04:45:26 +0000 (04:45 +0000)]
compute z[i] as GLuint
Brian Paul [Tue, 20 Sep 2005 04:36:50 +0000 (04:36 +0000)]
some improvements to _swrast_clear_depth_buffer()
Brian Paul [Tue, 20 Sep 2005 04:35:40 +0000 (04:35 +0000)]
remove unneeded sizeof(GLdepth) test
Brian Paul [Tue, 20 Sep 2005 04:34:29 +0000 (04:34 +0000)]
Change zLeft and zval to GLuint. Seems to fix 32-bit Z computation
Brian Paul [Tue, 20 Sep 2005 04:31:24 +0000 (04:31 +0000)]
replace STENCIL_BITS with stencilMax value
Brian Paul [Tue, 20 Sep 2005 04:25:03 +0000 (04:25 +0000)]
remove STENCIL_MAX
Brian Paul [Tue, 20 Sep 2005 02:44:40 +0000 (02:44 +0000)]
change location of ffs() code for windows
Brian Paul [Mon, 19 Sep 2005 21:16:29 +0000 (21:16 +0000)]
init a=0
Brian Paul [Mon, 19 Sep 2005 20:32:21 +0000 (20:32 +0000)]
s/GLchan/GLubyte/, fix error string, add comment
Brian Paul [Mon, 19 Sep 2005 20:29:34 +0000 (20:29 +0000)]
updated comment
Brian Paul [Mon, 19 Sep 2005 20:12:32 +0000 (20:12 +0000)]
additional wrapper updates, bug 4468
Brian Paul [Mon, 19 Sep 2005 17:17:58 +0000 (17:17 +0000)]
s/unsigned long/drm_handle_t/ to get compilation of fb driver to work
Brian Paul [Mon, 19 Sep 2005 17:17:18 +0000 (17:17 +0000)]
compilation fixes, don't know if runtime works
Brian Paul [Fri, 16 Sep 2005 21:15:27 +0000 (21:15 +0000)]
Fix potential segfault when trying to read pixels outside renderbuffer bounds.
Use _swrast_get_values() which does clipping.
Brian Paul [Fri, 16 Sep 2005 21:10:27 +0000 (21:10 +0000)]
remove unused _swrast_read_depth_span()
Brian Paul [Fri, 16 Sep 2005 21:07:48 +0000 (21:07 +0000)]
lots of little clean-ups, improvements
Brian Paul [Fri, 16 Sep 2005 21:06:57 +0000 (21:06 +0000)]
change some comments
Brian Paul [Fri, 16 Sep 2005 21:06:33 +0000 (21:06 +0000)]
pass mask=NULL to write all pixels in clear_ci_buffer_with_masking()
Brian Paul [Fri, 16 Sep 2005 18:18:47 +0000 (18:18 +0000)]
remove unused ctx var
Brian Paul [Fri, 16 Sep 2005 18:14:24 +0000 (18:14 +0000)]
use mesa import wrappers, bug 4468
Brian Paul [Fri, 16 Sep 2005 04:18:09 +0000 (04:18 +0000)]
alphabetize
Brian Paul [Fri, 16 Sep 2005 04:16:48 +0000 (04:16 +0000)]
Rework the texture filtering functions a bit.
No need to pass the texture unit number as an argument.
Brian Paul [Fri, 16 Sep 2005 01:42:07 +0000 (01:42 +0000)]
replace a couple macros with inlined functions
Brian Paul [Fri, 16 Sep 2005 01:41:03 +0000 (01:41 +0000)]
more GLuint->GLbitfield changes
Brian Paul [Thu, 15 Sep 2005 05:00:45 +0000 (05:00 +0000)]
Replace GLuint with GLbitfield where appropriate. Also replace GLuint
with GLboolean in a few places.
Brian Paul [Thu, 15 Sep 2005 03:58:52 +0000 (03:58 +0000)]
Code clean-ups, reorg.
Brian Paul [Thu, 15 Sep 2005 01:58:39 +0000 (01:58 +0000)]
silence warning
Brian Paul [Thu, 15 Sep 2005 01:55:40 +0000 (01:55 +0000)]
Remove a bunch texel fetch functions that can be handled by the new
adaptor functions.
Brian Paul [Thu, 15 Sep 2005 01:08:24 +0000 (01:08 +0000)]
updated comments
Brian Paul [Thu, 15 Sep 2005 01:06:19 +0000 (01:06 +0000)]
New set_fetch_functions() to set a gl_texture_image's FetchTexel functions
from the gl_texture_format's functions.
Added "adaptor" functions to allow sampling a float-valued texture with
GLchans and vice versa. This will allow trimming down the number of
texture fetch routines.
Brian Paul [Thu, 15 Sep 2005 01:00:20 +0000 (01:00 +0000)]
replace s_texture.[ch] with s_texcombine.[ch] and s_texfilter.[ch]
Brian Paul [Thu, 15 Sep 2005 00:58:03 +0000 (00:58 +0000)]
Update includes post-splitting of s_texture.c
Brian Paul [Thu, 15 Sep 2005 00:57:00 +0000 (00:57 +0000)]
Split the s_texture.c file into two new files:
s_texcombine.c - for texture combining/application
s_texfilter.c - for texture sampling/filtering
Brian Paul [Wed, 14 Sep 2005 18:21:05 +0000 (18:21 +0000)]
remove unused vars
Brian Paul [Wed, 14 Sep 2005 18:09:15 +0000 (18:09 +0000)]
remove _tnl_MakeCurrent call
Brian Paul [Wed, 14 Sep 2005 14:34:54 +0000 (14:34 +0000)]
initial 6.5 release notes
Brian Paul [Wed, 14 Sep 2005 14:32:20 +0000 (14:32 +0000)]
Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
Dave Airlie [Wed, 14 Sep 2005 12:08:32 +0000 (12:08 +0000)]
fix breakage from Brians changes earlier
Brian Paul [Wed, 14 Sep 2005 03:11:36 +0000 (03:11 +0000)]
clean-up some _mesa_make_current() code
Brian Paul [Wed, 14 Sep 2005 02:18:43 +0000 (02:18 +0000)]
remove rm -f line
Brian Paul [Wed, 14 Sep 2005 02:18:09 +0000 (02:18 +0000)]
remove .a file before creating new one
Brian Paul [Wed, 14 Sep 2005 00:49:09 +0000 (00:49 +0000)]
pageflip change from radeon driver
Brian Paul [Wed, 14 Sep 2005 00:42:33 +0000 (00:42 +0000)]
Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
call driUpdateFramebufferSize() when window size/position changes.
Brian Paul [Wed, 14 Sep 2005 00:37:10 +0000 (00:37 +0000)]
make some funcs static
Brian Paul [Wed, 14 Sep 2005 00:36:27 +0000 (00:36 +0000)]
Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
call driUpdateFramebufferSize() when window size/position changes.
Brian Paul [Wed, 14 Sep 2005 00:33:03 +0000 (00:33 +0000)]
use mklib script to make drivers instead of gcc -shared
Brian Paul [Wed, 14 Sep 2005 00:11:30 +0000 (00:11 +0000)]
updated comment
Brian Paul [Wed, 14 Sep 2005 00:10:56 +0000 (00:10 +0000)]
make some functions static
Brian Paul [Wed, 14 Sep 2005 00:10:27 +0000 (00:10 +0000)]
Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
call driUpdateFramebufferSize() when we detect changes in window size/
position in radeonGetLock().
Brian Paul [Wed, 14 Sep 2005 00:09:09 +0000 (00:09 +0000)]
added driUpdateFramebufferSize()
Brian Paul [Tue, 13 Sep 2005 23:37:50 +0000 (23:37 +0000)]
Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.c
Update some comments, code, etc.
Brian Paul [Tue, 13 Sep 2005 18:18:47 +0000 (18:18 +0000)]
update like for MD2 viewer
Brian Paul [Tue, 13 Sep 2005 15:04:30 +0000 (15:04 +0000)]
replace semicolon with &&
Brian Paul [Tue, 13 Sep 2005 14:48:28 +0000 (14:48 +0000)]
print version with debug info
Brian Paul [Tue, 13 Sep 2005 13:36:47 +0000 (13:36 +0000)]
fix FreeBSD problem (bug 4435)
Eric Anholt [Tue, 13 Sep 2005 05:19:02 +0000 (05:19 +0000)]
Fix libGL build on FreeBSD by respecting ASM_FLAGS.
Submitted by: Diego Pettenò <flameeyes@gentoo.org>
Brian Paul [Tue, 13 Sep 2005 04:42:09 +0000 (04:42 +0000)]
Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.