*/
/*!
- \class ItemChangeData
- \internal
-*/
-
-/*!
\class QQuickItem::ItemChangeData
\internal
*/
/*!
\property QQuickItem::children
\internal
- */
-/*!
- \fn void QQuickItem::childrenChanged()
- \internal
*/
QQmlListProperty<QQuickItem> QQuickItemPrivate::children()
{
/*!
\property QQuickItem::visibleChildren
\internal
- */
-/*!
- \fn void QQuickItem::visibleChildrenChanged()
- \internal
*/
QQmlListProperty<QQuickItem> QQuickItemPrivate::visibleChildren()
{
*/
-/*! \fn void QQuickView::sceneResized(QSize size)
- This signal is emitted when the view is resized to \a size.
-*/
-
/*! \fn void QQuickView::statusChanged(QQuickView::Status status)
This signal is emitted when the component's current \a status changes.
*/
-/*! \fn void QQuickView::initialSizeChanged(QSize size)
- \internal
-*/
-
/*!
Constructs a QQuickView with the given \a parent.
The default value of \a parent is 0.
/*!
- \fn void QSGContext::sceneGraphInitialized()
+ \fn void QQuickWindow::sceneGraphInitialized()
This signal is emitted when the scene graph has been initialized.
/*!
- \fn void QSGContext::sceneGraphInvalidated()
+ \fn void QQuickWindow::sceneGraphInvalidated()
This signal is emitted when the scene graph has been invalidated.
/*!
- \fn QQuickTextureFactory *createTextureFactoryFromImage(const QImage &image)
-
Calls into the scene graph adaptation if available and creates a texture
factory. The primary purpose of this function is to reimplement hardware
specific asynchronous texture frameskip-less uploads that can happen on
/*!
- \fn QQuickWindowManager *createWindowManager()
-
Calls into the scene graph adaptation if available and creates a hardware
specific window manager.
*/
Creating a texture directly is not possible as there is rarely an OpenGL context
available in the thread that is responsible for loading the image data.
- */
+*/
+
+/*!
+ Constructs a texture factory. Since QQuickTextureFactory is abstract, it
+ cannot be instantiated directly.
+*/
QQuickTextureFactory::QQuickTextureFactory()
{
}
+/*!
+ Destroys the texture factory.
+*/
+
QQuickTextureFactory::~QQuickTextureFactory()
{
}
+/*!
+ \fn int QQuickTextureFactory::textureByteCount() const
+
+ Returns the number of bytes of memory the texture consumes.
+*/
/*!
\fn QImage QQuickTextureFactory::image() const
/*!
- \fn QSGTexture *QQuickTextureFactory::createTexture() const
+ \fn QSGTexture *QQuickTextureFactory::createTexture(QQuickWindow *window) const
This function is called on the scene graph rendering thread to create a QSGTexture
- instance from the factory.
+ instance from the factory. \a window provides the context which this texture is
+ created in.
QML will internally cache the returned texture as needed. Each call to this
function should return a unique instance.
*/
/*!
- Creates an image provider that will provide images of the given \a type.
+ Creates an image provider that will provide images of the given \a type and
+ behave according to the given \a flags.
*/
QQuickImageProvider::QQuickImageProvider(ImageType type, Flags flags)
: d(new QQuickImageProviderPrivate)