summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Rein in debug slightlyKeith Whitwell2005-05-121-1/+1
|
* Fix glean/conform problems. Don't generate so much output whenKeith Whitwell2005-05-111-26/+36
| | | | disassembling.
* Fix logic for allocating texture temporaries (Ben Skeggs).Keith Whitwell2005-05-111-15/+24
| | | | | Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit.
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-1/+0
| | | | generated program differs from the previous one.
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-8/+21
| | | | generated program differs from the previous one.
* Better driver notification on changes.Keith Whitwell2005-05-101-7/+10
|
* Temporary fix - delete and recreate texenvprogram so that driversKeith Whitwell2005-05-101-5/+10
| | | | notice when it changes.
* Committing in .Jouk Jansen2005-05-101-1/+14
| | | | | | | | | | OpenVMS compile support update for new buffer-code Modified Files: Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
* Fix texenv segfault. Reported by Ben Skeggs.Keith Whitwell2005-05-101-0/+10
|
* Try not to use the same temp reg as a TXP destination more than once,Keith Whitwell2005-05-101-2/+40
| | | | | as this also constitutes a texture indirection. Reported by Ben Skeggs.
* Use driver functions to create TexEnvProgram, TnlProgramKeith Whitwell2005-05-093-5/+19
|
* assorted warning clean-ups for x86_64, etc (Mikko T.)Brian Paul2005-05-071-4/+4
|
* Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz2005-05-057-19/+26
| | | | | | | | use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-0433-1179/+4328
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-045-152/+162
| | | | | | | | | | | 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.
* apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and ↵Brian Paul2005-04-302-3/+7
| | | | regenerate get.c
* Fixed bogus ENUM_TO_BOOLEAN inFelix Kuehling2005-04-301-1/+1
| | | | | | _mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
* Maintain a fragment program for current texturing state.Keith Whitwell2005-04-291-0/+772
|
* move set_component_sizes() to fix bug 3135Brian Paul2005-04-271-1/+3
|
* comments and minor clean-upBrian Paul2005-04-261-17/+29
|
* Simplify the pipeline_stage structureKeith Whitwell2005-04-221-0/+3
| | | | | | | | | | - 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.
* Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell2005-04-221-2/+2
|
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-211-1/+22
| | | | | representations by switching to packed structures for registers and instructions.
* s/NORMAL/FOG/ (J.P. Delport)Brian Paul2005-04-181-3/+3
|
* added _mesa_share_state()Brian Paul2005-04-152-0/+28
|
* remove carriage returnsBrian Paul2005-04-153-5646/+5646
|
* In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of theIan Romanick2005-04-141-25/+0
| | | | | | 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).
* A few getenv() that werent using the mesa wrapper versionBen Crossman2005-04-141-0/+2
|
* cosmetic changesMichal Krol2005-04-141-6/+7
|
* ARB_fragment_shader stateMichal Krol2005-04-141-1/+14
|
* ARB_fragment/vertex_shader stateMichal Krol2005-04-142-5559/+5646
|
* ARB_shading_language_100 bit;Michal Krol2005-04-141-2/+4
| | | | Fragment shader derivative hint
* add GL_ARB_shading_language_100;Michal Krol2005-04-141-20/+27
| | | | reorder GL_ARB_shader_objects and GL_ARB_fragment/vertex_shader stuff
* add FEATURE_ARB_shading_language_100;Michal Krol2005-04-141-5/+15
| | | | | remove FEATURE_shading_language; add ARB_fragment/vertex_shader max values
* set table size to 1023 and use new HASH_FUNC() macroBrian Paul2005-04-101-5/+8
|
* Bug #2945: Fix math error that left half the hash buckets empty.Adam Jackson2005-04-091-1/+1
|
* Use the same dispatch.c source file for "normal" Mesa builds and DRIIan Romanick2005-04-071-7/+13
| | | | libGL builds.
* Use FEATURE_shading_language to control whether the shading languageBrian Paul2005-04-011-0/+4
| | | | | compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
* add FreeTexImageData hook to help single-copy texturing in driversKeith Whitwell2005-03-225-37/+62
|
* Enable the generation of server-side __glGetBooleanv_size and relatedIan Romanick2005-03-171-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 typeBrian Paul2005-03-032-2/+2
|
* silence warningsBrian Paul2005-02-271-2/+2
|
* Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and doBrian Paul2005-02-264-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.cIan Romanick2005-02-261-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 Paul2005-02-244-101/+279
|
* Sort the enums in the Python code, instead of at runtime. (Zack Rusin)Brian Paul2005-02-231-772/+2235
|
* now generated with Python scriptBrian Paul2005-02-221-813/+1384
|
* added a bunch of const in the decoderDaniel Borca2005-02-141-30/+29
|
* unlock mutex upon error return (Jeff Muizelaar)Brian Paul2005-02-122-0/+2
|
* mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-118-34/+35
|