[Development] Rendering only items that are visible in Qt Quick
Jean-Michaël Celerier
jeanmichael.celerier at gmail.com
Fri Mar 23 15:21:43 CET 2018
> Far superior alternatives?
Maybe not "far" superior, but AFAIK QGraphicsScene / QGraphicsView handles
this.
-------
Jean-Michaël Celerier
http://www.jcelerier.name
On Fri, Mar 23, 2018 at 2:44 PM, Mitch Curtis <mitch.curtis at qt.io> wrote:
> I'd like to get some discussion going around this:
>
> https://bugreports.qt.io/browse/QTBUG-67274
>
> As I understand it, clipping (the "clip" property) doesn't prevent items
> that aren't visible (in the sense of being out of the viewport, not the
> "visible" property) from actually being rendered.
>
> It would be useful if we had a way to do this with minimal effort from the
> user. I'm thinking of a e.g. a property or flag in QQuickItem that, when
> set, would cause the scenegraph to use the shape (could start off as just
> being a bounding rect) of child items to determine whether or not that item
> is visible with regards to its parents bounding rect. That way, any regular
> old item can benefit from it easily.
>
> Does anyone else have ideas about this?
>
> Comments about how it will never work and I should feel bad for suggesting
> it?
>
> Far superior alternatives?
>
> Please, share your thoughts! :D
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180323/5490ca26/attachment.html>
More information about the Development
mailing list