Changeset 3761 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jul 22, 2007 10:43:14 AM (18 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/DisplayImpl.h
r3576 r3761 166 166 STDMETHOD(COMGETTER(Width)) (ULONG *width); 167 167 STDMETHOD(COMGETTER(Height)) (ULONG *height); 168 STDMETHOD(COMGETTER( ColorDepth)) (ULONG *colorDepth);168 STDMETHOD(COMGETTER(BitsPerPixel)) (ULONG *bitsPerPixel); 169 169 170 170 // IDisplay methods … … 175 175 STDMETHOD(SetFramebuffer)(ULONG aScreenId, IFramebuffer *aFramebuffer); 176 176 STDMETHOD(GetFramebuffer)(ULONG aScreenId, IFramebuffer **aFramebuffer, LONG *aXOrigin, LONG *aYOrigin); 177 STDMETHOD(SetVideoModeHint)(ULONG width, ULONG height, ULONG colorDepth, ULONG display);177 STDMETHOD(SetVideoModeHint)(ULONG width, ULONG height, ULONG bitsPerPixel, ULONG display); 178 178 STDMETHOD(TakeScreenShot)(BYTE *address, ULONG width, ULONG height); 179 179 STDMETHOD(DrawToScreen)(BYTE *address, ULONG x, ULONG y, ULONG width, ULONG height); … … 226 226 /* arguments of the last handleDisplayResize() call */ 227 227 void *mLastAddress; 228 uint32_t mLast LineSize;229 uint32_t mLast ColorDepth;228 uint32_t mLastBytesPerLine; 229 uint32_t mLastBitsPerPixel; 230 230 int mLastWidth; 231 231 int mLastHeight; -
trunk/src/VBox/Main/include/FramebufferImpl.h
r3578 r3761 51 51 STDMETHOD(COMGETTER(Width)) (ULONG *width); 52 52 STDMETHOD(COMGETTER(Height)) (ULONG *height); 53 STDMETHOD(COMGETTER(ColorDepth)) (ULONG *colorDepth); 54 STDMETHOD(COMGETTER(LineSize)) (ULONG *lineSize); 55 STDMETHOD(COMGETTER(PixelFormat)) (FramebufferPixelFormat_T *pixelFormat); 53 STDMETHOD(COMGETTER(BitsPerPixel)) (ULONG *bitsPerPixel); 54 STDMETHOD(COMGETTER(BytesPerLine)) (ULONG *bytesPerLine); 55 STDMETHOD(COMGETTER(PixelFormat)) (ULONG *pixelFormat); 56 STDMETHOD(COMGETTER(UsesGuestVRAM)) (BOOL *usesGuestVRAM); 56 57 STDMETHOD(COMGETTER(HeightReduction)) (ULONG *heightReduction); 57 58 STDMETHOD(COMGETTER(Overlay)) (IFramebufferOverlay **aOverlay); … … 63 64 ULONG w, ULONG h, 64 65 BOOL *finished); 65 STDMETHOD(RequestResize)(ULONG uScreenId, FramebufferPixelFormat_TpixelFormat, BYTE *vram,66 ULONG lineSize, ULONG w, ULONG h,66 STDMETHOD(RequestResize)(ULONG uScreenId, ULONG pixelFormat, BYTE *vram, 67 ULONG bpp, ULONG bpl, ULONG w, ULONG h, 67 68 BOOL *finished); 68 69 STDMETHOD(OperationSupported)(FramebufferAccelerationOperation_T operation, … … 80 81 int mWidth; 81 82 int mHeight; 82 int m Depth;83 int m LineSize;83 int mBitsPerPixel; 84 int mBytesPerLine; 84 85 uint8_t *mData; 85 86 RTSEMMUTEX mMutex;
Note:
See TracChangeset
for help on using the changeset viewer.