Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-22 | add FreeTexImageData hook to help single-copy texturing in drivers | Keith Whitwell | |
2005-03-17 | Enable the generation of server-side __glGetBooleanv_size and related | Ian Romanick | |
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. | |||
2005-03-03 | change gl_buffer_object's Size field to GLsizeiptrARB type | Brian Paul | |
2005-02-27 | silence warnings | Brian Paul | |
2005-02-26 | Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and do | Brian Paul | |
additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample(). | |||
2005-02-26 | Fairly significant changes to enums.c and the way it is generated. enums.c | Ian Romanick | |
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. | |||
2005-02-24 | More GL_EXT_framebuffer_object: rename some things, added device driver hooks. | Brian Paul | |
2005-02-23 | Sort the enums in the Python code, instead of at runtime. (Zack Rusin) | Brian Paul | |
2005-02-22 | now generated with Python script | Brian Paul | |
2005-02-14 | added a bunch of const in the decoder | Daniel Borca | |
2005-02-12 | unlock mutex upon error return (Jeff Muizelaar) | Brian Paul | |
2005-02-11 | mesa-main-0-NULL.patch from Jeff Muizelaar | Keith Whitwell | |
2005-02-10 | new comments, fix zoffset error test | Brian Paul | |
2005-02-09 | glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding. | Brian Paul | |
2005-02-09 | initial support for GL_EXT_framebuffer_object | Brian Paul | |
2005-02-09 | implement the 'completeness' tests | Brian Paul | |
2005-02-08 | clamp anisotropy against max value | Brian Paul | |
2005-02-08 | just some comments | Brian Paul | |
2005-02-08 | a bunch of assorted fixes | Brian Paul | |
2005-02-08 | plug in GL_EXT_framebuffer_object functions | Brian Paul | |
2005-02-08 | removed GL_EXT_framebuffer_object tokens | Brian Paul | |
2005-02-08 | checkpoint latest work | Brian Paul | |
2005-02-08 | added missing prototype | Brian Paul | |
2005-02-08 | indentation fix | Brian Paul | |
2005-02-07 | argb8888 optimizations from via branch | Keith Whitwell | |
2005-02-07 | More texture enums (Andreas Stenglein) | Keith Whitwell | |
2005-02-07 | GL_ARB_texture_rectangle enums (Andreas Stenglein) | Keith Whitwell | |
2005-02-07 | additional work on GL_EXT_framebuffer_object | Brian Paul | |
2005-02-05 | added fbobject.c to sources | Brian Paul | |
2005-02-05 | Some initial work on GL_EXT_framebuffer_object. | Brian Paul | |
2005-02-05 | Remove the Shared->TexObjectList pointer and Next field from gl_texture_object. | Brian Paul | |
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. | |||
2005-02-05 | add a few comments | Brian Paul | |
2005-02-02 | clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵ | Brian Paul | |
MAX_WIDTH/HEIGHT | |||
2005-01-30 | fix max viewport query | Brian Paul | |
2005-01-30 | add number of passes count to ati_fragment_shader | Dave Airlie | |
2005-01-26 | remove a bunch of temporary #defines, now that glext.h was updated | Brian Paul | |
2005-01-26 | just comments/clean-up | Brian Paul | |
2005-01-26 | added mutex to-do comment | Brian Paul | |
2005-01-26 | just fix a comment and update date | Brian Paul | |
2005-01-26 | RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha ↵ | Daniel Borca | |
channel, instead of 1.0F | |||
2005-01-24 | Added _mesa_HashNextEntry() function to allow walking over all entries | Brian Paul | |
in a hash table. Added _mesa_test_hash_functions() for unit testing. Updated comments, etc. | |||
2005-01-22 | Determine ahead of time whether a display list will include vertices | Keith Whitwell | |
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. | |||
2005-01-21 | add getstring.c; remove arb*.h nv*.h stuff | Michal Krol | |
2005-01-20 | Update glDeletePrograms/Buffers() so that the ID is freed immediately, like | Brian Paul | |
texture objects. | |||
2005-01-19 | Removed gl_texture_object's DeletePending. Changed a comment. | Brian Paul | |
2005-01-19 | Change behaviour of glDeleteTextures as discussed on ARB list. | Brian Paul | |
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). | |||
2005-01-18 | fix MAX_VERTEX_ATTRIBS_ARB query | Michal Krol | |
2005-01-17 | add 3dlabs_shhandle interface | Michal Krol | |
2005-01-17 | allow more internalFormat/format combinations (i hope i got it right) | Daniel Borca | |
2005-01-17 | clean up gl2 structs | Brian Paul | |