[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vbox-dev
Subject:    Re: [vbox-dev] 3D acceleration in Windows Guest
From:       DONG HE <hedonghust () gmail ! com>
Date:       2014-04-25 13:10:24
Message-ID: CAJ2JWVfR_m0pFnY=-N7yHyAJg+cggV0_z2t-=LKqaiV6O8n6mA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Jaeyong,

Let me throw a sprat to catch a mackerel. I might answer a little bit of
your questions.

You are right to realize that host OpenGL driver is leveraged to boost the
performance of graphic computing on the guest OS. The Stanford distributed
OpenGL library Chromium is used to achieve this. vboxgl.dll is a Window
OpenGL ICD driver that works with guest OS run-time OpenGL32.dll then pack
up OpenGL states into Chromium packets, through tunnels between guest and
host the packets are sent to host to perform the actual 3D rendering.
For Windows host D3D states are translated into OpengGL states with the
help of WINE D3D, a sub project of WINE.

Regards,
DONG HE

>Date: Fri, 25 Apr 2014 02:16:49 +0000 (GMT)
>From: Jaeyong Yoo <jaeyong.yoo@samsung.com>
>Subject: [vbox-dev] 3D acceleration in Windows Guest
>To: "vbox-dev@virtualbox.org" <vbox-dev@virtualbox.org>
>Message-ID: <28704458.56701398392208980.JavaMail.weblogic@epml03>
>Content-Type: text/plain; charset=euc-kr
>
>Hello VirtualBox!
>
>I'm amused by the support 3D acceleration in Windows guest.
>I can run quake 3 without feeling no lag and suddently I've got several
questions.
>
>1) When running quake 3, I observe which opengl DLLs this quake3 is using
>and it turns out it uses both opengl32.dll (which is native DLL from
windows) and vboxgl.dll (which looks like built by using Chromium).
>What I'm wondering is the relationship between opengl32.dll and
vboxgl.dll. Since vboxgl.dll has full GL APIs (such as glBegin, ...),
>quake 3 has to replace the opengl32.dll to vboxgl.dll. But it looks like
quake 3 uses both of them.
>How does this happen?
>
>2) I saw that windows display driver uses Wine APIs to manipulate the
graphics functions. Since WineD3D is transforming the direct3d call to
>opengl, does it use vboxgl.dll function? Or is there some other magic?
>
>
>I'm really impressed by your work :-)
>Thanks,
>Jaeyong

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi Jaeyong,</div><div><br></div><div>Let me throw a sprat to \
catch a mackerel. I might answer a little bit of your \
questions.</div><div><br></div><div>You are right to realize that host OpenGL driver \
is leveraged to boost the performance of graphic computing on the guest OS. The \
Stanford distributed OpenGL library Chromium is used to achieve this. vboxgl.dll is a \
Window OpenGL ICD driver that works with guest OS run-time OpenGL32.dll then pack up \
OpenGL states into Chromium packets, through tunnels between guest and host the \
packets are sent to host to perform the actual 3D rendering.  </div> <div>For Windows \
host D3D states are translated into OpengGL states with the help of WINE D3D, a sub \
project of WINE.  </div><div><br></div><div>Regards,</div><div>DONG HE      \
<br></div><div><br></div><div>&gt;Date: Fri, 25 Apr 2014 02:16:49 +0000 (GMT)</div> \
<div>&gt;From: Jaeyong Yoo &lt;<a \
href="mailto:jaeyong.yoo@samsung.com">jaeyong.yoo@samsung.com</a>&gt;</div><div>&gt;Subject: \
[vbox-dev] 3D acceleration in Windows Guest</div><div>&gt;To: &quot;<a \
href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>&quot; &lt;<a \
href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>&gt;</div> \
<div>&gt;Message-ID: \
&lt;28704458.56701398392208980.JavaMail.weblogic@epml03&gt;</div><div>&gt;Content-Type: \
text/plain; charset=euc-kr</div><div>&gt;</div><div>&gt;Hello \
VirtualBox!</div><div>&gt;</div><div>&gt;I&#39;m amused by the support 3D \
acceleration in Windows guest.</div> <div>&gt;I can run quake 3 without feeling no \
lag and suddently I&#39;ve got several questions.</div><div>&gt;</div><div>&gt;1) \
When running quake 3, I observe which opengl DLLs this quake3 is \
using</div><div>&gt;and it turns out it uses both opengl32.dll (which is native DLL \
from windows) and vboxgl.dll (which looks like built by using Chromium).</div> \
<div>&gt;What I&#39;m wondering is the relationship between opengl32.dll and \
vboxgl.dll. Since vboxgl.dll has full GL APIs (such as glBegin, \
...),</div><div>&gt;quake 3 has to replace the opengl32.dll to vboxgl.dll. But it \
looks like quake 3 uses both of them.</div> <div>&gt;How does this \
happen?</div><div>&gt;</div><div>&gt;2) I saw that windows display driver uses Wine \
APIs to manipulate the graphics functions. Since WineD3D is transforming the direct3d \
call to</div><div>&gt;opengl, does it use vboxgl.dll function? Or is there some other \
magic?</div> <div>&gt;</div><div>&gt;</div><div>&gt;I&#39;m really impressed by your \
work :-)</div><div>&gt;Thanks,</div><div>&gt;Jaeyong</div></div>



_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic