VirtualBox

Changeset 3698 in vbox


Ignore:
Timestamp:
Jul 18, 2007 5:15:05 PM (17 years ago)
Author:
vboxsync
Message:

double underscore cleanup. Adjusted file headers (license section should be separate from the @file).

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

Legend:

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

    r3338 r3698  
    44 *
    55 * Complex buffered OpenGL functions
    6  *
     6 */
     7
     8/*
    79 * Copyright (C) 2006-2007 innotek GmbH
    810 *
  • trunk/src/VBox/HostServices/SharedOpenGL/HostOGLComplexSync.cpp

    r3338 r3698  
    44 *
    55 * Simple buffered OpenGL functions
    6  *
     6 */
     7
     8/*
    79 * Copyright (C) 2006-2007 innotek GmbH
    810 *
     
    4446
    4547/* Note: when in GL_FEEDBACK or GL_SELECT mode -> fill those buffers
    46  *       when switching to GL_FEEDBACK or GL_SELECT mode -> pass pointers 
     48 *       when switching to GL_FEEDBACK or GL_SELECT mode -> pass pointers
    4749 */
    4850void vboxglRenderMode (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
  • trunk/src/VBox/HostServices/SharedOpenGL/HostOGLSimpleAsync.cpp

    r3338 r3698  
    44 *
    55 * Simple buffered OpenGL functions
    6  *
     6 */
     7
     8/*
    79 * Copyright (C) 2006-2007 innotek GmbH
    810 *
  • trunk/src/VBox/HostServices/SharedOpenGL/HostOGLSimpleSync.cpp

    r3338 r3698  
    44 *
    55 * Simple buffered OpenGL functions
    6  *
     6 */
     7
     8/*
    79 * Copyright (C) 2006-2007 innotek GmbH
    810 *
  • trunk/src/VBox/HostServices/SharedOpenGL/gldrv.h

    r3471 r3698  
    11/** @file
    2  *
    32 * VBox OpenGL windows helper functions
    43 */
     
    2019 */
    2120
    22 #ifndef __VBOXGLWIN__H
    23 #define __VBOXGLWIN__H
     21#ifndef ___VBOXGLWIN_H
     22#define ___VBOXGLWIN_H
    2423
    2524#include <iprt/types.h>
    2625
    27 #ifdef __WIN__
     26#ifdef RT_OS_WINDOWS
    2827#define VBOX_OGL_DEBUG_WINDOW_OUTPUT
    2928#endif
     
    5251
    5352
    54 #ifndef __WIN__
     53#ifndef RT_OS_WINDOWS
    5554
    5655typedef uint32_t    DWORD;
     
    153152RTUINTPTR vboxDrvIsExtensionAvailable(char *pszExtFunctionName);
    154153
    155 #endif /* __VBOXGLWIN__H */
     154#endif /* !___VBOXGLWIN_H */
  • trunk/src/VBox/HostServices/SharedOpenGL/glext.cpp

    r3604 r3698  
    33 * VBox OpenGL helper functions
    44 *
    5  * OpenGL extensions 
     5 * OpenGL extensions
    66 *
    77 * References:  http://oss.sgi.com/projects/ogl-sample/registry/
    88 *              http://icps.u-strasbg.fr/~marchesin/perso/extensions/
     9 */
     10
     11/*
    912 *
    1013 * Copyright (C) 2006-2007 innotek GmbH
     
    7881}
    7982
    80 #ifdef __WIN__
     83#ifdef RT_OS_WINDOWS
    8184void vboxwglSwapIntervalEXT (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
    8285{
     
    105108    pClient->ulLastError   = GetLastError();
    106109}
    107 #endif /* __WIN__ */
     110#endif /* RT_OS_WINDOWS */
  • trunk/src/VBox/HostServices/SharedOpenGL/gllindrv.cpp

    r3471 r3698  
    44 *
    55 * Simple buffered OpenGL functions
    6  *
     6 */
     7
     8/*
    79 * Copyright (C) 2006-2007 innotek GmbH
    810 *
  • trunk/src/VBox/HostServices/SharedOpenGL/glwindrv.cpp

    r3479 r3698  
    11/** @file
    2  *
    32 * VBox OpenGL
    43 */
     
    3635{
    3736    switch (message)
    38     {           
     37    {
    3938    case WM_CREATE:
    4039        return 0;
     
    4847
    4948    default:
    50         return DefWindowProc( hWnd, message, wParam, lParam );                 
     49        return DefWindowProc( hWnd, message, wParam, lParam );
    5150    }
    5251}
     
    5756    HWND        hwnd;
    5857
    59     hwnd = pClient->hwnd= CreateWindow("VBoxOGL", "VirtualBox OpenGL", 
     58    hwnd = pClient->hwnd= CreateWindow("VBoxOGL", "VirtualBox OpenGL",
    6059                                               WS_CAPTION | WS_POPUPWINDOW | WS_VISIBLE,
    6160                                               0, 0, 0, 0,
    62                                         NULL, NULL, 0, NULL);   
     61                                        NULL, NULL, 0, NULL);
    6362    Assert(hwnd);
    6463    while(true)
     
    6867        if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
    6968        {
    70             if (msg.message == WM_QUIT) 
     69            if (msg.message == WM_QUIT)
    7170                break;
    7271
  • trunk/src/VBox/HostServices/SharedOpenGL/vboxgl.cpp

    r3467 r3698  
    11/** @file
    2  *
    32 * VBox OpenGL
    43 */
     
    4948    int      rc = VINF_SUCCESS;
    5049
    51 #ifdef __WIN__
     50#ifdef RT_OS_WINDOWS
    5251    PIXELFORMATDESCRIPTOR pfd;
    5352    int iFormat;
     
    8887end:
    8988
    90 #ifdef __WIN__
     89#ifdef RT_OS_WINDOWS
    9190    wglMakeCurrent(NULL, NULL);
    9291    wglDeleteContext(hRC);
  • trunk/src/VBox/HostServices/SharedOpenGL/vboxgl.h

    r3468 r3698  
    11/** @file
    2  *
    32 * VBox OpenGL helper functions
    43 */
     
    2019 */
    2120
    22 #ifndef __VBOGL__H
    23 #define __VBOGL__H
    24 
    25 #ifdef __WIN__
     21#ifndef ___VBOGL_H
     22#define ___VBOGL_H
     23
     24#ifdef RT_OS_WINDOWS
    2625#include <windows.h>
    2726#endif
     
    6059 *
    6160 * @returns VBox error code
    62  * @param   pClient     
     61 * @param   pClient
    6362 * @param   name        glGetString name parameter
    6463 * @param   pString     String pointer
     
    360359#include <VBox/HostServices/VBoxOGLOp.h>
    361360
    362 #endif /* __VBOGL__H */
     361#endif /* !___VBOGL_H */
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