summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2005-03-03change gl_buffer_object's Size field to GLsizeiptrARB typeBrian Paul
2005-02-27silence warningsBrian Paul
2005-02-26Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and doBrian Paul
additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample().
2005-02-26Fairly significant changes to enums.c and the way it is generated. enums.cIan 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-24More GL_EXT_framebuffer_object: rename some things, added device driver hooks.Brian Paul
2005-02-23Sort the enums in the Python code, instead of at runtime. (Zack Rusin)Brian Paul
2005-02-22now generated with Python scriptBrian Paul
2005-02-14added a bunch of const in the decoderDaniel Borca
2005-02-12unlock mutex upon error return (Jeff Muizelaar)Brian Paul
2005-02-11mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell
2005-02-10new comments, fix zoffset error testBrian Paul
2005-02-09glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding.Brian Paul
2005-02-09initial support for GL_EXT_framebuffer_objectBrian Paul
2005-02-09implement the 'completeness' testsBrian Paul
2005-02-08clamp anisotropy against max valueBrian Paul
2005-02-08just some commentsBrian Paul
2005-02-08a bunch of assorted fixesBrian Paul
2005-02-08plug in GL_EXT_framebuffer_object functionsBrian Paul
2005-02-08removed GL_EXT_framebuffer_object tokensBrian Paul
2005-02-08checkpoint latest workBrian Paul
2005-02-08added missing prototypeBrian Paul
2005-02-08indentation fixBrian Paul
2005-02-07argb8888 optimizations from via branchKeith Whitwell
2005-02-07More texture enums (Andreas Stenglein)Keith Whitwell
2005-02-07GL_ARB_texture_rectangle enums (Andreas Stenglein)Keith Whitwell
2005-02-07additional work on GL_EXT_framebuffer_objectBrian Paul
2005-02-05added fbobject.c to sourcesBrian Paul
2005-02-05Some initial work on GL_EXT_framebuffer_object.Brian Paul
2005-02-05Remove 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-05add a few commentsBrian Paul
2005-02-02clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵Brian Paul
MAX_WIDTH/HEIGHT
2005-01-30fix max viewport queryBrian Paul
2005-01-30add number of passes count to ati_fragment_shaderDave Airlie
2005-01-26remove a bunch of temporary #defines, now that glext.h was updatedBrian Paul
2005-01-26just comments/clean-upBrian Paul
2005-01-26added mutex to-do commentBrian Paul
2005-01-26just fix a comment and update dateBrian Paul
2005-01-26RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha ↵Daniel Borca
channel, instead of 1.0F
2005-01-24Added _mesa_HashNextEntry() function to allow walking over all entriesBrian Paul
in a hash table. Added _mesa_test_hash_functions() for unit testing. Updated comments, etc.
2005-01-22Determine ahead of time whether a display list will include verticesKeith 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-21add getstring.c; remove arb*.h nv*.h stuffMichal Krol
2005-01-20Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul
texture objects.
2005-01-19Removed gl_texture_object's DeletePending. Changed a comment.Brian Paul
2005-01-19Change 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-18fix MAX_VERTEX_ATTRIBS_ARB queryMichal Krol
2005-01-17add 3dlabs_shhandle interfaceMichal Krol
2005-01-17allow more internalFormat/format combinations (i hope i got it right)Daniel Borca
2005-01-17clean up gl2 structsBrian Paul
2005-01-16added getstring.cBrian Paul
2005-01-16_mesa_GetInteger/Float/Boolean/Doublev() are now generated with the newBrian Paul
get_gen.py Python script. Moved GetString(), GetPointer(), GetError() into new getstring.c file.