How does the combination of OpenGL rendering from under DirectX work in Windows?

As far as I know, the graphics output in Windows older than XP is done using DirectX technology. And what happens if OpenGL output is involved in this case?

Illustration:

enter a description of the image here

I can assume two options:

  1. There is an independent area for the output from the OpenGL application, which is formed due to the work of OpenGL, and the rest of the area, also independent, is drawn using DirectX.
  2. The OpenGL output area is passed to DirectX and then everything is rendered using DirectX.

Tell me, how does everything really happen?

Author: Kromster, 2016-11-10

2 answers

Here is the name and description of the layout of "windows" in Windows - Desktop Window Manager

Here is a description of how OpenGL behaves - Windows Vista and OpenGL-the Facts

 2
Author: Kromster, 2017-02-22 05:50:01

I was told that in "Windows older than XP" stupidly there is no separate OpenGL-it is simply "emulated" through DirectX. But I didn't check it. Because I can't.

 -2
Author: An a Student, 2016-11-17 22:57:04