开发者

GDI & Hardware Cursor

I am working on iMX51 project. The RTOS is WINCE 6.0 r3. And I am using iMX51 freescale evaluation kit.

We are actually looking to speed up the GDI and to implement the hardware cursor.

I am unclear abt the following:-

  1. What exactly does speed up of GDI & Hardware cursor means?

  2. Also What is the difference b/w software & hardware cursors?

Note: When I reboot the hardware after building my workspace, I see the mouse cursor located at the centre of the window. Can anyone guide me what type of cursor is this? Is this a hardware cursor or software cursor...? And if th开发者_开发问答is is a hardware cursor then:----

  1. How should I eliminate the software cursor ?
  2. What should I do to implement the hardware cursor?
  3. And why should I do this?
  4. And on which module I should look to achieve the target?

Referring:

  • WC600_MX51_SDK_0912_ReferenceManual.pdf
  • MCIMX51RM.pdf

Please guide me the correct step to how to achieve my target.


The cursor is simply the mouse pointer. Having a hardware cursor means that the graphics hardware can "overlay" a small moving image (often called a "sprite") on top of the regular graphics, by itself.

Implementing a software cursor means storing the background "below" the pointer, and re-writing that when the pointer moves. It can be tricky, especially when the underlying graphics is changing.

UPDATE: From a quick glance at the reference manual, you need to read up on the display processor (DP) module. The register DP_COC_SYNC seems to be concerned with setting up the cursor mode, while DP_CUR_POS_SYNC sets its position on-screen.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜