
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, releaseFramebufferprivate ILibc libc
public StolenDisplay(ILibc libc)
public void switchToGraphicsMode()
switchToGraphicsMode in class DisplayInterfacepublic void switchToTextMode()
switchToTextMode in class DisplayInterfacepublic void close()
public JavaFramebuffer openFramebuffer()
DisplayInterfaceGet the framebuffer for the system display.
The framebuffer is initialized only once, later calls return references to the same instance.
openFramebuffer in class DisplayInterface