summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-12-07 02:50:10 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-12-07 02:50:10 +0000
commit3883552af7b01aa6699a6a18ba405537dd0968dd (patch)
treea01946b2826378e2e4cb9777694bd59ae4f5785c /Graphics/GraphicsEngine
parentAdded ADAPTER_TYPE enum and AdapterType member to AdapterAttribs struct (API ... (diff)
downloadDiligentCore-3883552af7b01aa6699a6a18ba405537dd0968dd.tar.gz
DiligentCore-3883552af7b01aa6699a6a18ba405537dd0968dd.zip
Added DiligentCoreAPITest
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/DeviceContext.h6
-rw-r--r--Graphics/GraphicsEngine/interface/RenderDevice.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h
index f515ab84..eff88201 100644
--- a/Graphics/GraphicsEngine/interface/DeviceContext.h
+++ b/Graphics/GraphicsEngine/interface/DeviceContext.h
@@ -1150,9 +1150,9 @@ public:
/// Finishes the current frame and releases dynamic resources allocated by the context.
- /// For immediate context, this method is called automatically by Present(), but can
- /// also be called explicitly. For deferred context, the method must be called by the application to
- /// release dynamic resources. The method has some overhead, so it is better to call it once
+ /// For immediate context, this method is called automatically by ISwapChain::Present() of the primary
+ /// swap chain, but can also be called explicitly. For deferred contexts, the method must be called by the
+ /// application to release dynamic resources. The method has some overhead, so it is better to call it once
/// per frame, though it can be called with different frequency. Note that unless the GPU is idled,
/// the resources may actually be released several frames after the one they were used in last time.
/// \note After the call all dynamic resources become invalid and must be written again before the next use.
diff --git a/Graphics/GraphicsEngine/interface/RenderDevice.h b/Graphics/GraphicsEngine/interface/RenderDevice.h
index c17e5987..af0815dd 100644
--- a/Graphics/GraphicsEngine/interface/RenderDevice.h
+++ b/Graphics/GraphicsEngine/interface/RenderDevice.h
@@ -184,7 +184,7 @@ public:
virtual const TextureFormatInfoExt& GetTextureFormatInfoExt(TEXTURE_FORMAT TexFormat) = 0;
/// Purges device release queues and releases all stale resources.
- /// This method is automatically called by ISwapChain::Present().
+ /// This method is automatically called by ISwapChain::Present() of the primary swap chain.
/// \param [in] ForceRelease - Forces release of all objects. Use this option with
/// great care only if you are sure the resources are not
/// in use by the GPU (such as when the device has just been idled).