Changeset 80872 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Sep 17, 2019 8:54:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmifs.h
r78995 r80872 737 737 typedef const struct VBVAINFOVIEW *PCVBVAINFOVIEW; 738 738 typedef struct VBVAHOSTFLAGS *PVBVAHOSTFLAGS; 739 struct VBOXVDMACMD_CHROMIUM_CMD; /* <- chromium [hgsmi] command */740 struct VBOXVDMACMD_CHROMIUM_CTL; /* <- chromium [hgsmi] command */741 742 739 743 740 /** Pointer to a display connector interface. */ 744 741 typedef struct PDMIDISPLAYCONNECTOR *PPDMIDISPLAYCONNECTOR; 745 struct VBOXCRCMDCTL;746 typedef DECLCALLBACK(void) FNCRCTLCOMPLETION(struct VBOXCRCMDCTL *pCmd, uint32_t cbCmd, int rc, void *pvCompletion);747 typedef FNCRCTLCOMPLETION *PFNCRCTLCOMPLETION;748 742 749 743 /** … … 866 860 867 861 /** 868 * Process the guest chromium command.869 *870 * @param pInterface Pointer to this interface.871 * @param pCmd Video HW Acceleration Command to be processed.872 * @thread EMT873 */874 DECLR3CALLBACKMEMBER(void, pfnCrHgsmiCommandProcess,(PPDMIDISPLAYCONNECTOR pInterface,875 struct VBOXVDMACMD_CHROMIUM_CMD RT_UNTRUSTED_VOLATILE_GUEST *pCmd,876 uint32_t cbCmd));877 878 /**879 * Process the guest chromium control command.880 *881 * @param pInterface Pointer to this interface.882 * @param pCmd Video HW Acceleration Command to be processed.883 * @thread EMT884 */885 DECLR3CALLBACKMEMBER(void, pfnCrHgsmiControlProcess,(PPDMIDISPLAYCONNECTOR pInterface,886 struct VBOXVDMACMD_CHROMIUM_CTL RT_UNTRUSTED_VOLATILE_GUEST *pCtl,887 uint32_t cbCtl));888 889 /**890 * Process the guest chromium control command.891 *892 * @param pInterface Pointer to this interface.893 * @param pCmd Video HW Acceleration Command to be processed.894 * @param cbCmd Undocumented!895 * @param pfnCompletion Undocumented!896 * @param pvCompletion Undocumented!897 * @thread EMT898 */899 DECLR3CALLBACKMEMBER(int, pfnCrHgcmCtlSubmit,(PPDMIDISPLAYCONNECTOR pInterface, struct VBOXCRCMDCTL *pCmd, uint32_t cbCmd,900 PFNCRCTLCOMPLETION pfnCompletion, void *pvCompletion));901 902 /**903 862 * The specified screen enters VBVA mode. 904 863 * … … 906 865 * @param uScreenId The screen updates are for. 907 866 * @param pHostFlags Undocumented! 908 * @param fRenderThreadMode if true - the graphics device has a separate thread that does all rendering. 909 * This means that: 910 * 1. most pfnVBVAXxx callbacks (see the individual documentation for each one) 911 * will be called in the context of the render thread rather than the emulation thread 912 * 2. PDMIDISPLAYCONNECTOR implementor (i.e. DisplayImpl) must NOT notify crogl backend 913 * about vbva-originated events (e.g. resize), because crogl is working in CrCmd mode, 914 * in the context of the render thread as part of the Graphics device, and gets notified about those events directly 915 * @thread if fRenderThreadMode is TRUE - the render thread, otherwise - the emulation thread. 867 * @thread The emulation thread. 916 868 */ 917 869 DECLR3CALLBACKMEMBER(int, pfnVBVAEnable,(PPDMIDISPLAYCONNECTOR pInterface, unsigned uScreenId, 918 struct VBVAHOSTFLAGS RT_UNTRUSTED_VOLATILE_GUEST *pHostFlags , bool fRenderThreadMode));870 struct VBVAHOSTFLAGS RT_UNTRUSTED_VOLATILE_GUEST *pHostFlags)); 919 871 920 872 /** … … 1061 1013 } PDMIDISPLAYCONNECTOR; 1062 1014 /** PDMIDISPLAYCONNECTOR interface ID. */ 1063 #define PDMIDISPLAYCONNECTOR_IID " f2a4c9fc-2613-11e9-bc48-bf934e641fc0"1015 #define PDMIDISPLAYCONNECTOR_IID "b71dc381-99cc-43de-b459-f1e812e73b65" 1064 1016 1065 1017 … … 2207 2159 DECLR3CALLBACKMEMBER(int, pfnVHWACommandCompleteAsync,(PPDMIDISPLAYVBVACALLBACKS pInterface, 2208 2160 VBOXVHWACMD RT_UNTRUSTED_VOLATILE_GUEST *pCmd)); 2209 2210 DECLR3CALLBACKMEMBER(int, pfnCrHgsmiCommandCompleteAsync,(PPDMIDISPLAYVBVACALLBACKS pInterface,2211 struct VBOXVDMACMD_CHROMIUM_CMD *pCmd, int rc));2212 2213 DECLR3CALLBACKMEMBER(int, pfnCrHgsmiControlCompleteAsync,(PPDMIDISPLAYVBVACALLBACKS pInterface,2214 struct VBOXVDMACMD_CHROMIUM_CTL *pCmd, int rc));2215 2216 DECLR3CALLBACKMEMBER(int, pfnCrCtlSubmit,(PPDMIDISPLAYVBVACALLBACKS pInterface, struct VBOXCRCMDCTL *pCmd, uint32_t cbCmd,2217 PFNCRCTLCOMPLETION pfnCompletion, void *pvCompletion));2218 2219 DECLR3CALLBACKMEMBER(int, pfnCrCtlSubmitSync,(PPDMIDISPLAYVBVACALLBACKS pInterface,2220 struct VBOXCRCMDCTL *pCmd, uint32_t cbCmd));2221 2161 } PDMIDISPLAYVBVACALLBACKS; 2222 2162 /** PDMIDISPLAYVBVACALLBACKS */ 2223 #define PDMIDISPLAYVBVACALLBACKS_IID " ddac0bd0-332d-4671-8853-732921a80216"2163 #define PDMIDISPLAYVBVACALLBACKS_IID "37f34c9c-0491-47dc-a0b3-81697c44a416" 2224 2164 2225 2165 /** Pointer to a PCI raw connector interface. */
Note:
See TracChangeset
for help on using the changeset viewer.