Age | Commit message (Collapse) | Author |
|
|
|
There's like five good reasons for this, I swear.
|
|
|
|
This patch removes draw_context entirely from the HW TCL path and cleans up
a few other things along the way. Hopefully, nothing got broken.
Thanks to Marek Olšák for testing, review, and pointing out my bugs. :3
|
|
From the SW TCL fixups.
|
|
|
|
|
|
|
|
Also, a subtle fix in emitting a texture state
|
|
Still need to actually get reference info from winsys somehow. Doing added
buffers is easy, but knowing whether a flush has happened is a bit tricky.
|
|
Part of the fastpath cleanup.
|
|
|
|
Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc.
please make sure you are not broken, and fix yourself up if you are.
There were only two or three places where the code did not have painful
fallbacks, so I would advise st maintainers to find less painful workarounds,
or consider overhauling util_surface_copy and util_surface_fill.
Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is.
I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
|
|
|
|
Need to move rs_block to this, too.
Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta
re-re-examine PSC and friends. :C
|
|
|
|
1: add rv530 support
- num z pipes cap
- add proper start/finish query options for rv530
2: convert to use linked list properly.
3: add flushing required check.
4: initial Z top disabling support.
TODO:
make it actually work on my rv530.
|
|
This attempts to make r300g do proper bo space checking as opposed
to whatever it was doing now.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Seriously guys....
|
|
So that debugging is no longer a full-spam-or-nothing approach, you are now
supposed to set the RADEON_DEBUG environment flag just like for classic Mesa.
The available debug flags are different, however. Just running an OpenGL
application with RADEON_DEBUG set to an arbitrary string will print out
helpful information.
Everything must be compiled with -DDEBUG for any of this to work
|
|
Still broken, but compiles cleaner, behaves better, etc.
|
|
Not needed with new compiler.
|
|
SW TCL: tri-clip works, tri-userclip works
HW TCL: tri-clip fails, tri-userclip works
That is a 200% improvement over the previous situation. Woot.
|
|
This makes glxgears draw properly with SW TCL.
|
|
|
|
Trying to track down goddamn bugs. :C
|
|
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
|
|
|
|
It's called "invariant" for a reason. :3
|
|
Textures still not working. RS block shenanigans expected.
|
|
Not going to bother unbreaking it here until it's unbroken elsewhere.
|
|
s/migration/migrane/ , actually. Anyway, this has working glxinfo...
|
|
|
|
Match the rest of Gallium.
|
|
No need to explicitly update derived state, as it will be done automatically.
|
|
This is the last bit of Gallium-side plumbing for drawing things.
From this point on, the only missing parts should be in r3xx-specific
code areas...
|
|
|
|
|
|
I have successfully fooled glxinfo into believing that I am a competent
writer of code. Next step is to trick trivial/clear.
|
|
Whoo, stuff is starting to look cleaner and cleaner.
|
|
Needs to be hooked up to the getparam from the kernel.
|
|
Getting these out of the way so more stuff can be put in.
|
|
|
|
pipe_rasterizer_state is big, and I'm still processing it.
Todo:
- LOL EVERYTHING
- Moar cough syrup.
- Even moar cough syrup.
|
|
Haha, should not have attempted the scissors.
|
|
Lots of structural work, especially in getting the two parts to talk nicely.
Todo:
- Get damn blitter working.
- Add CS flush.
- Reverse order of above two items.
|
|
|
|
In theory it works, which of course means that it doesn't.
|
|
In theory, it could work, but there's still some very big gaps.
Anything marked with XXX should be taken care of first, probably.
|