VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Additions/common/crOpenGL
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/LICENSE

    r15532 r33540  
    22All rights reserved.
    33
    4 Some portions of Chromium are copyrighted by individiual organizations.
     4Some portions of Chromium are copyrighted by individual organizations.
    55Please see the files COPYRIGHT.LLNL and COPYRIGHT.REDHAT for more
    66information.
  • trunk/src/VBox/Additions/common/crOpenGL/array/arrayspu.c

    r21308 r33540  
    106106    }
    107107
    108     /* Now do conventional arrays, unless overriden by generic arrays above */
     108    /* Now do conventional arrays, unless overridden by generic arrays above */
    109109    for (unit = 0 ; unit < crStateGetCurrent()->limits.maxTextureUnits ; unit++)
    110110    {
  • trunk/src/VBox/Additions/common/crOpenGL/context.c

    r32420 r33540  
    648648
    649649    //@todo: Performing those checks is expensive operation, especially for simple apps with high FPS.
    650     //       Disabling those tripples glxgears fps, thus using xevens instead of per frame polling is much more preffered.
    651     //@todo: Check similiar on windows guests, though doubtfull as there're no XSync like calls on windows.
     650    //       Disabling those triples glxgears fps, thus using xevents instead of per frame polling is much more preferred.
     651    //@todo: Check similar on windows guests, though doubtful as there're no XSync like calls on windows.
    652652    if (window && dpy)
    653653    {
     
    10921092    /* Update window mapping state.
    10931093     * Basically, this lets us hide render SPU windows which correspond
    1094      * to unmapped application windows.  Without this, perfly (for example)
     1094     * to unmapped application windows.  Without this, "pertly" (for example)
    10951095     * opens *lots* of temporary windows which otherwise clutter the screen.
    10961096     */
  • trunk/src/VBox/Additions/common/crOpenGL/dri_drv.c

    r32404 r33540  
    341341
    342342/*Note, checking glGetError before and after those calls is the only way
    343  *to return if we succeded to get value or not, but it will add 2 sync calls and
     343 *to return if we succeeded to get value or not, but it will add 2 sync calls and
    344344 *will reset glGetError value returned in case application calls it explicitly
    345345 */
  • trunk/src/VBox/Additions/common/crOpenGL/dri_glx.h

    r32404 r33540  
    4343extern DECLEXPORT(Display *) VBOXGLXTAG(glXGetCurrentDisplayEXT)(void);
    4444extern DECLEXPORT(void) VBOXGLXTAG(glXFreeContextEXT)(Display *dpy, GLXContext ctx);
    45 /*Mesa insternal*/
     45/*Mesa internal*/
    4646extern DECLEXPORT(int) VBOXGLXTAG(glXQueryContextInfoEXT)(Display *dpy, GLXContext ctx);
    4747extern DECLEXPORT(void *) VBOXGLXTAG(glXAllocateMemoryMESA)(Display *dpy, int scrn,
  • trunk/src/VBox/Additions/common/crOpenGL/dri_util.c

    r27866 r33540  
    381381
    382382    /* If there was a drawable config event in the buffer and it
    383      * changed the size of the window, all buffer auxillary buffer
     383     * changed the size of the window, all buffer auxiliary buffer
    384384     * attachments prior to that are invalid (as opposed to the front
    385385     * buffer case discussed above).  In that case we can start
     
    678678 * This function allocates and fills a __DRIcontextPrivateRec structure.  It
    679679 * performs some device independent initialization and passes all the
    680  * relevent information to __DriverAPIRec::CreateContext to create the
     680 * relevant information to __DriverAPIRec::CreateContext to create the
    681681 * context.
    682682 *
     
    823823 * \param fd           Device handle for the DRM.
    824824 * \param extensions   ??
    825  * \param driver_modes  Returns modes suppoted by the driver
     825 * \param driver_modes  Returns modes supported by the driver
    826826 * \param loaderPrivate  ??
    827827 *
  • trunk/src/VBox/Additions/common/crOpenGL/fakedri_drv.c

    r32404 r33540  
    225225    }
    226226
    227     /* Get aligned start adress we're going to patch*/
     227    /* Get aligned start address we're going to patch*/
    228228    alPatch = (void*) ((uintptr_t)dlip.dli_saddr & ~(uintptr_t)(PAGESIZE-1));
    229229
  • trunk/src/VBox/Additions/common/crOpenGL/glx.c

    r32420 r33540  
    19801980    pContext->damageInitFailed = True;
    19811981
    1982     /* Open second xserver connection to make sure we'd recieve all the xdamage messages
     1982    /* Open second xserver connection to make sure we'd receive all the xdamage messages
    19831983     * and those wouldn't be eaten by application even queue */
    19841984    pContext->damageDpy = XOpenDisplay(DisplayString(pContext->dpy));
  • trunk/src/VBox/Additions/common/crOpenGL/glx_c_exports.c

    r28800 r33540  
    6565}
    6666
    67 /*Mesa insternal*/
     67/*Mesa internal*/
    6868DECLEXPORT(int) VBOXGLXENTRYTAG(glXQueryContextInfoEXT)(Display *dpy, GLXContext ctx)
    6969{
  • trunk/src/VBox/Additions/common/crOpenGL/glx_proto.h

    r28800 r33540  
    3333typedef void (*PGLXFUNC_FreeContextEXT)(Display *dpy, GLXContext ctx);
    3434
    35 /*Mesa insternal*/
     35/*Mesa internal*/
    3636typedef int (*PGLXFUNC_QueryContextInfoEXT)(Display *dpy, GLXContext ctx);
    3737typedef void * (*PGLXFUNC_AllocateMemoryMESA)(Display *dpy, int scrn,
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r32552 r33540  
    764764        hNewRgn = stubMakeRegionFromRects(pRegions->pRegions, 1);
    765765
    766         /* ensure the window is in synch to avoid possible incorrect host notifications  */
     766        /* ensure the window is in sync to avoid possible incorrect host notifications  */
    767767        {
    768768            BOOL bRc = MoveWindow(pRegions->hWnd, winX, winY, winW, winH, FALSE /*BOOL bRepaint*/);
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_swapbuf.c

    r20083 r33540  
    6565         *
    6666         * This is complicated because writeback in the pack spu is
    67          * overriden to always set the value to zero when the
     67         * overridden to always set the value to zero when the
    6868         * reply is received, rather than decrementing it:
    6969         */
     
    9393    }
    9494
    95     /* want to emit a parameteri here */
     95    /* want to emit a parameter here */
    9696    if (pack_spu.emit_GATHER_POST_SWAPBUFFERS)
    9797    {
  • trunk/src/VBox/Additions/common/crOpenGL/stub.c

    r32420 r33540  
    215215/*
    216216 *  Updates geometry info for given spu window.
    217  *  Returns GL_TRUE if it changed since last call, GL_FALSE overwise.
     217 *  Returns GL_TRUE if it changed since last call, GL_FALSE otherwise.
    218218 *  bForceUpdate - forces dispatching of geometry info even if it's unchanged
    219219 */
     
    256256/*
    257257 *  Updates visible regions for given spu window.
    258  *  Returns GL_TRUE if regions changed since last call, GL_FALSE overwise.
     258 *  Returns GL_TRUE if regions changed since last call, GL_FALSE otherwise.
    259259 */
    260260GLboolean stubUpdateWindowVisibileRegions(WindowInfo *pWindow)
     
    480480/*
    481481 *  Updates visible regions for given spu window.
    482  *  Returns GL_TRUE if regions changed since last call, GL_FALSE overwise.
     482 *  Returns GL_TRUE if regions changed since last call, GL_FALSE otherwise.
    483483 */
    484484GLboolean stubUpdateWindowVisibileRegions(WindowInfo *pWindow)
  • trunk/src/VBox/Additions/common/crOpenGL/stub.h

    r32420 r33540  
    1818 *    When glXCreateContext() is called we may either create a real, native
    1919 *    GLX context or a Chromium context (depending on match_window_title and
    20  *    mimimum_window_size).
     20 *    minimum_window_size).
    2121 *
    2222 * 3. WGL emulation interface - the wgl*() functions are emulated here.
    2323 *    When wglCreateContext() is called we may either create a real, native
    2424 *    WGL context or a Chromium context (depending on match_window_title and
    25  *    mimimum_window_size).
     25 *    minimum_window_size).
    2626 *
    2727 *
  • trunk/src/VBox/Additions/common/crOpenGL/utils.c

    r27866 r33540  
    332332
    333333/**
    334  * Utility function used by drivers to test the verions of other components.
     334 * Utility function used by drivers to test the versions of other components.
    335335 *
    336336 * If one of the version requirements is not met, a message is logged using
     
    472472 * the red value.
    473473 *
    474  * One sublte issue is the combination of \c GL_RGB  or \c GL_BGR and either
     474 * One subtle issue is the combination of \c GL_RGB  or \c GL_BGR and either
    475475 * of the \c GL_UNSIGNED_INT_8_8_8_8 modes.  The resulting mask values in the
    476476 * \c __GLcontextModes structure is \b identical to the \c GL_RGBA or
  • trunk/src/VBox/Additions/common/crOpenGL/vboxdri_drv.c

    r27866 r33540  
    2727 * Todo:
    2828 *   -- Use malloced (rather than framebuffer) memory for backbuffer
    29  *   -- 32bpp is hardwared -- fix
     29 *   -- 32bpp is hardwired -- fix
    3030 *
    3131 * NOTES:
     
    626626         char *tmp = _mesa_malloc(currentPitch);
    627627
    628          _mesa_notifySwapBuffers( ctx );  /* flush pending rendering comands */
     628         _mesa_notifySwapBuffers( ctx );  /* flush pending rendering commands */
    629629
    630630         ASSERT(frontBuffer);
  • trunk/src/VBox/Additions/common/crOpenGL/xfont.c

    r18882 r33540  
    205205                x0 = -ch->lbearing;
    206206                y0 = ch->descent - 0;  /* XXX used to subtract 1 here */
    207                                        /* but that caused a conformace failure */
     207                                       /* but that caused a conformance failure */
    208208                dx = ch->width;
    209209                dy = 0;
Note: See TracChangeset for help on using the changeset viewer.

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