Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp

    r651 r769  
    9090
    9191//#define QT_GL_NO_SCISSOR_TEST
     92
     93
     94
    9295
    9396extern QImage qt_imageForBrush(int brushStyle, bool invert);
     
    182185
    183186        glActiveTexture(GL_TEXTURE0 + QT_BRUSH_TEXTURE_UNIT);
    184         ctx->d_func()->bindTexture(texImage, GL_TEXTURE_2D, GL_RGBA, true, QGLContext::InternalBindOption);
     187        ctx->d_func()->bindTexture(texImage, GL_TEXTURE_2D, GL_RGBA, QGLContext::InternalBindOption);
    185188        updateTextureFilter(GL_TEXTURE_2D, GL_REPEAT, q->state()->renderHints & QPainter::SmoothPixmapTransform);
    186189    }
     
    12321235                                            : d->glyphCacheType;
    12331236
    1234     if (txtype > QTransform::TxTranslate)
    1235         glyphType = QFontEngineGlyphCache::Raster_A8;
    1236 
    1237     if (glyphType == QFontEngineGlyphCache::Raster_RGBMask
    1238         && state()->composition_mode != QPainter::CompositionMode_Source
    1239         && state()->composition_mode != QPainter::CompositionMode_SourceOver)
    1240     {
    1241         drawCached = false;
     1237
     1238   
     1239        if (d->device->alphaRequested() || txtype > QTransform::TxTranslate
     1240   
     1241       
     1242       
     1243   
     1244       
    12421245    }
    12431246
     
    15561559#if !defined(QT_OPENGL_ES_2)
    15571560#if defined(Q_WS_WIN)
    1558     extern Q_GUI_EXPORT bool qt_cleartype_enabled;
    15591561    if (qt_cleartype_enabled)
    15601562#endif
     
    15961598    delete d->shaderManager;
    15971599    d->shaderManager = 0;
     1600
    15981601
    15991602#ifdef QT_OPENGL_CACHE_AS_VBOS
Note: See TracChangeset for help on using the changeset viewer.