Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=4327
------- Additional Comments From [EMAIL PROTECTED] 2005-10-14 02:20 -------
Texture upload (viaTexSubImage2D) is just done with a memcpy, not via a 2d blit.
A quick look at the code shows that dma is flushed to the hardware prior to the
memcpy, but not that the hardware is idled.
Via teximages are already tagged with a breadcrumb indicating when they were
last used. Breadcrumb is a per-frame counter, so you'd want to do something
like:
if (tex->breadcrumb <= highest_retired_breadcrumb) {
/* image hasn't been used recently - just go ahead and update */
}
else if (tex->breadcrumb <= highest_submitted_breadcrumb) {
/* image was used in a previous frame, but still pending on hardware */
wait-for-breadcrumb
}
else {
/* image has been used this frame */
wait-for-dma-idle
}
I don't think this has any bearing on SwapBuffers?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel