summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* gallium: move border color to be a color unionDave Airlie2011-09-271-1/+1
| | | | | | | | | | 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]>
* u_vbuf_mgr: s/u_vbuf_mgr_/u_vbuf_Marek Olšák2011-09-264-9/+9
|
* u_vbuf_mgr: cleanup original vs real vertex buffer arraysMarek Olšák2011-09-262-15/+16
| | | | | | It can now override both buffer offsets and strides in additions to resources. Overriding buffer offsets was kinda hackish and could cause issues with non-native vertex formats.
* r300/compiler: Fix regalloc for values with multiple writersTom Stellard2011-09-181-3/+6
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=40062 https://bugs.freedesktop.org/show_bug.cgi?id=36939 Note: This is a candidate for the 7.11 branch.
* gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie2011-09-182-15/+15
| | | | | | | | | | | | | | | 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]>
* r300/compiler: Add support for the output modifier (OMOD)Tom Stellard2011-09-1616-25/+310
|
* r300/compiler: Move some helper functions to radeon_compiler_util.cTom Stellard2011-09-163-33/+68
|
* r300/compiler: Don't unroll loops that conditionally increment the counterTom Stellard2011-09-161-2/+14
|
* winsys/radeon: use the cache bufmgr for buffers with PIPE_BIND_CUSTOMMarek Olšák2011-09-161-1/+1
| | | | so that we don't abuse PIPE_BIND_VERTEX_BUFFER all the time.
* r300g: handle the new CAPsMarek Olšák2011-09-111-0/+2
|
* r300/compiler: Implement ROUNDTom Stellard2011-09-104-1/+56
| | | | | According to the GLSL spec, the implementor can decide which way to round when the fraction is .5. The r300 compiler will round down.
* 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.
* android: add support for r300gChia-I Wu2011-08-271-0/+46
| | | | Compile tested only.
* r300g: share the source listChia-I Wu2011-08-273-114/+63
| | | | | | | | | | | | | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Note that $(TOP)/src/glsl/ralloc.c and $(TOP)/src/mesa/program/register_allocate.c are removed from C_SOURCES in Makefile.sources and added back in Makefile and SConscript. The idea is that they are not part of r300g. But having them in libr300.a makes build non-GL targets such as the compiler tests or g3dvl much easier. Also, for practical reason, TOP would be an undefined variable in Makefile.sources.
* g3dvl: Rework the decoder interface part 2/5Christian König2011-08-261-0/+2
| | | | | | | | Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* u_blitter: rename util_blitter_copy_region -> util_blitter_copy_textureMarek Olšák2011-08-161-2/+2
|
* winsys/radeon: hook up the new DRM_RADEON_GEM_WAIT ioctlMarek Olšák2011-08-162-4/+4
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: set the flush callback in radeon_winsysMarek Olšák2011-08-161-1/+1
| | | | | | I have also renamed the winsys function. Reviewed-by: Alex Deucher <[email protected]>
* r300g: silence some warnings about uninitialized variablesBrian Paul2011-08-093-6/+8
|
* winsys/radeon: fix space checkingMarek Olšák2011-08-051-2/+1
| | | | | | | We should remove the relocations which caused a validation failure from the list, so that the kernel receives only the validated ones. NOTE: This is a candidate for the 7.11 branch.
* r300g: handle new CAPsMarek Olšák2011-08-051-9/+4
|
* r300g: adapt to the resource_resolve interface changeMarek Olšák2011-08-051-21/+22
|
* 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
| |
* | gallium/util: add functions for manipulating swizzlesMarek Olšák2011-08-024-36/+5
| | | | | | | | Some of those have been in drivers already.
* | r300g: copy the compiler from r300cMarek Olšák2011-07-2669-25/+17038
| | | | | | | | | | | | | | | | What a beast. r300g doesn't depend on files from r300c anymore, so r300c is now left to its own fate. BTW 'make test' can be invoked from the gallium/r300 directory to run some compiler unit tests.
* | winsys/radeon: remove usage parameter from buffer_createMarek Olšák2011-07-254-6/+3
| |
* | winsys/radeon: add R300 infix to winsys feature namesMarek Olšák2011-07-253-3/+3
| |
* | winsys/radeon: simplify how value queries workMarek Olšák2011-07-258-43/+32
| | | | | | | | | | This drops the get_value query and adds a function query_info, which returns all the values in one nice structure.
* | [g3dvl] add some more PIPE_VIDEO_CAPsChristian König2011-07-121-6/+12
| |
* | [g3dvl] and finally remove pipe_video_contextChristian König2011-07-082-10/+2
| |
* | [g3dvl] move video buffer creation out of video contextChristian König2011-07-081-0/+3
| |
* | [g3dvl] remove the unused priv member from pipe_video_contextChristian König2011-07-081-1/+1
| |
* | [g3dvl] make pipe_context mandatory for creation pipe_video_contextChristian König2011-07-084-70/+9
| |
* | [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵Christian König2011-07-081-0/+2
| | | | | | | | into screen object
* | [g3dvl] rename get_param to get_video_param and move into screen objectChristian König2011-07-072-1/+14
| |
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-045-144/+126
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/r600_state_inlines.h src/gallium/tests/trivial/Makefile src/gallium/winsys/g3dvl/dri/XF86dri.c src/gallium/winsys/g3dvl/dri/driclient.c src/gallium/winsys/g3dvl/dri/driclient.h src/gallium/winsys/g3dvl/dri/xf86dri.h src/gallium/winsys/g3dvl/dri/xf86dristr.h src/gallium/winsys/r600/drm/r600_bo.c
| * | r300g: drop support for ARGB, ABGR, XRGB, XBGR render targetsMarek Olšák2011-06-251-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | Blending and maybe even alpha-test don't work with those formats. Only supporting RGBA, BGRA, RGBX, BGRX. NOTE: This is a candidate for the 7.10 and 7.11 branches.
| * | u_vbuf_mgr: make u_vbuf_mgr_draw_begin return flags in a bitmaskMarek Olšák2011-06-191-4/+1
| | |
| * | r300g: rename AOS -> VARRAYSMarek Olšák2011-06-181-17/+17
| | |
| * | r300g: fix handling PREP_* optionsMarek Olšák2011-06-181-31/+32
| |/ | | | | | | | | | | This should fix rendering >65532 vertices using draw_arrays on r300-r400. NOTE: This is a candidate for the 7.10 branch.
| * r300g: max_anisotropy of 1 is not anisotropic filteringMarek Olšák2011-06-111-1/+1
| |
| * r300g: fix texturing with non-3D textures and wrap R mode set to sample borderMarek Olšák2011-06-091-0/+6
| | | | | | | | | | | | | | | | | | | | If the wrap R (3rd) mode is set to CLAMP or CLAMP_TO_BORDER and the texture isn't 3D, r300 always samples the border color regardless of texture coordinates. I HATE THIS HARDWARE. NOTE: This is a candidate for the 7.10 branch.
| * r300g: don't enable aniso with nearest filteringMarek Olšák2011-06-091-41/+39
| |
| * r300g: fix draw_vbo splitting on r3xx-r4xxMarek Olšák2011-06-091-5/+10
| | | | | | | | NOTE: This is a candidate for the 7.10 branch.
| * r300g: make translate_primitive table-drivenMarek Olšák2011-06-091-24/+20
| |
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-095-393/+108
|\| | | | | | | | | | | Conflicts: src/gallium/tests/unit/u_format_test.c src/gallium/winsys/r600/drm/r600_hw_context.c
| * gallium: s/bool/boolean/Brian Paul2011-06-081-1/+1
| |
| * r300g: consolidate deducing chipset infoMarek Olšák2011-06-074-392/+107
| | | | | | | | Use the new PCI ID table, make it simpler.
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-059-95/+100
|\|