diff options
author | Axel Davy <axel.davy@ens.fr> | 2016-11-18 23:07:08 +0100 |
---|---|---|
committer | Axel Davy <axel.davy@ens.fr> | 2016-12-20 23:44:21 +0100 |
commit | f78cbbdfaaf2e83708da93fe62b1b73c27cd3ef5 (patch) | |
tree | eea212d36a318df3d9048535afc7f8aaec04eb36 /include | |
parent | 0eef5491d306cdf3094763f7923a59f2d2288a57 (diff) | |
download | mesa-f78cbbdfaaf2e83708da93fe62b1b73c27cd3ef5.tar.gz mesa-f78cbbdfaaf2e83708da93fe62b1b73c27cd3ef5.tar.bz2 mesa-f78cbbdfaaf2e83708da93fe62b1b73c27cd3ef5.zip |
d3dadapter/present: Add precision for WaitBufferReleased
Add precision on the behaviour of WaitBufferReleased.
All implementers and users of the API were expecting
that behaviour.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/d3dadapter/present.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/d3dadapter/present.h b/include/d3dadapter/present.h index 29d7a1aa1da..95e8d679e35 100644 --- a/include/d3dadapter/present.h +++ b/include/d3dadapter/present.h @@ -70,7 +70,10 @@ typedef struct ID3DPresentVtbl HRESULT (WINAPI *DestroyD3DWindowBuffer)(ID3DPresent *This, D3DWindowBuffer *buffer); /* After presenting a buffer to the window system, the buffer * may be used as is (no copy of the content) by the window system. - * You must not use a non-released buffer, else the user may see undefined content. */ + * You must not use a non-released buffer, else the user may see undefined content. + * Note: This function waits as well that the buffer content was displayed (this + * can be after the release of the buffer if the window system decided to make + * an internal copy and release early. */ HRESULT (WINAPI *WaitBufferReleased)(ID3DPresent *This, D3DWindowBuffer *buffer); HRESULT (WINAPI *FrontBufferCopy)(ID3DPresent *This, D3DWindowBuffer *buffer); /* It is possible to do partial copy, but impossible to do resizing, which must |