summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_texture.c
AgeCommit message (Collapse)Author
2009-10-24mesa: change compressed texture size callsBrian Paul
Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
2009-10-05drivers: don't include texformat.hBrian Paul
And remove other unneeded #includes while we're at it.
2009-10-05mesa: lift _mesa_set_fetch_functions() calls out of driversBrian Paul
Call it from in the main Mesa glTexImage functions.
2009-10-01mesa: removed gl_texture_image::CompressedSize fieldBrian Paul
Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
2009-10-01mesa: move mesa_set_fetch_functions()Brian Paul
2009-10-01mesa: remove gl_texture_image::IsCompressed fieldBrian Paul
Use _mesa_is_format_compressed() instead.
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
2009-09-28drivers: use new _mesa_texstore() functionBrian Paul
2009-09-27mesa/drivers: use _mesa_get_format_bytes()Brian Paul
2009-09-27mesa/drivers: use _mesa_get_format_bytes()Brian Paul
2009-09-27mesa: use _mesa_get_texstore_func()Brian Paul
2009-09-15mesa: move generate mipmap callsBrian Paul
Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
2009-09-03radeon: pass internal format into the miptree.Dave Airlie
We need to figure out if the compression format changes. without this texcmp segfaults if you change format enough times.
2009-08-31r100: Use shared debug code.Pauli Nieminen
Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
2009-08-04radeon: more fixes for compressed texturesRoland Scheidegger
- fix not respecting required hardware stride with compressedTexImage - this fixes #22615. - make sure correct stride is used in various places - fix stored miptree never matching with a TexImage call with compressed texture - don't always store data with compressedtexsubimage at offset 0, and actually use the supplied pixel data... (untested) - make sure rows for compressed texture handling are rounded up not down Note that trying to access stored compressed textures in hardware miptrees from core mesa (get_compressed_teximage, swrast fallbacks) can't work correctly, since RowStride isn't really set to anything useful, plus some places (at least get_compressed_teximage) assume this data has native stride and no padding.
2009-07-31radeon: s/r300/radeon in shared code error messageRoland Scheidegger
2009-07-15Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa ↵Alex Deucher
into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
2009-06-20radeon: make cubemap mipmap generation workRoland Scheidegger
need to pass target parameter to radeon_teximage/radeon_subteximage functions otherwise mipmap generation for cube maps can't work (assert/segfault in _mesa_generate_mipmap)
2009-06-15r300: fix 3D texturesMaciej Cencora
2009-06-12r300: add support for EXT_texture_sRGBMaciej Cencora
Tested with glean/texture_srgb and wine/d3d9 tests on RV535
2009-06-12Merge master and fix conflictsAlex Deucher
2009-06-09radeon: fix mipmap_limits crasher.Dave Airlie
This gets the correct srclvl image map when uploading images to the new mipmap.
2009-05-19Makeup checkin for radeon code change paired with r6/7 code.root
2009-05-13radeon: Don't crash generating mipmaps when pixels=NULLOwen W. Taylor
When a NULL value of pixels is passed to TexImage2D and SGIS_generate_mipmap is enabled, don't try to generate the mipmap tree: we don't have data yet for the texture and will crash. https://bugs.freedesktop.org/show_bug.cgi?id=21648
2009-05-07r300: fix compiler warningsMaciej Cencora
2009-04-01radeon: go back and repick texture formats.Dave Airlie
This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
2009-03-31r200: fix glean pixelFormats regressionDave Airlie
2009-03-31radeon/r200: fix glean failures on readPixSanity since EXT_DEPTH_STENCIL supportDave Airlie
2009-03-26radeon: fixup map/unmap texture to work with override BOsDave Airlie
if you hit this you've already failed but we shouldn't crash
2009-03-24radeon: fixup some issue with fbos and sw fallbacksDave Airlie
2009-02-17radeon: remove leftover debugDave Airlie
2009-02-17radeon: steal miptree optimisation from intel codebaseDave Airlie
This replaces a miptree if it won't distrub anything else.
2009-02-16radeon: fix texcompress2 test.Dave Airlie
this makes compressed subimages work properly.
2009-02-16radeon: fix compressed tex subimage unpack parameterDave Airlie
2009-02-14radeon-common: Fix crash in glGetTexImageNicolai Haehnle
Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14radeon/r300: fix warningsDave Airlie
2009-02-13radeon/r200: make setTexOffset work againDave Airlie
2009-02-13radeon: revert unneeded change to texturing codeDave Airlie
2009-02-13radeon: fix compressed texture upload on all radeonsDave Airlie
tested on r200, texcmp works. May need more verification
2009-02-12radeon: renaming and headers cleanupDave Airlie