Changeset 714 for trunk/src


Ignore:
Timestamp:
Apr 28, 2010, 8:41:11 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Added a special direct Dive framebuffer access mode that hides the mouse pointer to avoid screen corruption under it that takes place when the video driver uses a software mouse pointer (activated by QT_PM_DIVE=FBSWM).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/painting/qwindowsurface_pm.cpp

    r713 r714  
    254254static HDIVE diveHandle = NULLHANDLE;
    255255static char *diveFrameBuf = NULL;
     256
     257
     258
    256259
    257260////////////////////////////////////////////////////////////////////////////////
     
    663666                // use direct framebuffer access
    664667                diveUseFB = true;
     668
     669
     670
     671
    665672            } else {
    666673                // disable DIVE by default due to bugs in the Panorama driver
     
    776783                    }
    777784                }
     785
     786
    778787            }
    779788        }
     
    781790        DEBUG_VAR(diveDllOK);
    782791        DEBUG_VAR(diveUseFB);
     792
    783793    }
    784794
     
    884894
    885895    const int srcBytesPerLine = d->image->bytesPerLine();
     896
     897
     898
     899
     900
     901
     902
     903
     904
     905
     906
     907
     908
     909
     910
     911
     912
     913
     914
     915
    886916
    887917    if (DiveAcquireFrameBuffer(d->hDive, &rclDst) == DIVE_SUCCESS) {
     
    10311061        DiveDeacquireFrameBuffer(d->hDive);
    10321062    }
     1063
     1064
     1065
    10331066}
    10341067
Note: See TracChangeset for help on using the changeset viewer.