- Timestamp:
- Jul 23, 2007 5:28:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r3795 r3796 6296 6296 indirect mode. However, using the guest VRAM buffer directly is not 6297 6297 always possible: the format and the color depth of this buffer may be 6298 not supported by the target surface, or it may be unknown (opaque) as in6298 not supported by the target window, or it may be unknown (opaque) as in 6299 6299 case of text or non-linear multi-plane VGA video modes. In this case, 6300 6300 the indirect mode (that is always available) should be used as a … … 6305 6305 The @a pixelFormat parameter defines whether the direct mode is 6306 6306 available or not. If @a pixelFormat is <link 6307 to="PixelFormat::PixelFormatOpaque"/> (which usually indicates either a 6308 text or a non-linear graphics mode of the virtual display), then direct 6309 access to the virtual card's video memory buffer is not available, the 6310 @a VRAM, @a bitsPerPixel and @a bytesPerLine parameters must be ingored 6311 and the implementation must use the indirect mode when it will provide 6312 its own values for the pixel format, color depth and scan line size. In 6313 all other cases, @a pixelFormat together with @a bitsPerPixel and @a 6314 bytesPerLine define the format of the video memory buffer pointed to by 6315 the @a VRAM parameter and the implementation is free to choose which 6316 mode to use. To indicate that this framebuffer uses the direct mode, the 6317 implementation of the <link to="#usesGuestVRAM"/> attribute must 6318 return <tt>true</tt> and <link to="#address"/> must return exactly the 6319 same address that is passed in the @a VRAM parameter of this method; 6320 otherwise it is assumed that the indirect strategy is chosen. 6307 to="PixelFormat::PixelFormatOpaque"/> then direct access to the guest 6308 VRAM buffer is not available -- the @a VRAM, @a bitsPerPixel and @a 6309 bytesPerLine parameters must be ingored and the implementation must use 6310 the indirect mode (where it provides its own buffer in one of the 6311 supported formats). In all other cases, @a pixelFormat together with @a 6312 bitsPerPixel and @a bytesPerLine define the format of the video memory 6313 buffer pointed to by the @a VRAM parameter and the implementation is 6314 free to choose which mode to use. To indicate that this framebuffer uses 6315 the direct mode, the implementation of the <link to="#usesGuestVRAM"/> 6316 attribute must return <tt>true</tt> and <link to="#address"/> must 6317 return exactly the same address that is passed in the @a VRAM parameter 6318 of this method; otherwise it is assumed that the indirect strategy is 6319 chosen. 6321 6320 6322 6321 The @a width and @a height parameters represent the size of the
Note:
See TracChangeset
for help on using the changeset viewer.