I've made an application (based on the stuff in tests, using libdrm) 
that attempts to draw rectangles on-screen. The thing is, I'm not seeing 
my rectangles. I suppose it will be too much to post the entire code 
here, so I'll just list the order in which I do things.

I create a framebuffer(fb) object using,
drmBOCreate()

Then, I add that fb to my current crtc by using,
drmModeAddFB()

Now I get back the registered fb by using,
drmModeGetFB()

Afterwards, I use
drmBOReference()

to get back my BufferObject associated with my programs handle. Then I call,
drmBOMap()

to get the pointer(array) associated with the framebuffer on screen. As 
a simple test, I filled the array with a single value such as 0xFFFFFFFF 
or 0x00000000. The idea being, to see the screen being filled with a 
single color.

After a small delay I call
drmBOUnmap()

But, the screen is not getting filled with a single color. I'm not 
running X, so the screen just stays the same showing me the regular bash 
terminal. On a related note, the DRM module I'm using has been 
'customized' for some hardware constraints.

Any ideas where the source of my problem could be?

Puzzled,
Abru


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to