summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2005-05-23Support ARB_texture_env_crossbar. Changes the way programs areKeith Whitwell
generated somewhat, with all TEX instructions now emitted at the head of the program.
2005-05-23Restore the negate() function.Keith Whitwell
Add Ben Skegg's ATI_texture_env_combine3 support.
2005-05-17don't include strings.hBrian Paul
2005-05-16Don't use _mesa_swizzle_ubyte_image if all three texture formatsFelix Kuehling
involved in _mesa_textore_argb/rgba8888 (source, base-internal, destination) differ. _mesa_swizzle_ubyte_image knows only about two of the formats and can't handle the case that all three are different correctly. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3111.
2005-05-16Deal better with indirection and indirection accounting, developedKeith Whitwell
with Ben Skeggs.
2005-05-16define M_E if neededBrian Paul
2005-05-12new MESA_DEBUG option: disassemKeith Whitwell
2005-05-12Rein in debug slightlyKeith Whitwell
2005-05-11Fix glean/conform problems. Don't generate so much output whenKeith Whitwell
disassembling.
2005-05-11Fix logic for allocating texture temporaries (Ben Skeggs).Keith Whitwell
Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit.
2005-05-10Double-buffer generated instructions and only notify driver when theKeith Whitwell
generated program differs from the previous one.
2005-05-10Double-buffer generated instructions and only notify driver when theKeith Whitwell
generated program differs from the previous one.
2005-05-10Better driver notification on changes.Keith Whitwell
2005-05-10Temporary fix - delete and recreate texenvprogram so that driversKeith Whitwell
notice when it changes.
2005-05-10 Committing in .Jouk Jansen
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 ----------------------------------------------------------------------
2005-05-10Fix texenv segfault. Reported by Ben Skeggs.Keith Whitwell
2005-05-10Try not to use the same temp reg as a TXP destination more than once,Keith Whitwell
as this also constitutes a texture indirection. Reported by Ben Skeggs.
2005-05-09Use driver functions to create TexEnvProgram, TnlProgramKeith Whitwell
2005-05-07assorted warning clean-ups for x86_64, etc (Mikko T.)Brian Paul
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
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.
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().