<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - bug in clearing color buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75061#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - bug in clearing color buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75061">bug 75061</a>
from <span class="vcard"><a class="email" href="mailto:maraeo@gmail.com" title="Marek Olšák <maraeo@gmail.com>"> <span class="fn">Marek Olšák</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>