Changeset 36843 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- Apr 26, 2011 8:33:19 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71402
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/VBoxCrOpenGLSvc.h
r34571 r36843 42 42 #define SHCRGL_HOST_FN_CRHGSMI_CTL (11) 43 43 #endif 44 #define SHCRGL_HOST_FN_SET_OUTPUT_REDIRECT (20) 44 45 /* crOpenGL guest functions */ 45 46 #define SHCRGL_GUEST_FN_WRITE (2) … … 65 66 #define SHCRGL_CPARMS_WRITE_BUFFER (4) 66 67 #define SHCRGL_CPARMS_WRITE_READ_BUFFERED (3) 67 68 #define SHCRGL_CPARMS_SET_OUTPUT_REDIRECT (1) 69 70 71 /* @todo Move to H3DOR.h begin */ 72 73 /* Names of supported output redirect formats. */ 74 #define H3DOR_FMT_RGBA_TOPDOWN "H3DOR_FMT_RGBA_TOPDOWN" 75 76 /* Comma separated list of output formats supported by the output redirect target. */ 77 #define H3DOR_PROP_FORMATS 0 78 79 #pragma pack(1) 80 typedef struct { 81 /* The caller's context of the redirection. */ 82 const void *pvContext; 83 /* Inform caller that a new window will be redirected. */ 84 DECLR3CALLBACKMEMBER(void, H3DORBegin, (const void *pvContext, void **ppvInstance, 85 const char *pszFormat)); 86 /* The window dimension has been changed. */ 87 DECLR3CALLBACKMEMBER(void, H3DORGeometry, (void *pvInstance, 88 int32_t x, int32_t y, uint32_t w, uint32_t h)); 89 /* Update the window visible region. */ 90 DECLR3CALLBACKMEMBER(void, H3DORVisibleRegion, (void *pvInstance, 91 uint32_t cRects, RTRECT *paRects)); 92 /* A rendered 3D frame is ready. Format of pvData is "pszFormat" parameter of H3DORBegin. */ 93 DECLR3CALLBACKMEMBER(void, H3DORFrame, (void *pvInstance, 94 void *pvData, uint32_t cbData)); 95 /* The window is closed. */ 96 DECLR3CALLBACKMEMBER(void, H3DOREnd, (void *pvInstance)); 97 /* Obtain caller's parameters: the list of supported formats, etc. */ 98 DECLR3CALLBACKMEMBER(int, H3DORContextProperty, (const void *pvContext, uint32_t index, 99 void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut)); 100 } H3DOUTPUTREDIRECT; 101 #pragma pack() 102 103 /* @todo Move to H3DOR.h end */ 68 104 69 105 #ifdef VBOX_WITH_CRHGSMI
Note:
See TracChangeset
for help on using the changeset viewer.