summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
Commit message (Collapse)AuthorAgeFilesLines
* gallium: move border color to be a color unionDave Airlie2011-09-271-4/+4
| | | | | | | | | | EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* i915g: Don't generate useless swizzles before texture accesses.Stéphane Marchesin2011-09-223-10/+62
| | | | That helps reduce the number of texture indirections, which are very limited on i915.
* i915g: Fix whitespace.Stéphane Marchesin2011-09-221-13/+13
|
* i915g: Fix peephole optimization for MOVs.Stéphane Marchesin2011-09-221-0/+8
|
* i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET.Stéphane Marchesin2011-09-221-0/+3
|
* i915g: Add an optimization to get rid of useless movs, in particular at the ↵Stéphane Marchesin2011-09-211-3/+38
| | | | end of some shaders.
* i915g: Fix some whitespace problems.Stéphane Marchesin2011-09-212-12/+12
|
* i915g: Blend equation separate seems to work.Stéphane Marchesin2011-09-211-6/+1
|
* i915g: Add ifdef'd out code to dump compiled shaders.Stéphane Marchesin2011-09-211-0/+4
|
* i915g: Fix bug in shader optimizer.Stéphane Marchesin2011-09-211-2/+2
|
* i915g: Remove stale function prototype.Stéphane Marchesin2011-09-211-6/+0
|
* gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie2011-09-183-14/+20
| | | | | | | | | | | | | | | This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <[email protected]>
* gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERSMarek Olšák2011-09-101-1/+1
| | | | v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP.
* i915g: remove unused var in i915_flush_heuristically()Brian Paul2011-08-291-2/+0
|
* android: add support for i915gChia-I Wu2011-08-271-0/+38
| | | | | | Quickly tested with 945GME. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work and some do not.
* i915g: share the source listChia-I Wu2011-08-273-53/+30
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaStéphane Marchesin2011-08-268-12/+26
|\
| * i915g: Fix off-by-one in scissors.David Reveman2011-08-251-2/+2
| |
| * i915g: Fix case where texcoords can overlap with fragpos/frontface.Stéphane Marchesin2011-08-251-3/+3
| |
| * i915g: Improve the flush heuristic by using the previous frame's number of ↵Stéphane Marchesin2011-08-254-6/+18
| | | | | | | | vertices.
| * u_blitter: rename util_blitter_copy_region -> util_blitter_copy_textureMarek Olšák2011-08-161-1/+1
| |
| * Merge branch 'glsl-to-tgsi'Bryan Cain2011-08-041-0/+2
| |\ | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
| | * gallium: add PIPE_SHADER_CAP_INTEGERSBryan Cain2011-08-011-0/+2
| | |
* | | i915g: Fix whitespace.Stephane Marchesin2011-08-041-1/+1
| | |
* | | i915g: fix whitespace.Stephane Marchesin2011-08-031-1/+1
| | |
* | | Fix trailing whitespace.Stephane Marchesin2011-08-021-1/+1
| | |
* | | i915g: Proper indentation of func parameters.Stephane Marchesin2011-08-021-5/+5
| | |
* | | i915g: Remove heuristic flushing.Stephane Marchesin2011-08-022-5/+0
|/ /
* | i915g: move declaration before codeBrian Paul2011-07-141-1/+2
| |
* | i915g: fixup context desdructionDaniel Vetter2011-07-131-2/+2
| | | | | | | | | | Reported-by: Christopher Egert <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
* | i915g: Make the optimizer more generic.Stéphane Marchesin2011-07-071-27/+58
| |
* | i915g: Apply optimization to ADDS/MUL and only if we're not saturating.Stéphane Marchesin2011-07-071-6/+27
| |
* | i915g: move code after declarationBrian Paul2011-07-061-1/+2
| |
* | i915g: Fix optimize so that it actually gets used.Stéphane Marchesin2011-07-061-1/+1
| |
* | i915g: Fix optimization, also make it more generic.Stéphane Marchesin2011-07-061-2/+26
| |
* | i915g: Improve flushing using heuristics.Stéphane Marchesin2011-07-067-1/+36
| |
* | i915g: introduce the tiny shader optimizer.Stéphane Marchesin2011-07-066-96/+372
| |
* | i915g: Add comment about DDX/DDY.Stéphane Marchesin2011-07-061-0/+1
| |
* | i915g: Move back to the old method for target format fixup.Stéphane Marchesin2011-07-062-58/+41
| |
* | i915g: Implement surface format fixup without adding an extra instruction.Stéphane Marchesin2011-06-301-31/+54
| | | | | | | | We also avoid writing output color twice, which might not work when we run out of phases.
* | i915g: update TODO.Stéphane Marchesin2011-06-291-0/+2
| |
* | i915g: Try to do better in the shader compiler.Stéphane Marchesin2011-06-293-20/+41
| | | | | | | | | | | | - Copy i915c's support for phases, that should allow us to run a coupe more shaders. - Fix the error messages. - Still try to proceed when we get a shader that's too long.
* | i915g: Move definition of M_PI in i915_fpc_translate.cJon TURNEY2011-06-291-5/+3
| | | | | | | | | | | | | | | | Move defintion of M_PI (for the benefit of <math.h> which do not define it), to before the first use of it Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* | i915g: Fix unimplemented Abs comment.Stéphane Marchesin2011-06-291-1/+1
| |
* | i915g: If we have a program, that means the other fields are ours and we can ↵Stéphane Marchesin2011-06-281-3/+5
| | | | | | | | | | | | free them. Otherwise they probably belong to draw.
* | i915g: Don't overflow the program buffer.Stéphane Marchesin2011-06-281-13/+25
| | | | | | | | Otherwise it corrupts other fields of the struct and hilarity ensues.
* | i915g: Update the TODO with another idea.Stéphane Marchesin2011-06-281-0/+2
| |
* | i915g: Fix comment about sin/cos constants.Stéphane Marchesin2011-06-281-2/+2
| |
* | i915g: Fix staging texture uploads a bit.Stéphane Marchesin2011-06-281-5/+1
| | | | | | | | They still look corrupted, but at least now they don't look tiled any more.
* | i915g: Add a debug_printf when we get the Abs flag.Stéphane Marchesin2011-06-281-0/+3
| |