VirtualBox

Ignore:
Timestamp:
Jun 25, 2013 4:09:37 PM (12 years ago)
Author:
vboxsync
Message:

wddm/crOpenGL: more TexPresent impl

Location:
trunk/src/VBox/HostServices/SharedOpenGL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

    r46656 r46783  
    891891
    892892                svcFreeBuffer(pSvcBuffer);
     893            }
     894
     895            break;
     896        }
     897
     898        case SHCRGL_GUEST_FN_GET_CAPS:
     899        {
     900            Log(("svcCall: SHCRGL_GUEST_FN_GET_CAPS\n"));
     901
     902            /* Verify parameter count and types. */
     903            if (cParms != SHCRGL_CPARMS_GET_CAPS)
     904            {
     905                rc = VERR_INVALID_PARAMETER;
     906            }
     907            else
     908            if (paParms[0].type != VBOX_HGCM_SVC_PARM_32BIT)
     909            {
     910                rc = VERR_INVALID_PARAMETER;
     911            }
     912            else
     913            {
     914                /* Execute the function. */
     915                rc = crVBoxServerClientGetCaps(u32ClientID, &paParms[0].u.uint32);
     916                AssertRC(rc);
    893917            }
    894918
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r46388 r46783  
    707707
    708708    return crVBoxServerInternalClientRead(pClient, pBuffer, pcbBuffer);
     709}
     710
     711extern DECLEXPORT(int32_t) crVBoxServerClientGetCaps(uint32_t u32ClientID, uint32_t *pu32Caps)
     712{
     713    *pu32Caps = cr_server.u32Caps;
     714    return VINF_SUCCESS;
    709715}
    710716
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c

    r46515 r46783  
    272272        cr_server.currentEye = value ? 1 : 0;
    273273        break;
    274     case GL_HOST_WND_CREATED_HIDDEN:
     274    case GL_HOST_WND_CREATED_HIDDEN_CR:
    275275        cr_server.bWindowsInitiallyHidden = value ? 1 : 0;
    276276        break;
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