VirtualBox

Changeset 69420 in vbox


Ignore:
Timestamp:
Oct 27, 2017 10:22:13 AM (7 years ago)
Author:
vboxsync
Message:

Graphics/shaderlib: scm updates

Location:
trunk/src/VBox/Devices/Graphics/shaderlib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/shaderapi.c

    r69092 r69420  
    4646#endif
    4747
    48 #undef GL_EXT_FUNCS_GEN 
     48#undef GL_EXT_FUNCS_GEN
    4949#define GL_EXT_FUNCS_GEN \
    5050    /* GL_ARB_shader_objects */ \
     
    384384
    385385    object->lpVtbl->Release((IWineD3DVertexShader *)object);
    386         return VINF_SUCCESS;
     386        return VINF_SUCCESS;
    387387}
    388388
     
    395395
    396396    object->lpVtbl->Release((IWineD3DPixelShader *)object);
    397         return VINF_SUCCESS;
     397        return VINF_SUCCESS;
    398398}
    399399
     
    634634
    635635    Log(("ShaderSetPositionTransformed viewport (%d,%d) fPreTransformed=%d\n", cxViewPort, cyViewPort, fPreTransformed));
    636    
     636
    637637    if (fPreTransformed)
    638638    {   /* In the pre-transformed vertex coordinate case we need to disable all transformations as we're already using screen coordinates. */
     
    673673    pThis->rtHeight = rtHeight;
    674674
    675     /* @todo missing state:
     675    /** @todo missing state:
    676676     * - fog enable (stateblock->renderState[WINED3DRS_FOGENABLE])
    677677     * - fog mode (stateblock->renderState[WINED3DRS_FOGTABLEMODE])
     
    749749    glTranslatef(xoffset, -yoffset, -1.0f);
    750750
    751     if (fPretransformed) 
     751    if (fPretransformed)
    752752    {
    753753        /* One world coordinate equals one screen pixel; y-inversion no longer an issue */
  • trunk/src/VBox/Devices/Graphics/shaderlib/vboxext.h

    r62950 r69420  
    55
    66/*
    7  *
    87 * Copyright (C) 2011-2016 Oracle Corporation
    98 *
  • trunk/src/VBox/Devices/Graphics/shaderlib/wine/vbox/VBoxDbgGl.c

    r62514 r69420  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox wine & ogl debugging stuff
  • trunk/src/VBox/Devices/Graphics/shaderlib/wine/vbox/VBoxDbgGl.h

    r62514 r69420  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox wine & ogl debugging stuff
  • trunk/src/VBox/Devices/Graphics/shaderlib/wine/vbox/VBoxWineEx.h

    r62514 r69420  
     1/* $Id$ */
    12/** @file
    2  *
    33 * VBox extension to Wine D3D
    4  *
     4 */
     5
     6/*
    57 * Copyright (C) 2010-2016 Oracle Corporation
    68 *
     
    1315 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1416 */
     17
    1518#ifndef ___VBoxWineEx_h__
    1619#define ___VBoxWineEx_h__
     
    4346
    4447typedef VBOXWINEEX_DECL(HRESULT) FNVBOXWINEEXD3DDEV9_CREATECUBETEXTURE(IDirect3DDevice9Ex *iface,
    45             UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, 
     48            UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format,
    4649            D3DPOOL pool, IDirect3DCubeTexture9 **texture, HANDLE *shared_handle,
    4750            void **pavClientMem);
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