[Bug 40554] r200 falls back to software when clearing FBOs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 5 on bug 40554 from
(In reply to comment #4)
> Clearing by drawing geometry? Isn't that somewhat inefficient? Doesn't the
> hardware have a nicer way to deal with this?
There are two normal methods how you can do ordinary buffer clears on this hw.
1) With the 2d blitter.
2) With the 3d engine (by drawing a tri/quad).
In practice, both should most likely have the same performance, as it should be
limited by memory bandwidth. I believe in theory the 2d blitter might be faster
for this class of hardware, but IIRC you also get problems with 3d engine
caches etc. Also, if you use 2d blit, you need to clear color and depth buffer
separately.
For depth/stencil buffer, you could use fast z clears (in some cases - it is
tricky, for instance can't clear depth and stencil individually and not with
pixel granularity viewport), which just sets a bit per tile saying this block
is cleared. All hyperz functionality (which fast z clear is) is however defunct
since dri2 (dri1 had it working mostly, was never enabled by default).

> 
> It's now also applying ATI_fragment_shader shaders when clearing. I'll send
> a patch for that.
Hmm yes that sounds wrong.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux