class StolenDisplay extends DisplayInterface
Modifier and Type | Field and Description |
---|---|
private ILibc |
libc |
fbInstance
Constructor and Description |
---|
StolenDisplay(ILibc libc)
noop
|
Modifier and Type | Method and Description |
---|---|
void |
close()
noop, we do not have any resources
|
JavaFramebuffer |
openFramebuffer()
Get the framebuffer for the system display.
|
void |
switchToGraphicsMode()
noop, graphics goes to the display
|
void |
switchToTextMode()
noop, text goes to SSH host
|
closeFramebuffer, initializeFramebuffer, releaseFramebuffer
private ILibc libc
public StolenDisplay(ILibc libc)
public void switchToGraphicsMode()
switchToGraphicsMode
in class DisplayInterface
public void switchToTextMode()
switchToTextMode
in class DisplayInterface
public void close()
public JavaFramebuffer openFramebuffer()
DisplayInterface
Get the framebuffer for the system display.
The framebuffer is initialized only once, later calls return references to the same instance.
openFramebuffer
in class DisplayInterface