Brian Paul
82b29819a9
minor improvements
2005-09-30 03:01:11 +00:00
Brian Paul
f493a04be0
added _swrast_get_row()
2005-09-30 03:00:03 +00:00
Brian Paul
1ad6e08090
call glFinish if drawing to front buffer
2005-09-29 18:46:27 +00:00
Brian Paul
b2404b132d
implement CopyPixels for GL_DEPTH_STENCIL_EXT
2005-09-29 04:28:21 +00:00
Brian Paul
3fd819aef8
added _swrast_put_row()
2005-09-29 04:27:47 +00:00
Brian Paul
8d0edf015d
Rewrite much of the pixel zoom code.
...
Zoomed DrawPixels of packed depth/stencil works now.
2005-09-29 03:20:15 +00:00
Brian Paul
5208867f12
add error checks for framebuffer completeness
2005-09-28 16:20:34 +00:00
Brian Paul
d95000da2f
check for framebuffer completeness, code clean-up
2005-09-28 15:46:46 +00:00
Brian Paul
f7a8d8ffbb
updated assertions (see bug 4590)
2005-09-28 14:20:06 +00:00
Brian Paul
1ad7b99925
Initial work for GL_EXT_packed_depth_stencil extension.
...
glReadPixels done, glDrawPixels mostly done.
2005-09-28 02:29:50 +00:00
Brian Paul
b955474093
change initialization of rb->DepthBits
2005-09-28 02:28:42 +00:00
Brian Paul
1b5d3d647e
added GL_EXT_packed_depth_stencil
2005-09-28 02:28:00 +00:00
Brian Paul
ac3ec5096a
added _mesa_scale_and_bias_depth()
2005-09-28 02:27:22 +00:00
Brian Paul
dbd0fa920e
tweak glAccum error checking
2005-09-27 16:10:49 +00:00
Brian Paul
78b3b667b5
generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same
2005-09-27 15:52:27 +00:00
Brian Paul
99796464c5
Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels
...
functions into the _mesa_Draw/Read/CopyPixels functions.
2005-09-27 01:25:24 +00:00
Brian Paul
70c3bebcde
glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
2005-09-26 23:06:01 +00:00
Roland Scheidegger
afb9fb0965
remove identity check for texgen planes (which was just plain wrong).
2005-09-26 20:31:40 +00:00
Roland Scheidegger
84c9e671ed
fix projective texturing for (swtcl) texture rectangles. Fix wrong argument order for texgen/texmat matrix multiplication.
2005-09-26 17:11:16 +00:00
Brian Paul
ad271b8c98
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.
2005-09-26 00:38:00 +00:00
Dave Airlie
4aeaff2ae7
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
2005-09-25 10:20:38 +00:00
Dave Airlie
310a10b0f2
add link for radeon_egl.c
2005-09-25 09:45:42 +00:00
Jouk Jansen
d997b90433
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
----------------------------------------------------------------------
2005-09-23 07:03:53 +00:00
Brian Paul
79b4dbc496
remove printf
2005-09-23 03:24:27 +00:00
Brian Paul
048b13df65
Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
...
Streamline the _mesa_update_framebuffer() function a bit.
2005-09-23 03:22:20 +00:00
Brian Paul
d5861c06f2
fix clipped glReadPixels bug
2005-09-23 02:16:49 +00:00
Brian Paul
36d9ee1828
added XOR line optimization
2005-09-23 01:42:23 +00:00
Brian Paul
6d3637849b
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.
2005-09-23 01:40:59 +00:00
Brian Paul
0efc17c105
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.
2005-09-23 01:20:09 +00:00
Brian Paul
e5fce1694c
improve the test for using software alpha buffer
2005-09-23 01:17:07 +00:00
Ian Romanick
7b01068a23
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.
2005-09-22 21:25:31 +00:00
Brian Paul
676d0accf5
Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
...
BlueBits, etc fields.
2005-09-22 05:19:57 +00:00
Brian Paul
f1e2826856
When testing visual attributes, use the Draw/Read buffer, not the context.
2005-09-22 05:00:12 +00:00
Brian Paul
4fd11949f0
fix a debug message
2005-09-22 04:58:42 +00:00
Brian Paul
63016507d7
changed a renderbuffer check
2005-09-22 04:52:45 +00:00
Brian Paul
7d39e82976
s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
2005-09-21 21:19:22 +00:00
Brian Paul
8bdc1ae358
add missing scale factor in _swrast_read_depth_span_float()
2005-09-21 18:16:33 +00:00
Brian Paul
978ef2bb6d
Remove ACCUM_BITS.
2005-09-21 03:35:08 +00:00
Brian Paul
3e37bafab0
replace GLdepth with GLuint and remove GLdepth
2005-09-21 02:47:32 +00:00
Brian Paul
4092fbd55a
replace GLdepth with GLuint
2005-09-21 02:46:17 +00:00
Brian Paul
5bfb9356d6
s/programss/programs/
2005-09-20 21:04:02 +00:00
Brian Paul
5434695017
initial check-in
2005-09-20 15:51:44 +00:00
Brian Paul
9e4e3adcf8
remove 31-bit Z buffer work-around
2005-09-20 04:47:34 +00:00
Brian Paul
8fadf8f900
change mask[] test in put_mono_row_uint()
2005-09-20 04:47:04 +00:00
Brian Paul
14570e6d7c
compute z[i] as GLuint
2005-09-20 04:45:26 +00:00
Brian Paul
f39569f550
some improvements to _swrast_clear_depth_buffer()
2005-09-20 04:36:50 +00:00
Brian Paul
000abaa12d
remove unneeded sizeof(GLdepth) test
2005-09-20 04:35:40 +00:00
Brian Paul
7265556b9a
Change zLeft and zval to GLuint. Seems to fix 32-bit Z computation
2005-09-20 04:34:29 +00:00
Brian Paul
22607975b4
replace STENCIL_BITS with stencilMax value
2005-09-20 04:31:24 +00:00
Brian Paul
3211b28ee6
remove STENCIL_MAX
2005-09-20 04:25:03 +00:00