Brian Paul
|
878c371e6c
|
Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.
|
2005-09-13 04:42:09 +00:00 |
|
Brian Paul
|
42c34efd23
|
OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.
See comment near top of stencil.c for info about OpenGL 2.0 vs.
GL_EXT_stencil_two_side.
|
2005-09-13 02:59:53 +00:00 |
|
Brian Paul
|
bdf8441f80
|
just some reformatting
|
2005-09-13 02:57:07 +00:00 |
|
Brian Paul
|
56a2e084be
|
Clear either 8 or 16-bit stencil buffers.
|
2005-09-13 02:03:06 +00:00 |
|
Brian Paul
|
b5932cfc9d
|
Use GLuint/GLint intead of GLstencil for stencil state.
|
2005-09-13 02:02:03 +00:00 |
|
Brian Paul
|
a96f889a57
|
Move the ctx->FirstTimeCurrent initialization
|
2005-09-13 01:19:29 +00:00 |
|
Brian Paul
|
5179f671e7
|
init StencilOpSeparate to NULL
|
2005-09-13 01:17:01 +00:00 |
|
Roland Scheidegger
|
8d2139e513
|
add GL_ATI_fragment_shader support for r200
|
2005-09-12 23:45:05 +00:00 |
|
Brian Paul
|
fd9de710f5
|
added a return upon out-of-memory, remove a needless assignment
|
2005-09-12 23:18:21 +00:00 |
|
Brian Paul
|
f6e3234639
|
restore brace lost in previous check-in
|
2005-09-12 21:41:45 +00:00 |
|
Roland Scheidegger
|
f20917de5b
|
add complete support for ATI_fragment_shader for the r200. Most of the new code is in the new file r200_fragshader.c. Reverse engeneered by Dave Airlie and me
|
2005-09-12 21:20:10 +00:00 |
|
Roland Scheidegger
|
11543624ed
|
remove unnecessary Swizzle parameter from struct (forgotten when the code was refactored)
|
2005-09-12 17:21:40 +00:00 |
|
Brian Paul
|
28569c25f6
|
use ASM_API variable, bug 4415
|
2005-09-12 15:19:19 +00:00 |
|
Brian Paul
|
68d436140d
|
make lookup_query_object() static
|
2005-09-12 15:05:57 +00:00 |
|
Brian Paul
|
758f447a17
|
remove rendundant r,g,b,a vars (bug 4331)
|
2005-09-12 13:59:29 +00:00 |
|
Dave Airlie
|
2745df2774
|
add 1002:5460 M22 X300 card
|
2005-09-11 04:02:41 +00:00 |
|
Dave Airlie
|
654286eab1
|
fix dri drivers build
|
2005-09-11 03:58:29 +00:00 |
|
Brian Paul
|
2eef2eca87
|
Silence some warnings.
|
2005-09-11 01:45:04 +00:00 |
|
Brian Paul
|
7f8cb30ccc
|
bunch of updates
|
2005-09-10 16:57:22 +00:00 |
|
Brian Paul
|
80cef697f4
|
put GLUT sources into a separate tarball
|
2005-09-10 16:54:05 +00:00 |
|
Brian Paul
|
26c7e65785
|
Clean-up of sources/Makefile, bug 4111
|
2005-09-10 16:41:17 +00:00 |
|
Brian Paul
|
5704b8e57a
|
fix a problem w/ color index mode when CHAN_BITS=16
|
2005-09-10 16:27:51 +00:00 |
|
Brian Paul
|
f15b499cfd
|
make some vars static
|
2005-09-10 16:20:47 +00:00 |
|
Brian Paul
|
392c93e398
|
fix GLubyte/GLchan inconsistencies (bug 4331)
|
2005-09-10 16:19:36 +00:00 |
|
Roland Scheidegger
|
0ca6715ba5
|
new demo to test ATI_fragment_shader, not very creative but easy to know if the output is correct. Tests single-pass as well as multi-pass shader (only pseudo-dependant texture read though, and no tex coord swizzling), src and dst modifiers, src repetition, dst masks, constants, and some ops. Both shaders run succesfully with swrast as well as r200.
|
2005-09-10 01:02:25 +00:00 |
|
Roland Scheidegger
|
c53d2d0ca8
|
add the new drm packets needed for ATI_fragment_shader to the sanity code of the r200 and radeon driver
|
2005-09-10 00:31:11 +00:00 |
|
Roland Scheidegger
|
6c2e82b601
|
add reverse-engeneered register bits needed for ATI_fragment_shader (Dave Airlie, me)
|
2005-09-10 00:11:27 +00:00 |
|
Brian Paul
|
402b2bea64
|
Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch,
backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
|
2005-09-10 00:10:15 +00:00 |
|
Roland Scheidegger
|
036a99452d
|
add _tnl_arb_vertex_program_stage to all drivers which already have _tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
|
2005-09-09 23:31:31 +00:00 |
|
Brian Paul
|
a3dd2ce29e
|
remove the redundant textureSize field, use tex.size instead, it's always the same value
|
2005-09-09 22:57:05 +00:00 |
|
Brian Paul
|
338cbb0e5c
|
don't generate selection hits for glBitmap, glDraw/CopyPixels. Misc clean-ups
|
2005-09-09 16:40:47 +00:00 |
|
Roland Scheidegger
|
b346213960
|
fix some bugs with handling of GL_DOT4_ATI, GL_DOT3_ATI and GL_DOT2_ADD_ATI ATI_fs instructions.
|
2005-09-09 15:43:11 +00:00 |
|
Roland Scheidegger
|
95db1f0127
|
add missing fallback string for ARB_vertex_program
|
2005-09-09 12:51:38 +00:00 |
|
Roland Scheidegger
|
7e3be5559e
|
Fix wrong fallback bit being set by the tcl fallback caused by ARB_vertex_program. Disable ARB_vertex_program by default - it is incredibly slow, and just plain doesn't work anyway (arbvptorus fails an assertion, arbvpmesh has bogus output)
|
2005-09-09 01:38:21 +00:00 |
|
Keith Whitwell
|
45ba4e4332
|
use an explicit reserved field, rather than magic number in bound
|
2005-09-08 21:40:10 +00:00 |
|
Brian Paul
|
d9b9b4b3be
|
Fix the comment for the 'bound' field: it's a bitmask, not an index.
In driTexturesGone(), set bound = 0, not 99.
|
2005-09-08 18:47:36 +00:00 |
|
Keith Whitwell
|
b5cbaf945d
|
Keep NumTemporaries uptodate.
Make sure oC alpha is populated when separate_specular enabled.
|
2005-09-08 18:45:03 +00:00 |
|
Keith Whitwell
|
b15f46a093
|
Treat NegateBase as a bitfield, not a boolean.
|
2005-09-08 18:36:39 +00:00 |
|
Keith Whitwell
|
5cf1397710
|
be consistent in populating NegateBase field
|
2005-09-08 18:35:48 +00:00 |
|
Brian Paul
|
4618a9bfc2
|
check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
|
2005-09-08 15:28:45 +00:00 |
|
Brian Paul
|
f36954ec3c
|
fix precision problem in depth clearing (bug 4395)
|
2005-09-08 13:55:05 +00:00 |
|
Roland Scheidegger
|
f4ff4d36ed
|
fix incorrect swizzling handling. fix code so it can potentially handle implementations with less than 6 texture units correctly.
|
2005-09-08 13:41:54 +00:00 |
|
Jouk Jansen
|
21ed29598f
|
Committing in .
Define suseconds_t for OpenVMS
Modified Files:
Mesa/src/mesa/drivers/x11/xm_dd.c
----------------------------------------------------------------------
|
2005-09-08 10:05:37 +00:00 |
|
Roland Scheidegger
|
ce3350770c
|
add a bunch of FLUSH_VERTICES to some of the ATI_fs functions, most notably when changing the global ati fragment shader constants.
|
2005-09-08 00:12:57 +00:00 |
|
Brian Paul
|
692147ebf7
|
some clean-up and re-org for renderbuffers
|
2005-09-07 23:28:41 +00:00 |
|
Brian Paul
|
526242614f
|
some updates, but code still out of date
|
2005-09-07 23:26:01 +00:00 |
|
Brian Paul
|
ab8ef280ec
|
new comment
|
2005-09-07 23:21:59 +00:00 |
|
Brian Paul
|
f0da327c87
|
minor tweaks to _mesa_ResizeBuffersMESA()
|
2005-09-07 23:21:40 +00:00 |
|
Roland Scheidegger
|
b683b0df45
|
fix bug with ATI_fragment_shader in swrast (need to copy all 4 values due to later applied srcRep)
|
2005-09-07 21:59:30 +00:00 |
|
Brian Paul
|
8693b70e8f
|
try to fix renderbuffer breakage, primarily in calculate_buffer_parameters()
|
2005-09-07 18:32:29 +00:00 |
|