summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-07271-15801/+19787
|\ | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_state.c
| * r300/compiler: implement TXD and TXL opcodesMarek Olšák2011-05-075-0/+52
| |
| * r300g: handle seamless_cube_map capsMarek Olšák2011-05-071-0/+2
| |
| * egl/wayland: Follow wl_resource_destroy changesBenjamin Franzke2011-05-061-1/+1
| |
| * nv50,nvc0: activate seamless cube map filteringChristoph Bumiller2011-05-063-1/+44
| |
| * r600g: implement seamless_cube_map for evergreenMarek Olšák2011-05-063-0/+15
| | | | | | | | The r600/r700 support will follow soon.
| * gallium: implement seamless cubemap extensionsMarek Olšák2011-05-065-0/+18
| | | | | | | | Reviewed-by: Brian Paul <[email protected]>
| * mesa: handle TEXTURE_CUBE_MAP_SEAMLESS in SamplerParameterMarek Olšák2011-05-061-0/+37
| | | | | | | | Reviewed-by: Brian Paul <[email protected]>
| * mesa: implement AMD_seamless_cubemap_per_textureMarek Olšák2011-05-065-0/+58
| |
| * r600g: avoid recursion in rv670 flush workaroundAlex Deucher2011-05-061-2/+7
| | | | | | | | | | | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=36914 Signed-off-by: Alex Deucher <[email protected]>
| * gallium/xorg st/nv50: add PIPE_BIND_CURSORMarcin Slusarz2011-05-063-2/+12
| | | | | | | | | | We need to distinguish surfaces for mouse cursors from scanouts, because nv50 hardware display engine ignores tiling flags.
| * Add pci id for FirePro 2270Kostas Georgiou2011-05-064-0/+4
| | | | | | | | Signed-off-by: Kostas Georgiou <[email protected]>
| * egl_dri2: add new radeon pci idsAlex Deucher2011-05-061-0/+6
| | | | | | | | | | | | | | There seriously needs to be a better way to do this. Signed-off-by: Alex Deucher <[email protected]>
| * egl: Add a cursor use bit to MESA_drm_imageKristian Høgsberg2011-05-062-2/+13
| |
| * egl/wayland-drm: Generalize interfaceBenjamin Franzke2011-05-063-63/+113
| | | | | | | | Do not depend on _EGLDisplay and _EGLImage.
| * glx: Check flush DRI extension version at runtimenobled2011-05-061-2/+3
| | | | | | | | | | | | The DRI driver itself might not have version 3 of the DRI2 flush extension, in which case this would've pointed to out of bounds memory...
| * r600g: add back SOURCE_FORMAT setting that get accidently droppedAlex Deucher2011-05-051-0/+1
| | | | | | | | | | | | Spotted by Henri Verbeet Signed-off-by: Alex Deucher <[email protected]>
| * r600g: fix up the rules for enabling SOURCE_FORMAT(EXPORT_NORM)Alex Deucher2011-05-052-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting SOURCE_FORMAT to EXPORT_NORM is an optimization. Leaving SOURCE_FORMAT at 0 will work in all cases, but is less efficient. The conditions for the setting the EXPORT_NORM optimization are as follows: R600/RV6xx: BLEND_CLAMP is enabled BLEND_FLOAT32 is disabled 11-bit or smaller UNORM/SNORM/SRGB R7xx/evergreen: 11-bit or smaller UNORM/SNORM/SRGB 16-bit or smaller FLOAT Signed-off-by: Alex Deucher <[email protected]>
| * r600g: further r6xx cache flush fixesAlex Deucher2011-05-051-12/+10
| | | | | | | | | | | | | | Don't emit sync packets for additional CBs or DB. Spotted by Fredrik Höglund. Signed-off-by: Alex Deucher <[email protected]>
| * r600g: add rv670 flushing workaround.Dave Airlie2011-05-061-0/+4
| | | | | | | | | | | | | | Hopefully we can find out the proper fix for this, but for now this makes the fbo mipmap tests pass on my rv670 (x2 card). Signed-off-by: Dave Airlie <[email protected]>
| * r600g: fix cache flushes on r6xxAlex Deucher2011-05-062-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r6xx asics have some problems with the surface sync logic for the CB and DB. It's recommended to use the event write interface for flushing the DB/CB caches rather than the sync packets. A single event write flush flushes all dst caches, so we only need one for all CBs and DB. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=35312 Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
| * mesa: don't touch git_sha1.h if sha1 didn't changeMarcin Slusarz2011-05-051-0/+1
| | | | | | | | | | Reviewed-by: Dan Nicholson <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
| * r600g: Match alpha ref precision to color format precision.Henri Verbeet2011-05-054-21/+64
| | | | | | | | | | | | This fixes piglit fbo-alphatest-formats on Evergreen. Signed-off-by: Henri Verbeet <[email protected]>
| * Revert "DRI2/GLX: make swap event handling match spec"Dave Airlie2011-05-052-2/+2
| | | | | | | | | | | | | | This reverts commit 70227e21bbd4411956ceeb5039640140e64a11a8. revert this until we sort things out, with a new glproto release with compatible struct names.
| * r600g: do RV6xx base updates inline with state updates.Dave Airlie2011-05-052-54/+22
| | | | | | | | | | | | | | | | | | This seems more in line with what the documentation suggests we should be doing. It doesn't fix the rv635 regression, though I thought it might, so it means I've no idea whats actually going wrong there. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
| * DRI2/GLX: make swap event handling match specJesse Barnes2011-05-042-2/+2
| | | | | | | | | | | | | | We only handle a 32 bit swap count, so use the new structure definitions. Reviewed-by: Adam Jackson <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
| * GLX: don't crash when indirect clients try to set an event maskJesse Barnes2011-05-041-0/+3
| | | | | | | | | | | | | | | | | | | | After sending the GLXChangeDrawableAttributes request, we also set a local set of attributes on the DRI drawable. But in the indirect case this array won't be present, so skip the setting in that case to avoid a crash. Reviewed-by: Adam Jackson <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
| * mesa/gdi: Silence gcc warning about unused result.José Fonseca2011-05-041-1/+1
| |
| * st/wgl: Allow to create pbuffers bigger than the desktop.José Fonseca2011-05-041-1/+25
| | | | | | | | | | | | | | | | | | | | We use a hidden window for pbuffer contexts, but Windows limits window sizes to the desktop size by default. This means that creating a big pbuffer on a small resolution single monitor would truncate the pbuffer size to the desktop. This change overrides the windows maximum size, allow to create windows arbitrarily large.
| * st/wgl: Cope with zero width/height windows.José Fonseca2011-05-041-12/+38
| | | | | | | | While ensuring the framebuffer area is never zero.
| * i915g: add const qualifier to silence warningBrian Paul2011-05-031-1/+1
| |
| * mesa: remove unused restart.[ch] filesBrian Paul2011-05-032-109/+0
| | | | | | | | | | _mesa_PrimitiveRestartIndex() is in varray.c and glPrimitiveRestart() is handled in the vbo module.
| * glsl: Remove extra newline from error messageIan Romanick2011-05-031-1/+1
| |
| * r600c: add some new pci idsAlex Deucher2011-05-032-0/+8
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
| * r600g: add some new pci idsAlex Deucher2011-05-031-0/+4
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
| * st/xorg: flush after loading the cursorMarcin Slusarz2011-05-031-7/+15
| | | | | | | | | | We need cursor data to land in destination buffer before drmModeSetCursor. It fixes "cursor lag" on nv50.
| * gallium/draw: Fix enum type taken by draw_get_shader_param().Michel Dänzer2011-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | Pointed out by clang: src/gallium/auxiliary/draw/draw_context.h:251:41: warning: implicit conversion from enumeration type 'enum pipe_cap' to different enumeration type 'enum pipe_shader_cap' [-Wconversion] return tgsi_exec_get_shader_param(param); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
| * mesa: implement AMD_shader_stencil_exportMarek Olšák2011-05-034-0/+33
| | | | | | | | | | | | | | | | It's just an alias of the ARB variant with some GLSL compiler changes. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
| * r600g: reorder capsMarek Olšák2011-05-031-17/+10
| |
| * r600g: set correct PIPE_CAP_MAX_COMBINED_SAMPLERSMarek Olšák2011-05-031-3/+2
| |
| * mesa: make AMD_draw_buffers_blend an alias of the ARB variantMarek Olšák2011-05-031-0/+1
| | | | | | | | Reviewed-by: Ian Romanick <[email protected]>
| * glapi: regenerate files for AMD_draw_buffers_blendMarek Olšák2011-05-0310-1661/+1760
| |
| * glapi: add functions for AMD_draw_buffers_blendMarek Olšák2011-05-033-0/+40
| | | | | | | | Reviewed-by: Ian Romanick <[email protected]>
| * mesa: flush vertices before changing GL_RASTERIZER_DISCARD state, not afterMarek Olšák2011-05-031-1/+1
| | | | | | | | | | Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
| * mesa: make _NEW_TEXTURE dirty when changing GL_TEXTURE_CUBE_MAP_SEAMLESSMarek Olšák2011-05-031-1/+4
| | | | | | | | | | | | | | Otherwise there would be no way to know whether the state has been changed. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
| * nv50,nvc0: advertise GL_FIXED vertex buffers as supportedChristoph Bumiller2011-05-032-0/+36
| | | | | | | | | | We'll handle them like f64 vertex buffers, by falling back to copying vertex data to the command buffer through translate.
| * mesa,st/mesa: fix WPOS adjustmentChristoph Bumiller2011-05-033-42/+74
| | | | | | | | Tested-by: Marek Olšák <[email protected]>
| * gallium: reorder fields of pipe_rasterizer_state to pack it more tightlyMarek Olšák2011-05-021-6/+8
| | | | | | | | | | | | | | | | sizeof(struct pipe_rasterizer_state): Before: 32 bytes After: 28 bytes Reviewed-by: Brian Paul <[email protected]>
| * r600g: document some new evergreen formatsMarek Olšák2011-05-021-0/+3
| |
| * r600g: remove some more FIXME commentsMarek Olšák2011-05-022-2/+0
| |