Index: /trunk/src/VBox/Main/HostImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/HostImpl.cpp	(revision 20041)
+++ /trunk/src/VBox/Main/HostImpl.cpp	(revision 20042)
@@ -111,4 +111,7 @@
 #endif
 
+//#ifdef VBOX_WITH_CROGL
+//# include "cr_spu.h"
+//#endif /* VBOX_WITH_CROGL */
 
 #include <iprt/asm.h>
@@ -249,4 +252,18 @@
         }
     }
+
+    f3DAccelerationSupported = true;
+    /* Test for 3D hardware acceleration support */
+//    f3DAccelerationSupported = false;
+//#ifdef VBOX_WITH_CROGL
+//    SPU *spu;
+//    spu = crSPULoad(NULL, 0, "render", NULL, NULL);
+//    if (spu)
+//    {
+//        crSPUUnloadChain(spu);
+//        f3DAccelerationSupported = true;
+//    }
+//
+//#endif /* VBOX_WITH_CROGL */
 
     setReady(true);
@@ -1223,4 +1240,16 @@
     RTTIMESPEC now;
     *aUTCTime = RTTimeSpecGetMilli(RTTimeNow(&now));
+    return S_OK;
+}
+
+STDMETHODIMP Host::COMGETTER(Acceleration3DAvailable)(BOOL *aSupported)
+{
+    CheckComArgOutPointerValid(aSupported);
+
+    AutoWriteLock alock(this);
+    CHECK_READY();
+
+    *aSupported = f3DAccelerationSupported;
+
     return S_OK;
 }
Index: /trunk/src/VBox/Main/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Main/Makefile.kmk	(revision 20041)
+++ /trunk/src/VBox/Main/Makefile.kmk	(revision 20042)
@@ -400,4 +400,7 @@
 endif
 
+ifdef VBOX_WITH_CROGL
+ VBoxSVC_INCS += $(PATH_ROOT)/src/VBox/GuestHost/OpenGL/include
+endif
 
 win/VBoxSVC.rc_INCS  = $(PATH_VBoxSVC)
Index: /trunk/src/VBox/Main/idl/VirtualBox.xidl
===================================================================
--- /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 20041)
+++ /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 20042)
@@ -6968,5 +6968,5 @@
   <interface
      name="IHost" extends="$unknown"
-     uuid="539d7194-2281-403e-9fb2-0f79a784966d"
+     uuid="a13b5556-5c0b-4f80-9df6-6f804f3336a1"
      wsmap="managed"
      >
@@ -7107,4 +7107,8 @@
     <attribute name="UTCTime" type="long long" readonly="yes">
       <desc>Returns the current host time in milliseconds since 1970-01-01 UTC.</desc>
+    </attribute>
+
+    <attribute name="Acceleration3DAvailable" type="boolean" readonly="yes">
+      <desc>Returns true when the host supports 3D hardware acceleration.</desc>
     </attribute>
 
Index: /trunk/src/VBox/Main/include/HostImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/HostImpl.h	(revision 20041)
+++ /trunk/src/VBox/Main/include/HostImpl.h	(revision 20042)
@@ -93,4 +93,5 @@
     STDMETHOD(COMGETTER(OSVersion))(BSTR *version);
     STDMETHOD(COMGETTER(UTCTime))(LONG64 *aUTCTime);
+    STDMETHOD(COMGETTER(Acceleration3DAvailable))(BOOL *aSupported);
 
     // IHost methods
@@ -174,4 +175,6 @@
     /* Features that can be queried with GetProcessorFeature */
     BOOL fVTxAMDVSupported, fLongModeSupported, fPAESupported;
+    /* 3D hardware acceleration supported? */
+    BOOL f3DAccelerationSupported;
 
     HostPowerService *mHostPowerService;
