14#if QT_CONFIG(quick_sprite)
18#include <QtCore/QCoreApplication>
19#include <QtCore/QElapsedTimer>
21#include <QtGui/QWindow>
22#include <QtQuick/private/qquickwindow_p.h>
23#include <QtQuick/private/qquickitem_p.h>
52 , m_initialized(
false)
53 , m_activePainter(
nullptr)
167#if QT_CONFIG(quick_sprite)
168QSGSpriteNode *QSGSoftwareContext::createSpriteNode()
204 return cd->redirect.rt.paintDevice;
211#include "moc_qsgsoftwarecontext_p.cpp"
void clear() noexcept(std::is_nothrow_destructible< Node >::value)
Removes all items from the hash and frees up all memory used by it.
bool isEmpty() const noexcept
Returns true if the hash contains no items; otherwise returns false.
The QQuickPaintedItem class provides a way to use the QPainter API in the QML Scene Graph.
static QQuickWindowPrivate * get(QQuickWindow *c)
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
The QSGContext holds the scene graph entry points for one QML engine.
virtual void renderContextInvalidated(QSGRenderContext *renderContext)
The QSGImageNode class is provided for convenience to easily draw textured content using the QML scen...
The QSGRectangleNode class is a convenience class for drawing solid filled rectangles using scenegrap...
QHash< QString, QSGDistanceFieldGlyphCache * > m_glyphCaches
QHash< QObject *, QSGTexture * > m_textures
QHash< QFontEngine *, int > m_fontEnginesToClean
QPointer< QSGContext > m_sg
QSet< QSGTexture * > m_texturesToDelete
An interface providing access to some of the graphics API specific internals of the scenegraph.
RenderMode
\value RenderMode2D Normal 2D rendering \value RenderMode2DNoDepthBuffer Normal 2D rendering with dep...
Resource
\value DeviceResource The resource is a pointer to the graphics device, when applicable.
GraphicsApi
\value Unknown An unknown graphics API is in use \value Software The Qt Quick 2D Renderer is in use \...
ShaderType
\value UnknownShadingLanguage Not yet known due to no window and scenegraph associated \value GLSL GL...
The renderer class is the abstract baseclass used for rendering the QML scene graph.
QSGGlyphNode * createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode, int renderTypeQuality) override
QSurfaceFormat defaultSurfaceFormat() const override
QSGRectangleNode * createRectangleNode() override
QSGLayer * createLayer(QSGRenderContext *renderContext) override
QSGImageNode * createImageNode() override
QSGPainterNode * createPainterNode(QQuickPaintedItem *item) override
ShaderCompilationTypes shaderCompilationType() const override
ShaderSourceTypes shaderSourceType() const override
GraphicsApi graphicsApi() const override
Returns the graphics API that is in use by the Qt Quick scenegraph.
QSGRendererInterface * rendererInterface(QSGRenderContext *renderContext) override
Returns a pointer to the (presumably) global renderer interface.
QSGSoftwareContext(QObject *parent=nullptr)
QSGInternalImageNode * createInternalImageNode(QSGRenderContext *renderContext) override
ShaderType shaderType() const override
void * getResource(QQuickWindow *window, Resource resource) const override
Queries a graphics resource in window.
QSGNinePatchNode * createNinePatchNode() override
QSGInternalRectangleNode * createInternalRectangleNode() override
int maxTextureSize() const override
void invalidate() override
void initializeIfNeeded()
QSGTexture * createTexture(const QImage &image, uint flags=CreateTexture_Alpha) const override
QSGRenderer * createRenderer(QSGRendererInterface::RenderMode) override
void renderNextFrame(QSGRenderer *renderer) override
qDeleteAll(list.begin(), list.end())
Combined button and popup list for selecting options.
#define Q_LOGGING_CATEGORY(name,...)
GLint GLsizei GLsizei GLenum format
QSvgRenderer * renderer
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent