Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium/i915: remove unneeded assignment | Brian | 2008-02-27 | 1 | -1/+0 |
| | |||||
* | gallium: remove obsolete *_strings.c files | Brian | 2008-02-27 | 1 | -53/+0 |
| | |||||
* | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | 2008-02-27 | 1 | -28/+0 |
| | | | | These functions are now per-screen, not per-context. | ||||
* | gallium: move is_format_supported() to pipe_screen struct | Brian | 2008-02-27 | 2 | -55/+48 |
| | |||||
* | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | 2008-02-27 | 3 | -26/+0 |
| | | | | | These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | ||||
* | gallium/i915: hook up screen->get_param() | Brian | 2008-02-27 | 2 | -50/+68 |
| | |||||
* | gallium/i915: remove some redundant code | Brian | 2008-02-27 | 3 | -56/+1 |
| | |||||
* | gallium: update for new i915_screen.c file; fix some warnings. | José Fonseca | 2008-02-27 | 4 | -0/+20 |
| | |||||
* | gallium: introduce 'pipe_screen' for context-independent functions | Brian | 2008-02-26 | 9 | -59/+298 |
| | | | | | | | This will allow creating textures before a rendering context exists, for example. Only implemented in i915 driver for now. i915pipe->texture_create() just dispatches through to the i915screen->texture_create() to avoid state tracker changes for now. | ||||
* | gallium: remove pipe parameter from pipe_texture_reference() | Brian | 2008-02-26 | 2 | -2/+2 |
| | | | | | Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation... | ||||
* | gallium/i915: Use tgsi_scan_shader() to collect shader info | Brian | 2008-02-26 | 5 | -39/+19 |
| | | | | | No longer use semantic info in pipe_shader_state. Also, remove redundant semantic info from i915_fp_compile struct. | ||||
* | gallium/i915: plug in aapoint draw stage | Brian | 2008-02-25 | 1 | -3/+1 |
| | |||||
* | gallium/i915: Fix emit_hw_vertex(): need to use vinfo->src_index[] | Brian | 2008-02-25 | 1 | -14/+16 |
| | |||||
* | gallium/i915: remove debug code | Brian | 2008-02-25 | 1 | -1/+0 |
| | |||||
* | gallium/i915: fix i915_emit_texld() to handle swizzled texcoords | Brian | 2008-02-25 | 2 | -16/+67 |
| | | | | Allocate a temporary register, insert MOV instruction, etc. | ||||
* | gallium/i915: compute vertex size _after_ state validation in emit_prim(). | Brian | 2008-02-25 | 1 | -3/+7 |
| | | | | Fixes crash when drawing aa lines. | ||||
* | gallium/i915: plug in aaline draw stage | Brian | 2008-02-25 | 1 | -1/+5 |
| | |||||
* | gallium/i915: make sure state is up to date in ↵ | Brian | 2008-02-25 | 1 | -1/+8 |
| | | | | i915_vbuf_render_get_vertex_info(), also disable bogus assertion | ||||
* | gallium/i915: need to recompute vertex info if vertex shader changes | Brian | 2008-02-25 | 3 | -1/+4 |
| | |||||
* | gallium/i915: call draw_flush() in i915_flush() | Brian | 2008-02-25 | 1 | -0/+3 |
| | |||||
* | gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords. | Brian | 2008-02-25 | 1 | -46/+53 |
| | | | | | We now produce the correct 915 vertex layout regardless of the order in which fragment shader inputs are declared. | ||||
* | gallium/i915: added SGT/SLE opcodes | Brian | 2008-02-25 | 1 | -0/+31 |
| | |||||
* | gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵ | Brian | 2008-02-22 | 7 | -150/+226 |
| | | | | | | | | | | | | | | | | | | allocation Before, fragment shaders were translated to i915 hw code at bind time, rather than create time. Now there's an i915_fragment_shader struct with the expected contents that's created by i915_create_fs_state(). Translation to i915 code takes place there too. Immediates are handled correctly now. During program translation we keep track of which constant buffer slots are free (i.e. not referenced by the shader). Then the TGSI immediates and ancillary immediates (introduced for SIN/COS/etc) are put into those free slots. When it's time to upload the constant buffer, use the fp->constant_flags[] array to determine if we should grab an immediate from the shader, or a user-defined parameter from the gallium constant buffer. | ||||
* | gallium: replace some ordinary assignments with pipe_reference_texture() | Brian | 2008-02-20 | 2 | -1/+5 |
| | | | | This fixes at least one instance of dereferencing an invalid texture pointer. | ||||
* | gallium: minor re-org of 915 surface/texture code | Brian | 2008-02-20 | 4 | -60/+84 |
| | |||||
* | gallium: new pipe->texture_update() function | Brian | 2008-02-20 | 3 | -0/+12 |
| | | | | | Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc). | ||||
* | Remove src/mesa and src/mesa/main from gallium source include paths. | José Fonseca | 2008-02-19 | 1 | -2/+0 |
| | |||||
* | Simplify makefile boilerplate code. | José Fonseca | 2008-02-19 | 1 | -8/+1 |
| | | | | | Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES. | ||||
* | Standardize on using the pipe/ include prefix. | José Fonseca | 2008-02-18 | 2 | -3/+3 |
| | |||||
* | Code reorganization: update build. | José Fonseca | 2008-02-15 | 10 | -12/+12 |
| | | | | | | | | | Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks. | ||||
* | Code reorganization: move files into their places. | José Fonseca | 2008-02-15 | 31 | -0/+8871 |
This is in a separate commit to ensure renames are properly preserved. |