Ian Romanick
8d29d463a3
Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.
...
Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.
2005-10-10 17:11:02 +00:00
Roland Scheidegger
1c0f11046a
do not set format of the incoming vertices needed for fog_coord in the generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
2005-10-08 23:41:20 +00:00
Roland Scheidegger
30f2d6f0cb
remove code dealing with drm versions older than 1.3. The driver requires (and requests) 1.3 since quite some time already to work at all.
2005-10-08 23:36:35 +00:00
Brian Paul
b4269c07f8
change test for presence of accum buffer
2005-10-08 21:36:38 +00:00
Brian Paul
cf085db28a
Query/print GL_RED/GREEN/BLUE/ALPHA_BITS
2005-10-08 14:42:51 +00:00
Brian Paul
474f28e57c
Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,
...
etc. after calling glRenderBufferStorageEXT gave undefined results.
2005-10-08 14:41:17 +00:00
Brian Paul
81a22ef539
MATH_DEBUG changes from bug #4468 .
2005-10-07 17:18:51 +00:00
Keith Whitwell
f2802c40ff
Populate arb_fp_instruction negate field correctly.
2005-10-07 09:55:26 +00:00
Brian Paul
dfe7aedf84
Fix a number of point size attenuation problems.
...
Move size clamping into the rasterization function.
2005-10-07 03:56:29 +00:00
Roland Scheidegger
9dd973ec3b
fix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
2005-10-05 22:40:09 +00:00
Roland Scheidegger
24a44d74b6
reverse accidentally commited part of last commit (makes it compile again...).
2005-10-05 20:28:31 +00:00
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