CFx SDK Documentation 2024 SP0
|
#include <TrVecResourceSharingProvider.h>
Classes | |
struct | DeviceBitSet |
struct | DeviceEntry |
class | ResourceDependency |
Public Types | |
typedef void(* | broadcastProc) (OdDrawOrderBaseDevice *pDevice, void *pData) |
Public Member Functions | |
ODRX_USING_HEAP_OPERATORS (OdTrVisSharingProviderClient) | |
OdTrVecResourceSharingProvider () | |
~OdTrVecResourceSharingProvider () | |
virtual void | openResourceSharing (OdTrVecDevice *pDevice) |
virtual void | closeResourceSharing (OdTrVecDevice *pDevice, bool bTemporaryDisconnect=false) |
bool | isResourceSharingOpened (OdTrVecDevice *pDevice) const |
bool | hasSharedResources () const |
virtual void | onDeleteRequest (onDeleteRequestProc pReqProc, void *pData) |
void | broadcastFunction (const OdDrawOrderMetafileBase &bitSet, broadcastProc pProc, void *pArg) const |
void | broadcastFunctionForAll (broadcastProc pProc, void *pArg, const OdTrVecDevice *pExclusion=NULL) const |
OdTrVecTtfFontsCache * | ttfFontsCache (OdTrVecDevice *pDevice) |
OdTrVecVisualStyleContainer * | visualStylesCache (OdTrVecDevice *pDevice) |
OdTrVecLayerContainer * | layersCache (OdTrVecDevice *pDevice) |
OdTrVisMetafilesPool * | metafilesPool (OdTrVecDevice *pDevice) |
void | mtLockMetafilesPool (OdTrVecDevice *pDevice) |
void | mtUnlockMetafilesPool (OdTrVecDevice *pDevice) |
OdRxObject * | serverMetafilesPool (OdTrVecDevice *pDevice) |
void | setServerMetafilesPool (OdTrVecDevice *pDevice, OdRxObject *pMfPool) |
OdTrVecDevice * | findUsage (const OdDrawOrderMetafileBase &bitSet, OdTrVecDevice *pStartFrom=NULL) const |
virtual bool | shareMetafile (OdTrVecDevice *pRequestedFor, OdDrawOrderMetafileBase &bitSet, OdTrVisMetafileId metafileId, void *pInternalDataPtr, void *pOriginatorPtr) |
virtual bool | shareGroup (OdTrVecDevice *pRequestedFor, OdDrawOrderMetafileBase &bitSet, OdTrVisGroupId groupId, void *pInternalDataPtr, void *pOriginatorPtr) |
virtual bool | shareTexture (OdTrVecDevice *pRequestedFor, OdDrawOrderMetafileBase &bitSet, OdTrVisTextureId textureId, void *pInternalDataPtr, void *pOriginatorPtr) |
virtual bool | shareMaterial (OdTrVecDevice *pRequestedFor, OdDrawOrderMetafileBase &bitSet, OdTrVisMaterialId materialId, void *pInternalDataPtr, void *pOriginatorPtr) |
Public Member Functions inherited from OdTrVisSharingProviderClient | |
OdTrVisSharingProviderClient () | |
~OdTrVisSharingProviderClient () | |
virtual bool | hasSharedResources () const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
static OdSmartPtr< OdTrVecResourceSharingProvider > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
virtual bool | shareMetafile (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisMetafileId metafileId, void *pInternalDataPtr, void *pOriginatorPtr) |
virtual bool | shareGroup (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisGroupId groupId, void *pInternalDataPtr, void *pOriginatorPtr) |
virtual bool | shareTexture (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisTextureId textureId, void *pInternalDataPtr, void *pOriginatorPtr) |
virtual bool | shareMaterial (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisMaterialId materialId, void *pInternalDataPtr, void *pOriginatorPtr) |
bool | internalTextureProc (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisTextureId textureId, void *pInternalDataPtr, void *pOriginatorPtr, OdTrVisTextureDef &resTexture, bool &bCreated) |
bool | materialTexturesProc (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisMaterialId materialId, void *pInternalDataPtr, void *pOriginatorPtr) |
void | shareIdRegistration (OdTrVecDevice *pRequestedFor, OdTrVecDevice *pRequestedFrom, OdTrVisId id, OdInt32 type) |
OdTrVisRendition * | rendition (OdTrVecDevice *pRequestFor) const |
const OdTrVisRendition::ClientSettings & | clientSettings (const OdTrVecDevice *pRequestFor) const |
OdTrVisRenderClient * | renderClient (OdTrVecDevice *pRequestFor) const |
OdGsDevice * | gsDevice (OdTrVecDevice *pRequestFor) const |
Protected Attributes | |
OdArray< DeviceEntry > | m_rmDevices |
OdUInt32 | m_nSharedDevices |
OdRefCounter | m_nMfPoolEntrances |
OdTrVecTtfFontsCache * | m_pTtfCache |
OdTrVecVisualStyleContainer * | m_pVSCache |
OdTrVecLayerContainer * | m_pLayerCache |
OdTrVisMetafilesPool * | m_pMetafilesPool |
OdTrVisMtContext * | m_pMfPoolMtCtx |
OdRxObjectPtr | m_pSrvMetafilesPool |
<group ExRender_Windows_Classes>
Definition at line 46 of file TrVecResourceSharingProvider.h.
typedef void(* OdTrVecResourceSharingProvider::broadcastProc) (OdDrawOrderBaseDevice *pDevice, void *pData) |
Definition at line 69 of file TrVecResourceSharingProvider.h.
OdTrVecResourceSharingProvider::OdTrVecResourceSharingProvider | ( | ) |
OdTrVecResourceSharingProvider::~OdTrVecResourceSharingProvider | ( | ) |
void OdTrVecResourceSharingProvider::broadcastFunction | ( | const OdDrawOrderMetafileBase & | bitSet, |
broadcastProc | pProc, | ||
void * | pArg | ||
) | const |
void OdTrVecResourceSharingProvider::broadcastFunctionForAll | ( | broadcastProc | pProc, |
void * | pArg, | ||
const OdTrVecDevice * | pExclusion = NULL |
||
) | const |
|
protected |
|
virtual |
|
static |
OdTrVecDevice * OdTrVecResourceSharingProvider::findUsage | ( | const OdDrawOrderMetafileBase & | bitSet, |
OdTrVecDevice * | pStartFrom = NULL |
||
) | const |
|
protected |
|
inlinevirtual |
Implements OdTrVisSharingProviderClient.
Definition at line 111 of file TrVecResourceSharingProvider.h.
|
protected |
bool OdTrVecResourceSharingProvider::isResourceSharingOpened | ( | OdTrVecDevice * | pDevice | ) | const |
OdTrVecLayerContainer * OdTrVecResourceSharingProvider::layersCache | ( | OdTrVecDevice * | pDevice | ) |
|
protected |
OdTrVisMetafilesPool * OdTrVecResourceSharingProvider::metafilesPool | ( | OdTrVecDevice * | pDevice | ) |
void OdTrVecResourceSharingProvider::mtLockMetafilesPool | ( | OdTrVecDevice * | pDevice | ) |
void OdTrVecResourceSharingProvider::mtUnlockMetafilesPool | ( | OdTrVecDevice * | pDevice | ) |
OdTrVecResourceSharingProvider::ODRX_USING_HEAP_OPERATORS | ( | OdTrVisSharingProviderClient | ) |
|
virtual |
|
virtual |
|
protected |
|
protected |
OdRxObject * OdTrVecResourceSharingProvider::serverMetafilesPool | ( | OdTrVecDevice * | pDevice | ) |
void OdTrVecResourceSharingProvider::setServerMetafilesPool | ( | OdTrVecDevice * | pDevice, |
OdRxObject * | pMfPool | ||
) |
|
virtual |
|
protectedvirtual |
|
protected |
|
virtual |
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
OdTrVecTtfFontsCache * OdTrVecResourceSharingProvider::ttfFontsCache | ( | OdTrVecDevice * | pDevice | ) |
OdTrVecVisualStyleContainer * OdTrVecResourceSharingProvider::visualStylesCache | ( | OdTrVecDevice * | pDevice | ) |
|
protected |
Definition at line 88 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 87 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 91 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 92 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 93 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 94 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 89 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 90 of file TrVecResourceSharingProvider.h.
|
protected |
Definition at line 86 of file TrVecResourceSharingProvider.h.