summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2005-11-16added depthstencil.cBrian Paul
2005-11-16Support 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-16added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffersBrian Paul
2005-11-16add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul
2005-11-15check for ctx==NULL, bug 4087Brian Paul
2005-11-12Added _mesa_light() helper function so we can avoid transforming thenBrian Paul
un-transforming light positions and spot directions when popping light state off the attribute stack.
2005-11-12Added OSMesaColorClamp(), bug 4917Brian Paul
2005-11-12Move 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-11Make _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-10s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul
2005-11-10fix popping of GL_SPOT_DIRECTION (bug 5005)Brian Paul
2005-11-10Move 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-09fix popping of GL_EYE_PLANE state (bug 4996)Brian Paul
2005-11-09Bug 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-09Move 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-08At keithw's request, remove all traces of the "fragment program to C" andIan Romanick
TCC experiment.
2005-11-08s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul
2005-11-08some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-11-05remove unneeded #includesBrian Paul
2005-11-05Replace parameter_type enum in program.[ch], use register_file enums instead.Brian Paul
2005-11-05minor improvements in _mesa_init_teximage_fields()Brian Paul
2005-11-04better ffs() function (bug 4956)Brian Paul
2005-11-04fix MinGW problems (bug 4956)Brian Paul
2005-11-02Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul
2005-11-01Several 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-01Re-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-29clean-up commentsBrian Paul
2005-10-21fix GLX server resize/crash when resizing windowsBrian Paul
2005-10-20 descrip.mms syntax correctionJouk Jansen
2005-10-19updated for new mm.c, execmem.c filesBrian Paul
2005-10-18move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul
2005-10-18Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul
_mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
2005-10-18Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
2005-10-12remove unused _mesa_log2() (bug 4468)Brian Paul
2005-10-08change test for presence of accum bufferBrian Paul
2005-10-08Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul
etc. after calling glRenderBufferStorageEXT gave undefined results.
2005-10-07Populate arb_fp_instruction negate field correctly.Keith Whitwell
2005-10-07Fix a number of point size attenuation problems.Brian Paul
Move size clamping into the rasterization function.
2005-10-05fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)Brian Paul
2005-10-05Remove _IsPowerOfTwo from gl_texture_object, not really needed.Brian Paul
2005-10-05s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-10-04check if deleting currently bound frame/renderbuffer objectBrian Paul
2005-10-04fix behaviour of glIsFrame/Renderbuffer()Brian Paul
2005-10-04change initialization of renderbuffer DepthBitsBrian Paul
2005-10-03Bug #1155: Define IEEE_ONE on Super-H as well.Adam Jackson
2005-10-03disable a warningBrian Paul
2005-10-03added a few calls to _mesa_update_framebuffer_visual()Brian Paul
2005-10-03finish up some missing codeBrian Paul