[vbox-dev] is 2D/3D acceleration supported in OSE?

Huihong Luo huisinro at yahoo.com
Thu Nov 19 03:12:20 GMT 2009


I found the problem,
 
in process-win.cpp
 
RTR3DECL(int) RTProcCreate(const char *pszExec, const char * const *papszArgs, RTENV Env, unsigned fFlags, PRTPROCESS pProcess)
{
 
HANDLE hProcess = (HANDLE)_spawnve(_P_NOWAITO, pszExec,  papszArgs, papszEnv);
 
}


--- On Wed, 11/18/09, Mikhail Sennikovsky <Mikhail.Sennikovsky at Sun.COM> wrote:


From: Mikhail Sennikovsky <Mikhail.Sennikovsky at Sun.COM>
Subject: Re: [vbox-dev] is 2D/3D acceleration supported in OSE?
To: "Huihong Luo" <huisinro at yahoo.com>
Cc: vbox-dev at virtualbox.org, "Alexey Eremenko" <al4321 at gmail.com>
Date: Wednesday, November 18, 2009, 11:22 AM


Thanks for the investigation. I'll debug it here on my side, although I'm sure it works here when installed under C:\Program Files\Sun\VirtualBox\, i.e. path with spaces.
Re your second question: yes, it always use OpenGL currently even on windows hosts. 
This allows making a unified cross-platform engine for 2D acceleration that works on Linix and Mac hosts as well.
Perhaps someday in the future we'll have a DirectX-based backend for windows.






yes, it's XP guest on Vista host.
 
I debugged a bit, the invocation of VBoxTestOGL.exe, (for example, in following code)
 
bool VBoxVHWAInfo::checkVHWASupport()
 
always exit with status 1 (monitored by procmon.exe) if the path contains a space. Works well after removing the space, exits 0.
 
If I just invoke VBoxTestOGL.exe from command line by hand, e..g
 
"VBoxTestOGL.exe -test 2D" it works even from a path with spaces
 
another question, since this test exe checks OpenGL, does that mean the acceleration always uses OpenGL even on windows host where DirectX is available?
 
Thanks,
 
- Huihong

--- On Wed, 11/18/09, Alexey Eremenko <al4321 at gmail.com> wrote:


From: Alexey Eremenko <al4321 at gmail.com>
Subject: Re: [vbox-dev] is 2D/3D acceleration supported in OSE?
To: vbox-dev at virtualbox.org
Date: Wednesday, November 18, 2009, 7:17 AM



On Wed, Nov 18, 2009 at 2:47 PM, Mikhail Sennikovsky <Mikhail.Sennikovsky at sun.com> wrote:


Which host platform are you running on?


 Huihong Luo usually runs Windows-on-Windows.

-- 
-Alexey Eromenko "Technologov"

-----Inline Attachment Follows-----


_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev

_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20091118/a7620790/attachment.html>


More information about the vbox-dev mailing list