summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* g3dvl: Add get_clear_color capabilityEmeric Grange2011-09-142-0/+18
| | | | | Signed-off-by: Emeric Grange <[email protected]> Reviewed-by: Christian König <[email protected]>
* g3dvl: Various whitespace cleanups found while reading some codeEmeric Grange2011-09-144-18/+20
| | | | Signed-off-by: Emeric Grange <[email protected]>
* gallivm: remove unused varsBrian Paul2011-09-131-5/+0
|
* gallium: minor comments for util_format_channel_description fieldsBrian Paul2011-09-131-2/+2
|
* nv50/nvc0: add support for R4A4_UNORM and A4R4_UNORM formatsMarcin Slusarz2011-09-132-0/+16
| | | | R4A4 is needed by OSD in mplayer's xvmc output
* r600g: fix typo in "r600g: simplify deducing chip family"Marek Olšák2011-09-131-1/+1
|
* r600g: remove unused function r600_buffer_from_handleMarek Olšák2011-09-122-28/+0
|
* r600g: remove an irrelevant XXX commentMarek Olšák2011-09-121-1/+1
|
* r600g: remove r600_resource_buffer structMarek Olšák2011-09-124-80/+65
| | | | | This subclass of r600_resource doesn't contain any useful members, so let's just use r600_resource.
* r600g: set the return type of radeon_destroy to voidMarek Olšák2011-09-122-7/+4
|
* r600g: remove r600_drm_public.hMarek Olšák2011-09-124-35/+1
|
* r600g: inline some of the winsys r600_get functionsMarek Olšák2011-09-128-43/+13
|
* r600g: simplify deducing chip familyMarek Olšák2011-09-121-36/+8
|
* r600g: compute tiling info in the pipe, not in the winsysMarek Olšák2011-09-126-133/+133
| | | | The winsys doesn't need it.
* r600g: remove unused ioctl definitionsMarek Olšák2011-09-121-8/+0
|
* r600g: do not loop in radeon_family_from_deviceMarek Olšák2011-09-124-57/+11
| | | | Also move that function to r600_drm.c
* r600g: cleanup build include dirs and dependenciesMarek Olšák2011-09-126-14/+3
| | | | The scons build still depended on libdrm_radeon.
* pb_buffer: inline 'base' sub-structMarek Olšák2011-09-1113-106/+102
|
* r300g: handle the new CAPsMarek Olšák2011-09-111-0/+2
|
* tgsi: fix typo in commit 324ac982d8e7Emil Velikov2011-09-101-1/+1
| | | | Reviewed-by: Bryan Cain <[email protected]>
* nouveau: Add support for XvMC accelerationMaarten Lankhorst2011-09-106-7/+1328
| | | | | | Try to use the PMPEG where available Signed-off-by: Maarten Lankhorst <[email protected]>
* gallium: add TGSI opcodes UARL and UCMPBryan Cain2011-09-104-1/+56
| | | | | | | They are needed by glsl_to_tgsi for an efficient implementation using native integers. Reviewed-by: Brian Paul <[email protected]>
* draw/llvm: combine draw_llvm_generate() and draw_llvm_generate_elts()Brian Paul2011-09-101-273/+97
| | | | | | | | These two functions were nearly the same with lots of duplicated code. Now pass in a boolean 'elts' flag and use a few conditionals to implement the linear vs. indexed cases. Reviewed-by: José Fonseca <[email protected]>
* 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.
* st/dri: remove the call to driInitExtensionsMarek Olšák2011-09-101-20/+0
| | | | The function no longer exists. This fixes Gallium build.
* r600g: fix shadow rect samplersMarek Olšák2011-09-101-3/+6
|
* r600g: use SAMPLE_LB for OPCODE_TXBMarek Olšák2011-09-101-3/+6
|
* r600g: enable texture arraysMarek Olšák2011-09-101-3/+3
|
* r600g: add support for shadow array samplersMarek Olšák2011-09-102-19/+57
| | | | I had to guess & verify how some of the SAMPLE instructions work.
* r600g: implement texture arrays for evergreenMarek Olšák2011-09-101-5/+18
|
* r600g: always decompress all mipmaps and layers, slices, or faces of zbuffersMarek Olšák2011-09-102-28/+49
| | | | | | This fixes piglit/fbo-depth-array. Reviewed-by: Dave Airlie <[email protected]>
* r600g: fix texture array filteringMarek Olšák2011-09-103-74/+113
| | | | | | | | | | | | | | This fixes piglit/fbo-generatemipmap-array. It looks like SQ_TEX_SAMPLER_WORD0_0.TEX_ARRAY_OVERRIDE should be set for array textures in order to disable filtering between slices, which adds a dependency between sampler views and sampler states. This patch reworks sampler state updates such that they are postponed until draw time. TEX_ARRAY_OVERRIDE is updated according to bound sampler views. This also consolidates setting the texture state between vertex and pixel shaders.
* u_blitter: add texture array supportMarek Olšák2011-09-101-11/+41
| | | | Reviewed-by: Dave Airlie <[email protected]>
* gallium: add shadow 1D and 2D array samplers to TGSIMarek Olšák2011-09-108-9/+70
| | | | And filling in all the switch statements in auxiliary. Mostly untested.
* gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERSMarek Olšák2011-09-108-12/+11
| | | | v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP.
* llvmpipe: add some null pointer checksBrian Paul2011-09-092-1/+35
| | | | | | | | | It's not clear if these are acceptable cases so issue a one-time warning in debug builds when we hit them. Fixes segfault in piglit fbo-mipmap-copypix test. Reviewed-by: José Fonseca <[email protected]>
* d3d1x: fix a build errorChia-I Wu2011-09-091-3/+4
| | | | | Fix for the st/egl interface change since 08e1076fd2d3f6fb879dd2529e7d035d6a399da2.
* st/dri: add support for __DRI_IMAGE_FORMAT_ABGR8888Chia-I Wu2011-09-091-0/+6
| | | | It maps to PIPE_FORMAT_R8G8B8A8_UNORM.
* nouveau: fix nouveau_fence leakMarcin Slusarz2011-09-081-0/+2
| | | | Note: This is a candidate for the 7.11 branch.
* nv50: fix screen->blitctx memory leakMarcin Slusarz2011-09-081-0/+2
|
* st/egl: Fix GDI build.José Fonseca2011-09-081-1/+1
|
* Define INLINE macro in terms of inline.José Fonseca2011-09-081-11/+14
|
* st/egl: add premultiplied alpha support to waylandBenjamin Franzke2011-09-084-4/+24
| | | | | | | | | | Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with alpha support premultiplied alpha. (Based on Chia-I Wu's patch) [olv: remove the use of param_premultiplied_alpha from the original patch]
* st/egl: correctly return configs under waylandBenjamin Franzke2011-09-084-23/+98
| | | | | | | | | Handle "format" events and return configs for the supported formats. (Based on Chia-I Wu's patch) [olv: update and explain why PIPE_FORMAT_B8G8R8A8_UNORM should not be enabled without HAS_ARGB32]
* Revert "st/egl: correctly return configs under wayland"Chia-I Wu2011-09-084-113/+30
| | | | This reverts commit 95b445699d7f049116ee0927387a958a9933766b.
* Revert "st/egl: add premultiplied alpha support to wayland"Chia-I Wu2011-09-084-32/+3
| | | | This reverts commit 23aa978a9d76a48f4b93e9a8911ec50c0e5d94ab.
* st/egl: add premultiplied alpha support to waylandChia-I Wu2011-09-084-3/+32
| | | | | | Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with alpha support premultiplied alpha. Currently, it means when argb32 and argb32_pre are both supported.
* st/egl: correctly return configs under waylandChia-I Wu2011-09-084-30/+113
| | | | | | When wl_drm is avaiable and enabled, handle "format" events and return configs for the supported formats. Otherwise, assume all formats of wl_shm are supported.
* st/egl: overload NATIVE_PARAM_PREMULTIPLIED_ALPHAChia-I Wu2011-09-083-7/+25
| | | | | | | | | | | | | EGL does not export this capability of a display server. But wayland makes use of EGL_VG_ALPHA_FORMAT to achieve it. So, when the native display returns true for the parameter, st/egl will set EGL_VG_ALPHA_FORMAT_PRE_BIT for all EGLConfig's with non-zero EGL_ALPHA_SIZE. EGL_VG_ALPHA_FORMAT attribute of a surface will affect how the surface is presented. Because st/vega does not support EGL_VG_ALPHA_FORMAT_PRE_BIT, EGL_OPENVG_BIT will be cleared.
* st/egl: add NATIVE_PARAM_PREMULTIPLIED_ALPHAChia-I Wu2011-09-081-1/+10
| | | | Return TRUE if the display supports premultiplied alpha.