From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 75061] bug in clearing color buffer
Date: Mon, 24 Feb 2014 12:04:42 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1277606918=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 57CA7FA9FA
for ;
Mon, 24 Feb 2014 04:04:42 -0800 (PST)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces@lists.freedesktop.org
Errors-To: dri-devel-bounces@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1277606918==
Content-Type: multipart/alternative; boundary="1393243482.E58F0.16208"; charset="us-ascii"
--1393243482.E58F0.16208
Date: Mon, 24 Feb 2014 12:04:42 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D75061
--- Comment #12 from Marek Ol=C5=A1=C3=A1k ---
All writes to valid_buffer_range are protected by a mutex. Only the reads a=
re
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.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1393243482.E58F0.16208
Date: Mon, 24 Feb 2014 12:04:42 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Commen=
t # 12
on bug 75061<=
/a>
from Marek Ol=C5=A1=C3=A1k
All writes to valid_buffer_range are protected by a mutex. Onl=
y 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:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1393243482.E58F0.16208--
--===============1277606918==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1277606918==--