Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe/gallivm: checkpoint: array of pointers to mipmap levels | Brian Paul | 2010-03-08 | 7 | -44/+81 |
| | | | | | | | Change the texture data_ptr from just a single image pointer to an array of image pointers, indexed by mipmap level. We'll use this for mipmap filtering. For now, the mipmap level is hard-coded to zero. | ||||
* | nv: define NV30/40/50_MAX_TEXTURE_LEVELS | Brian Paul | 2010-03-08 | 3 | -3/+9 |
| | |||||
* | r300g: define R300_MAX_TEXTURE_LEVELS | Brian Paul | 2010-03-08 | 1 | -6/+8 |
| | |||||
* | svga: s/PIPE_MAX_TEXTURE_LEVELS/SVGA_MAX_TEXTURE_LEVELS/ | Brian Paul | 2010-03-08 | 1 | -1/+1 |
| | |||||
* | i915g: define I915_MAX_TEXTURE_2D/3D_LEVELS | Brian Paul | 2010-03-08 | 3 | -7/+10 |
| | |||||
* | i965g: define BRW_MAX_TEXTURE_2D/3D_LEVELS | Brian Paul | 2010-03-08 | 2 | -6/+9 |
| | |||||
* | softpipe: define SP_MAX_TEXTURE_2D/3D_LEVELS | Brian Paul | 2010-03-08 | 2 | -5/+9 |
| | |||||
* | llvmpipe: define max texture levels | Brian Paul | 2010-03-08 | 2 | -5/+9 |
| | |||||
* | llvmpipe: rewrap for 80 columns | Brian Paul | 2010-03-08 | 1 | -9/+13 |
| | |||||
* | i965: Fix up the handling of point sprite coordinate replacement. | Eric Anholt | 2010-03-08 | 3 | -66/+96 |
| | | | | | | | | | | | | | The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245. | ||||
* | gallivm: fix a crash by making sure we set the has_mask flag correctly | Zack Rusin | 2010-03-08 | 1 | -2/+1 |
| | |||||
* | Merge branch '7.8' | Brian Paul | 2010-03-08 | 6 | -23/+94 |
|\ | |||||
| * | softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear() | Brian Paul | 2010-03-08 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | Before, we only cleared the flags for the active tiles (the ones inside the framebuffer bound). The problem is if we later bound a different, larger surface to the tile cache we'd have some stale clear-flags still set (and mistakenly clear some tiles in the new surface). Fixes fd.o bug 26932. | ||||
| * | st/mesa: don't detach renderbuffer, surface in st_finish_render_texture() | Brian Paul | 2010-03-08 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932. | ||||
| * | r600: enable GL_ARB_pixel_buffer_object | Alex Deucher | 2010-03-08 | 1 | -0/+1 |
| | | |||||
| * | mesa: add additional missing z formats for render to texture | Brian Paul | 2010-03-08 | 1 | -15/+83 |
| | | | | | | | | | | Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc. | ||||
| * | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit | Alex Deucher | 2010-03-08 | 3 | -24/+6 |
| | | |||||
| * | radeon/r200/r600: reset bos when validating buffers during blit | Alex Deucher | 2010-03-08 | 3 | -0/+8 |
| | | |||||
| * | r600: recalculate point size, if point min/max size changes | Alex Deucher | 2010-03-08 | 1 | -0/+2 |
| | | |||||
| * | r600: no need to flush on context init | Alex Deucher | 2010-03-08 | 1 | -2/+0 |
| | | |||||
| * | r300: don't enable EXT_packed_depth_stencil | Maciej Cencora | 2010-03-08 | 1 | -1/+3 |
| | | | | | | | | R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats. | ||||
| * | radeon: no need to emit full state twice after flush | Maciej Cencora | 2010-03-08 | 1 | -5/+0 |
| | | |||||
| * | r300: allow src and dst BOs to be placed in GTT during blit | Maciej Cencora | 2010-03-08 | 1 | -8/+2 |
| | | | | | | | | Fixes some relocation failures | ||||
| * | r300: reset bos when validating buffers during blit | Maciej Cencora | 2010-03-08 | 1 | -0/+3 |
| | | |||||
| * | radeon: fallback to software in glCopyTexImage if blit isn't available | Maciej Cencora | 2010-03-08 | 1 | -0/+4 |
| | | |||||
| * | r300: VAP flush is needed only when vertex program or constants are changed | Maciej Cencora | 2010-03-08 | 4 | -25/+2 |
| | | |||||
| * | r300: recalculate point size, if point min/max size changes | Maciej Cencora | 2010-03-08 | 1 | -0/+2 |
| | | | | | | | | Fixes two wine d3d9 unit tests | ||||
| * | r300: no need to flush on context init | Maciej Cencora | 2010-03-08 | 1 | -2/+0 |
| | | |||||
| * | r300: remove unnecessary code | Maciej Cencora | 2010-03-08 | 1 | -17/+0 |
| | | | | | | | | _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c | ||||
| * | mesa: add render-to-texture case for MESA_FORMAT_S8_Z24 | Brian Paul | 2010-03-08 | 1 | -0/+5 |
| | | |||||
| * | mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbuffer | Brian Paul | 2010-03-08 | 1 | -1/+1 |
| | | | | | | | | MESA_FORMAT_Z16 has no stencil bits. | ||||
| * | st/vega: Fix OpenVG demo segfaults. | Chia-I Wu | 2010-03-08 | 1 | -3/+0 |
| | | | | | | | | | | | | When the paint is color, paint_bind_samplers binds a dummy sampler without a texture. It causes demos requiring a sampler (those use a mask or an image) to crash. | ||||
| * | gallivm: Initialize variables for default cases. | Vinson Lee | 2010-03-06 | 1 | -0/+4 |
| | | | | | | | | Fixes use of uninitialized variables in non-debug builds. | ||||
| * | glx: Move initialization of ext_list_first_time to where it's storage is ↵ | Brian Paul | 2010-03-05 | 4 | -9/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allocated Move the initialization of ext_list_first_time from all of the DRI loader's CreateScreen routines, to where the storage for the screen config is allocated. It needs to get set in the screen-config even if DRI is forced off using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE Specifically, this causes a problem with an X server which advertises GLX<=1.2, and the GLX_SGIX_fbconfig extension. glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function won't return correct information because that data has never been initialized, because ext_list_first_time was never set... Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183) | ||||
* | | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit | Alex Deucher | 2010-03-08 | 3 | -24/+6 |
| | | |||||
* | | radeon/r200/r600: reset bos when validating buffers during blit | Alex Deucher | 2010-03-08 | 3 | -0/+8 |
| | | |||||
* | | r600: recalculate point size, if point min/max size changes | Alex Deucher | 2010-03-08 | 1 | -0/+2 |
| | | |||||
* | | r600: no need to flush on context init | Alex Deucher | 2010-03-08 | 1 | -2/+0 |
| | | |||||
* | | Merge commit 'origin/gallium-winsys-handle-rebased' | Keith Whitwell | 2010-03-08 | 43 | -962/+860 |
|\ \ | |||||
| * | | nouveau: s/TEXTURE_USAGE_PRIMARY/TEXTURE_USAGE_SCANOUT | Christoph Bumiller | 2010-03-05 | 3 | -5/+5 |
| | | | |||||
| * | | svga: Forgot one bit in rebase | Jakob Bornecrantz | 2010-03-04 | 1 | -3/+0 |
| | | | |||||
| * | | nouveau: Conversion to winsys handle | Jakob Bornecrantz | 2010-03-04 | 2 | -66/+78 |
| | | | | | | | | | | | | Not the best conversion that could be done. | ||||
| * | | softpipe: remove dead get_texture_buffer function | Keith Whitwell | 2010-03-04 | 2 | -26/+0 |
| | | | |||||
| * | | r300g: remove dead r300_get_texture_buffer function | Keith Whitwell | 2010-03-04 | 4 | -33/+12 |
| | | | |||||
| * | | r300g: Conversion to to winsys handle | Jakob Bornecrantz | 2010-03-01 | 5 | -143/+149 |
| | | | |||||
| * | | svga: Conversion to winsys handle | Jakob Bornecrantz | 2010-03-01 | 3 | -80/+91 |
| | | | |||||
| * | | i965g: Conversion to winsys handle | Jakob Bornecrantz | 2010-03-01 | 4 | -241/+200 |
| | | | |||||
| * | | i915g: Conversion to winsys handle | Jakob Bornecrantz | 2010-03-01 | 4 | -165/+137 |
| | | | |||||
| * | | gallium: Reorg texture usage flags | Jakob Bornecrantz | 2010-03-01 | 13 | -26/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new shared usage and rename primary to scanout. The display target usage is more of a windows concept and doesn't mean the same thing as shared. Display target means that the surface should be presentable, for softpipe this means that it should be backed by a hardware buffer. | ||||
| * | | gallium: Expose a opaque winsys handle and functions on pipe_screen | Jakob Bornecrantz | 2010-03-01 | 11 | -174/+153 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having these functions on a side interface like on drm_api create a opaque winsys_handle that is to be passed down into the winsys. Currently the only thing ported to this new interface is drm_api, and of that only the components that builds by default is ported. All the drivers and any extra state trackers needs to be ported before this can go into master. |