VirtualBox

Ignore:
Timestamp:
Nov 14, 2011 9:58:38 AM (13 years ago)
Author:
vboxsync
Message:

CrOpenGL: avoid blocked client polling & extra memcpy (block hgsmi command until completion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r38314 r39288  
    12701270        msg->header.conn_id = msg->redirptr.pMessage->conn_id;
    12711271
     1272#if defined(VBOX_WITH_CRHGSMI) && !defined(IN_GUEST)
     1273        msg->redirptr.CmdData = conn->CmdData;
     1274        CRVBOXHGSMI_CMDDATA_ASSERT_CONSISTENT(&msg->redirptr.CmdData);
     1275        CRVBOXHGSMI_CMDDATA_CLEANUP(&conn->CmdData);
     1276#endif
     1277
    12721278        cached_type = msg->redirptr.pMessage->type;
    12731279
     
    12781284    else
    12791285    {
     1286        /* we should NEVER have redir_ptr disabled with HGSMI command now */
     1287        CRASSERT(!conn->CmdData.pCmd);
    12801288        if ( len <= conn->buffer_size )
    12811289        {
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