summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.c
AgeCommit message (Collapse)Author
2009-09-12r300g: There is no such thing as "texture stride"Nicolai Hähnle
Individual texture images have a stride, but textures as a whole do not. There are still pieces of code which are confused about this, but the core of the confusion is hopefully gone. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-07gallium: Move minify() to u_math.Corbin Simpson
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
2009-08-04r300g: Slightly saner initialization of some texture / transfer fields.Michel Dänzer
2009-07-26r300g: Fix two trivial texture size issues.Corbin Simpson
Next thing to fix: progs/tests/mipgen.
2009-07-26r300g: Add some debugging, correct little bits of math in texture setup.Corbin Simpson
Simple stuff still works, but not sure about some of the more complex things.
2009-07-13r300g: Use align() instead of inline maths.Corbin Simpson
2009-07-08r300-gallium: Mipmap setup.Corbin Simpson
(cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
2009-06-26r300g: Use real texture formats.Corbin Simpson
What bugs me is that the YUV444 format somehow worked properly. :3
2009-05-08r300-gallium: Fix bad cast. Space accounting completely works now.Corbin Simpson
Boy, is my face red. :C
2009-05-08r300-gallium, radeon: A couple cleanups.Corbin Simpson
Trying to track down goddamn bugs. :C
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-15r300-gallium: Actually set stride when creating textures.Corbin Simpson
Duh.
2009-03-10r300-gallium: First stab at texture support.Corbin Simpson
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-03r300-gallium, radeon-gallium: Continue migration to DRI2 state_tracker, part 2.Corbin Simpson
Almost there. glxinfo still works, and AFAICT so does trivial/clear.
2009-02-28r300-gallium: Fix C99 error.Corbin Simpson
2009-02-18r300-gallium: implement simple pipe_transfer Basically make the driver ↵Joakim Sindholt
compile and behave like it did before the gallium-texture-transfer merge
2009-02-12r300-gallium: Fix typo in texture buffer size request.Corbin Simpson
2009-02-08r300: Accidentally removed a pipe_buffer_reference that should be there.Corbin Simpson
2009-02-08r300: Update to match pipe_surface changes.Corbin Simpson
2009-02-05r300: working trivial/clear for r5xxJoakim Sindholt
2009-02-02r300, amd: Oops, a couple more API changes.Corbin Simpson
Somehow I forgot to commit these.
2009-02-01r300: Clean up after rebase.Corbin Simpson
Fix a couple struct members, clear up a few texture lines.
2009-02-01Rebased to gallium-0.2, Jan 24 2009.Corbin Simpson
2009-02-01r300: Finish basic state setup.Corbin Simpson
I have successfully fooled glxinfo into believing that I am a competent writer of code. Next step is to trick trivial/clear.
2009-02-01r300: Add more pipe_texture stuff.Corbin Simpson
This is enough to sate glxinfo, for now.
2009-02-01r300: Add initial pipe_texture handling.Corbin Simpson
Still primitive and needing to be fleshed out, but it's a start.
2009-02-01r300: Add texture stubs.Corbin Simpson