[Bug 75061] bug in clearing color buffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 24 04:04:42 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75061

--- Comment #12 from Marek Olšák <maraeo at gmail.com> ---
All writes to valid_buffer_range are protected by a mutex. Only the reads are
not.

I've got no idea what to do with invalidate_buffer. If we added mutexes
everywhere, it would slow down the driver.

I think that calling BufferData in one thread and using the buffer for
rendering in some other thread is a race condition in the application and
should be fixed in the app.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140224/da9e8263/attachment.html>


More information about the dri-devel mailing list