How to get the model name of a video card in OpenGL or Win32?

I would like to know the name of the graphic card model in OpenGL or in Win32 cuz. I have a memory leak error on a certain kind of graphics card (Intel HD only, not all Intel).

This is a mistake: https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel/topic/280679

The provider name in OpenGL is not enough. Does anyone know a way to get a name for a graphics card other than using Direct3D? Or do you think that I can use D3D and OpenGL together? Get a video card model?

+4
source share
1 answer

OpenGL Api.

https://www.khronos.org/opengl/wiki/Get_Context_Info

const GLubyte* vendor = glGetString​(GL_VENDOR); // Returns the vendor
const GLubyte* renderer = glGetString​(GL_RENDERER); // Returns a hint to the model

: "GeForce GT 750M/PCIe/SSE2"

, Intel Amd. , .

+4

Source: https://habr.com/ru/post/1669807/


All Articles