A
A
Alexey Igoshev2014-01-04 12:00:44
Graphic arts
Alexey Igoshev, 2014-01-04 12:00:44

How to control the actions of the video card?

How to control the actions of the video card in c ++ or in other programming languages, let's say in c ++ to tell the video card that it should display a circle for me on the monitor. If this is not done using c ++ (c #, java, etc.), then how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Yarosh, 2014-01-04
@Premium_gold

This is done using special APIs - DirectX and OpenGL.
You can also work with the framebuffer directly by outputting images bit by bit to video memory.
True, under Windows this is implemented in the form of separate window contexts, and in Linux you can get direct access to video memory.
I write in OpenGL 4
I advise you to read
This and this
There are more recipe books once and twice
Here are examples of working with bullet
Well, here is OpenGL 2 ES for Android.
OpenGL can be accessed from any programming language since the interface is implemented as a separate library linked to system drivers, or mesa.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question