summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-19Bunch 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-19call gluDeleteQuadric() to fix mem leakBrian Paul
2005-11-19in run_texnorm_stage() check if the texture unit is really enabled before ↵Brian Paul
trying to normalize the texcoords
2005-11-19update some varsBrian Paul
2005-11-19No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian 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-19remove #include arbfragparse.hBrian Paul
2005-11-19remove #include arbfragparse.h, s/PI/M_PI/Brian Paul
2005-11-19removed arbfragparse.[ch] arbvertparse.[ch]Brian Paul
2005-11-19Remove the _mesa_parse_arb_vertex/fragment_program() functions intoBrian 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-19update comments, remove ^M charsBrian Paul
2005-11-19move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.hBrian Paul
2005-11-18Try to detect when native support to given texture width is not available.Aapo Tahkola
2005-11-18Fix typo causing secondary color not to work properly.Aapo Tahkola
2005-11-18Reduce stderr noise.Aapo Tahkola
2005-11-18In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.Brian Paul
Simplify _mesa_GetRenderbufferParameterivEXT() queries.
2005-11-17move _mesa_update_state() calls before error tests that depend on ↵Brian Paul
framebuffer completeness
2005-11-17optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbufferBrian Paul
2005-11-17s/MEMCPY/_mesa_memcpy/ and fix typoBrian Paul
2005-11-17optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL ↵Brian Paul
renderbuffer
2005-11-17delete frame/renderbuffers upon exit, more error checkingBrian Paul
2005-11-17improved error checking in error_check_format_type()Brian Paul
2005-11-16Fixes for x86_64 Unichrome.Thomas Hellström
2005-11-16Bring in last minute 6_4 branch changes to the unichrome driverThomas Hellström
to the trunk.
2005-11-16added -ds option to test GL_EXT_packed_depth_stencil with framebuffer objectsBrian Paul
2005-11-16additional comments about GL_DEPTH_STENCIL buffersBrian Paul
2005-11-16added depthstencil.[ch]Brian Paul
2005-11-16Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
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-16Added error checking in _tnl_Begin to detect incomplete framebuffer.Brian Paul
Set new tnl->DiscardPrimitive field to true when such error is detected to discard the glBegin/End primitive when flushing. Added some new comments.
2005-11-16change an assertionBrian Paul
2005-11-16Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_ENDBrian Paul
2005-11-16add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul
2005-11-15fix color interpolation problem reported on VMSBrian Paul
2005-11-15check for ctx==NULL, bug 4087Brian Paul
2005-11-15Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.Brian Paul
Fix a comment typo. Remove some unneeded #includes.
2005-11-15Two subtle things missed on the previous commit.Ian Romanick
2005-11-15Add the ability for interleave to test passing invalid format enumsIan Romanick
and invalid stride values (see bugzilla #5058).
2005-11-14Simple test of glInterleavedArrays functionality.Ian Romanick
2005-11-14remove unneeded RasterPosValid checkBrian Paul
2005-11-12Improve _mesa_print_program().Brian Paul
Added make_state_string() to produce a string from a GL state vector.
2005-11-12fix comment for TexSrcTargetBrian 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-12update an assertionBrian Paul
2005-11-12update some assertionsBrian 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-10Support for "fragment program to C" and TCC has been removed from theIan Romanick
source code, so there is no reason for this config to exist. This fixes fdo bugzilla #5004.