mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-09 04:46:07 +01:00
dce2f844c0
We can implement this properly in the future using VK_EXT_debug_utils.
38 lines
762 B
C++
38 lines
762 B
C++
#pragma once
|
|
|
|
#include "d3d11_include.h"
|
|
|
|
namespace dxvk {
|
|
|
|
class D3D11UserDefinedAnnotation : ID3DUserDefinedAnnotation {
|
|
|
|
public:
|
|
|
|
D3D11UserDefinedAnnotation(ID3D11DeviceContext* ctx);
|
|
~D3D11UserDefinedAnnotation();
|
|
|
|
ULONG STDMETHODCALLTYPE AddRef();
|
|
|
|
ULONG STDMETHODCALLTYPE Release();
|
|
|
|
HRESULT STDMETHODCALLTYPE QueryInterface(
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
|
|
INT STDMETHODCALLTYPE BeginEvent(
|
|
LPCWSTR Name);
|
|
|
|
INT STDMETHODCALLTYPE EndEvent();
|
|
|
|
void STDMETHODCALLTYPE SetMarker(
|
|
LPCWSTR Name);
|
|
|
|
BOOL STDMETHODCALLTYPE GetStatus();
|
|
|
|
private:
|
|
|
|
ID3D11DeviceContext* m_container;
|
|
|
|
};
|
|
|
|
} |