summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2005-06-20ran "make" after update to glX_proto_send.py.Jeremy Kolb
2005-06-19Define __FUNCTION__ as a preprocessor symbol in glheader.h if we're notBrian Paul
using GCC or VMS.
2005-06-13mingw changes (Nolan Leake)Brian Paul
2005-06-09Store compiled vertex program representations in a pointer in theKeith Whitwell
vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
2005-06-07fix GL_ALPHA render-to-texture problem (Jon Smirl)Brian Paul
2005-06-04set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul
removing that
2005-06-01added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT errorBrian Paul
2005-05-31add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querieBrian Paul
2005-05-27properly pop the GL_TEXTURE_GEN_ enable stateBrian Paul
2005-05-26Fix gl_enums.py so that enums that are listed with the same name inIan Romanick
multiple places don't get generated multiple times.
2005-05-24Cleanup some Windows junk.Karl Schultz
2005-05-24moved to windows build dirKarl Schultz
2005-05-24Change prototype for TextureMemCpy to return void* (was void).Karl Schultz
2005-05-23Import Thomas Helstrom's SSE memcpy code from the via X.org driver.Keith Whitwell
Add a TextureMemCpy callback, called from texstore.c when copying texture data via the memcpy_texture() path. Enable this code in the via driver - 100% speedup in texdown.c results.
2005-05-23Detect use of disabled textures as tex_env_crossbar sources.Keith Whitwell
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