summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* fix test for valid texunit in _mesa_ClientActiveTextureARBRoland Scheidegger2006-02-011-1/+1
|
* fix using a tmp without asking for oneJerome Glisse2006-01-241-0/+1
|
* pull in fix from 6.4 branch for XFree86Server definitionAlan Hourihane2006-01-241-2/+1
|
* fix broken get_half & get_zeroAapo Tahkola2006-01-241-4/+4
|
* Avoid a crash when the user has enabled glVertex{,Attrib}Pointer but hasn'tAdam Jackson2006-01-191-2/+3
| | | | filled in a valid pointer for that attribute or vertex array.
* properly free ATI fragment shaders (Tilman Sauerbeck)Brian Paul2006-01-161-3/+21
|
* s/GLuint/GLbitfield/Brian Paul2006-01-092-2/+2
|
* properly notify driver on scissor change in MakeCurrentKeith Whitwell2005-12-303-15/+27
|
* move va_end() call (Evgeny Kotsuba)Brian Paul2005-12-151-1/+1
|
* Fix typo.Keith Whitwell2005-12-141-1/+1
|
* use GLbitfield instead of GLuintBrian Paul2005-12-141-6/+3
|
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-1411-421/+3
| | | | done with fragment programs nowadays.
* silence warning, bug 5318Brian Paul2005-12-121-0/+2
|
* Split _MaintainTexEnvProgram into two flags _Maintain and _Use. ThisKeith Whitwell2005-12-123-2/+9
| | | | | restores the ability to run the software driver with program TNL but tradtional swrast.
* don't need LONGLONG typedefsBrian Paul2005-12-081-7/+0
|
* add 64-bit typedefs for portabilityKarl Schultz2005-12-081-0/+7
|
* Updates for GL_EXT_timer_query:Brian Paul2005-12-075-2086/+2192
| | | | | New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
* C++ fixes, mostly casts (Stephane Conversy)Brian Paul2005-12-061-1/+1
|
* fix _mesa_ffs() return, test for more platforms (Evgeny Kotsuba)Brian Paul2005-12-021-2/+2
|
* remove uintptr_t castBrian Paul2005-12-011-1/+1
|
* try removing need for the uintptr_t castsBrian Paul2005-12-011-2/+5
|
* Added FinishRenderTexture() device driver function to indicate whenBrian Paul2005-12-013-19/+65
| | | | | rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
* added comment about glTexImage and renderbuffersBrian Paul2005-12-011-0/+6
|
* fxt1_decode_1() should not be staticBrian Paul2005-11-301-2/+2
|
* Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell2005-11-283-66/+43
|
* Correct author attribution of mm.hKeith Whitwell2005-11-281-1/+1
|
* include stdint.h for BSDBrian Paul2005-11-271-10/+9
|
* use ADD_POINTERS macro instead of (uintptr_t) castBrian Paul2005-11-251-8/+8
|
* Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul2005-11-201-1/+1
| | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
* additional clean-ups and improvementsBrian Paul2005-11-191-21/+38
|
* 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().
* No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul2005-11-193-47/+68
| | | | | 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 the _mesa_parse_arb_vertex/fragment_program() functions intoBrian Paul2005-11-191-1/+0
| | | | | | | 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.
* move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.hBrian Paul2005-11-191-81/+0
|
* 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
* improved error checking in error_check_format_type()Brian Paul2005-11-171-6/+6
|
* additional comments about GL_DEPTH_STENCIL buffersBrian Paul2005-11-161-2/+9
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-161-6/+4
| | | | | 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-161-0/+3
|
* 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
|
* add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul2005-11-161-0/+3
|
* check for ctx==NULL, bug 4087Brian Paul2005-11-151-1/+2
|
* 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-124-13/+7
|
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-125-27/+33
| | | | | | 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
|