From fb123f93f9f5ce42c8e5785d2f8e0edaf951740e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 26 Mar 2014 19:21:20 +0000 Subject: Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2. --- include/VBox/VBoxVideo3D.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/VBox/VBoxVideo3D.h') 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 */ -- cgit v1.2.1