Re: [Development] Rendering only items that are visible in Qt Quick

2018-03-23 Thread Uwe Rathmann
On Fri, 23 Mar 2018 13:44:03 +, Mitch Curtis wrote: > 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. In my framework ( https://github.com/uwe

Re: [Development] Rendering only items that are visible in Qt Quick

2018-03-23 Thread Albert Astals Cid
El divendres, 23 de març de 2018, a les 14:44:03 CET, Mitch Curtis va escriure: > 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

Re: [Development] Rendering only items that are visible in Qt Quick

2018-03-23 Thread Jean-Michaël Celerier
> 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 wrote: > I'd like to get some discussion going around this: > > https://bugrepor

Re: [Development] Rendering only items that are visible in Qt Quick

2018-03-23 Thread Paolo Angelelli
Could one way be to change QList QQuickItemPrivate::paintOrderChildItems() const; into a virtual method, and reimplement it like in flickables or the like to prevent returning what isn't currently visible? That was at least my idea when i was looking at how to do this on maps (where there are p

[Development] Rendering only items that are visible in Qt Quick

2018-03-23 Thread Mitch Curtis
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 w