VirtualBox

Ignore:
Timestamp:
Oct 26, 2017 5:24:52 PM (7 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL: scm updates

Location:
trunk/src/VBox/GuestHost/OpenGL/util
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp

    r63369 r69392  
    1717
    1818
    19 /*******************************************************************************
    20 *   Header Files                                                               *
    21 *******************************************************************************/
     19/*********************************************************************************************************************************
     20*   Header Files                                                                                                                 *
     21*********************************************************************************************************************************/
    2222#ifdef IN_VMSVGA3D
    2323# include <OpenGL/OpenGL.h>
     
    833833        crWarning("GL_ARB_pixel_buffer_object not supported");
    834834
    835     /* BlitFramebuffer seems to be buggy on Intel, 
     835    /* BlitFramebuffer seems to be buggy on Intel,
    836836     * try always glDrawXxx for now */
    837837    if (!pBlitter->Flags.ForceDrawBlit && crStrstr(pszExtension, "GL_EXT_framebuffer_blit"))
     
    10011001    pBlitter->pDispatch->BindFramebufferEXT(GL_DRAW_FRAMEBUFFER, pBlitter->idFBO);
    10021002
    1003     /* TODO: mag/min filters ? */
     1003    /** @todo mag/min filters ? */
    10041004
    10051005    pBlitter->pDispatch->FramebufferTexture2DEXT(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, pDst->target, pDst->hwid, 0);
     
    11611161    crWarning("GLSL unsuported, gl version %d", pCache->iGlVersion);
    11621162
    1163     /* @todo: we could also check for GL_ARB_shader_objects and GL_ARB_fragment_shader,
     1163    /** @todo we could also check for GL_ARB_shader_objects and GL_ARB_fragment_shader,
    11641164     * but seems like chromium does not support properly gl*Object versions of shader functions used with those extensions */
    11651165    return false;
  • trunk/src/VBox/GuestHost/OpenGL/util/compositor.cpp

    r63199 r69392  
    1616 */
    1717
    18 /*******************************************************************************
    19 *   Header Files                                                               *
    20 *******************************************************************************/
     18
     19/*********************************************************************************************************************************
     20*   Header Files                                                                                                                 *
     21*********************************************************************************************************************************/
    2122#include "../include/cr_compositor.h"
    2223
    2324
    24 /*******************************************************************************
    25 *   Defined Constants And Macros                                               *
    26 *******************************************************************************/
     25/*********************************************************************************************************************************
     26*   Defined Constants And Macros                                                                                                 *
     27*********************************************************************************************************************************/
    2728#define VBOXVR_SCR_COMPOSITOR_RECTS_UNDEFINED UINT32_MAX
    2829#ifdef IN_VMSVGA3D
     
    514515                                                   bool fPosRelated, bool *pfChanged)
    515516{
    516     /* @todo: the fChanged sate calculation is really rough now, this is enough for now though */
     517    /** @todo the fChanged sate calculation is really rough now, this is enough for now though */
    517518    bool fChanged = false, fPosChanged = false;
    518519    bool fWasInList = CrVrScrCompositorEntryIsInList(pEntry);
  • trunk/src/VBox/GuestHost/OpenGL/util/debug_opcodes.py

    • Property svn:keywords changed from Id to Id Revision
  • trunk/src/VBox/GuestHost/OpenGL/util/lowercase.py

    • Property svn:keywords changed from Id to Id Revision
  • trunk/src/VBox/GuestHost/OpenGL/util/net.c

    r63199 r69392  
    441441    {
    442442#ifdef WINDOWS
    443         /* @todo: do we actually need that WSA stuff with VBox at all? */
     443        /** @todo do we actually need that WSA stuff with VBox at all? */
    444444        WORD wVersionRequested = MAKEWORD(2, 0);
    445445        WSADATA wsaData;
  • trunk/src/VBox/GuestHost/OpenGL/util/pixel.c

    r66827 r69392  
    16931693    (void)dstPacking;
    16941694
    1695     /*@todo this should be implemented properly*/
     1695    /** @todo this should be implemented properly*/
    16961696
    16971697#ifndef DEBUG_misha
  • trunk/src/VBox/GuestHost/OpenGL/util/util.def

    • Property svn:keywords changed from Id to Id Revision
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r68550 r69392  
    4646#endif
    4747
    48 /*@todo move define somewhere else, and make sure it's less than VBGLR0_MAX_HGCM_KERNEL_PARM*/
     48/** @todo move define somewhere else, and make sure it's less than VBGLR0_MAX_HGCM_KERNEL_PARM*/
    4949/*If we fail to pass data in one chunk, send it in chunks of this size instead*/
    5050#define CR_HGCM_SPLIT_BUFFER_SIZE (8*_1M)
     
    545545
    546546#ifndef IN_GUEST
    547 /*@todo get rid of it*/
     547/** @todo get rid of it*/
    548548static bool _crVBoxHGCMWriteBytes(CRConnection *conn, const void *buf, uint32_t len)
    549549{
     
    593593    else
    594594# endif
    595     {       
     595    {
    596596        rc = VbglR3HGCMCall(pData, cbData);
    597597        if (RT_SUCCESS(rc))
     
    916916    {
    917917#ifndef IN_GUEST
    918             /**@todo remove temp buffer allocation in unpacker*/
     918            /** @todo remove temp buffer allocation in unpacker*/
    919919            /* we're at the host side, so just store data until guest polls us */
    920920            _crVBoxHGCMWriteBytes(conn, start, len);
     
    10231023    CRASSERT(hgcm_buffer->magic == CR_VBOXHGCM_BUFFER_MAGIC);
    10241024
    1025     /*@todo wrong len for redir buffers*/
     1025    /** @todo wrong len for redir buffers*/
    10261026    conn->recv_credits += hgcm_buffer->len;
    10271027
     
    10331033#endif
    10341034            if (g_crvboxhgcm.bufpool) {
    1035                 /**@todo o'rly? */
     1035                /** @todo o'rly? */
    10361036                /* pool may have been deallocated just a bit earlier in response
    10371037                 * to a SIGPIPE (Broken Pipe) signal.
     
    13761376}
    13771377
    1378 /*@todo same, replace DeviceIoControl with vbglR3DoIOCtl */
     1378/** @todo same, replace DeviceIoControl with vbglR3DoIOCtl */
    13791379static void crVBoxHGCMDoDisconnect( CRConnection *conn )
    13801380{
     
    21892189
    21902190    /* Can't open VBox guest driver here, because it gets called for host side as well */
    2191     /*@todo as we have 2 dll versions, can do it now.*/
     2191    /** @todo as we have 2 dll versions, can do it now.*/
    21922192
    21932193#ifdef RT_OS_WINDOWS
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgsmi.c

    r68550 r69392  
    618618        {
    619619            _crVBoxHGSMIWaitCmd(pClient);
    620                 /* @todo: do we need to wait for completion actually?
     620                /** @todo do we need to wait for completion actually?
    621621                 * NOTE: in case we do not need completion,
    622622                 * we MUST specify bDoNotSignalCompletion flag for the command buffer */
     
    652652        {
    653653            _crVBoxHGSMIWaitCmd(pClient);
    654                 /* @todo: do we need to wait for completion actually?
     654                /** @todo do we need to wait for completion actually?
    655655                 * NOTE: in case we do not need completion,
    656656                 * we MUST specify bDoNotSignalCompletion flag for the command buffer */
     
    924924        pClient = _crVBoxHGSMIClientGet();
    925925#ifndef IN_GUEST
    926             //@todo remove temp buffer allocation in unpacker
     926            /// @todo remove temp buffer allocation in unpacker
    927927            /* we're at the host side, so just store data until guest polls us */
    928928            _crVBoxHGCMWriteBytes(conn, start, len);
     
    10101010    else
    10111011    {
    1012         /*@todo wrong len for redir buffers*/
     1012        /** @todo wrong len for redir buffers*/
    10131013        conn->recv_credits += hgsmi_buffer->u32Len;
    10141014
     
    12451245}
    12461246
    1247 /*@todo same, replace DeviceIoControl with vbglR3DoIOCtl */
     1247/** @todo same, replace DeviceIoControl with vbglR3DoIOCtl */
    12481248static void crVBoxHGSMIDoDisconnect( CRConnection *conn )
    12491249{
     
    12611261    conn->cbBuffer = 0;
    12621262
    1263     //@todo hold lock here?
     1263    /// @todo hold lock here?
    12641264    if (conn->type == CR_VBOXHGCM)
    12651265    {
     
    13481348    Assert(0);
    13491349
    1350     /* @todo */
     1350    /** @todo */
    13511351}
    13521352
     
    13951395
    13961396    /* Can't open VBox guest driver here, because it gets called for host side as well */
    1397     /*@todo as we have 2 dll versions, can do it now.*/
     1397    /** @todo as we have 2 dll versions, can do it now.*/
    13981398
    13991399#ifdef RT_OS_WINDOWS
     
    14831483    conn->allow_redir_ptr = 1;
    14841484
    1485     //@todo remove this crap at all later
     1485    /// @todo remove this crap at all later
    14861486    conn->cbHostBufferAllocated = 0;//2*1024;
    14871487    conn->pHostBuffer = NULL;//(uint8_t*) crAlloc(conn->cbHostBufferAllocated);
  • trunk/src/VBox/GuestHost/OpenGL/util/vreg.cpp

    r64766 r69392  
    1616 */
    1717
    18 /*******************************************************************************
    19 *   Header Files                                                               *
    20 *******************************************************************************/
     18
     19/*********************************************************************************************************************************
     20*   Header Files                                                                                                                 *
     21*********************************************************************************************************************************/
    2122#ifdef IN_VMSVGA3D
    2223# include "../include/cr_vreg.h"
     
    99100
    100101
    101 /*******************************************************************************
    102 *   Defined Constants And Macros                                               *
    103 *******************************************************************************/
     102/*********************************************************************************************************************************
     103*   Defined Constants And Macros                                                                                                 *
     104*********************************************************************************************************************************/
    104105#define VBOXVR_INVALID_COORD    (~0U)
    105106
    106107
    107 /*******************************************************************************
    108 *   Global Variables                                                           *
    109 *******************************************************************************/
     108/*********************************************************************************************************************************
     109*   Global Variables                                                                                                             *
     110*********************************************************************************************************************************/
    110111static volatile int32_t g_cVBoxVrInits = 0;
    111112
     
    812813                    Assert(VBoxRectCmp(pRect2, &RegRect1));
    813814
    814                     /* @todo: this can have false-alarming sometimes if the separated rects will then be joind into the original rect,
     815                    /** @todo this can have false-alarming sometimes if the separated rects will then be joind into the original rect,
    815816                     * so far this should not be a problem for VReg clients, so keep it this way for now  */
    816817                    fChanged = true;
     
    961962        return VINF_SUCCESS;
    962963
    963     /* @todo: fChanged will have false alarming here, fix if needed */
     964    /** @todo fChanged will have false alarming here, fix if needed */
    964965    VBoxVrListClear(pList);
    965966
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