O
O
Optimus2015-10-27 12:20:40
Programming
Optimus, 2015-10-27 12:20:40

How does WebGL use the graphics card?

WebGL programming library for JavaScript programming language

Roughly speaking, the browser directly communicates with the hardware and not JS, this is understandable.
Those. the logic of work is such that as soon as the browser sees WebGL-related tags on the page, it determines that their processing should be transferred to the video card and not to the CPU. Here the question arises as he gets access to the video card?
And there is no alternative processing by a video card (you never know if I have an integrated video, but the processor is powerful and not involved).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Martyanov, 2015-10-27
@vilgeforce

The driver still works with the card. To work with video, there are APIs like OpenGL, OpenCL, etc. The browser pulls their functions, they transfer data to the driver, which is in the video.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question