summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Store compiled vertex program representations in a pointer in theKeith Whitwell2005-06-092-1/+2
| | | | | | | | | | | | | 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.
* fix GL_ALPHA render-to-texture problem (Jon Smirl)Brian Paul2005-06-072-0/+7
|
* set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul2005-06-042-2/+2
| | | | removing that
* added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT errorBrian Paul2005-06-011-3/+18
|
* add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querieBrian Paul2005-05-311-0/+57
|
* properly pop the GL_TEXTURE_GEN_ enable stateBrian Paul2005-05-271-0/+8
|
* Fix gl_enums.py so that enums that are listed with the same name inIan Romanick2005-05-261-2501/+2475
| | | | multiple places don't get generated multiple times.
* Cleanup some Windows junk.Karl Schultz2005-05-241-12/+16
|
* moved to windows build dirKarl Schultz2005-05-241-540/+0
|
* Change prototype for TextureMemCpy to return void* (was void).Karl Schultz2005-05-241-1/+1
|
* Import Thomas Helstrom's SSE memcpy code from the via X.org driver.Keith Whitwell2005-05-232-21/+35
| | | | | | 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.
* Detect use of disabled textures as tex_env_crossbar sources.Keith Whitwell2005-05-231-8/+18
|
* Support ARB_texture_env_crossbar. Changes the way programs areKeith Whitwell2005-05-231-41/+119
| | | | | generated somewhat, with all TEX instructions now emitted at the head of the program.
* Restore the negate() function.Keith Whitwell2005-05-231-5/+33
| | | | Add Ben Skegg's ATI_texture_env_combine3 support.
* don't include strings.hBrian Paul2005-05-171-2/+0
|
* Don't use _mesa_swizzle_ubyte_image if all three texture formatsFelix Kuehling2005-05-161-0/+12
| | | | | | | 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.
* Deal better with indirection and indirection accounting, developedKeith Whitwell2005-05-161-33/+53
| | | | with Ben Skeggs.
* define M_E if neededBrian Paul2005-05-161-0/+5
|
* new MESA_DEBUG option: disassemKeith Whitwell2005-05-123-2/+6
|
* 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
|