summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2006-06-13Rename some functions/macros to better reflect their behaviour:Brian Paul
3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes
2006-06-13In import_attrib(), use the from->Normalized flag to choose the rightBrian Paul
translation function. Before this fix the 'normalized' flag to glVertexAttribPointerARB() was ignored.
2006-06-13s/0/NULL/Brian Paul
2006-06-13When using an ARB vertex program, the generic vertex arrays do not alias theBrian Paul
conventional arrays. Typo: s/writeable/writable/
2006-06-13fix size assertions in _mesa_init_teximage_fields()Brian Paul
2006-06-13minor simplification in texcoord array importBrian Paul
2006-06-13remove some unneeded #includesBrian Paul
2006-06-13Fix a few conversion bugs. For example, GLshort->GLfloat conversionBrian Paul
didn't work for color arrays.
2006-06-12Make r300 driver build with GL_APPLE_vertex_array_object changes.Ian Romanick
Sorry for the breakage. These changes are only build tested.
2006-06-12s/buffer/arrays/Brian Paul
2006-06-12include arrayobj.hBrian Paul
2006-06-12remove unused varBrian Paul
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
2006-06-12fire vertices before context destruction.Alan Hourihane
2006-06-11destroy the memory manager along with the contextTilman Sauerbeck
2006-06-10enable arb_vertex_program by default if drm is new enough. Do a fallback ↵Roland Scheidegger
when it's a nv_vp as there could be issues.
2006-06-09shuffle some code to make some assertions in the _savage_texstore_a111xxxx ↵Roland Scheidegger
functions compile without error...
2006-06-08check for invalid mode in glBegin(), bug 7142Brian Paul
2006-06-08include tnl/tnl.h for _tnl_program_string()Tilman Sauerbeck
2006-06-08mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck
2006-06-08struct op_names: get rid of the 'output operands' field as it's not used ↵Tilman Sauerbeck
(Roland Scheidegger)
2006-06-08Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. ↵Roland Scheidegger
Clean up the r200 vertex program code a bit.
2006-06-06prevent possible program mix up with sw vps (Roland Scheidegger)Aapo Tahkola
2006-06-06prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola
ctx->_MaintainTnlProgram is set
2006-06-06make sure tex format is supported.Aapo Tahkola
2006-06-06various fixes (Roland Scheidegger)Aapo Tahkola
2006-06-03Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() callBrian Paul
and cast. Simplifies the code a little bit elsewhere.
2006-06-02minor clean-upsBrian Paul
2006-06-02implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵Roland Scheidegger
generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
2006-06-02set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul
2006-06-02fix depth-component test to allow rectangular texturesBrian Paul
2006-06-02remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger
request at least drmMinor 6 anyway.
2006-06-01retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger
intention as drm seems to never return EAGAIN) in all radeon drivers.
2006-06-01Fix extended swizzling in vertex programs by introducing special swizzle ↵Roland Scheidegger
instruction, extend the 2 bit rsw field to 3 bit like used in other places. While here, also fix up rsw (negation), dph and try to fix up rsq with negative values (doesn't work, bug seems elsewhere) in the sse codegen code.
2006-05-31SWZ is nearly identical to MOV. the difference is that SWZ supports ↵Tilman Sauerbeck
per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
2006-05-31pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵Tilman Sauerbeck
r300's VSF_FLAGs now
2006-05-31Fixed bug with multiple contexts.Claudio Ciccani
Added support for ARGB4444 and ARGB2554. Added hardware accelerated Clear().
2006-05-30Define new NEGATE_* tokens for setting the src register's NegateBase field.Brian Paul
Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components.
2006-05-30remove redundant 'const'Brian Paul
2006-05-30free convolved image / fix mem leak (bug 7077)Brian Paul
2006-05-30minor code cleanup, no actual changesTilman Sauerbeck
2006-05-30don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵Tilman Sauerbeck
which is actually handled
2006-05-30Remove not needed forward declaration.Michal Krol
2006-05-29don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵Tilman Sauerbeck
done in parse_generic_attrib_num()
2006-05-29generic attribute 0 wasn't handled correctly (Jesse Allen)Brian Paul
2006-05-27fix some whitespace in previous commitRoland Scheidegger
2006-05-27preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵Roland Scheidegger
instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
2006-05-24The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem toBrian Paul
be needed (it's set in texenvprogram.c) and is a memory leak according to valgrind. Disable with #if 0 / #endif
2006-05-24Roll _mesa_free_parameters() into calling function (the only caller).Brian Paul
Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups.
2006-05-24fix a small memory leak in _mesa_add_state_reference()Brian Paul