VirtualBox

Ignore:
Timestamp:
Mar 31, 2010 12:57:09 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59577
Message:

crOpenGL: more code for multiscreen support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_projmatrix.c

    r15532 r27889  
    4747    crStateLoadMatrixf( m );
    4848
    49     if (matMode == GL_PROJECTION && mural->numExtents > 0) {
    50         /* we're loading a matrix onto the projection stack -- better put the base
    51          * projection there first! */
    52         crServerApplyBaseProjection(&(mural->extents[mural->curExtent].
    53                                                                     baseProjection));
    54     }
    55     else if (matMode == GL_MODELVIEW && cr_server.viewOverride) {
     49    if (matMode == GL_MODELVIEW && cr_server.viewOverride) {
    5650        int eye = crServerGetCurrentEye();
    5751        crServerApplyViewMatrix(&cr_server.viewMatrix[eye]);
     
    7064    crStateLoadMatrixd( m );
    7165
    72     if (matMode == GL_PROJECTION && mural->numExtents > 0) {
    73         /* we're loading a matrix onto the projection stack -- better put the base
    74          * projection there first! */
    75         crServerApplyBaseProjection(&(mural->extents[mural->curExtent].
    76                                                                     baseProjection));
    77     }
    78     else if (matMode == GL_MODELVIEW && cr_server.viewOverride) {
     66    if (matMode == GL_MODELVIEW && cr_server.viewOverride) {
    7967        int eye = crServerGetCurrentEye();
    8068        crServerApplyViewMatrix(&cr_server.viewMatrix[eye]);
     
    128116    crStateLoadIdentity();
    129117
    130     if (matMode == GL_PROJECTION && mural->numExtents > 0) {
    131         /* we're loading a matrix onto the projection stack -- better put the base
    132          * projection there first! */
    133         crServerApplyBaseProjection(&(mural->extents[mural->curExtent].
    134                                                                     baseProjection));
    135     }
    136     else if (matMode == GL_MODELVIEW && cr_server.viewOverride) {
     118    if (matMode == GL_MODELVIEW && cr_server.viewOverride) {
    137119        int eye = crServerGetCurrentEye();
    138120        crServerApplyViewMatrix(&cr_server.viewMatrix[eye]);
     
    207189crServerDispatchProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
    208190{
     191#if 0
    209192    if (target == GL_VERTEX_PROGRAM_ARB) {
    210193        CRServerProgram *prog = LookupProgram(cr_server.currentProgram);
     
    240223        }
    241224    }
     225#endif
    242226
    243227    /* if we get here, pass the call through unchanged */
     
    256240crServerDispatchProgramParameter4fNV(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
    257241{
     242#if 0
    258243    if (target == GL_VERTEX_PROGRAM_NV) {
    259244        CRServerProgram *prog = LookupProgram(cr_server.currentProgram);
     
    289274        }
    290275    }
     276#endif
    291277
    292278    /* if we get here, pass the call through unchanged */
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