summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple/i915_context.h
AgeCommit message (Collapse)Author
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-06-23i915: Add render and texture support for tiled texture and buffersJakob Bornecrantz
This is step towards tiled textures and buffer support for i915. But the tiled attribute is never set.
2008-06-23i915: Removed level_offset from i915_textureJakob Bornecrantz
All offsets are now on image_offset.
2008-06-17i915: Max and Min lod now worksJakob Bornecrantz
2008-06-02i915: Rework of batchbuffer codeJakob Bornecrantz
2008-05-28i915: Made vertex submission eaven fasterJakob Bornecrantz
2008-05-26Revert DOS line endings.José Fonseca
2008-04-08i915: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-05gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
2008-02-27gallium/i915: remove some redundant codeBrian
2008-02-26gallium: introduce 'pipe_screen' for context-independent functionsBrian
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.
2008-02-26gallium/i915: Use tgsi_scan_shader() to collect shader infoBrian
No longer use semantic info in pipe_shader_state. Also, remove redundant semantic info from i915_fp_compile struct.
2008-02-25gallium/i915: need to recompute vertex info if vertex shader changesBrian
2008-02-22gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵Brian
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.
2008-02-15Code reorganization: update build.José Fonseca
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.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.