lkml.org 
[lkml]   [2001]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LANANA: To Pending Device Number Registrants

> mmap is fine for a fb, but please don't remove read/write.
> I can now do a screendump with "cat /dev/fb/0 > file",
> because everything is a file.
> Having
> /dev/fb/0/brightness
> /dev/fb/0/opengl
> and so on seems to be a better approach.

One I like to name of the file system to be something else. This way apps
can move over to it. You will still be able to do the above. I plan to
have for each framebuffer

/dev/gfx/frameX.

So say your card can do double buffer you could do

cat /dev/gfx/frame0 > file1
cat /dev/gfx/frame1 > file2

So you could access the double buffer as well :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.059 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site