All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
resourceRegistry.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/vt/dictionary.h"
#include "pxr/imaging/hdSt/api.h"
#include "pxr/imaging/hgi/hgi.h"
#include "pxr/imaging/hd/bufferArrayRange.h"
#include "pxr/imaging/hd/bufferArrayRegistry.h"
#include "pxr/imaging/hd/bufferSource.h"
#include "pxr/imaging/hd/bufferSpec.h"
#include "pxr/imaging/hd/enums.h"
#include "pxr/imaging/hd/instanceRegistry.h"
#include "pxr/imaging/hd/resourceRegistry.h"
#include <tbb/concurrent_vector.h>
#include <atomic>
#include <map>
#include <memory>
+ Include dependency graph for resourceRegistry.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  HdStResourceRegistry


using HdComputationSharedPtr = std::shared_ptr< class HdComputation >
using HdStDispatchBufferSharedPtr = std::shared_ptr< class HdStDispatchBuffer >
using HdStGLSLProgramSharedPtr = std::shared_ptr< class HdStGLSLProgram >
using HioGlslfxSharedPtr = std::shared_ptr< class HioGlslfx >
using HdSt_BasisCurvesTopologySharedPtr = std::shared_ptr< class HdSt_BasisCurvesTopology >
using HdStShaderCodePtr = std::weak_ptr< class HdStShaderCode >
using HdSt_GeometricShaderSharedPtr = std::shared_ptr< class HdSt_GeometricShader >
using HdStTextureHandleSharedPtr = std::shared_ptr< class HdStTextureHandle >
using HdStTextureObjectSharedPtr = std::shared_ptr< class HdStTextureObject >
using HdStBufferResourceSharedPtr = std::shared_ptr< class HdStBufferResource >
using HdStResourceRegistrySharedPtr = std::shared_ptr< class HdStResourceRegistry >
using Hd_VertexAdjacencySharedPtr = std::shared_ptr< class Hd_VertexAdjacency >
using HdSt_MeshTopologySharedPtr = std::shared_ptr< class HdSt_MeshTopology >
using HgiResourceBindingsSharedPtr = std::shared_ptr< HgiResourceBindingsHandle >
using HgiGraphicsPipelineSharedPtr = std::shared_ptr< HgiGraphicsPipelineHandle >
using HgiComputePipelineSharedPtr = std::shared_ptr< HgiComputePipelineHandle >
using HdStComputationSharedPtrVector = std::vector< std::pair< HdComputationSharedPtr, HdStComputeQueue >>


enum  HdStComputeQueue {
  HdStComputeQueueZero =0, HdStComputeQueueOne, HdStComputeQueueTwo, HdStComputeQueueThree,

Typedef Documentation

Definition at line 72 of file resourceRegistry.h.

using HdComputationSharedPtr = std::shared_ptr<class HdComputation>

Definition at line 50 of file resourceRegistry.h.

using HdSt_BasisCurvesTopologySharedPtr = std::shared_ptr<class HdSt_BasisCurvesTopology>

Definition at line 56 of file resourceRegistry.h.

Definition at line 61 of file resourceRegistry.h.

using HdSt_MeshTopologySharedPtr = std::shared_ptr<class HdSt_MeshTopology>

Definition at line 74 of file resourceRegistry.h.

Definition at line 68 of file resourceRegistry.h.

Definition at line 106 of file resourceRegistry.h.

Definition at line 51 of file resourceRegistry.h.

Definition at line 52 of file resourceRegistry.h.

Definition at line 70 of file resourceRegistry.h.

using HdStShaderCodePtr = std::weak_ptr<class HdStShaderCode>

Definition at line 59 of file resourceRegistry.h.

Definition at line 64 of file resourceRegistry.h.

Definition at line 66 of file resourceRegistry.h.

Definition at line 80 of file resourceRegistry.h.

Definition at line 78 of file resourceRegistry.h.

Definition at line 76 of file resourceRegistry.h.

using HioGlslfxSharedPtr = std::shared_ptr<class HioGlslfx>

Definition at line 53 of file resourceRegistry.h.

Enumeration Type Documentation

Determines the 'compute queue' a computation should be added into.

We only perform synchronization between queues, not within one queue. In OpenGL terms that means we insert memory barriers between computations of two queues, but not between two computations in the same queue.

A prim determines the role for each queue based on its local knowledge of compute dependencies. Eg. HdStMesh knows computing normals should wait until the primvar refinement computation has fnished. It can assign one queue to primvar refinement and a following queue for normal computations.


Definition at line 98 of file resourceRegistry.h.