Wednesday, August 23rd 2017, 10:03am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Bhargava M N N

Unregistered

1

Tuesday, October 14th 2008, 12:57pm

2d graphics

Hello,
I want to use hardware accelerated openVG APIs to display 2d graphics. Is there anyway i can do this inside emWIN? or is there anyway i can
emWIN along side openVG (only for displaying 2d graphics).
rgds
Bhargava

Daniel K.

Beginner

Date of registration: Dec 7th 2007

Posts: 13

2

Friday, October 17th 2008, 12:53pm

Hello Bhargava,

I am not so familiar with openVG, but I guess first of all you need a special device driver for your hardware accelerator which supports the openVG standard. I think emWin must then supports also the openVG standard?

Could you please explain in more detail how do you think the hardware and software parts should work together?

Regards,
Daniel

Bhargava

Beginner

Date of registration: Oct 21st 2008

Posts: 1

3

Tuesday, October 21st 2008, 10:51am

2d graphics

Hi Daniel

Thanks for the reponse. Let me explain a bit more. We have 2d graphics library which uses hardware capabilites of the device (uses Hardware visual
renderer).The APIs exposed by this 2d graphics library is OpenVG compliant. We are using emWIN for quite sometime. emWIN has its own 2d graphics
library ( pls correct me if i am wrong). I wanted to know whether i can configure emWIN to use the 2d graphics library written by us instead of what it has since the 2d graphics library uses hardware capabilities of the device and its fast. In this way, we can make use of emWIN widget sets as well as our new
2d graphics libarary. Let me know if you need more information

rgds
Bhargava

Daniel K.

Beginner

Date of registration: Dec 7th 2007

Posts: 13

4

Wednesday, October 22nd 2008, 2:28pm

Hello Bhargava,


yes, I think this is possible with emWin. emWin consists of two parts the API layer und the lcd driver (which is normaly one C file).

If you call in the lcd driver routines your openVG API routines, this should work.
What kind of API functions offers your openVG API? The emWin lcd driver has very basic routines for writing a pixel, a line or a rectangle.

Regards,
Daniel

Similar threads