summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.c
AgeCommit message (Collapse)Author
2010-03-27r300g: fix macrotiling for non-square texturesMathias Fröhlich
FDO bug #27338. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-03-21r300g: disable tiling for YUV formatsMarek Olšák
2010-03-21r300g: fix scons buildMarek Olšák
2010-03-21r300g: add and enable square microtilingMarek Olšák
It requires DRM 2.1.0 (e.g. kernel 2.6.34) and is disabled on older ones. Finally, the texture tiling implementation is now complete. Uff.
2010-03-21r300g: cleanup tiling flags propagationMarek Olšák
2010-03-19r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanupsMarek Olšák
2010-03-19r300g: mark SRGB colorbuffers as unsupportedMarek Olšák
I can't find the register bits for SRGB-aware blending and it's not even exposed by fglrx so it's most probably not supported by hw.
2010-03-15r300g: rebuild screen/winsys interfaceDave Airlie
This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs. It also tries to avoid overheads from mapping too often. v5: clean warnings v6: break out of cache check on first buffer - since most likely the first busy one implies all after it are busy. v7: cleanup a bit v8-merged: drop cman for now to just get all the interface changes in first. rework to changes that happened upstream Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-09Squashed commit of gallium-no-texture-blanketKeith Whitwell
commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:39:44 2010 +0000 gallium: remove p_screen::surface_buffer_create This isn't very useful without texture_blanket(), which has also been removed. Note that this function hasn't been removed from the old pipe_winsys (u_simple_screen) still used internally by some drivers (eg softpipe). commit 6c462de39a4b9980a5f034a95e580efdfcb8173b Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:24 2010 +0000 Merge commit 'origin/master' into gallium-no-texture-blanket Conflicts: src/gallium/drivers/svga/svga_screen_texture.c commit 4be2436316929e3dfc55bc34d810920c06556b66 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 14:59:26 2010 +0000 gallium: remove texture blanket call No longer needed, except for nouveau and egl/xll/native_ximage.c. Fix for nouveau is to keep the call, but move it to an internal function within nouveau. Fix for that egl/x11 relies on gallium-sw-api branch or its successor. commit 69b6764330367d63c237d0bde9fb96435d0e0257 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment
2010-03-08Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell
2010-03-07r300g: disable macrotiling when the texture height is smaller than a macrotileMarek Olšák
Otherwise incorrect rendering occurs (no idea why).
2010-03-07r300g: enable micro- and macrotiling for all textures and renderbuffersMarek Olšák
2010-03-07r300g: add ability to tile/detile textures using blit during transfersMarek Olšák
2010-03-04r300g: remove dead r300_get_texture_buffer functionKeith Whitwell
2010-03-03r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support.José Fonseca
2010-03-02r300: Rename pipe formats.José Fonseca
2010-03-01r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca
PIPE_FORMAT_R8G8B8A8_SNORM already listed.
2010-03-01r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca
2010-03-01r300g: Conversion to to winsys handleJakob Bornecrantz
2010-03-01r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.José Fonseca
This format is not actually used by any state tracker. Probably the reverse notation was mean, which would make it identical to PIPE_FORMAT_X8B8G8R8_SNORM.
2010-02-28r300g: atomize texture and sampler statesMarek Olšák
2010-02-24r300: Update for UTIL_FORMAT_LAYOUT_xxx changes.José Fonseca
2010-02-24r300g: fix texture swizzling for the SRGB formatsMarek Olšák
2010-02-22Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"Dave Airlie
This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-22r300g: rebuild winsys/pipe buffer handling and add buffer mapDave Airlie
This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-21r300g: precompute framebuffer register valuesMarek Olšák
2010-02-21r300g: make r300_translate_texformat privateMarek Olšák
Unlikely to increase performance from inlining. And partially expose it through r300_is_sampler_format_supported.
2010-02-14r300g: add macrotiling support to texture setupMarek Olšák
2010-02-14r300g: accelerate blitting for all formats by faking the texture formatMarek Olšák
2010-02-14r300g: Use util_format_name().José Fonseca
2010-02-09r300g: Correct colorbuffer measurements.Corbin Simpson
Also clarify changes from pointminmax.
2010-01-24r300g,radeong: set tiling flags in libdrmMarek Olšák
2010-01-18r300g: do not align compressed textures to a tile sizeMarek Olšák
2010-01-17r300g: output texture debug messages if only RADEON_DEBUG=tex is setMarek Olšák
2010-01-12r300g: update the texture initialization so that it respects tilingMarek Olšák
This is still work-in-progress and tiling is not enabled by default.
2010-01-12r300g: Always emit scissors.Corbin Simpson
Save some code, improve FPS, and fix piglit tests. Everybody wins.
2009-12-17Move the remaining format pf_get_* functions to u_format.h.Michal Krol
Previously they depended on format blocks, but after removing those they started depending on format encoding.
2009-12-17Merge branch 'master' into pipe-format-simplifyMichal Krol
Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
2009-12-03Move pf_get_block() to u_format auxiliary module.Michal Krol
2009-12-02gallium: adapt drivers to interface cleanupsRoland Scheidegger
2009-11-27Merge branch 'width0'Roland Scheidegger
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays
2009-11-20r300g: add texture lod clampingMarek Olšák
These now work: piglit/lodclamp piglit/levelclamp
2009-10-31r300g: correct the pitch calculation for smaller mipmapsMarek Olšák
2009-10-31r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák
2009-10-28r300g: Fix XXX.Corbin Simpson
Nothing strange here.
2009-10-26r300g: add cubemap supportMarek Olšák
Also, set a pitch for rectangles only.
2009-10-25r300g: fix redefining mipmaps and fetching from themMarek Olšák
2009-10-25r300g: added support for 3D texturesMarek Olšák
Mipmaps not tested. Also, I am not sure why piglit/texturing/tex3d needs to have color tolerance +-1 to pass. The classic Mesa driver doesn't need that.
2009-10-21r300g: Update comments, asserts, indents in r300_texture.Corbin Simpson
I wish I knew enough about textures to really really REALLY fix that file.