[Bug 101592] Very slow performance when rendering scenes with transparency, probably caused by excessive copying (intel_miptree_map())

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 28 05:24:35 UTC 2017


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

--- Comment #6 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Steve Holland from comment #5)
> It seems like for every character rendered the driver is copying the entire
> window image back and forth, mipmapping and unmapping the entire window. Not
> at all sure why it is necessary. But I understand the API is rather
> obsolete. 

FWIW I don't think the whole content is copied but as glBitmap() gets called
per character basis (which the API forces) it causes a lot of map/unmap of the
buffer per each frame where we need to copy those bitmaps in.

> Really the the sensible destination for improvement effort would be
> freeglut, no?   I think GLUT is still a very widely used API.

GLUT could be still used but IMO text rendering should be implemented by the
app itself and not rely on glutBitmapCharacter(). There are many
tutorials/examples (and actually even ready helper libraries) in the web how to
get started.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170928/aa02be42/attachment.html>


More information about the intel-3d-bugs mailing list