
public class NativeFramebuffer extends NativeDevice
| Modifier and Type | Class and Description |
|---|---|
static class |
NativeFramebuffer.fb_bitfield
fb_bitfield mapping
|
static class |
NativeFramebuffer.fb_con2fbmap |
static class |
NativeFramebuffer.fb_fix_screeninfo
fb_fix_screeninfo mapping
|
static class |
NativeFramebuffer.fb_var_screeninfo
fb_var_screeninfo mapping
|
fd| Constructor and Description |
|---|
NativeFramebuffer(java.lang.String dname)
Create a native device to provide access to the specified character device
|
NativeFramebuffer(java.lang.String dname,
ILibc libc)
Create a native device to provide access to the specified character device
|
NativeFramebuffer(java.lang.String dname,
int flags)
Create a native device to provide access to the specified character device
|
NativeFramebuffer(java.lang.String dname,
int flags,
ILibc libc)
Create a native device to provide access to the specified character device
|
| Modifier and Type | Method and Description |
|---|---|
NativeFramebuffer.fb_fix_screeninfo |
getFixedScreenInfo()
Fetch fixed screen info.
|
NativeFramebuffer.fb_var_screeninfo |
getVariableScreenInfo()
Fetch variable screen info.
|
int |
mapConsoleToFramebuffer(int console)
Identify which framebuffer is connected to a specified VT.
|
void |
setVariableScreenInfo(NativeFramebuffer.fb_var_screeninfo info)
Send variable screen info.
|
mmappublic NativeFramebuffer(java.lang.String dname)
throws LastErrorException
dname - name of the character deviceLastErrorException - when operations failspublic NativeFramebuffer(java.lang.String dname,
int flags)
throws LastErrorException
dname - name of the character deviceflags - Opening mode, e.g. read, write or both.LastErrorException - when operations failspublic NativeFramebuffer(java.lang.String dname,
ILibc libc)
throws LastErrorException
dname - name of the character devicelibc - standard C library interface to be used.LastErrorException - when operations failspublic NativeFramebuffer(java.lang.String dname,
int flags,
ILibc libc)
throws LastErrorException
dname - name of the character deviceflags - Opening mode, e.g. read, write or both.libc - standard C library interface to be used.LastErrorException - when operations failspublic NativeFramebuffer.fb_fix_screeninfo getFixedScreenInfo() throws LastErrorException
LastErrorExceptionpublic NativeFramebuffer.fb_var_screeninfo getVariableScreenInfo() throws LastErrorException
LastErrorException - when operations failspublic void setVariableScreenInfo(NativeFramebuffer.fb_var_screeninfo info) throws LastErrorException
info - Changeable info about the display.LastErrorException - when operations failspublic int mapConsoleToFramebuffer(int console)
throws LastErrorException
console - VT number.LastErrorException - when operations fails