Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add state vars for color matrix, pixel transfer scale&bias | Brian | 2007-10-30 | 2 | -0/+19 |
| | |||||
* | start using program cache | Brian | 2007-10-30 | 1 | -5/+70 |
| | |||||
* | added pixel_transfer_cache | Brian | 2007-10-30 | 2 | -1/+7 |
| | |||||
* | added prog_cache.c | Brian | 2007-10-30 | 1 | -0/+1 |
| | |||||
* | Program cache functions. | Brian | 2007-10-30 | 2 | -0/+246 |
| | | | | | Generic version of cache code from texenvprogram.c and t_vp_build.c Not used by those files just yet, will also be used for pixel_transfer programs. | ||||
* | tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL. | Michel Dänzer | 2007-10-30 | 1 | -1/+2 |
| | |||||
* | Disable debug code. | Brian | 2007-10-30 | 2 | -2/+10 |
| | | | | | | Basic code for PixelTranslfer ops and glDrawPixels works now. A pixel transfer program is generated and combined with the current fragment shader. | ||||
* | Remove obsolete files | Brian | 2007-10-30 | 3 | -233/+0 |
| | |||||
* | Rename file since it's now a state atom | Brian | 2007-10-30 | 3 | -1/+198 |
| | |||||
* | checkpoint: combine pixel transfer and user shader for glDrawPixels | Brian | 2007-10-30 | 1 | -1/+33 |
| | |||||
* | make st_upload_constants() public | Brian | 2007-10-30 | 2 | -5/+52 |
| | |||||
* | added pixel_transfer_program field | Brian | 2007-10-30 | 1 | -0/+2 |
| | |||||
* | added st_update_pixel_transfer atom | Brian | 2007-10-30 | 2 | -1/+3 |
| | |||||
* | bug fixes, implement state atom for pixel transfer | Brian | 2007-10-30 | 1 | -11/+41 |
| | |||||
* | check for NULL ptr in _mesa_print_parameter_list() | Brian | 2007-10-30 | 1 | -0/+3 |
| | |||||
* | Set _NEW_BUFFERS in glRead/DrawBuffer(). | Brian | 2007-10-30 | 4 | -9/+5 |
| | | | | | | | | | Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time. | ||||
* | comment unused 'cb' field | Brian | 2007-10-30 | 1 | -0/+1 |
| | |||||
* | update comments, fix typo | Brian | 2007-10-30 | 1 | -4/+3 |
| | |||||
* | make _mesa_combine_programs() params const | Brian | 2007-10-30 | 2 | -2/+4 |
| | |||||
* | added st_pixeltransfer.c | Brian | 2007-10-30 | 1 | -0/+1 |
| | |||||
* | Initial version of st_get_pixel_transfer_program(). | Brian | 2007-10-30 | 2 | -0/+167 |
| | | | | For generating fragment programs which implement pixel transfer ops. | ||||
* | Added _mesa_combine_programs() for concatenating two programs. | Brian | 2007-10-30 | 2 | -0/+157 |
| | |||||
* | added _mesa_combine_parameter_lists() | Brian | 2007-10-30 | 2 | -0/+43 |
| | |||||
* | Switch to using LLVM builder. | Zack Rusin | 2007-10-30 | 3 | -253/+217 |
| | | | | | Instead of creating all the instructions by hand, switching to using LLVMBuilder. | ||||
* | Refactor vector extraction. | Zack Rusin | 2007-10-30 | 2 | -214/+89 |
| | |||||
* | Export true C based builtins to a file of its own. | Zack Rusin | 2007-10-30 | 3 | -176/+215 |
| | |||||
* | Rename to better reflect what it's really doing. | Zack Rusin | 2007-10-30 | 1 | -1/+1 |
| | |||||
* | Code cleanups. | Zack Rusin | 2007-10-30 | 2 | -17/+22 |
| | |||||
* | Cleanup constant vector handling a bit. | Zack Rusin | 2007-10-30 | 3 | -32/+22 |
| | |||||
* | Dump only relevant functions when in the debugging output. | Zack Rusin | 2007-10-30 | 1 | -7/+13 |
| | |||||
* | Change the way we handle temporaries in LLVM translation. | Zack Rusin | 2007-10-30 | 7 | -350/+376 |
| | | | | | | | 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. | ||||
* | Enable immediates in TGSI and work with them in LLVM code. | Zack Rusin | 2007-10-30 | 4 | -16/+37 |
| | | | | | Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation. | ||||
* | minor code simplification | Brian | 2007-10-29 | 1 | -8/+6 |
| | |||||
* | fix memcpy bugs | Brian | 2007-10-29 | 1 | -2/+2 |
| | |||||
* | Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program(). | Brian | 2007-10-29 | 1 | -52/+74 |
| | |||||
* | Remove ctx field from texenvprog_cache | Brian | 2007-10-29 | 2 | -13/+11 |
| | |||||
* | refactoring to begin removing dependency on tnl context | Brian | 2007-10-29 | 1 | -6/+33 |
| | |||||
* | simplify getting of current frag prog | Brian | 2007-10-29 | 1 | -6/+1 |
| | |||||
* | Refactor _tnl_UpdateFixedFunctionProgram(). | Brian | 2007-10-29 | 2 | -35/+57 |
| | | | | New _mesa_get_fixed_func_vertex_program() function... | ||||
* | Refactor _mesa_UpdateTexEnvProgram() | Brian | 2007-10-29 | 2 | -32/+39 |
| | | | | Will be replaced by _mesa_get_fixed_func_fragment_program(). | ||||
* | Rename 'mms-config.' to 'mms.config'. | Michal Krol | 2007-10-29 | 22 | -21/+21 |
| | | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'. | ||||
* | Update intel_is_format_supported. | José Fonseca | 2007-10-29 | 1 | -12/+10 |
| | |||||
* | Add detailed comments. | Michal Krol | 2007-10-29 | 1 | -7/+77 |
| | |||||
* | Make it compile under linux. | Michal Krol | 2007-10-29 | 13 | -65/+104 |
| | | | | | Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h. | ||||
* | Make gallium compile in win32. | Michal Krol | 2007-10-29 | 27 | -201/+366 |
| | | | | | | Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights. | ||||
* | remove dead code | Brian | 2007-10-29 | 1 | -77/+0 |
| | |||||
* | check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵ | Brian | 2007-10-29 | 1 | -6/+12 |
| | | | | failure | ||||
* | fix bad fragment shader pointer assignment | Brian | 2007-10-29 | 1 | -1/+1 |
| | |||||
* | simplify code which access the current vertex/fragment shaders | Brian | 2007-10-29 | 2 | -43/+5 |
| | |||||
* | Disable the else clause which assigns the default fragment program to ↵ | Brian | 2007-10-29 | 1 | -0/+2 |
| | | | | | | | | 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. |