Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add FreeTexImageData hook to help single-copy texturing in drivers | Keith Whitwell | 2005-03-22 | 5 | -37/+62 |
| | |||||
* | Enable the generation of server-side __glGetBooleanv_size and related | Ian Romanick | 2005-03-17 | 1 | -2779/+2879 |
| | | | | | | | | | | | | | | | | | | functions. There are two parts to this. First, a size element with a name "Get" is shorthand for having four separate size elements with names "GetIntegerv", "GetDoublev", "GetFloatv", and "GetBooleanv". Additionally, a count of "?" is treated specially. This causes a call to a handcoded function named "__gl<base name>_variable_size". This is *only* needed to support GL_COMPRESSED_TEXTURE_FORMATS. That enum can return a variable number of values depending how many compressed texture formats are supported by the implementation. Fix a problem with glGetProgram{Local,Env}Parameter[df]vARB, glAreProgramsResidentNV, and glGetVertexAttribivNV. These changes only affect code generated for the server-side. The changes to enum.c are caused by enums added for the server-side __glGetBooleanv_size functions. | ||||
* | change gl_buffer_object's Size field to GLsizeiptrARB type | Brian Paul | 2005-03-03 | 2 | -2/+2 |
| | |||||
* | silence warnings | Brian Paul | 2005-02-27 | 1 | -2/+2 |
| | |||||
* | Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and do | Brian Paul | 2005-02-26 | 4 | -43/+67 |
| | | | | | additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample(). | ||||
* | Fairly significant changes to enums.c and the way it is generated. enums.c | Ian Romanick | 2005-02-26 | 1 | -3009/+4425 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now contains 3 static tables. The first table is a single, large string of all the enum names. The second table is an array, sorted by enum name, of indexes to the string table and the matching enum value. The extra string table is used to eliminate relocs (and save space) in the compiled file. The third table is an array, sorted by enum value, of indexes into the second table. The [name, enum] table contains all of the enums, but the table sorted by enum-value does not. This table contains one entry per enum value. For enum values that have multiple names (e.g., 0x84C0 has GL_TEXTURE0_ARB and GL_TEXTURE0), only an index to the "best" name will appear in the table. gl_enums.py gives precedence to "core" GL versions of names, followed by ARB versions, followed by EXT versions, followed, finally, by vendor versions (i.e., anything that doesn't fall into one of the previous categories). By filtering the unneeded elements from this table, not only can we guarantee determinism in the generated tables, but we save 364 elements in the table. The optimizations outlined above reduced the size of the stripped enums.o (on x86) from ~80KB to ~53KB. The internal organization of gl_enums.py was also heavily modified. Previously enums were stored in an unsorted list as [value, name] tuples (basically). This list was then sorted, using a user-specified compare function (i.e., VERY slow in most Python implementations) to generate a table sorted by enum value. It was then sorted again, using another user-specified compare function, to generate a table sorted by name. Enums are now stored in a dictionary, called enum_table, with the enum value as the key. Each dictionary element is a list of [name, priority] pairs. The priority is determined as described above. The table sorted by enum value is generated by sorting the keys of enum_table (i.e., very fast). The tables sorted by name are generated by creating a list, called name_table, of [name, enum value] pairs. This table can then be sorted by doing name_table.sort() (i.e., very fast). The result is a fair amount more Python code, but execution time was reduced from ~14 seconds to ~2 seconds. | ||||
* | More GL_EXT_framebuffer_object: rename some things, added device driver hooks. | Brian Paul | 2005-02-24 | 4 | -101/+279 |
| | |||||
* | Sort the enums in the Python code, instead of at runtime. (Zack Rusin) | Brian Paul | 2005-02-23 | 1 | -772/+2235 |
| | |||||
* | now generated with Python script | Brian Paul | 2005-02-22 | 1 | -813/+1384 |
| | |||||
* | added a bunch of const in the decoder | Daniel Borca | 2005-02-14 | 1 | -30/+29 |
| | |||||
* | unlock mutex upon error return (Jeff Muizelaar) | Brian Paul | 2005-02-12 | 2 | -0/+2 |
| | |||||
* | mesa-main-0-NULL.patch from Jeff Muizelaar | Keith Whitwell | 2005-02-11 | 8 | -34/+35 |
| | |||||
* | new comments, fix zoffset error test | Brian Paul | 2005-02-10 | 1 | -3/+36 |
| | |||||
* | glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding. | Brian Paul | 2005-02-09 | 2 | -4/+4 |
| | |||||
* | initial support for GL_EXT_framebuffer_object | Brian Paul | 2005-02-09 | 1 | -55/+139 |
| | |||||
* | implement the 'completeness' tests | Brian Paul | 2005-02-09 | 2 | -91/+265 |
| | |||||
* | clamp anisotropy against max value | Brian Paul | 2005-02-08 | 1 | -3/+5 |
| | |||||
* | just some comments | Brian Paul | 2005-02-08 | 1 | -0/+7 |
| | |||||
* | a bunch of assorted fixes | Brian Paul | 2005-02-08 | 2 | -78/+82 |
| | |||||
* | plug in GL_EXT_framebuffer_object functions | Brian Paul | 2005-02-08 | 1 | -0/+23 |
| | |||||
* | removed GL_EXT_framebuffer_object tokens | Brian Paul | 2005-02-08 | 1 | -52/+0 |
| | |||||
* | checkpoint latest work | Brian Paul | 2005-02-08 | 2 | -46/+141 |
| | |||||
* | added missing prototype | Brian Paul | 2005-02-08 | 1 | -2/+9 |
| | |||||
* | indentation fix | Brian Paul | 2005-02-08 | 1 | -6/+7 |
| | |||||
* | argb8888 optimizations from via branch | Keith Whitwell | 2005-02-07 | 2 | -33/+297 |
| | |||||
* | More texture enums (Andreas Stenglein) | Keith Whitwell | 2005-02-07 | 1 | -10/+37 |
| | |||||
* | GL_ARB_texture_rectangle enums (Andreas Stenglein) | Keith Whitwell | 2005-02-07 | 1 | -0/+6 |
| | |||||
* | additional work on GL_EXT_framebuffer_object | Brian Paul | 2005-02-07 | 9 | -263/+615 |
| | |||||
* | added fbobject.c to sources | Brian Paul | 2005-02-05 | 1 | -0/+3 |
| | |||||
* | Some initial work on GL_EXT_framebuffer_object. | Brian Paul | 2005-02-05 | 5 | -11/+847 |
| | |||||
* | Remove the Shared->TexObjectList pointer and Next field from gl_texture_object. | Brian Paul | 2005-02-05 | 3 | -77/+30 |
| | | | | | | Was only used by two drivers to walk over all texture objects. Can do that via the hash table instead. Cleaned up some comments for struct gl_texture_object. | ||||
* | add a few comments | Brian Paul | 2005-02-05 | 1 | -0/+5 |
| | |||||
* | clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵ | Brian Paul | 2005-02-02 | 1 | -4/+4 |
| | | | | MAX_WIDTH/HEIGHT | ||||
* | fix max viewport query | Brian Paul | 2005-01-30 | 2 | -7/+9 |
| | |||||
* | add number of passes count to ati_fragment_shader | Dave Airlie | 2005-01-30 | 1 | -0/+1 |
| | |||||
* | remove a bunch of temporary #defines, now that glext.h was updated | Brian Paul | 2005-01-26 | 1 | -46/+1 |
| | |||||
* | just comments/clean-up | Brian Paul | 2005-01-26 | 2 | -8/+14 |
| | |||||
* | added mutex to-do comment | Brian Paul | 2005-01-26 | 1 | -0/+4 |
| | |||||
* | just fix a comment and update date | Brian Paul | 2005-01-26 | 1 | -2/+2 |
| | |||||
* | RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha ↵ | Daniel Borca | 2005-01-26 | 1 | -14/+14 |
| | | | | channel, instead of 1.0F | ||||
* | Added _mesa_HashNextEntry() function to allow walking over all entries | Brian Paul | 2005-01-24 | 2 | -46/+127 |
| | | | | | | in a hash table. Added _mesa_test_hash_functions() for unit testing. Updated comments, etc. | ||||
* | Determine ahead of time whether a display list will include vertices | Keith Whitwell | 2005-01-22 | 3 | -20/+68 |
| | | | | | | which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems. | ||||
* | add getstring.c; remove arb*.h nv*.h stuff | Michal Krol | 2005-01-21 | 1 | -44/+4 |
| | |||||
* | Update glDeletePrograms/Buffers() so that the ID is freed immediately, like | Brian Paul | 2005-01-20 | 2 | -14/+6 |
| | | | | texture objects. | ||||
* | Removed gl_texture_object's DeletePending. Changed a comment. | Brian Paul | 2005-01-19 | 1 | -2/+1 |
| | |||||
* | Change behaviour of glDeleteTextures as discussed on ARB list. | Brian Paul | 2005-01-19 | 1 | -14/+9 |
| | | | | | | glDeleteTexture makes the texture ID immediately free for re-use while the actual texture object lingers until its reference count goes to zero (when no longer bound by any rendering context). | ||||
* | fix MAX_VERTEX_ATTRIBS_ARB query | Michal Krol | 2005-01-18 | 2 | -4/+4 |
| | |||||
* | add 3dlabs_shhandle interface | Michal Krol | 2005-01-17 | 1 | -41/+42 |
| | |||||
* | allow more internalFormat/format combinations (i hope i got it right) | Daniel Borca | 2005-01-17 | 1 | -2/+5 |
| | |||||
* | clean up gl2 structs | Brian Paul | 2005-01-17 | 1 | -77/+85 |
| |