Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be | Brian Paul | 2005-12-14 | 11 | -421/+3 |
| | | | | done with fragment programs nowadays. | ||||
* | silence warning, bug 5318 | Brian Paul | 2005-12-12 | 1 | -0/+2 |
| | |||||
* | Split _MaintainTexEnvProgram into two flags _Maintain and _Use. This | Keith Whitwell | 2005-12-12 | 3 | -2/+9 |
| | | | | | restores the ability to run the software driver with program TNL but tradtional swrast. | ||||
* | don't need LONGLONG typedefs | Brian Paul | 2005-12-08 | 1 | -7/+0 |
| | |||||
* | add 64-bit typedefs for portability | Karl Schultz | 2005-12-08 | 1 | -0/+7 |
| | |||||
* | Updates for GL_EXT_timer_query: | Brian Paul | 2005-12-07 | 5 | -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 Paul | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | fix _mesa_ffs() return, test for more platforms (Evgeny Kotsuba) | Brian Paul | 2005-12-02 | 1 | -2/+2 |
| | |||||
* | remove uintptr_t cast | Brian Paul | 2005-12-01 | 1 | -1/+1 |
| | |||||
* | try removing need for the uintptr_t casts | Brian Paul | 2005-12-01 | 1 | -2/+5 |
| | |||||
* | Added FinishRenderTexture() device driver function to indicate when | Brian Paul | 2005-12-01 | 3 | -19/+65 |
| | | | | | rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper. | ||||
* | added comment about glTexImage and renderbuffers | Brian Paul | 2005-12-01 | 1 | -0/+6 |
| | |||||
* | fxt1_decode_1() should not be static | Brian Paul | 2005-11-30 | 1 | -2/+2 |
| | |||||
* | Remove the many aliases for 'struct mem_block' in mm.h | Keith Whitwell | 2005-11-28 | 3 | -66/+43 |
| | |||||
* | Correct author attribution of mm.h | Keith Whitwell | 2005-11-28 | 1 | -1/+1 |
| | |||||
* | include stdint.h for BSD | Brian Paul | 2005-11-27 | 1 | -10/+9 |
| | |||||
* | use ADD_POINTERS macro instead of (uintptr_t) cast | Brian Paul | 2005-11-25 | 1 | -8/+8 |
| | |||||
* | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | 2005-11-20 | 1 | -1/+1 |
| | | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | ||||
* | additional clean-ups and improvements | Brian Paul | 2005-11-19 | 1 | -21/+38 |
| | |||||
* | Bunch of little fixes: | Brian Paul | 2005-11-19 | 1 | -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 the | Brian Paul | 2005-11-19 | 3 | -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 into | Brian Paul | 2005-11-19 | 1 | -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.h | Brian Paul | 2005-11-19 | 1 | -81/+0 |
| | |||||
* | Reduce stderr noise. | Aapo Tahkola | 2005-11-18 | 1 | -2/+2 |
| | |||||
* | In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation. | Brian Paul | 2005-11-18 | 1 | -43/+13 |
| | | | | Simplify _mesa_GetRenderbufferParameterivEXT() queries. | ||||
* | move _mesa_update_state() calls before error tests that depend on ↵ | Brian Paul | 2005-11-17 | 1 | -11/+11 |
| | | | | framebuffer completeness | ||||
* | improved error checking in error_check_format_type() | Brian Paul | 2005-11-17 | 1 | -6/+6 |
| | |||||
* | additional comments about GL_DEPTH_STENCIL buffers | Brian Paul | 2005-11-16 | 1 | -2/+9 |
| | |||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 1 | -6/+4 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | added depthstencil.c | Brian Paul | 2005-11-16 | 1 | -0/+3 |
| | |||||
* | Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil). | Brian Paul | 2005-11-16 | 7 | -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 buffers | Brian Paul | 2005-11-16 | 2 | -8/+59 |
| | |||||
* | add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error() | Brian Paul | 2005-11-16 | 1 | -0/+3 |
| | |||||
* | check for ctx==NULL, bug 4087 | Brian Paul | 2005-11-15 | 1 | -1/+2 |
| | |||||
* | Added _mesa_light() helper function so we can avoid transforming then | Brian Paul | 2005-11-12 | 4 | -96/+150 |
| | | | | | un-transforming light positions and spot directions when popping light state off the attribute stack. | ||||
* | Added OSMesaColorClamp(), bug 4917 | Brian Paul | 2005-11-12 | 4 | -13/+7 |
| | |||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 5 | -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 Paul | 2005-11-11 | 4 | -82/+39 |
| | | | | | Use COPY_4FV() where possible. Added some comments, clean-ups. | ||||
* | s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments | Brian Paul | 2005-11-10 | 2 | -18/+26 |
| | |||||
* | fix popping of GL_SPOT_DIRECTION (bug 5005) | Brian Paul | 2005-11-10 | 1 | -1/+1 |
| | |||||
* | Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions). | Brian Paul | 2005-11-10 | 3 | -16/+14 |
| | | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead. | ||||
* | fix popping of GL_EYE_PLANE state (bug 4996) | Brian Paul | 2005-11-09 | 1 | -10/+20 |
| | |||||
* | Bug 4996. | Brian Paul | 2005-11-09 | 3 | -40/+38 |
| | | | | | 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. | ||||
* | Move COPY_FLOAT() macro down into glide driver. | Brian Paul | 2005-11-09 | 2 | -16/+14 |
| | | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended. | ||||
* | At keithw's request, remove all traces of the "fragment program to C" and | Ian Romanick | 2005-11-08 | 1 | -5/+0 |
| | | | | TCC experiment. | ||||
* | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | 2005-11-08 | 1 | -1/+1 |
| | |||||
* | some initial work on upcoming GL_EXT_framebuffer_blit extension | Brian Paul | 2005-11-08 | 6 | -26/+201 |
| | |||||
* | Unify vertex/fragment program instuctions. | Brian Paul | 2005-11-05 | 2 | -34/+33 |
| | | | | Based on patch by Ian (#4967) but also unify instruction opcodes. | ||||
* | remove unneeded #includes | Brian Paul | 2005-11-05 | 2 | -4/+0 |
| | |||||
* | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | 2005-11-05 | 1 | -11/+14 |
| |