Problem with UploadToScreen

Michel Dänzer michel at tungstengraphics.com
Sat Feb 23 07:12:26 PST 2008


On Thu, 2008-02-21 at 16:30 +0530, manisha salve wrote:
> 
> I am writing a Kdrive DDX driver . I have implemented Solid and
> CopyArea acceleration functions.I  am facing  problem in
> UploadToScreen function.
> In UploadToScreen function , we can copy pixmap from system memory to
> Offscreen memory.I am using the normal CopyArea feature of graphics
> contoller for both Copy and UploadToScreen functions , as my graphics
> controller can access whole system memory. Copy from offscreen (or
> framebuffer ) memory to offscreen(or framebuffer) memory  works
> properly . But Copy from system memory to offscreen memory gives wrong
> data (corrupted image).

I assume the device can't deal with the virtual memory the driver gets
directly; (how) do you deal with this?


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list