mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[dxvk] Don't allow common objects to be reference-counted
This commit is contained in:
parent
65c1e58bd9
commit
4fd41f8550
@ -84,7 +84,7 @@ namespace dxvk {
|
|||||||
* Thread-safe event allocator that provides
|
* Thread-safe event allocator that provides
|
||||||
* a way to create and recycle Vulkan events.
|
* a way to create and recycle Vulkan events.
|
||||||
*/
|
*/
|
||||||
class DxvkGpuEventPool : public RcObject {
|
class DxvkGpuEventPool {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ namespace dxvk {
|
|||||||
* Small wrapper class that manages query
|
* Small wrapper class that manages query
|
||||||
* allocators for all supported query types,
|
* allocators for all supported query types,
|
||||||
*/
|
*/
|
||||||
class DxvkGpuQueryPool : public RcObject {
|
class DxvkGpuQueryPool {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ namespace dxvk {
|
|||||||
* Allocates device memory for Vulkan resources.
|
* Allocates device memory for Vulkan resources.
|
||||||
* Memory objects will be destroyed automatically.
|
* Memory objects will be destroyed automatically.
|
||||||
*/
|
*/
|
||||||
class DxvkMemoryAllocator : public RcObject {
|
class DxvkMemoryAllocator {
|
||||||
friend class DxvkMemory;
|
friend class DxvkMemory;
|
||||||
friend class DxvkMemoryChunk;
|
friend class DxvkMemoryChunk;
|
||||||
public:
|
public:
|
||||||
|
@ -44,7 +44,7 @@ namespace dxvk {
|
|||||||
* compute pipelines that are going to be used
|
* compute pipelines that are going to be used
|
||||||
* for clear operations.
|
* for clear operations.
|
||||||
*/
|
*/
|
||||||
class DxvkMetaClearObjects : public RcObject {
|
class DxvkMetaClearObjects {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ namespace dxvk {
|
|||||||
* Meta copy operations are necessary in order
|
* Meta copy operations are necessary in order
|
||||||
* to copy data between color and depth images.
|
* to copy data between color and depth images.
|
||||||
*/
|
*/
|
||||||
class DxvkMetaCopyObjects : public RcObject {
|
class DxvkMetaCopyObjects {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ namespace dxvk {
|
|||||||
* decisions, we have to create one render pass
|
* decisions, we have to create one render pass
|
||||||
* and pipeline object per image format used.
|
* and pipeline object per image format used.
|
||||||
*/
|
*/
|
||||||
class DxvkMetaMipGenObjects : public RcObject {
|
class DxvkMetaMipGenObjects {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ namespace dxvk {
|
|||||||
* Stores compute shaders and related objects
|
* Stores compute shaders and related objects
|
||||||
* for depth-stencil image packing operations.
|
* for depth-stencil image packing operations.
|
||||||
*/
|
*/
|
||||||
class DxvkMetaPackObjects : public RcObject {
|
class DxvkMetaPackObjects {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ namespace dxvk {
|
|||||||
* Implements resolve operations in fragment
|
* Implements resolve operations in fragment
|
||||||
* shaders when using different formats.
|
* shaders when using different formats.
|
||||||
*/
|
*/
|
||||||
class DxvkMetaResolveObjects : public RcObject {
|
class DxvkMetaResolveObjects {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ namespace dxvk {
|
|||||||
* because DXVK does not expose the concept of shader
|
* because DXVK does not expose the concept of shader
|
||||||
* pipeline objects to the client API.
|
* pipeline objects to the client API.
|
||||||
*/
|
*/
|
||||||
class DxvkPipelineManager : public RcObject {
|
class DxvkPipelineManager {
|
||||||
friend class DxvkComputePipeline;
|
friend class DxvkComputePipeline;
|
||||||
friend class DxvkGraphicsPipeline;
|
friend class DxvkGraphicsPipeline;
|
||||||
public:
|
public:
|
||||||
|
@ -201,7 +201,7 @@ namespace dxvk {
|
|||||||
* be created, but no two render pass objects
|
* be created, but no two render pass objects
|
||||||
* will have the same format.
|
* will have the same format.
|
||||||
*/
|
*/
|
||||||
class DxvkRenderPassPool : public RcObject {
|
class DxvkRenderPassPool {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user