Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrD3DMemoryAllocator Class Referenceabstract

#include <GrD3DTypes.h>

Inheritance diagram for GrD3DMemoryAllocator:
SkRefCnt SkRefCntBase GrD3DAMDMemoryAllocator

Public Member Functions

virtual gr_cp< ID3D12Resource > createResource (D3D12_HEAP_TYPE, const D3D12_RESOURCE_DESC *, D3D12_RESOURCE_STATES initialResourceState, sk_sp< GrD3DAlloc > *allocation, const D3D12_CLEAR_VALUE *)=0
 
virtual gr_cp< ID3D12Resource > createAliasingResource (sk_sp< GrD3DAlloc > &allocation, uint64_t localOffset, const D3D12_RESOURCE_DESC *, D3D12_RESOURCE_STATES initialResourceState, const D3D12_CLEAR_VALUE *)=0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 163 of file GrD3DTypes.h.

Member Function Documentation

◆ createAliasingResource()

virtual gr_cp< ID3D12Resource > GrD3DMemoryAllocator::createAliasingResource ( sk_sp< GrD3DAlloc > &  allocation,
uint64_t  localOffset,
const D3D12_RESOURCE_DESC *  ,
D3D12_RESOURCE_STATES  initialResourceState,
const D3D12_CLEAR_VALUE *   
)
pure virtual

Implemented in GrD3DAMDMemoryAllocator.

◆ createResource()

virtual gr_cp< ID3D12Resource > GrD3DMemoryAllocator::createResource ( D3D12_HEAP_TYPE  ,
const D3D12_RESOURCE_DESC *  ,
D3D12_RESOURCE_STATES  initialResourceState,
sk_sp< GrD3DAlloc > *  allocation,
const D3D12_CLEAR_VALUE *   
)
pure virtual

Implemented in GrD3DAMDMemoryAllocator.


The documentation for this class was generated from the following file: