As far as I know, graphics output in Windows is older than XP, occurs with the help of DirectX technology. And what happens if OpenGL output is involved in this?

Illustration:

enter image description here

I can suggest two options:

  1. There is a separate area for output from OpenGL applications, which is formed by the work of OpenGL, and the rest area, also independent, is drawn using DirectX.
  2. The OpenGL output area is transferred to DirectX and then everything is drawn using DirectX.

Tell me how it all happens in reality?

  • Disassemble the opengl library — if it includes direct libraries, then the bridge will be visible. - nick_n_a
  • @nick_n_a how can opengl be disassembled if it is not a library - the entire opengl API comes with video card drivers - ampawd
  • one
    @ampawd, drivers are the same dll files and they belong to binary files. Well, it follows from this that they can be disassembled. it's just not a ready answer. The question urged to give a ready answer to a knowledgeable person ... - perfect
  • @Kromster corrected - perfect
  • I think it all depends on the manufacturer of the video card driver. Implementation may be different for different manufacturers. In any case, because they use the same video card, then at the level of a DirectX or OpenGL video card it may no longer matter. - Unick

2 answers 2

This is how the windows layout is called and described in Windows - Desktop Window Manager

Here it describes how OpenGL behaves - Windows Vista and OpenGL-the Facts

  • that is, it turns out that directx and opengl have the same priority. and their processing takes over the desktop manager and sends what he did to the video driver. - perfect
  • It sounds logical. Try searching for more recent sources by keywords from articles, but I think that everything is about the same (and with Metal and Vulkan as well). - Kromster

I was told that in "Windows older than XP" stupidly there is no separate OpenGL - it is simply "emulated" via DirectX. But did not check. For I do not know how.

  • one
    Nonsense to you, I'm sorry, told. - Kromster