summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)AuthorFilesLines
2011-12-12r300g: integer and fixed-point 16.16 textures are not supportedMarek Olšák1-0/+11
2011-12-11i915g: fix debug dump on 64 bit systemsMichael Karcher1-1/+1
2011-12-11i915g: Fix wrong indices for LINE_LOOP caseFatih Aşıcı1-2/+2
2011-12-11vl: Add missing mpeg fields to pipe_mpeg12_picture_descMaarten Lankhorst2-0/+6
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-12-11g3dvl/xlib: fix build by changing include orderTobias Droste1-2/+2
fixes the following build error since c83fb4d45f2a47042f395271efe6e5489b2c4aee: /usr/include/strings.h:46:13: error: expected declaration specifiers or ‘...’ before numeric constant /usr/include/strings.h:46:13: error: conflicting types for ‘memset’ In file included from ../../../../src/gallium/winsys/g3dvl/xlib/xsp_winsys.c:34:0: ../../../../src/gallium/auxiliary/util/u_inlines.h: In function ‘pipe_buffer_create’: ../../../../src/gallium/auxiliary/util/u_inlines.h:189:4: error: too many arguments to function ‘memset’ /usr/include/strings.h:46:13: note: declared here bzero is defined in X11 as: #define bzero(b,len) memset(b,0,len) including strings.h after the X11 header results in preprocessor replacing 'bzero' in strings.h and generating unbuildable code. Signed-off-by: Tobias Droste <tdroste@gmx.de>
2011-12-10gallium: implement ARB_conservative_depthMarek Olšák4-1/+31
This adds a new TGSI property to represent the GLSL layout qualifier in TGSI.
2011-12-09util: Add strings.h include on unicesJosé Fonseca1-0/+4
Fixes -Wimplicit-function-declaration for ffs with GCC. Spotted/tested by Kai Wasserbäch.
2011-12-08llvmpipe: Trim the fragment shader cached based on LLVM IR instruction count.José Fonseca6-11/+62
Number of fragment shader variants is not very representative of the memory used by LLVM, neither is number of shader instructions, as often texture sampling constitutes most of the generated code. This change adds an additional trim criteria: least recently used fragment shader variants will be freed until the total number of LLVM IR instruction falls below a specified threshold. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-12-08llvmpipe,draw,gallivm: Ensure we don't walk beyond the end of the shader ↵José Fonseca3-5/+18
variant list. u_simple_list.h uses a sentinel element, and not a NULL element. So ensure list is not empty when reducing the list of shader variants. Something I noticed while trying to free variants more aggressively. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-12-08st/xa: Update xa_yuv_planar_blit semanticsThomas Hellstrom5-12/+16
Change and document the interpretation of the color conversion matrix in order to make the function more versatile and to simplify the generated shader. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-12-07st/dri: Use depth instead of bpp when communicating formats with the X server v3Thomas Hellstrom1-3/+38
Some hardware can't reinterpret the format of hardware buffers and thus the X server needs to know the format when the buffer is created. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Michel Daenzer <michel@daenzer.net> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-12-06nouveau/nvfx: Add more unsupported PIPE_CAP valuesPatrice Mandin1-1/+5
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2011-12-06vega: remove unused varsFabio Pedretti1-20/+5
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-12-06r600g: check shaders presence in r600_draw_vboVadim Girlin1-0/+3
This patch should prevent the crashes when some shaders are absent, see https://bugs.freedesktop.org/show_bug.cgi?id=43341 Note this is a candidate for the stable branch. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2011-12-05r600g: fix error path and use util_slab_freeJerome Glisse1-1/+1
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-12-05gallium/radeon: fix indentationJerome Glisse4-28/+28
Indentation cleanup, to keep consistency. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-12-03util: add casts in fprintf() calls to silence warningsBrian Paul1-4/+6
And wrap to 80 columns.
2011-12-02nv50/nvc0: fix crash when channel allocation failsMarcin Slusarz2-2/+4
2011-12-01i915g: Implement GL_STREAM_* for textures by using untiled textures.Stéphane Marchesin1-1/+1
2011-12-01i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings.Stéphane Marchesin1-0/+2
2011-12-02gallium: add PIPE_FORMAT_ETC1_RGB8Chia-I Wu8-2/+165
The format is defined by GL_OES_compressed_ETC1_RGB8_texture. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2011-12-01u_vbuf: Silence uninitialized variable warnings.Vinson Lee1-0/+2
Fixes these GCC warnings. u_vbuf.c: In function ‘u_vbuf_draw_begin’: u_vbuf.c:839:20: warning: ‘max_index’ may be used uninitialized in this function [-Wuninitialized] u_vbuf.c:838:20: warning: ‘min_index’ may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Vinson Lee <vlee@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-30gallium/failover: Remove the deprecated module.Kai Wasserbäch9-1186/+5
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-11-29gallium/cell: Remove the driver.Kai Wasserbäch80-20782/+3
Complicates Gallium3D development and doesn't seem to have active users. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-11-29Remove windows kernel support code.José Fonseca11-432/+11
Not actively used. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-29gallium/auxiliary: Remove os_stream.José Fonseca12-762/+99
XP kernel mode was the only subsystem lacking stdio FILES. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-29st/vega: Fix warnings about dllimport attributes on windows.José Fonseca1-0/+1
2011-11-29i965g: Delete this driver.Kai Wasserbäch118-37255/+1
Never completed, and no plans to do so. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-11-27r600g: add framebuffer support for 2/10/10/10 integerDave Airlie2-0/+4
2011-11-27r600g: add int support for 2/10/10/10 format.Dave Airlie1-0/+3
integer wasn't set properly for the non-uniform types. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-27gallium: add B10G10R10A2_UINT formatDave Airlie2-0/+2
This format is used for ARB_texture_rgb10_a2ui extension. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-26android: pass -std=c99 by defaultChia-I Wu4-7/+0
Several modules expect a C99 compiler already. It is also the default for Makefile build.
2011-11-25st/xa: Kill a couple of compilation warningsThomas Hellstrom2-1/+6
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-25st/xa, xa/vmwgfx: Generate exported symbol list from the st/xa symbols.Thomas Hellstrom2-33/+7
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-25st/xa, xa/vmwgfx: Use XA_EXPORT attribute to indicate global visibilityThomas Hellstrom7-36/+43
Also fix up Makefiles to use the default mesa compilation flags. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrants <jakob@vmware.com>
2011-11-25st/xa, xa/vmwgfx: Set the right version on library suffixThomas Hellstrom2-4/+1
Also remove some unused variables in the st/xa makefile. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-25android: add support for ICSChia-I Wu4-32/+50
With ICS (Android 4.0), several headers and structs are renamed. Define ANDROID_VERSION so that we can choose a different path depending on the platform version. I've tested only softpipe and llvmpipe. r600g is also reported to work.
2011-11-25st/egl: fix a crash in Android backendChia-I Wu1-3/+4
There is no buffer and android_surface_present should be a no-op when eglSwapBuffers is called twice in a row.
2011-11-23softpipe: s/int/unsigned/ to be consistent in alpha test codeBrian Paul1-2/+2
2011-11-23softpipe: remove pointless break stmtBrian Paul1-1/+0
2011-11-23i915g: don't set alpha to 1 for RGBX and BGRXVasily Khoruzhick1-2/+1
This patch fixes regression introduced in 1f3c5eae5c4be582e50c2d4d7950424d86059c45 Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-11-22gallium: remove trailing comma and unneeded comments in p_defines.hBrian Paul1-4/+4
2011-11-22r600g: handle all remaining CAPsMarek Olšák1-0/+6
2011-11-22r600g: remove default case statements in get_paramMarek Olšák1-9/+3
This will throw a compile warning if there's an unhandled CAP.
2011-11-22r300g: re-order shaders CAPsMarek Olšák1-7/+6
2011-11-22r300g: handle SHADER_CAP_OUTPUT_READMarek Olšák1-0/+2
2011-11-22r300g: remove default case statements in get_paramMarek Olšák1-8/+2
This will throw a compile warning if there's an unhandled CAP.
2011-11-22u_vbuf_mgr: rename to u_vbufMarek Olšák7-30/+30
2011-11-22u_vbuf_mgr: better way to find a free VB slot + check errors earlyMarek Olšák1-41/+62
2011-11-22u_vbuf_mgr: remove a useless variableMarek Olšák1-4/+4