commit | 00f2d9cbb6586ea8796d494d6439902be7a51e58 | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jan 11 04:11:08 2013 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jan 11 04:11:08 2013 +0000 |
tree | 864f729405e0efb9071d14c75db3f07fcda2e096 | |
parent | b115455104f6d20ad1bad11ceddf68e7ce6c8052 [diff] [blame] |
Added a utility function to set the debug name on D3D11 resources. TRAC #22231 Signed-off-by: Jamie Madill Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1694 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/renderer11_utils.h b/src/libGLESv2/renderer/renderer11_utils.h index 774068e..23349da 100644 --- a/src/libGLESv2/renderer/renderer11_utils.h +++ b/src/libGLESv2/renderer/renderer11_utils.h
@@ -51,6 +51,8 @@ { size_t ComputePixelSizeBits(DXGI_FORMAT format); size_t ComputeBlockSizeBits(DXGI_FORMAT format); + +HRESULT SetDebugName(ID3D11DeviceChild *resource, const char *name); } inline bool isDeviceLostError(HRESULT errorCode)