summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2007-10-30Finish up ATI_separate_stencilBrian
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
2007-10-30add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger
2007-10-30Switch to using LLVM builder.Zack Rusin
Instead of creating all the instructions by hand, switching to using LLVMBuilder.
2007-10-30More vblank cleanups.Michel Dänzer
* Fix crash at context creation in most drivers supporting vblank. * Don't pass vblank sequence or flags to functions that get passed the drawable private already. * Attempt to initialize vblank related drawable private fields just once per drawable. May need more work in some drivers.
2007-10-30Refactor vector extraction.Zack Rusin
2007-10-30Export true C based builtins to a file of its own.Zack Rusin
2007-10-30Rename to better reflect what it's really doing.Zack Rusin
2007-10-30Code cleanups.Zack Rusin
2007-10-30Cleanup constant vector handling a bit.Zack Rusin
2007-10-30Dump only relevant functions when in the debugging output.Zack Rusin
2007-10-30Change the way we handle temporaries in LLVM translation.Zack Rusin
TGSI uses TEMP, among others, as a way of passing arguments from one function to another. Instead of trying to figure out which temp's a function needs and trying to dynamically adjust its signature just pass the whole array of temporaries to them.
2007-10-30Enable immediates in TGSI and work with them in LLVM code.Zack Rusin
Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
2007-10-29minor code simplificationBrian
2007-10-29fix memcpy bugsBrian
2007-10-29Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().Brian
2007-10-29Remove ctx field from texenvprog_cacheBrian
2007-10-29refactoring to begin removing dependency on tnl contextBrian
2007-10-29simplify getting of current frag progBrian
2007-10-29Refactor _tnl_UpdateFixedFunctionProgram().Brian
New _mesa_get_fixed_func_vertex_program() function...
2007-10-29Refactor _mesa_UpdateTexEnvProgram()Brian
Will be replaced by _mesa_get_fixed_func_fragment_program().
2007-10-29[i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.Eric Anholt
2007-10-29Merge branch 'origin'Eric Anholt
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-10-29Refactor and fix core vblank supportJesse Barnes
Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
2007-10-29Update intel_is_format_supported.José Fonseca
2007-10-29Add detailed comments.Michal Krol
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-29remove dead codeBrian
2007-10-29check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵Brian
failure
2007-10-29disable ctx->Driver.NewProgram() call in _mesa_new_program()Brian
This was causing infinite recursive calls w/ software drivers. All vertex/fragment shaders should be allocated by calling ctx->Driver.NewProgram(), not by calling _mesa_new_program().
2007-10-29fix bad fragment shader pointer assignmentBrian
2007-10-29simplify code which access the current vertex/fragment shadersBrian
2007-10-29Disable the else clause which assigns the default fragment program to ↵Brian
ctx->FragmentProgram._Current The _Current field should either point to the fragment program which is to be run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional fixed-function code is to be used. Matches TNL program code.
2007-10-29Remove conditionals from the makefiles.Zack Rusin
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Refactor the LLVM code a bit.Zack Rusin
Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module.
2007-10-29Make sure the swizzling vector is being recreated for each function. This makesZack Rusin
GLSL bricks work.
2007-10-29Add SSE dump facilities.Michal Krol
Wrap x86_, sse_ and sse2 rtasm calls in emit_ calls. Those emit_ calls, if required, dump instructions to stdout. SSE dumping disabled by default.
2007-10-29Code re-org. Add comments.Michal Krol
2007-10-29Implement RET opcode.Michal Krol
2007-10-29Remove TGSI_INTERPOLATE_ATTRIB.Michal Krol
2007-10-29Fix i915simple build.José Fonseca
2007-10-29Reuse hardware vertice representation.José Fonseca
2007-10-29Enable the vertex buffer stage according to the I915_VBUF environment var.José Fonseca
2007-10-29Get vertex buffer stage in a minimally working state.José Fonseca
2007-10-29Reserve the accurate number of dwords in the batch buffer.José Fonseca
2007-10-29Start a vertex buffer constuction stage for i915 based on Keith's draft done ↵José Fonseca
on softpipe.
2007-10-29Fix newlines.Michal Krol
2007-10-28Only set R_MODE with NV_point_spriteAlan Hourihane