lkml.org 
[lkml]   [2006]   [May]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 26 May 2006 10:57:17 +0600
From"Alexander E. Patrakov" <>
SubjectRe: OpenGL-based framebuffer concepts
Jon Smirl wrote:
> Most video hardware (99%) has enough memory to support double
> buffering. You save it to the other buffer, display the error, and
> copy it back on enter.

This is possible only if the video memory management is in the kernel. Reason: 
userspace may also want to use double buffering, and we definitely want to 
allocate the "other (maybe third) buffer" somewhere in the free video memory. 
And allocating a lot of system RAM on oops seems to be a very bad idea (cascade 
of oopses may follow).

Also, did anyone measure the video RAM usage during a typical Xgl session (i.e.: 
is there really enough free video RAM, not occupied by various caches)?

Although, a Microsoft-ish "lost context, please redraw" solution has been 
already proposed.

-- 
Alexander E. Patrakov
-
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: 2006-05-26 06:59    [from the cache]
©2003-2008