summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-05-04Add a facility to route all rasterization through a fragment programKeith Whitwell
which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
2005-04-30apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and ↵Brian Paul
regenerate get.c
2005-04-30Fixed bogus ENUM_TO_BOOLEAN inFelix Kuehling
_mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
2005-04-29Maintain a fragment program for current texturing state.Keith Whitwell
2005-04-27move set_component_sizes() to fix bug 3135Brian Paul
2005-04-26comments and minor clean-upBrian Paul
2005-04-22Simplify the pipeline_stage structureKeith Whitwell
- remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
2005-04-22Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell
2005-04-21Reduce the size of mesa's internal fragment and vertex programKeith Whitwell
representations by switching to packed structures for registers and instructions.
2005-04-18s/NORMAL/FOG/ (J.P. Delport)Brian Paul
2005-04-15added _mesa_share_state()Brian Paul
2005-04-15remove carriage returnsBrian Paul
2005-04-14In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of theIan Romanick
variable. Without this, GET_CURRENT_CONTEXT would *always* result in a call to _glapi_get_context (because _glapi_Context is a const pointer to NULL in TLS builds).
2005-04-14A few getenv() that werent using the mesa wrapper versionBen Crossman
2005-04-14cosmetic changesMichal Krol
2005-04-14ARB_fragment_shader stateMichal Krol
2005-04-14ARB_fragment/vertex_shader stateMichal Krol
2005-04-14ARB_shading_language_100 bit;Michal Krol
Fragment shader derivative hint
2005-04-14add GL_ARB_shading_language_100;Michal Krol
reorder GL_ARB_shader_objects and GL_ARB_fragment/vertex_shader stuff
2005-04-14add FEATURE_ARB_shading_language_100;Michal Krol
remove FEATURE_shading_language; add ARB_fragment/vertex_shader max values
2005-04-10set table size to 1023 and use new HASH_FUNC() macroBrian Paul
2005-04-09Bug #2945: Fix math error that left half the hash buckets empty.Adam Jackson
2005-04-07Use the same dispatch.c source file for "normal" Mesa builds and DRIIan Romanick
libGL builds.
2005-04-01Use FEATURE_shading_language to control whether the shading languageBrian Paul
compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
2005-03-22add FreeTexImageData hook to help single-copy texturing in driversKeith Whitwell
2005-03-17Enable the generation of server-side __glGetBooleanv_size and relatedIan 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-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