儲存庫 vbox 的更動 12577
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/HostServices/VBoxCrOpenGLSvc.h
r12473 r12577 37 37 38 38 /* crOpenGL host functions */ 39 #define VBOX_SHARED_CROPENGL_HOST_FN_SET_FRAMEBUFFER (1) 39 #define SHCRGL_HOST_FN_SET_FRAMEBUFFER (1) 40 /* crOpenGL guest functions */ 41 #define SHCRGL_GUEST_FN_WRITE (2) 42 #define SHCRGL_GUEST_FN_READ (3) 40 43 41 44 /* Parameters count */ 42 #define SHCRGL_CPARMS_SET_SET_FRAMEBUFFER (1) 45 #define SHCRGL_CPARMS_SET_FRAMEBUFFER (1) 46 #define SHCRGL_CPARMS_WRITE (1) 47 #define SHCRGL_CPARMS_READ (2) 48 49 /** 50 * SHCRGL_GUEST_FN_WRITE 51 */ 52 53 /** GUEST_FN_READ Parameters structure. */ 54 typedef struct 55 { 56 VBoxGuestHGCMCallInfo hdr; 57 58 /** pointer, in 59 * Data buffer 60 */ 61 HGCMFunctionParameter pBuffer; 62 } CRVBOXHGCMWRITE; 63 64 /** GUEST_FN_WRITE Parameters structure. */ 65 typedef struct 66 { 67 VBoxGuestHGCMCallInfo hdr; 68 69 /** pointer, in/out 70 * Data buffer 71 */ 72 HGCMFunctionParameter pBuffer; 73 74 /** 32bit, out 75 * Count of bytes written to buffer 76 */ 77 HGCMFunctionParameter cbBuffer; 78 79 } CRVBOXHGCMREAD; 43 80 44 81 #endif -
trunk/src/VBox/Main/VMMDevInterface.cpp
r12449 r12577 831 831 832 832 //parm.u.pointer.addr = static_cast <IConsole *> (pData->pVMMDev->getParent()); 833 833 parm.u.pointer.addr = pData->pVMMDev->getParent()->getDisplay()->getFramebuffer(); 834 834 parm.u.pointer.size = sizeof(IFramebuffer *); 835 836 rc = HGCMHostCall("VBoxSharedCrOpenGL", VBOX_SHARED_CROPENGL_HOST_FN_SET_FRAMEBUFFER, 1, &parm);835 836 rc = HGCMHostCall("VBoxSharedCrOpenGL", SHCRGL_HOST_FN_SET_FRAMEBUFFER, 1, &parm); 837 837 if (!VBOX_SUCCESS(rc)) 838 AssertMsgFailed((" VBOX_SHARED_CROPENGL_HOST_FN_SET_FRAMEBUFFER failed with %Vrc\n", rc));838 AssertMsgFailed(("SHCRGL_HOST_FN_SET_FRAMEBUFFER failed with %Vrc\n", rc)); 839 839 } 840 840 else
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器