Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [g3dvl] make pipe_context mandatory for creation pipe_video_context | Christian König | 2011-07-08 | 9 | -134/+20 |
| | |||||
* | [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵ | Christian König | 2011-07-08 | 3 | -0/+6 |
| | | | | into screen object | ||||
* | [g3dvl] rename get_param to get_video_param and move into screen object | Christian König | 2011-07-07 | 5 | -3/+42 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into pipe-video | Christian König | 2011-07-04 | 71 | -704/+1833 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | r600g: Support the PIPE_FORMAT_R16_FLOAT colorformat. | Henri Verbeet | 2011-07-03 | 2 | -0/+8 |
| | | | | | | | | NOTE: This is a candidate for the 7.11 branch. | ||||
| * | svga: Use the correct element size. | José Fonseca | 2011-07-01 | 1 | -1/+1 |
| | | | | | | | | | | | | Instead of always using the first element's size. This fixes flashing floor on CINEBENCH R10. | ||||
| * | svga: Fix multiple uploads of the same user-buffer. | Thomas Hellstrom | 2011-07-01 | 3 | -30/+90 |
| | | | | | | | | | | | | | | | | If a user-buffer was referenced twice by a draw command, the affected ranges were uploaded separately, with only the last one being referenced by the hardware. Make sure we upload only a single range. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
| * | svga: Ignore redefine_user_buffer calls | Thomas Hellstrom | 2011-07-01 | 1 | -15/+2 |
| | | | | | | | | | | | | | | | | We currently always treat contents of user-buffers as volatile so we don't need to take any particular action when the state tracker announces that the contents has changed. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
| * | svga: fix incorrect user buffer size computation for instance divisor case | Brian Paul | 2011-07-01 | 1 | -3/+3 |
| | | | | | | | | See preceeding commit for more info. | ||||
| * | svga: fix incorrect user buffer size computation | Brian Paul | 2011-07-01 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | Viewperf uses some unusual vertex arrays where the stride is less than the element size. In this case, the stride was 4 while the element size was 12. The difference of 8 bytes causes us to miss uploading the tail bit of the array data. Typically the stride is >= the element size so there was no problem with other apps. | ||||
| * | svga: Handle null buffers in svga_buffer_is_user_buffer(). | José Fonseca | 2011-07-01 | 1 | -1/+5 |
| | | |||||
| * | gallium/svga: Upload only parts of user-buffers that we actually use | Thomas Hellstrom | 2011-07-01 | 6 | -71/+208 |
| | | | | | | | | | | | | | | | | | | | | Stream user buffer contents rather than trying to maintain persistent host / hardware copies. Resulting negative array offsets are not allowed by the hardware, (well, at least not according to header files), so adjust index bias to make all array offsets positive. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
| * | gallium/svga: Make use of u_upload_flush(). | Thomas Hellstrom | 2011-07-01 | 2 | -2/+10 |
| | | | | | | | | | | | | This enables us to pack more data into single upload buffers. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
| * | svga: Flush when switching between HW to SW TNL, after updating need_swtnl. | José Fonseca | 2011-07-01 | 2 | -11/+15 |
| | | | | | | | | | | Also, only flush when going from HW TNL to SW TNL, given it is impossible for the buffers resulting from SWTNL to be ever referred by HW TNL path. | ||||
| * | r600g: fix check for empty cs | Vadim Girlin | 2011-06-30 | 2 | -3/+1 |
| | | |||||
| * | scons: Expose pkg-config in a simpler manner. | José Fonseca | 2011-06-30 | 1 | -5/+1 |
| | | |||||
| * | i915g: Implement surface format fixup without adding an extra instruction. | Stéphane Marchesin | 2011-06-30 | 1 | -31/+54 |
| | | | | | | | | We also avoid writing output color twice, which might not work when we run out of phases. | ||||
| * | i915g: update TODO. | Stéphane Marchesin | 2011-06-29 | 1 | -0/+2 |
| | | |||||
| * | i915g: Try to do better in the shader compiler. | Stéphane Marchesin | 2011-06-29 | 3 | -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.c | Jon TURNEY | 2011-06-29 | 1 | -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 Marchesin | 2011-06-29 | 1 | -1/+1 |
| | | |||||
| * | i915g: If we have a program, that means the other fields are ours and we can ↵ | Stéphane Marchesin | 2011-06-28 | 1 | -3/+5 |
| | | | | | | | | | | | | free them. Otherwise they probably belong to draw. | ||||
| * | i915g: Don't overflow the program buffer. | Stéphane Marchesin | 2011-06-28 | 1 | -13/+25 |
| | | | | | | | | Otherwise it corrupts other fields of the struct and hilarity ensues. | ||||
| * | i915g: Update the TODO with another idea. | Stéphane Marchesin | 2011-06-28 | 1 | -0/+2 |
| | | |||||
| * | i915g: Fix comment about sin/cos constants. | Stéphane Marchesin | 2011-06-28 | 1 | -2/+2 |
| | | |||||
| * | i915g: Fix staging texture uploads a bit. | Stéphane Marchesin | 2011-06-28 | 1 | -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 Marchesin | 2011-06-28 | 1 | -0/+3 |
| | | |||||
| * | i915g: Support PIPE_FORMAT_B10G10R10A2_UNORM. | Stéphane Marchesin | 2011-06-28 | 3 | -0/+10 |
| | | |||||
| * | i915g: Improve SIN/COS a bit. | Stéphane Marchesin | 2011-06-28 | 1 | -20/+20 |
| | | |||||
| * | i915g: When emulating LUMINANCE8 and INTENSITY8 texutres, route alpha properly. | Stéphane Marchesin | 2011-06-28 | 1 | -2/+2 |
| | | | | | | | | That fixes some formats in fbo-alphatest-formats. | ||||
| * | i915g: fix shadow compare. | Stéphane Marchesin | 2011-06-28 | 2 | -1/+26 |
| | | | | | | | | "Works" as well as i915c now. | ||||
| * | i915g: Enable GL_ARB_instanced_arrays. | Stéphane Marchesin | 2011-06-27 | 2 | -2/+1 |
| | | |||||
| * | i915g: Fix a bug in facing. | Stéphane Marchesin | 2011-06-27 | 3 | -7/+7 |
| | | | | | | | | However doesn't work because of limitations in the draw module. | ||||
| * | i915g: Remove unused cbuf_dirty. | Stéphane Marchesin | 2011-06-27 | 1 | -2/+0 |
| | | |||||
| * | i915g: Add a comment about a bug. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+1 |
| | | |||||
| * | i915g: initial support for SEMANTIC_FACE. | Stéphane Marchesin | 2011-06-27 | 3 | -5/+28 |
| | | | | | | | | Doesn't work yet, see TODO. | ||||
| * | i915g: update TODO. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+13 |
| | | |||||
| * | i915g: Return the max result for the fake occlusion queries. | Stéphane Marchesin | 2011-06-27 | 1 | -1/+2 |
| | | |||||
| * | i915g: Fix depth texture formats. | Stéphane Marchesin | 2011-06-27 | 1 | -9/+39 |
| | | | | | | | | Depth compare still looks broken though. | ||||
| * | i915g: Fix u_blitter comment. | Stéphane Marchesin | 2011-06-27 | 1 | -1/+2 |
| | | |||||
| * | i915g: Implement fake DDX/DDY. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+12 |
| | | |||||
| * | i915g: Fix gl_FragCoord. | Stéphane Marchesin | 2011-06-27 | 3 | -44/+13 |
| | | |||||
| * | r300g: drop support for ARGB, ABGR, XRGB, XBGR render targets | Marek Olšák | 2011-06-25 | 1 | -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. | ||||
| * | i915g: always upload the vs constants.7.11-branchpoint | Stéphane Marchesin | 2011-06-24 | 1 | -9/+7 |
| | | | | | | | | This fixes a crash in llvm draw. | ||||
| * | i915g: add fake occlusion queries. | Stéphane Marchesin | 2011-06-24 | 5 | -0/+125 |
| | | | | | | | | Those always return 0, but at least we don't crash when exposing GL 2.0. | ||||
| * | i915g: Don't do shader fixup if no surface is bound. | Stéphane Marchesin | 2011-06-24 | 1 | -3/+9 |
| | | |||||
| * | i915g: Fix point sprites. | Stéphane Marchesin | 2011-06-24 | 8 | -31/+204 |
| | | |||||
| * | r600g: limit fs_write_all shader rebuild to eg+ | Alex Deucher | 2011-06-24 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | r600g: eg+ support for FS_COLOR0_WRITES_ALL_CBUFS | Alex Deucher | 2011-06-24 | 6 | -30/+61 |
| | | | | | | | | | | | | | | | | | | Evergreen+ don't support multi-writes so we need to emulate it in the shader. Fixes the following piglit tests: fbo-drawbuffers-fragcolor ati_draw_buffers-arbfp-no-option Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | r600g: implement fragment and vertex color clamp | Vadim Girlin | 2011-06-24 | 7 | -9/+87 |
| | | | | | | | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440 Signed-off-by: Vadim Girlin <[email protected]> |