From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 34495] Selecting objects in Blender 2.56 slow with gallium r600 driver
Date: Thu, 30 Jun 2011 10:58:55 -0700 (PDT) [thread overview]
Message-ID: <20110630175855.DF5CC13004F@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-34495-502@http.bugs.freedesktop.org/>
https://bugs.freedesktop.org/show_bug.cgi?id=34495
--- Comment #19 from Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> 2011-06-30 10:58:55 PDT ---
> @Pierre: It's a pitty if it doesn get hardware accelerated. Many CAD apps use
> GL_SELECT. Can you please give me a hint on how one would go about implementing
> HW acceleration for it? I'm not sure I'm able to do it, but would be interested
> in playing with it.
I've been toying with this idea for a few hours, and the next attachement will
be my current patch bringing sort of HW acceleration for GL_SELECT.
(it should work for any Gallium driver, not only r600g)
** WARNING ** it's experimental AND rough AND buggy but it works well for the
specific test case above (Blender + 1 cube + multiresolution modifier level 8)
: it reduces selection time from +30 secs to ~1sec.
I'm posting it here even if it's not finished, to get some comments on how it's
done and if Mesa/gallium developpers think it's worth the effort.
(please note that left click on 3D view in Blender will crash...)
It's done using :
- an offscreen surface where objects are drawn when in GL_SELECT mode
- a custom pixel shader which outputs object's name + depth in color buffer
- glQueries
- glReadBack of offscreen surface when glQuery is >0 to read back name & z
values to feed the selection buffer
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next prev parent reply other threads:[~2011-06-30 17:58 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 7:13 [Bug 34495] New: Selecting objects in Blender 2.56 slow with gallium r600 driver bugzilla-daemon
2011-06-16 16:05 ` [Bug 34495] " bugzilla-daemon
2011-06-16 16:11 ` bugzilla-daemon
2011-06-16 18:51 ` bugzilla-daemon
2011-06-16 22:38 ` bugzilla-daemon
2011-06-17 9:05 ` bugzilla-daemon
2011-06-17 11:28 ` bugzilla-daemon
2011-06-17 19:50 ` bugzilla-daemon
2011-06-17 20:51 ` bugzilla-daemon
2011-06-18 17:12 ` bugzilla-daemon
2011-06-19 3:50 ` bugzilla-daemon
2011-06-20 0:18 ` bugzilla-daemon
2011-06-24 7:33 ` bugzilla-daemon
2011-06-26 5:18 ` bugzilla-daemon
2011-06-27 10:09 ` bugzilla-daemon
2011-06-27 10:10 ` bugzilla-daemon
2011-06-27 13:23 ` bugzilla-daemon
2011-06-27 14:38 ` bugzilla-daemon
2011-06-28 13:53 ` bugzilla-daemon
2011-06-30 17:58 ` bugzilla-daemon [this message]
2011-06-30 17:59 ` bugzilla-daemon
2011-07-01 10:02 ` bugzilla-daemon
2011-07-01 10:42 ` bugzilla-daemon
2011-07-01 11:02 ` bugzilla-daemon
2011-07-01 11:06 ` bugzilla-daemon
2011-07-01 11:22 ` bugzilla-daemon
2011-07-01 15:10 ` bugzilla-daemon
2011-07-01 16:00 ` bugzilla-daemon
2011-07-01 17:07 ` bugzilla-daemon
2011-07-01 17:20 ` bugzilla-daemon
2011-07-01 17:28 ` bugzilla-daemon
2011-07-01 17:33 ` bugzilla-daemon
2011-07-02 7:35 ` bugzilla-daemon
2011-07-02 12:16 ` bugzilla-daemon
2011-07-02 15:51 ` bugzilla-daemon
2011-07-02 15:52 ` bugzilla-daemon
2011-07-02 17:32 ` bugzilla-daemon
2011-07-03 13:23 ` bugzilla-daemon
2011-07-03 17:38 ` bugzilla-daemon
2011-07-04 9:47 ` bugzilla-daemon
2011-07-04 11:28 ` bugzilla-daemon
2011-07-04 21:08 ` bugzilla-daemon
2011-07-05 22:42 ` bugzilla-daemon
2011-07-11 21:58 ` bugzilla-daemon
2011-07-12 9:16 ` bugzilla-daemon
2011-07-12 9:31 ` bugzilla-daemon
2011-07-12 11:08 ` bugzilla-daemon
2011-07-12 20:21 ` bugzilla-daemon
2011-07-12 21:33 ` bugzilla-daemon
2011-07-17 18:45 ` bugzilla-daemon
2011-07-17 21:55 ` bugzilla-daemon
2011-07-31 3:16 ` bugzilla-daemon
2011-08-02 3:44 ` bugzilla-daemon
2011-08-02 11:40 ` bugzilla-daemon
2011-08-02 13:27 ` bugzilla-daemon
2011-08-04 5:06 ` bugzilla-daemon
2011-08-07 20:47 ` bugzilla-daemon
2011-09-06 17:42 ` bugzilla-daemon
2011-09-06 23:54 ` bugzilla-daemon
2011-09-07 2:16 ` bugzilla-daemon
2012-02-25 21:55 ` bugzilla-daemon
2012-02-25 22:58 ` bugzilla-daemon
2013-07-19 13:21 ` bugzilla-daemon
2013-07-19 13:27 ` bugzilla-daemon
2013-07-19 13:34 ` bugzilla-daemon
2013-07-19 14:07 ` bugzilla-daemon
2013-07-26 10:21 ` bugzilla-daemon
2013-08-14 3:07 ` bugzilla-daemon
2013-08-15 17:17 ` bugzilla-daemon
2013-08-15 17:59 ` bugzilla-daemon
2013-08-16 11:14 ` bugzilla-daemon
2013-08-16 12:48 ` bugzilla-daemon
2013-10-24 22:42 ` bugzilla-daemon
2013-10-25 7:37 ` bugzilla-daemon
2013-10-25 9:26 ` bugzilla-daemon
2013-10-25 13:11 ` [Bug 34495] Selecting objects in Blender 2.56 slow due the software gl_select mode bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110630175855.DF5CC13004F@annarchy.freedesktop.org \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.