Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-11-20 | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | |
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | |||
2005-11-19 | additional clean-ups and improvements | Brian Paul | |
2005-11-19 | Bunch of little fixes: | Brian Paul | |
Fix mem leaks in _mesa_TexEnvProgramCacheDestroy(). Check if ctx->Driver.BindProgram is non-null before calling. s/unsigned/GLuint/ Use MAX_INSTRUCTIONS instead of magic 100, check program length after it's made. Use _mesa_init_instruction() instead of _mesa_memset(). | |||
2005-11-19 | No longer derive 'ati_fragment_shader' from 'program' class. Only the | Brian Paul | |
program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway. | |||
2005-11-19 | Remove the _mesa_parse_arb_vertex/fragment_program() functions into | Brian Paul | |
arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch]. Clean up quite a bit of the arb parsing code. Rewrite parser extension code to avoid a mess of string operations every time the parser was used. | |||
2005-11-19 | move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h | Brian Paul | |
2005-11-18 | Reduce stderr noise. | Aapo Tahkola | |
2005-11-18 | In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation. | Brian Paul | |
Simplify _mesa_GetRenderbufferParameterivEXT() queries. | |||
2005-11-17 | move _mesa_update_state() calls before error tests that depend on ↵ | Brian Paul | |
framebuffer completeness | |||
2005-11-17 | improved error checking in error_check_format_type() | Brian Paul | |
2005-11-16 | additional comments about GL_DEPTH_STENCIL buffers | Brian Paul | |
2005-11-16 | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | |
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | |||
2005-11-16 | added depthstencil.c | Brian Paul | |
2005-11-16 | Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil). | Brian Paul | |
depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers. | |||
2005-11-16 | added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffers | Brian Paul | |
2005-11-16 | add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error() | Brian Paul | |
2005-11-15 | check for ctx==NULL, bug 4087 | Brian Paul | |
2005-11-12 | Added _mesa_light() helper function so we can avoid transforming then | Brian Paul | |
un-transforming light positions and spot directions when popping light state off the attribute stack. | |||
2005-11-12 | Added OSMesaColorClamp(), bug 4917 | Brian Paul | |
2005-11-12 | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | |
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | |||
2005-11-11 | Make _mesa_is_proxy_texture() non-static and use in a few more places. | Brian Paul | |
Use COPY_4FV() where possible. Added some comments, clean-ups. | |||
2005-11-10 | s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments | Brian Paul | |
2005-11-10 | fix popping of GL_SPOT_DIRECTION (bug 5005) | Brian Paul | |
2005-11-10 | Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions). | Brian Paul | |
Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead. | |||
2005-11-09 | fix popping of GL_EYE_PLANE state (bug 4996) | Brian Paul | |
2005-11-09 | Bug 4996. | Brian Paul | |
Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc. | |||
2005-11-09 | Move COPY_FLOAT() macro down into glide driver. | Brian Paul | |
Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended. | |||
2005-11-08 | At keithw's request, remove all traces of the "fragment program to C" and | Ian Romanick | |
TCC experiment. | |||
2005-11-08 | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | |
2005-11-08 | some initial work on upcoming GL_EXT_framebuffer_blit extension | Brian Paul | |
2005-11-05 | Unify vertex/fragment program instuctions. | Brian Paul | |
Based on patch by Ian (#4967) but also unify instruction opcodes. | |||
2005-11-05 | remove unneeded #includes | Brian Paul | |
2005-11-05 | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | |
2005-11-05 | minor improvements in _mesa_init_teximage_fields() | Brian Paul | |
2005-11-04 | better ffs() function (bug 4956) | Brian Paul | |
2005-11-04 | fix MinGW problems (bug 4956) | Brian Paul | |
2005-11-02 | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | |
2005-11-01 | Several fp and vp tweaks: | Keith Whitwell | |
- 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. | |||
2005-11-01 | Re-org and clean-up of vertx/fragment program limits (instructions, | Brian Paul | |
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. | |||
2005-10-29 | clean-up comments | Brian Paul | |
2005-10-21 | fix GLX server resize/crash when resizing windows | Brian Paul | |
2005-10-20 | descrip.mms syntax correction | Jouk Jansen | |
2005-10-19 | updated for new mm.c, execmem.c files | Brian Paul | |
2005-10-18 | move _mesa_exec_malloc/free() up near other malloc/free prototypes | Brian Paul | |
2005-10-18 | Lots of clean-ups. Replace __inline__ with INLINE macro. Use the | Brian Paul | |
_mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments. | |||
2005-10-18 | Add _mesa_exec_malloc() and _mesa_exec_free() for allocating | Keith Whitwell | |
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code. | |||
2005-10-12 | remove unused _mesa_log2() (bug 4468) | Brian Paul | |
2005-10-08 | change test for presence of accum buffer | Brian Paul | |
2005-10-08 | Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS, | Brian Paul | |
etc. after calling glRenderBufferStorageEXT gave undefined results. | |||
2005-10-07 | Populate arb_fp_instruction negate field correctly. | Keith Whitwell | |