summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple
AgeCommit message (Collapse)Author
2008-05-01i915: avoid crashing on bad parameterKeith Whitwell
2008-05-01i915: fix warningKeith Whitwell
2008-04-30gallium: use the newer PIPE_FORMAT_x_UNORM format namesBrian Paul
2008-04-24i915: Fix for wrong texture in texobj with VBUFJakob Bornecrantz
2008-04-19draw: move some pipeline-specific code & state to draw_pipe.[ch]Keith Whitwell
2008-04-15gallium: Don't assume snprintf are always available.José Fonseca
2008-04-08i915: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-03-31gallium: Eliminate p_winsys::printfJosé Fonseca
Not convenient and almost not used at all. Better replacements in p_debug.h
2008-03-29gallium: Set vertex state/buffers en-mass.Brian Paul
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-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-03-21i915: added to-do note about setting the max_lod register to get proper ↵Brian
min/mag filter selection
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-17gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell
Passthrough is actually more tricky than you'd think...
2008-03-14i915: check for NULL const buffer ptrBrian
2008-03-12i915: handle NULL object in i915_bind_rasterizer_state()Brian
2008-03-12tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP.Michal Krol
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
2008-03-12gallium: Silence MSVC warnings.José Fonseca
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 unneeded assignmentBrian
2008-02-27gallium: remove obsolete *_strings.c filesBrian
2008-02-27gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian
These functions are now per-screen, not per-context.
2008-02-27gallium: move is_format_supported() to pipe_screen structBrian
2008-02-27gallium: start removing pipe_context->get_name/vendor/param/paramfBrian
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
2008-02-27gallium/i915: hook up screen->get_param()Brian
2008-02-27gallium/i915: remove some redundant codeBrian
2008-02-27gallium: update for new i915_screen.c file; fix some warnings.José Fonseca
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: remove pipe parameter from pipe_texture_reference()Brian
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
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: plug in aapoint draw stageBrian
2008-02-25gallium/i915: Fix emit_hw_vertex(): need to use vinfo->src_index[]Brian
2008-02-25gallium/i915: remove debug codeBrian
2008-02-25gallium/i915: fix i915_emit_texld() to handle swizzled texcoordsBrian
Allocate a temporary register, insert MOV instruction, etc.
2008-02-25gallium/i915: compute vertex size _after_ state validation in emit_prim().Brian
Fixes crash when drawing aa lines.
2008-02-25gallium/i915: plug in aaline draw stageBrian
2008-02-25gallium/i915: make sure state is up to date in ↵Brian
i915_vbuf_render_get_vertex_info(), also disable bogus assertion
2008-02-25gallium/i915: need to recompute vertex info if vertex shader changesBrian
2008-02-25gallium/i915: call draw_flush() in i915_flush()Brian
2008-02-25gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords.Brian
We now produce the correct 915 vertex layout regardless of the order in which fragment shader inputs are declared.
2008-02-25gallium/i915: added SGT/SLE opcodesBrian
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-20gallium: replace some ordinary assignments with pipe_reference_texture()Brian
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-20gallium: minor re-org of 915 surface/texture codeBrian
2008-02-20gallium: new pipe->texture_update() functionBrian
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
2008-02-19Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca
2008-02-19Simplify makefile boilerplate code.José Fonseca
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-18Standardize on using the pipe/ include prefix.José Fonseca
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.