summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* move _mesa_init_instruction() to program.cBrian Paul2005-11-202-23/+25
|
* s/Saturate/SaturateMode/Brian Paul2005-11-201-1/+1
|
* Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul2005-11-208-45/+57
| | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
* additional clean-ups and improvementsBrian Paul2005-11-191-21/+38
|
* remove incorrect castBrian Paul2005-11-191-1/+1
|
* Saturate is a 1-bit boolean fieldBrian Paul2005-11-191-1/+1
|
* Bunch of little fixes:Brian Paul2005-11-191-35/+31
| | | | | | | | 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().
* in run_texnorm_stage() check if the texture unit is really enabled before ↵Brian Paul2005-11-191-50/+52
| | | | trying to normalize the texcoords
* update some varsBrian Paul2005-11-191-5/+5
|
* No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul2005-11-199-136/+157
| | | | | 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.
* remove #include arbfragparse.hBrian Paul2005-11-191-1/+0
|
* remove #include arbfragparse.h, s/PI/M_PI/Brian Paul2005-11-191-9/+4
|
* Remove the _mesa_parse_arb_vertex/fragment_program() functions intoBrian Paul2005-11-1912-445/+264
| | | | | | | 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.
* update comments, remove ^M charsBrian Paul2005-11-191-12/+7
|
* move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.hBrian Paul2005-11-192-81/+82
|
* Try to detect when native support to given texture width is not available.Aapo Tahkola2005-11-181-0/+8
|
* Fix typo causing secondary color not to work properly.Aapo Tahkola2005-11-181-1/+1
|
* Reduce stderr noise.Aapo Tahkola2005-11-181-2/+2
|
* In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.Brian Paul2005-11-181-43/+13
| | | | Simplify _mesa_GetRenderbufferParameterivEXT() queries.
* move _mesa_update_state() calls before error tests that depend on ↵Brian Paul2005-11-171-11/+11
| | | | framebuffer completeness
* optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbufferBrian Paul2005-11-171-67/+99
|
* s/MEMCPY/_mesa_memcpy/ and fix typoBrian Paul2005-11-171-5/+5
|
* optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL ↵Brian Paul2005-11-171-28/+61
| | | | renderbuffer
* improved error checking in error_check_format_type()Brian Paul2005-11-171-6/+6
|
* Fixes for x86_64 Unichrome.Thomas Hellström2005-11-165-19/+26
|
* Bring in last minute 6_4 branch changes to the unichrome driverThomas Hellström2005-11-1611-256/+95
| | | | to the trunk.
* additional comments about GL_DEPTH_STENCIL buffersBrian Paul2005-11-161-2/+9
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-1610-44/+32
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* added depthstencil.cBrian Paul2005-11-162-0/+4
|
* Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul2005-11-167-23/+740
| | | | | depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
* added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffersBrian Paul2005-11-162-8/+59
|
* Added error checking in _tnl_Begin to detect incomplete framebuffer.Brian Paul2005-11-162-5/+37
| | | | | | Set new tnl->DiscardPrimitive field to true when such error is detected to discard the glBegin/End primitive when flushing. Added some new comments.
* change an assertionBrian Paul2005-11-161-1/+1
|
* Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_ENDBrian Paul2005-11-163-10/+13
|
* add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul2005-11-161-0/+3
|
* fix color interpolation problem reported on VMSBrian Paul2005-11-151-64/+38
|
* check for ctx==NULL, bug 4087Brian Paul2005-11-151-1/+2
|
* Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.Brian Paul2005-11-151-4/+6
| | | | | Fix a comment typo. Remove some unneeded #includes.
* remove unneeded RasterPosValid checkBrian Paul2005-11-141-4/+0
|
* Improve _mesa_print_program().Brian Paul2005-11-121-31/+354
| | | | Added make_state_string() to produce a string from a GL state vector.
* fix comment for TexSrcTargetBrian Paul2005-11-121-2/+1
|
* Added _mesa_light() helper function so we can avoid transforming thenBrian Paul2005-11-124-96/+150
| | | | | un-transforming light positions and spot directions when popping light state off the attribute stack.
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-128-13/+44
|
* update an assertionBrian Paul2005-11-121-1/+1
|
* update some assertionsBrian Paul2005-11-122-2/+2
|
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-1228-311/+316
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* Make _mesa_is_proxy_texture() non-static and use in a few more places.Brian Paul2005-11-114-82/+39
| | | | | Use COPY_4FV() where possible. Added some comments, clean-ups.
* s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul2005-11-102-18/+26
|
* fix popping of GL_SPOT_DIRECTION (bug 5005)Brian Paul2005-11-101-1/+1
|
* Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).Brian Paul2005-11-103-16/+14
| | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.