- Timestamp:
- Nov 4, 2020 9:12:25 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
-
DevVGA-SVGA3d-internal.h (modified) (1 diff)
-
DevVGA-SVGA3d-ogl.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-internal.h
r86576 r86809 1169 1169 #endif /* VMSVGA3D_INCL_STRUCTURE_DESCRIPTORS */ 1170 1170 1171 /**1172 * VMSVGA3d screen data.1173 *1174 * Allocated on the heap and pointed to by VMSVGASCREENOBJECT::pHwScreen.1175 */1176 typedef struct VMSVGAHWSCREEN1177 {1178 uint32_t u32Reserved0;1179 #if defined(RT_OS_LINUX)1180 /* OpenGL context, which is used for the screen updates. */1181 GLXContext glxctx;1182 1183 /* The overlay window. */1184 Window xwindow;1185 1186 /* The RGBA texture which hold the screen content. */1187 GLuint idScreenTexture;1188 1189 /* Read and draw framebuffer objects for copying a surface to the screen texture. */1190 GLuint idReadFramebuffer;1191 GLuint idDrawFramebuffer;1192 #endif1193 } VMSVGAHWSCREEN;1194 1195 1171 int vmsvga3dBackDefineScreen(PVGASTATE pThis, PVGASTATECC pThisCC, VMSVGASCREENOBJECT *pScreen); 1196 1172 int vmsvga3dBackDestroyScreen(PVGASTATECC pThisCC, VMSVGASCREENOBJECT *pScreen); -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r86576 r86809 3466 3466 * HW accelerated graphics output. 3467 3467 */ 3468 3469 /** 3470 * VMSVGA3d screen data. 3471 * 3472 * Allocated on the heap and pointed to by VMSVGASCREENOBJECT::pHwScreen. 3473 */ 3474 typedef struct VMSVGAHWSCREEN 3475 { 3476 /* OpenGL context, which is used for the screen updates. */ 3477 GLXContext glxctx; 3478 3479 /* The overlay window. */ 3480 Window xwindow; 3481 3482 /* The RGBA texture which hold the screen content. */ 3483 GLuint idScreenTexture; 3484 3485 /* Read and draw framebuffer objects for copying a surface to the screen texture. */ 3486 GLuint idReadFramebuffer; 3487 GLuint idDrawFramebuffer; 3488 } VMSVGAHWSCREEN; 3468 3489 3469 3490 /* Send a notification to the UI. */
Note:
See TracChangeset
for help on using the changeset viewer.

