Changeset 51670 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 19, 2014 3:12:30 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94439
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r51634 r51670 577 577 } 578 578 579 STDMETHODIMP VBoxSDLFB::Notify3DEvent(ULONG uType, BYTE *pReserved)579 STDMETHODIMP VBoxSDLFB::Notify3DEvent(ULONG uType, ComSafeArrayIn(BYTE, aData)) 580 580 { 581 581 return E_NOTIMPL; -
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h
r51634 r51670 96 96 STDMETHOD(ProcessVHWACommand)(BYTE *pCommand); 97 97 98 STDMETHOD(Notify3DEvent)(ULONG uType, BYTE *pReserved);98 STDMETHOD(Notify3DEvent)(ULONG uType, ComSafeArrayIn(BYTE, aData)); 99 99 100 100 // internal public methods -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r51657 r51670 409 409 } 410 410 411 STDMETHODIMP UIFrameBuffer::Notify3DEvent(ULONG uType, BYTE *pData)411 STDMETHODIMP UIFrameBuffer::Notify3DEvent(ULONG uType, ComSafeArrayIn(BYTE, aData)) 412 412 { 413 413 /* Lock access to frame-buffer: */ … … 426 426 } 427 427 428 com::SafeArray<BYTE> data(ComSafeArrayInArg(aData)); 428 429 switch (uType) 429 430 { … … 432 433 /* Notify machine-view with the async-signal 433 434 * about 3D overlay visibility change: */ 434 BOOL fVisible = !!pData;435 BOOL fVisible = data[0]; 435 436 LogRel2(("UIFrameBuffer::Notify3DEvent: Sending to async-handler: " 436 437 "(VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA = %s)\n", -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h
r51627 r51670 152 152 /** EMT callback: Notifies frame-buffer about 3D backend event. 153 153 * @param uType Event type. Currently only VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA is supported. 154 * @param pData Event-specific data, depends on the supplied event type.155 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 156 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 157 STDMETHOD(Notify3DEvent)(ULONG uType, BYTE *pData);154 * @param aData Event-specific data, depends on the supplied event type. 155 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 156 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 157 STDMETHOD(Notify3DEvent)(ULONG uType, ComSafeArrayIn(BYTE, aData)); 158 158 159 159 /** Returns frame-buffer data address. */
Note:
See TracChangeset
for help on using the changeset viewer.