The gfxcard's commands buffer could be referencing both source and
destination buffers which might be released before they actually get
accessed by the h/w. Calling dfb_gfxcard_wait_serial() in the surface
destructor ensures that commands are flushed and any pending h/w ops. are
completed prior to the underlying buffer deallocation.

Applies for both DirectFB-1.7 and master branches.

Attachment: 0002-core-flush-and-wait-for-pending-h-w-ops.-prior-surfa.patch
Description: 0002-core-flush-and-wait-for-pending-h-w-ops.-prior-surfa.patch

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to