diff options
Diffstat (limited to 'include/VBox/VBoxVideo3D.h')
-rw-r--r-- | include/VBox/VBoxVideo3D.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/VBox/VBoxVideo3D.h b/include/VBox/VBoxVideo3D.h index 91c6e306..56196dc0 100644 --- a/include/VBox/VBoxVideo3D.h +++ b/include/VBox/VBoxVideo3D.h @@ -4,7 +4,7 @@ */ /* - * Copyright (C) 2011 Oracle Corporation + * Copyright (C) 2011-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -95,6 +95,8 @@ struct VBOXTLSREFDATA_DUMMY VBoxTlsRefAssertImpl(cRefs > 1 || (_p)->enmTlsRefState == VBOXTLSREFDATA_STATE_DESTROYING); \ } while (0) +#define VBoxTlsRefCountGet(_p) (ASMAtomicReadS32(&(_p)->cTlsRefs)) + #define VBoxTlsRefRelease(_p) do { \ int cRefs = ASMAtomicDecS32(&(_p)->cTlsRefs); \ VBoxTlsRefAssertImpl(cRefs >= 0); \ @@ -133,4 +135,10 @@ struct VBOXTLSREFDATA_DUMMY } \ } while (0) + +/* host 3D->Fe[/Qt] notification mechanism defines */ +#define VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA 2 +#define VBOX3D_NOTIFY_EVENT_TYPE_TEST_FUNCTIONAL 3 + + #endif /* #ifndef ___VBox_VBoxVideo3D_h */ |