Roland Scheidegger
44dace86ea
enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.
2005-10-05 16:15:16 +00:00
Brian Paul
26f69d87a4
fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
2005-10-05 13:36:05 +00:00
Roland Scheidegger
ea20c324ae
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).
2005-10-05 13:09:15 +00:00
Roland Scheidegger
11f763f505
remove unneeded parameter from radeonUploadTexMatrix.
2005-10-05 12:38:07 +00:00
Roland Scheidegger
a3c8de2fa7
Remove the tcl fallback for texture rectangle (by manipulating the texture matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
2005-10-05 11:42:44 +00:00
Brian Paul
06f606ce57
Remove _IsPowerOfTwo from gl_texture_object, not really needed.
2005-10-05 04:07:50 +00:00
Brian Paul
198a88923c
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
2005-10-05 02:11:15 +00:00
Brian Paul
8184ec9fb6
added GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()
2005-10-05 02:08:53 +00:00
Brian Paul
a9fc8ba756
In gl_texture_image replace IntFormat with InternalFormat and Format with
...
_BaseFormat to be consistant with gl_renderbuffer.
2005-10-05 01:48:07 +00:00
Brian Paul
91802fdf73
check if deleting currently bound frame/renderbuffer object
2005-10-04 16:01:02 +00:00
Brian Paul
7edf1e80bd
glBindTexture changes, new assertions
2005-10-04 15:16:27 +00:00
Brian Paul
9e920fb93c
fix glIsRender/FramebufferEXT() assertions
2005-10-04 15:01:51 +00:00
Brian Paul
bc6cced479
fix behaviour of glIsFrame/Renderbuffer()
2005-10-04 15:01:27 +00:00
Brian Paul
14c38b8f4f
Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer
...
operations.
2005-10-04 14:49:30 +00:00
Brian Paul
eb063cfa38
change initialization of renderbuffer DepthBits
2005-10-04 14:48:24 +00:00
Adam Jackson
199ef86b5e
Bug #1155 : Define IEEE_ONE on Super-H as well.
2005-10-03 20:02:07 +00:00
Brian Paul
a6296dd2c3
disable a warning
2005-10-03 16:11:47 +00:00
Brian Paul
071b30aba1
added a few calls to _mesa_update_framebuffer_visual()
2005-10-03 16:11:35 +00:00
Brian Paul
b0e7d850d1
finish up some missing code
2005-10-03 16:11:21 +00:00
Ian Romanick
8ef0519bbe
Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". This
...
signals to the script (glX_proto_size.py) that generates the server-side
size functions that a handcoded query is needed to determine the data size.
Also do s/FOG_COORD_SOURCE/FOG_COORD_SRC/.
When initializing the count in glx_enum::__init__, cast the local property
to int. Thanks to Python's dynamic typing, if this isn't done the type of
stored count will be a string instead of an int.
2005-10-03 15:05:40 +00:00
Ian Romanick
9a3a1497e5
Remove the non-existant --get-alias-set option from the help text.
...
Update printPixelFunction (which is only used to generate code for the
server-side) to use the correct method for obtaining the dimensions of the
image parameter to a function.
Only use byteswap.h when building generated code on Linux. Elsewhere use
the (horrible!) macros from X11/misc.h.
Make sure that enums associated with the generic "Get" function get applied
to GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.
2005-10-03 14:59:26 +00:00
Brian Paul
1fc4b21eb2
check for GL_DEPTH_STENCIL_EXT
2005-10-01 16:09:45 +00:00
Brian Paul
2794507289
plug in _mesa_texstore_z24_s8()
2005-10-01 16:09:26 +00:00
Brian Paul
184a970722
added _mesa_texstore_z24_s8()
2005-10-01 16:08:27 +00:00
Brian Paul
b0a0ca8bd9
GL_EXT_packed_depth_stencil changes
2005-10-01 16:06:25 +00:00
Brian Paul
0899afae33
additional error checking for GL_EXT_packed_depth_stencil
2005-10-01 16:05:30 +00:00
Brian Paul
cef88397a6
fix an assertion
2005-10-01 16:04:38 +00:00
Brian Paul
7f78c93015
simplify the read_depth_stencil_pixels() function
2005-10-01 16:04:09 +00:00
Brian Paul
9758ef9e7b
fix broken z24_s8 fetcher
2005-10-01 16:03:30 +00:00
Brian Paul
252194d74e
updated comment
2005-10-01 16:03:00 +00:00
Brian Paul
31340f6645
added _mesa_pack_depth_stencil_span()
2005-10-01 16:02:38 +00:00
Brian Paul
3d61c2e778
move around some error checking
2005-10-01 16:02:11 +00:00
Brian Paul
d0529b67f4
use fmod() to prevent overflow of angle variable
2005-09-30 15:03:33 +00:00
Brian Paul
76560af99d
implemented fallbacks for GL_EXT_packed_depth_stencil
2005-09-30 03:01:30 +00:00
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