From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106053] Drawing at screen boundary is very slow. Date: Tue, 17 Apr 2018 01:22:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0640530840==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AC8986E40D for ; Tue, 17 Apr 2018 01:22:27 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0640530840== Content-Type: multipart/alternative; boundary="152392814710.E7ABdE.22124" Content-Transfer-Encoding: 7bit --152392814710.E7ABdE.22124 Date: Tue, 17 Apr 2018 01:22:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106053 --- Comment #5 from Roland Scheidegger --- (In reply to Marek Ol=C5=A1=C3=A1k from comment #4) > I think the hw doesn't have a clipper, though it shouldn't be hard to ver= ify > if it's true. Yeah, draw could use some optimizations for the clipper, e.= g. > the guardband, but simply doing culling (not clipping) should be enough f= or > point sprites. That's what I meant with guardband clipping: there's no actual clipping, but the hw will still cull pixels outside the viewport. Hence it probably would= be better if draw wouldn't clip if a primitive doesn't fit into the viewport, = but fits into the (hw) guardband. (And you are right that point sprites are a b= it of a special case.) --=20 You are receiving this mail because: You are the assignee for the bug.= --152392814710.E7ABdE.22124 Date: Tue, 17 Apr 2018 01:22:27 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 5 on bug 10605= 3 from Roland Scheidegger
(In reply to Marek Ol=C5=A1=C3=A1k from comment #4)
> I think the hw doesn't have a clipper, though it=
 shouldn't be hard to verify
> if it's true. Yeah, draw could use some optimizations for the clipper,=
 e.g.
> the guardband, but simply doing culling (not clipping) should be enoug=
h for
> point sprites.

That's what I meant with guardband clipping: there's no actual clipping, but
the hw will still cull pixels outside the viewport. Hence it probably would=
 be
better if draw wouldn't clip if a primitive doesn't fit into the viewport, =
but
fits into the (hw) guardband. (And you are right that point sprites are a b=
it
of a special case.)


You are receiving this mail because:
  • You are the assignee for the bug.
= --152392814710.E7ABdE.22124-- --===============0640530840== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0640530840==--