How does Virtualbox get 3D acceleration?

This is for discussing general topics about how to use VirtualBox.
Post Reply
kdaek
Posts: 16
Joined: 14. Apr 2021, 08:10

How does Virtualbox get 3D acceleration?

Post by kdaek »

How does Virtualbox get 3D acceleration?

It is thought that the 3D graphics code given by the guest is converted into OpenGL and injected into the graphics driver of the host OS,

It is said that OpenGL is used in the contents here as well.

Whether the guest is using Direct3D or OpenGL, when I put the 3D graphics code on the vGPU, is it converted to OpenGL and injected into the graphics driver of the host OS?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How does Virtualbox get 3D acceleration?

Post by mpack »

Like all VM hardware the graphics chipset is simulated using code on the host. In this case the host code is doing OpenGL calls to render graphics on the host. Normally the graphics vendor has supplied hardware accelerated OpenGL drivers, so the VM benefits indirectly. Of course the simulation will depend on the quality of the host OpenGL implementation.
Post Reply