public class IFramebuffer extends IUnknown
Constructor and Description |
---|
IFramebuffer(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getBitsPerPixel()
Color depth, in bits per pixel.
|
java.lang.Long |
getBytesPerLine()
Scan line size, in bytes.
|
java.util.List<FramebufferCapabilities> |
getCapabilities()
Capabilities of the framebuffer instance.
|
java.lang.Long |
getHeight()
Frame buffer height, in pixels.
|
java.lang.Long |
getHeightReduction()
Hint from the frame buffer about how much of the standard
screen height it wants to use for itself.
|
IFramebufferOverlay |
getOverlay()
An alpha-blended overlay which is superposed over the frame buffer.
|
BitmapFormat |
getPixelFormat()
Frame buffer pixel format.
|
java.lang.Long |
getWidth()
Frame buffer width, in pixels.
|
void |
notify3DEvent(java.lang.Long type,
byte[] data)
Notifies framebuffer about 3D backend event.
|
void |
notifyChange(java.lang.Long screenId,
java.lang.Long xOrigin,
java.lang.Long yOrigin,
java.lang.Long width,
java.lang.Long height)
Requests a size change.
|
void |
notifyUpdate(java.lang.Long x,
java.lang.Long y,
java.lang.Long width,
java.lang.Long height)
Informs about an update.
|
void |
notifyUpdateImage(java.lang.Long x,
java.lang.Long y,
java.lang.Long width,
java.lang.Long height,
byte[] image)
Informs about an update and provides 32bpp bitmap.
|
static IFramebuffer |
queryInterface(IUnknown obj) |
java.lang.Boolean |
videoModeSupported(java.lang.Long width,
java.lang.Long height,
java.lang.Long bpp)
Returns whether the frame buffer implementation is willing to
support a given video mode.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IFramebuffer(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
public java.lang.Long getWidth()
public java.lang.Long getHeight()
public java.lang.Long getBitsPerPixel()
public java.lang.Long getBytesPerLine()
public BitmapFormat getPixelFormat()
BitmapFormat
.
NOTE: This attribute must never (and will never) returnBitmapFormat.Opaque
-- the format of the frame
buffer must be always known.public java.lang.Long getHeightReduction()
public IFramebufferOverlay getOverlay()
public java.util.List<FramebufferCapabilities> getCapabilities()
FramebufferCapabilities
.public static IFramebuffer queryInterface(IUnknown obj)
public void notifyUpdate(java.lang.Long x, java.lang.Long y, java.lang.Long width, java.lang.Long height)
x
- X position of update.y
- Y position of update.width
- Width of update.height
- Height of update.public void notifyUpdateImage(java.lang.Long x, java.lang.Long y, java.lang.Long width, java.lang.Long height, byte[] image)
x
- X position of update.y
- Y position of update.width
- Width of update.height
- Height of update.image
- Array with 32BPP image data.public void notifyChange(java.lang.Long screenId, java.lang.Long xOrigin, java.lang.Long yOrigin, java.lang.Long width, java.lang.Long height)
screenId
- Logical guest screen number.xOrigin
- Location of the screen in the guest.yOrigin
- Location of the screen in the guest.width
- Width of the guest display, in pixels.height
- Height of the guest display, in pixels.public java.lang.Boolean videoModeSupported(java.lang.Long width, java.lang.Long height, java.lang.Long bpp)
public void notify3DEvent(java.lang.Long type, byte[] data)
type
- event type. VBOX3D_NOTIFY_TYPE_* in VBoxVideo3D.hdata
- event-specific data, depends on the supplied event type