What is hardware cursor and how does it work?

前端 未结 3 982
醉话见心
醉话见心 2020-12-08 07:47

Is there anyone who can explain how hardware cursor works precisely? How does it relate to the graphics I\'m drawing on the screen? I\'m using OpenGL to draw, how does hardw

3条回答
  •  时光取名叫无心
    2020-12-08 08:06

    Hardware Cursor means, that the GPU provides to draw a (small) overlay picture over the screen framebuffer, which position can be changed by two registers (or so) on the GPU. So moving around the pointer doesn't require to redraw the portions of the framebuffer that were previously obstructed.

    Relation to OpenGL: None!

提交回复
热议问题