Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssgrenderdata.cpp File Reference

(48e4010227ae55e9fa72b5cfc5b76bcc3046c5ef)

#include "qssgrenderdata_p.h"
#include <QtQuick/private/qsgcontext_p.h>
#include <QtQuick/private/qsgrenderer_p.h>
#include "graphobjects/qssgrenderroot_p.h"
#include "graphobjects/qssgrenderlayer_p.h"
#include "graphobjects/qssgrenderitem2d_p.h"
#include "qssgrendercontextcore.h"
#include "qssgrenderer_p.h"
#include "resourcemanager/qssgrenderbuffermanager_p.h"
Include dependency graph for qssgrenderdata.cpp:

Go to the source code of this file.

Macros

#define qssgTryThreadedStart(func)
#define qssgTryWaitForDone()

Enumerations

enum class  Insert { Back , Indexed , Back , Indexed }
enum class  Discard { None , Inactive , None , Inactive }
enum class  Insert { Back , Indexed , Back , Indexed }
enum class  Discard { None , Inactive , None , Inactive }

Functions

static QT_BEGIN_NAMESPACE void reindexChildNodes (QSSGRenderNode &node, const quint32 version, quint32 &dfsIdx, size_t &count)
static void reindexLayerChildNodes (QSSGRenderLayer &layer, const quint32 version, quint32 &dfsIdx, size_t &count)
static void reindex (QSSGRenderRoot *rootNode, const quint32 version, quint32 &dfsIdx, size_t &count)
template<Insert insert = Insert::Back>
static void collectChildNodesFirst (QSSGRenderNode &node, QSSGGlobalRenderNodeData::NodeStore &outList, size_t &idx)
template<Insert insert = Insert::Back>
static void collectChildNodesSecond (QSSGRenderNode &node, QSSGGlobalRenderNodeData::NodeStore &outList, size_t &idx)
template<Discard discard = Discard::None, Insert insert = Insert::Back>
static void collectLayerChildNodes (QSSGRenderLayer *layer, QSSGGlobalRenderNodeData::NodeStore &outList, size_t &idx)
template<QSSGRenderDataHelpers::Strategy Strategy>
static bool calcGlobalNodeDataIndexedImpl (QSSGRenderNode *node, const quint32 version, QSSGGlobalRenderNodeData::GlobalTransformStore &globalTransforms, QSSGGlobalRenderNodeData::GlobalOpacityStore &globalOpacities)

Macro Definition Documentation

◆ qssgTryThreadedStart

#define qssgTryThreadedStart ( func)
Value:
func();
GLenum func
Definition qopenglext.h:663

◆ qssgTryWaitForDone

#define qssgTryWaitForDone ( )
Value:
/* no-op */

Enumeration Type Documentation

◆ Discard [1/2]

enum class Discard
strong
Enumerator
None 
Inactive 
None 
Inactive 

Definition at line 83 of file qssgrenderdata.cpp.

◆ Discard [2/2]

enum class Discard
strong
Enumerator
None 
Inactive 
None 
Inactive 

Definition at line 83 of file qssgrenderdata.cpp.

◆ Insert [1/2]

enum class Insert
strong
Enumerator
Back 
Indexed 
Back 
Indexed 

Definition at line 57 of file qssgrenderdata.cpp.

◆ Insert [2/2]

enum class Insert
strong
Enumerator
Back 
Indexed 
Back 
Indexed 

Definition at line 57 of file qssgrenderdata.cpp.

Function Documentation

◆ calcGlobalNodeDataIndexedImpl()

template<QSSGRenderDataHelpers::Strategy Strategy>
bool calcGlobalNodeDataIndexedImpl ( QSSGRenderNode * node,
const quint32 version,
QSSGGlobalRenderNodeData::GlobalTransformStore & globalTransforms,
QSSGGlobalRenderNodeData::GlobalOpacityStore & globalOpacities )
static

Definition at line 102 of file qssgrenderdata.cpp.

References QSSGRenderDataHelpers::Initial.

◆ collectChildNodesFirst()

template<Insert insert = Insert::Back>
void collectChildNodesFirst ( QSSGRenderNode & node,
QSSGGlobalRenderNodeData::NodeStore & outList,
size_t & idx )
static

Definition at line 59 of file qssgrenderdata.cpp.

◆ collectChildNodesSecond()

template<Insert insert = Insert::Back>
void collectChildNodesSecond ( QSSGRenderNode & node,
QSSGGlobalRenderNodeData::NodeStore & outList,
size_t & idx )
static

Definition at line 71 of file qssgrenderdata.cpp.

◆ collectLayerChildNodes()

template<Discard discard = Discard::None, Insert insert = Insert::Back>
void collectLayerChildNodes ( QSSGRenderLayer * layer,
QSSGGlobalRenderNodeData::NodeStore & outList,
size_t & idx )
static

Definition at line 85 of file qssgrenderdata.cpp.

◆ reindex()

void reindex ( QSSGRenderRoot * rootNode,
const quint32 version,
quint32 & dfsIdx,
size_t & count )
static

Definition at line 46 of file qssgrenderdata.cpp.

◆ reindexChildNodes()

QT_BEGIN_NAMESPACE void reindexChildNodes ( QSSGRenderNode & node,
const quint32 version,
quint32 & dfsIdx,
size_t & count )
static

Definition at line 22 of file qssgrenderdata.cpp.

◆ reindexLayerChildNodes()

void reindexLayerChildNodes ( QSSGRenderLayer & layer,
const quint32 version,
quint32 & dfsIdx,
size_t & count )
static

Definition at line 36 of file qssgrenderdata.cpp.