VirtualBox

Changeset 86809 in vbox for trunk


Ignore:
Timestamp:
Nov 4, 2020 9:12:25 PM (4 years ago)
Author:
vboxsync
Message:

Devices/Graphics: move a backend specific structure to the backend source file.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-internal.h

    r86576 r86809  
    11691169#endif /* VMSVGA3D_INCL_STRUCTURE_DESCRIPTORS */
    11701170
    1171 /**
    1172  * VMSVGA3d screen data.
    1173  *
    1174  * Allocated on the heap and pointed to by VMSVGASCREENOBJECT::pHwScreen.
    1175  */
    1176 typedef struct VMSVGAHWSCREEN
    1177 {
    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 #endif
    1193 } VMSVGAHWSCREEN;
    1194 
    11951171int vmsvga3dBackDefineScreen(PVGASTATE pThis, PVGASTATECC pThisCC, VMSVGASCREENOBJECT *pScreen);
    11961172int vmsvga3dBackDestroyScreen(PVGASTATECC pThisCC, VMSVGASCREENOBJECT *pScreen);
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r86576 r86809  
    34663466 * HW accelerated graphics output.
    34673467 */
     3468
     3469/**
     3470 * VMSVGA3d screen data.
     3471 *
     3472 * Allocated on the heap and pointed to by VMSVGASCREENOBJECT::pHwScreen.
     3473 */
     3474typedef 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;
    34683489
    34693490/* Send a notification to the UI. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette