Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | 2005-11-02 | 2 | -13/+16 |
| | |||||
* | Several fp and vp tweaks: | Keith Whitwell | 2005-11-01 | 2 | -34/+58 |
| | | | | | | | | | | | | | | | | | | | | | | - Renumber VERT_RESULT_* values so that they match the numbers of the corresponding FRAG_ATTRIB_ values. - Add ctx->VertexProgram._Current and FragmentProgram._Current values which point to either the current client-supplied program if enabled, or otherwise to the current mesa-internal program. Thus this program is always the correct one for the current state, providing that the mesa flags to turn on automatic generation are enabled. - Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c and t_vp_build.c so that the driver knows when the generated program changes. This is cleaner than trying to code all the possible _NEW_* flags into the driver, and more precise as well. - Add a UsesKill flag to identify fragment programs with that instruction, as these can require special treatment. - Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's. | ||||
* | Re-org and clean-up of vertx/fragment program limits (instructions, | Brian Paul | 2005-11-01 | 7 | -44/+92 |
| | | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts. | ||||
* | clean-up comments | Brian Paul | 2005-10-29 | 1 | -6/+9 |
| | |||||
* | fix GLX server resize/crash when resizing windows | Brian Paul | 2005-10-21 | 2 | -1/+4 |
| | |||||
* | descrip.mms syntax correction | Jouk Jansen | 2005-10-20 | 1 | -1/+1 |
| | |||||
* | updated for new mm.c, execmem.c files | Brian Paul | 2005-10-19 | 1 | -0/+6 |
| | |||||
* | move _mesa_exec_malloc/free() up near other malloc/free prototypes | Brian Paul | 2005-10-18 | 1 | -11/+8 |
| | |||||
* | Lots of clean-ups. Replace __inline__ with INLINE macro. Use the | Brian Paul | 2005-10-18 | 3 | -50/+134 |
| | | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments. | ||||
* | Add _mesa_exec_malloc() and _mesa_exec_free() for allocating | Keith Whitwell | 2005-10-18 | 4 | -0/+392 |
| | | | | | executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code. | ||||
* | remove unused _mesa_log2() (bug 4468) | Brian Paul | 2005-10-12 | 1 | -3/+0 |
| | |||||
* | change test for presence of accum buffer | Brian Paul | 2005-10-08 | 1 | -1/+1 |
| | |||||
* | Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS, | Brian Paul | 2005-10-08 | 4 | -28/+64 |
| | | | | etc. after calling glRenderBufferStorageEXT gave undefined results. | ||||
* | Populate arb_fp_instruction negate field correctly. | Keith Whitwell | 2005-10-07 | 1 | -1/+1 |
| | |||||
* | Fix a number of point size attenuation problems. | Brian Paul | 2005-10-07 | 3 | -44/+52 |
| | | | | Move size clamping into the rasterization function. | ||||
* | fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt) | Brian Paul | 2005-10-05 | 1 | -7/+7 |
| | |||||
* | Remove _IsPowerOfTwo from gl_texture_object, not really needed. | Brian Paul | 2005-10-05 | 2 | -8/+0 |
| | |||||
* | s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table. | Brian Paul | 2005-10-05 | 4 | -23/+23 |
| | |||||
* | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 2005-10-05 | 7 | -51/+56 |
| | | | | _BaseFormat to be consistant with gl_renderbuffer. | ||||
* | check if deleting currently bound frame/renderbuffer object | Brian Paul | 2005-10-04 | 1 | -1/+16 |
| | |||||
* | fix behaviour of glIsFrame/Renderbuffer() | Brian Paul | 2005-10-04 | 1 | -8/+12 |
| | |||||
* | change initialization of renderbuffer DepthBits | Brian Paul | 2005-10-04 | 2 | -3/+13 |
| | |||||
* | Bug #1155: Define IEEE_ONE on Super-H as well. | Adam Jackson | 2005-10-03 | 1 | -0/+1 |
| | |||||
* | disable a warning | Brian Paul | 2005-10-03 | 1 | -1/+1 |
| | |||||
* | added a few calls to _mesa_update_framebuffer_visual() | Brian Paul | 2005-10-03 | 1 | -0/+4 |
| | |||||
* | finish up some missing code | Brian Paul | 2005-10-03 | 1 | -2/+24 |
| | |||||
* | check for GL_DEPTH_STENCIL_EXT | Brian Paul | 2005-10-01 | 1 | -1/+2 |
| | |||||
* | plug in _mesa_texstore_z24_s8() | Brian Paul | 2005-10-01 | 1 | -1/+1 |
| | |||||
* | added _mesa_texstore_z24_s8() | Brian Paul | 2005-10-01 | 1 | -8/+40 |
| | |||||
* | additional error checking for GL_EXT_packed_depth_stencil | Brian Paul | 2005-10-01 | 1 | -13/+50 |
| | |||||
* | fix broken z24_s8 fetcher | Brian Paul | 2005-10-01 | 1 | -4/+4 |
| | |||||
* | updated comment | Brian Paul | 2005-10-01 | 1 | -3/+3 |
| | |||||
* | added _mesa_pack_depth_stencil_span() | Brian Paul | 2005-10-01 | 2 | -0/+54 |
| | |||||
* | move around some error checking | Brian Paul | 2005-10-01 | 1 | -7/+8 |
| | |||||
* | add error checks for framebuffer completeness | Brian Paul | 2005-09-28 | 1 | -4/+41 |
| | |||||
* | check for framebuffer completeness, code clean-up | Brian Paul | 2005-09-28 | 2 | -19/+11 |
| | |||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 15 | -66/+373 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | change initialization of rb->DepthBits | Brian Paul | 2005-09-28 | 1 | -2/+4 |
| | |||||
* | added _mesa_scale_and_bias_depth() | Brian Paul | 2005-09-28 | 2 | -2/+20 |
| | |||||
* | tweak glAccum error checking | Brian Paul | 2005-09-27 | 1 | -5/+5 |
| | |||||
* | generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same | Brian Paul | 2005-09-27 | 1 | -1/+8 |
| | |||||
* | Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels | Brian Paul | 2005-09-27 | 1 | -5/+110 |
| | | | | functions into the _mesa_Draw/Read/CopyPixels functions. | ||||
* | Committing in . | Jouk Jansen | 2005-09-23 | 2 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 ---------------------------------------------------------------------- | ||||
* | remove printf | Brian Paul | 2005-09-23 | 1 | -1/+0 |
| | |||||
* | Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex, | Brian Paul | 2005-09-23 | 3 | -61/+50 |
| | | | | Streamline the _mesa_update_framebuffer() function a bit. | ||||
* | Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbuffer | Brian Paul | 2005-09-23 | 2 | -88/+97 |
| | | | | | | | | 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. | ||||
* | Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits, | Brian Paul | 2005-09-22 | 4 | -41/+46 |
| | | | | BlueBits, etc fields. | ||||
* | s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv() | Brian Paul | 2005-09-21 | 1 | -1/+1 |
| | |||||
* | Remove ACCUM_BITS. | Brian Paul | 2005-09-21 | 3 | -22/+4 |
| | |||||
* | replace GLdepth with GLuint and remove GLdepth | Brian Paul | 2005-09-21 | 1 | -9/+0 |
| |