Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOpenGL2PaintEngineExPrivate Class Reference

#include <qopenglpaintengine_p.h>

Inheritance diagram for QOpenGL2PaintEngineExPrivate:
Collaboration diagram for QOpenGL2PaintEngineExPrivate:

Public Types

enum  StencilFillMode { OddEvenFillMode , WindingFillMode , TriStripStrokeFillMode }
enum  TextureUpdateMode { UpdateIfNeeded , ForceUpdate }

Public Member Functions

 QOpenGL2PaintEngineExPrivate (QOpenGL2PaintEngineEx *q_ptr)
 ~QOpenGL2PaintEngineExPrivate ()
void updateBrushTexture ()
void updateBrushUniforms ()
void updateMatrix ()
void updateCompositionMode ()
template<typename T>
void updateTexture (GLenum textureUnit, const T &texture, GLenum wrapMode, GLenum filterMode, TextureUpdateMode updateMode=UpdateIfNeeded)
template<typename T>
GLuint bindTexture (const T &texture, bool *newTextureCreated)
void activateTextureUnit (GLenum textureUnit)
void resetGLState ()
void fill (const QVectorPath &path)
void stroke (const QVectorPath &path, const QPen &pen)
void drawTexture (const QOpenGLRect &dest, const QOpenGLRect &src, const QSize &textureSize, bool opaque, bool pattern=false)
void drawPixmapFragments (const QPainter::PixmapFragment *fragments, int fragmentCount, const QPixmap &pixmap, QPainter::PixmapFragmentHints hints)
void drawCachedGlyphs (QFontEngine::GlyphFormat glyphFormat, QStaticTextItem *staticTextItem)
void uploadData (unsigned int arrayIndex, const GLfloat *data, GLuint count)
bool uploadIndexData (const void *data, GLenum indexValueType, GLuint count)
void drawVertexArrays (const float *data, int *stops, int stopCount, GLenum primitive)
void drawVertexArrays (QOpenGL2PEXVertexArray &vertexArray, GLenum primitive)
void composite (const QOpenGLRect &boundingRect)
void fillStencilWithVertexArray (const float *data, int count, int *stops, int stopCount, const QOpenGLRect &bounds, StencilFillMode mode)
void fillStencilWithVertexArray (QOpenGL2PEXVertexArray &vertexArray, bool useWindingFill)
void setBrush (const QBrush &brush)
void transferMode (EngineMode newMode)
bool prepareForDraw (bool srcPixelsAreOpaque)
bool prepareForCachedGlyphDraw (const QFontEngineGlyphCache &cache)
void useSimpleShader ()
GLuint location (const QOpenGLEngineShaderManager::Uniform uniform)
void clearClip (uint value)
void writeClip (const QVectorPath &path, uint value)
void resetClipIfNeeded ()
void updateClipScissorTest ()
void setScissor (const QRect &rect)
void regenerateClip ()
void systemStateChanged () override
void setVertexAttribArrayEnabled (int arrayIndex, bool enabled=true)
void syncGlState ()
template<>
GLuint bindTexture (const GLuint &textureId, bool *newTextureCreated)
template<>
GLuint bindTexture (const QImage &image, bool *newTextureCreated)
template<>
GLuint bindTexture (const QPixmap &pixmap, bool *newTextureCreated)
template<>
GLuint bindTexture (const QGradient &gradient, bool *newTextureCreated)
template<>
GLuint bindTexture (const ImageWithBindOptions &imageWithOptions, bool *newTextureCreated)
template<>
GLuint bindTexture (const GLuint &textureId, bool *newTextureCreated)
template<>
GLuint bindTexture (const QImage &image, bool *newTextureCreated)
template<>
GLuint bindTexture (const QPixmap &pixmap, bool *newTextureCreated)
template<>
GLuint bindTexture (const QGradient &gradient, bool *newTextureCreated)
template<>
GLuint bindTexture (const ImageWithBindOptions &imageWithOptions, bool *newTextureCreated)
Public Member Functions inherited from QPaintEngineExPrivate
 QPaintEngineExPrivate ()
 ~QPaintEngineExPrivate ()
void replayClipOperations ()
bool hasClipOperations () const
Public Member Functions inherited from QPaintEnginePrivate
 QPaintEnginePrivate ()
virtual ~QPaintEnginePrivate ()
void updateSystemClip ()
void setSystemTransform (const QTransform &xform)
void setSystemViewport (const QRegion &region)
void setSystemTransformAndViewport (const QTransform &xform, const QRegion &region)
void drawBoxTextItem (const QPointF &p, const QTextItemInt &ti)
virtual QPaintEngineaggregateEngine ()
virtual Qt::HANDLE nativeHandle ()

Static Public Member Functions

static QOpenGLEngineShaderManagershaderManagerForEngine (QOpenGL2PaintEngineEx *engine)
static QOpenGL2PaintEngineExPrivategetData (QOpenGL2PaintEngineEx *engine)
static void cleanupVectorPath (QPaintEngineEx *engine, void *data)
Static Public Member Functions inherited from QPaintEnginePrivate
static QPaintEnginePrivateget (QPaintEngine *paintEngine)

Public Attributes

QOpenGLExtensions funcs
QOpenGL2PaintEngineExq
QOpenGLEngineShaderManagershaderManager
QOpenGLPaintDevicedevice
int width
int height
QPointer< QOpenGLContextctx
EngineMode mode
QFontEngine::GlyphFormat glyphCacheFormat
bool vertexAttributeArraysEnabledState [QT_GL_VERTEX_ARRAY_TRACKED_COUNT]
bool matrixDirty
bool compositionModeDirty
bool brushTextureDirty
bool brushUniformsDirty
bool opacityUniformDirty
bool matrixUniformDirty
bool stencilClean
bool useSystemClip
QRegion dirtyStencilRegion
QRect currentScissorBounds
uint maxClip
QBrush currentBrush
const QBrush noBrush
QImage currentBrushImage
QOpenGL2PEXVertexArray vertexCoordinateArray
QOpenGL2PEXVertexArray textureCoordinateArray
QList< GLushortelementIndices
GLuint elementIndicesVBOId
QDataBuffer< GLfloatopacityArray
GLfloat staticVertexCoordinateArray [8]
GLfloat staticTextureCoordinateArray [8]
bool snapToPixelGrid
bool nativePaintingActive
GLfloat pmvMatrix [3][3]
GLfloat inverseScale
GLenum lastTextureUnitUsed
GLuint lastTextureUsed
QOpenGLVertexArrayObject vao
QOpenGLBuffer vertexBuffer
QOpenGLBuffer texCoordBuffer
QOpenGLBuffer opacityBuffer
QOpenGLBuffer indexBuffer
bool needsSync
bool multisamplingAlwaysEnabled
QTriangulatingStroker stroker
QDashedStrokeProcessor dasher
QVarLengthArray< GLuint, 8 > unusedVBOSToClean
QVarLengthArray< GLuint, 8 > unusedIBOSToClean
const GLfloatvertexAttribPointers [3]
Public Attributes inherited from QPaintEngineExPrivate
QStroker stroker
QDashStroker dasher
StrokeHandlerstrokeHandler
QStrokerOpsactiveStroker
QPen strokerPen
QRect exDeviceRect
Public Attributes inherited from QPaintEnginePrivate
QPaintDevicepdev
QPaintEngineq_ptr
QRegion baseSystemClip
QRegion systemClip
QRect systemRect
QRegion systemViewport
QTransform systemTransform
QPaintDevicecurrentClipDevice
uint hasSystemTransform: 1
uint hasSystemViewport: 1

Detailed Description

Definition at line 139 of file qopenglpaintengine_p.h.

Member Enumeration Documentation

◆ StencilFillMode

Enumerator
OddEvenFillMode 
WindingFillMode 
TriStripStrokeFillMode 

Definition at line 143 of file qopenglpaintengine_p.h.

◆ TextureUpdateMode

Enumerator
UpdateIfNeeded 
ForceUpdate 

Definition at line 174 of file qopenglpaintengine_p.h.

Constructor & Destructor Documentation

◆ QOpenGL2PaintEngineExPrivate()

QOpenGL2PaintEngineExPrivate::QOpenGL2PaintEngineExPrivate ( QOpenGL2PaintEngineEx * q_ptr)
inline

Definition at line 149 of file qopenglpaintengine_p.h.

References QOpenGL2PaintEngineExPrivate(), height, nativePaintingActive, snapToPixelGrid, useSystemClip, and width.

Referenced by QOpenGL2PaintEngineExPrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QOpenGL2PaintEngineExPrivate()

QOpenGL2PaintEngineExPrivate::~QOpenGL2PaintEngineExPrivate ( )

Definition at line 83 of file qopenglpaintengine.cpp.

Member Function Documentation

◆ activateTextureUnit()

void QOpenGL2PaintEngineExPrivate::activateTextureUnit ( GLenum textureUnit)

Definition at line 184 of file qopenglpaintengine.cpp.

◆ bindTexture() [1/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const GLuint & textureId,
bool * newTextureCreated )

Definition at line 199 of file qopenglpaintengine.cpp.

◆ bindTexture() [2/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const GLuint & textureId,
bool * newTextureCreated )

Definition at line 199 of file qopenglpaintengine.cpp.

◆ bindTexture() [3/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const ImageWithBindOptions & imageWithOptions,
bool * newTextureCreated )

Definition at line 249 of file qopenglpaintengine.cpp.

◆ bindTexture() [4/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const ImageWithBindOptions & imageWithOptions,
bool * newTextureCreated )

Definition at line 249 of file qopenglpaintengine.cpp.

◆ bindTexture() [5/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const QGradient & gradient,
bool * newTextureCreated )

Definition at line 229 of file qopenglpaintengine.cpp.

◆ bindTexture() [6/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const QGradient & gradient,
bool * newTextureCreated )

Definition at line 229 of file qopenglpaintengine.cpp.

◆ bindTexture() [7/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const QImage & image,
bool * newTextureCreated )

Definition at line 211 of file qopenglpaintengine.cpp.

◆ bindTexture() [8/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const QImage & image,
bool * newTextureCreated )

Definition at line 211 of file qopenglpaintengine.cpp.

◆ bindTexture() [9/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const QPixmap & pixmap,
bool * newTextureCreated )

Definition at line 220 of file qopenglpaintengine.cpp.

◆ bindTexture() [10/11]

template<>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const QPixmap & pixmap,
bool * newTextureCreated )

Definition at line 220 of file qopenglpaintengine.cpp.

◆ bindTexture() [11/11]

template<typename T>
GLuint QOpenGL2PaintEngineExPrivate::bindTexture ( const T & texture,
bool * newTextureCreated )

◆ cleanupVectorPath()

void QOpenGL2PaintEngineExPrivate::cleanupVectorPath ( QPaintEngineEx * engine,
void * data )
static

Definition at line 820 of file qopenglpaintengine.cpp.

◆ clearClip()

void QOpenGL2PaintEngineExPrivate::clearClip ( uint value)

Definition at line 2417 of file qopenglpaintengine.cpp.

◆ composite()

void QOpenGL2PaintEngineExPrivate::composite ( const QOpenGLRect & boundingRect)

Definition at line 1305 of file qopenglpaintengine.cpp.

◆ drawCachedGlyphs()

QT_WARNING_PUSH void QOpenGL2PaintEngineExPrivate::drawCachedGlyphs ( QFontEngine::GlyphFormat glyphFormat,
QStaticTextItem * staticTextItem )

Definition at line 1760 of file qopenglpaintengine.cpp.

References brushTextureDirty, compositionModeDirty, ForceUpdate, matrixDirty, opacityUniformDirty, snapToPixelGrid, transferMode(), and UpdateIfNeeded.

Here is the call graph for this function:

◆ drawPixmapFragments()

void QOpenGL2PaintEngineExPrivate::drawPixmapFragments ( const QPainter::PixmapFragment * fragments,
int fragmentCount,
const QPixmap & pixmap,
QPainter::PixmapFragmentHints hints )

Definition at line 2098 of file qopenglpaintengine.cpp.

References matrixDirty, snapToPixelGrid, and transferMode().

Here is the call graph for this function:

◆ drawTexture()

void QOpenGL2PaintEngineExPrivate::drawTexture ( const QOpenGLRect & dest,
const QOpenGLRect & src,
const QSize & textureSize,
bool opaque,
bool pattern = false )

◆ drawVertexArrays() [1/2]

void QOpenGL2PaintEngineExPrivate::drawVertexArrays ( const float * data,
int * stops,
int stopCount,
GLenum primitive )

Definition at line 1314 of file qopenglpaintengine.cpp.

◆ drawVertexArrays() [2/2]

void QOpenGL2PaintEngineExPrivate::drawVertexArrays ( QOpenGL2PEXVertexArray & vertexArray,
GLenum primitive )
inline

Definition at line 198 of file qopenglpaintengine_p.h.

◆ fill()

void QOpenGL2PaintEngineExPrivate::fill ( const QVectorPath & path)

Definition at line 837 of file qopenglpaintengine.cpp.

References brushUniformsDirty, matrixDirty, snapToPixelGrid, transferMode(), updateClipScissorTest(), and updateMatrix().

Here is the call graph for this function:

◆ fillStencilWithVertexArray() [1/2]

void QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray ( const float * data,
int count,
int * stops,
int stopCount,
const QOpenGLRect & bounds,
StencilFillMode mode )

Definition at line 1089 of file qopenglpaintengine.cpp.

References stencilClean, updateClipScissorTest(), and useSimpleShader().

Here is the call graph for this function:

◆ fillStencilWithVertexArray() [2/2]

void QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray ( QOpenGL2PEXVertexArray & vertexArray,
bool useWindingFill )
inline

Definition at line 207 of file qopenglpaintengine_p.h.

◆ getData()

QOpenGL2PaintEngineExPrivate * QOpenGL2PaintEngineExPrivate::getData ( QOpenGL2PaintEngineEx * engine)
inlinestatic

Definition at line 235 of file qopenglpaintengine_p.h.

◆ location()

GLuint QOpenGL2PaintEngineExPrivate::location ( const QOpenGLEngineShaderManager::Uniform uniform)
inline

Definition at line 218 of file qopenglpaintengine_p.h.

◆ prepareForCachedGlyphDraw()

bool QOpenGL2PaintEngineExPrivate::prepareForCachedGlyphDraw ( const QFontEngineGlyphCache & cache)

Definition at line 1227 of file qopenglpaintengine.cpp.

References prepareForDraw().

Here is the call graph for this function:

◆ prepareForDraw()

bool QOpenGL2PaintEngineExPrivate::prepareForDraw ( bool srcPixelsAreOpaque)

Definition at line 1241 of file qopenglpaintengine.cpp.

References brushTextureDirty, brushUniformsDirty, compositionModeDirty, matrixDirty, matrixUniformDirty, mode, opacityUniformDirty, updateBrushTexture(), updateBrushUniforms(), updateCompositionMode(), and updateMatrix().

Referenced by prepareForCachedGlyphDraw(), and stroke().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ regenerateClip()

void QOpenGL2PaintEngineExPrivate::regenerateClip ( )

Definition at line 2565 of file qopenglpaintengine.cpp.

References systemStateChanged().

Here is the call graph for this function:

◆ resetClipIfNeeded()

void QOpenGL2PaintEngineExPrivate::resetClipIfNeeded ( )

Definition at line 1192 of file qopenglpaintengine.cpp.

References useSimpleShader().

Here is the call graph for this function:

◆ resetGLState()

void QOpenGL2PaintEngineExPrivate::resetGLState ( )

Definition at line 726 of file qopenglpaintengine.cpp.

◆ setBrush()

void QOpenGL2PaintEngineExPrivate::setBrush ( const QBrush & brush)

Definition at line 110 of file qopenglpaintengine.cpp.

References brushTextureDirty, and brushUniformsDirty.

◆ setScissor()

void QOpenGL2PaintEngineExPrivate::setScissor ( const QRect & rect)

Definition at line 2392 of file qopenglpaintengine.cpp.

References height.

◆ setVertexAttribArrayEnabled()

void QOpenGL2PaintEngineExPrivate::setVertexAttribArrayEnabled ( int arrayIndex,
bool enabled = true )

Definition at line 2706 of file qopenglpaintengine.cpp.

References vertexAttributeArraysEnabledState.

◆ shaderManagerForEngine()

QOpenGLEngineShaderManager * QOpenGL2PaintEngineExPrivate::shaderManagerForEngine ( QOpenGL2PaintEngineEx * engine)
inlinestatic

Definition at line 234 of file qopenglpaintengine_p.h.

◆ stroke()

void QOpenGL2PaintEngineExPrivate::stroke ( const QVectorPath & path,
const QPen & pen )

Definition at line 1375 of file qopenglpaintengine.cpp.

References matrixDirty, prepareForDraw(), snapToPixelGrid, transferMode(), updateClipScissorTest(), and updateMatrix().

Here is the call graph for this function:

◆ syncGlState()

void QOpenGL2PaintEngineExPrivate::syncGlState ( )

Definition at line 2719 of file qopenglpaintengine.cpp.

◆ systemStateChanged()

void QOpenGL2PaintEngineExPrivate::systemStateChanged ( )
overridevirtual

Reimplemented from QPaintEnginePrivate.

Definition at line 2571 of file qopenglpaintengine.cpp.

References updateClipScissorTest(), and useSystemClip.

Referenced by regenerateClip().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transferMode()

void QOpenGL2PaintEngineExPrivate::transferMode ( EngineMode newMode)

Definition at line 773 of file qopenglpaintengine.cpp.

Referenced by drawCachedGlyphs(), drawPixmapFragments(), fill(), stroke(), and writeClip().

Here is the caller graph for this function:

◆ updateBrushTexture()

void QOpenGL2PaintEngineExPrivate::updateBrushTexture ( )

Definition at line 265 of file qopenglpaintengine.cpp.

References brushTextureDirty, and ForceUpdate.

Referenced by prepareForDraw().

Here is the caller graph for this function:

◆ updateBrushUniforms()

void QOpenGL2PaintEngineExPrivate::updateBrushUniforms ( )

Definition at line 316 of file qopenglpaintengine.cpp.

References brushUniformsDirty, height, and width.

Referenced by prepareForDraw().

Here is the caller graph for this function:

◆ updateClipScissorTest()

void QOpenGL2PaintEngineExPrivate::updateClipScissorTest ( )

Definition at line 2350 of file qopenglpaintengine.cpp.

References height, useSystemClip, and width.

Referenced by fill(), fillStencilWithVertexArray(), stroke(), and systemStateChanged().

Here is the caller graph for this function:

◆ updateCompositionMode()

void QOpenGL2PaintEngineExPrivate::updateCompositionMode ( )

Definition at line 514 of file qopenglpaintengine.cpp.

References compositionModeDirty.

Referenced by prepareForDraw().

Here is the caller graph for this function:

◆ updateMatrix()

void QOpenGL2PaintEngineExPrivate::updateMatrix ( )

Definition at line 443 of file qopenglpaintengine.cpp.

References height, matrixDirty, matrixUniformDirty, and width.

Referenced by fill(), prepareForDraw(), stroke(), useSimpleShader(), and writeClip().

Here is the caller graph for this function:

◆ updateTexture()

template<typename T>
void QOpenGL2PaintEngineExPrivate::updateTexture ( GLenum textureUnit,
const T & texture,
GLenum wrapMode,
GLenum filterMode,
TextureUpdateMode updateMode = UpdateIfNeeded )

Definition at line 160 of file qopenglpaintengine.cpp.

◆ uploadData()

void QOpenGL2PaintEngineExPrivate::uploadData ( unsigned int arrayIndex,
const GLfloat * data,
GLuint count )
inline

Definition at line 304 of file qopenglpaintengine_p.h.

◆ uploadIndexData()

bool QOpenGL2PaintEngineExPrivate::uploadIndexData ( const void * data,
GLenum indexValueType,
GLuint count )
inline

Definition at line 326 of file qopenglpaintengine_p.h.

◆ useSimpleShader()

void QOpenGL2PaintEngineExPrivate::useSimpleShader ( )
inline

Definition at line 137 of file qopenglpaintengine.cpp.

References matrixDirty, and updateMatrix().

Referenced by fillStencilWithVertexArray(), resetClipIfNeeded(), and writeClip().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeClip()

void QOpenGL2PaintEngineExPrivate::writeClip ( const QVectorPath & path,
uint value )

Definition at line 2429 of file qopenglpaintengine.cpp.

References matrixDirty, snapToPixelGrid, stencilClean, transferMode(), updateMatrix(), and useSimpleShader().

Here is the call graph for this function:

Member Data Documentation

◆ brushTextureDirty

bool QOpenGL2PaintEngineExPrivate::brushTextureDirty

◆ brushUniformsDirty

bool QOpenGL2PaintEngineExPrivate::brushUniformsDirty

Definition at line 254 of file qopenglpaintengine_p.h.

Referenced by fill(), prepareForDraw(), setBrush(), and updateBrushUniforms().

◆ compositionModeDirty

bool QOpenGL2PaintEngineExPrivate::compositionModeDirty

Definition at line 252 of file qopenglpaintengine_p.h.

Referenced by drawCachedGlyphs(), prepareForDraw(), and updateCompositionMode().

◆ ctx

QPointer<QOpenGLContext> QOpenGL2PaintEngineExPrivate::ctx

Definition at line 244 of file qopenglpaintengine_p.h.

◆ currentBrush

QBrush QOpenGL2PaintEngineExPrivate::currentBrush

Definition at line 264 of file qopenglpaintengine_p.h.

◆ currentBrushImage

QImage QOpenGL2PaintEngineExPrivate::currentBrushImage

Definition at line 267 of file qopenglpaintengine_p.h.

◆ currentScissorBounds

QRect QOpenGL2PaintEngineExPrivate::currentScissorBounds

Definition at line 261 of file qopenglpaintengine_p.h.

◆ dasher

QDashedStrokeProcessor QOpenGL2PaintEngineExPrivate::dasher

Definition at line 295 of file qopenglpaintengine_p.h.

◆ device

QOpenGLPaintDevice* QOpenGL2PaintEngineExPrivate::device

Definition at line 242 of file qopenglpaintengine_p.h.

◆ dirtyStencilRegion

QRegion QOpenGL2PaintEngineExPrivate::dirtyStencilRegion

Definition at line 260 of file qopenglpaintengine_p.h.

◆ elementIndices

QList<GLushort> QOpenGL2PaintEngineExPrivate::elementIndices

Definition at line 271 of file qopenglpaintengine_p.h.

◆ elementIndicesVBOId

GLuint QOpenGL2PaintEngineExPrivate::elementIndicesVBOId

Definition at line 272 of file qopenglpaintengine_p.h.

◆ funcs

QOpenGLExtensions QOpenGL2PaintEngineExPrivate::funcs

Definition at line 238 of file qopenglpaintengine_p.h.

◆ glyphCacheFormat

QFontEngine::GlyphFormat QOpenGL2PaintEngineExPrivate::glyphCacheFormat

Definition at line 246 of file qopenglpaintengine_p.h.

◆ height

int QOpenGL2PaintEngineExPrivate::height

◆ indexBuffer

QOpenGLBuffer QOpenGL2PaintEngineExPrivate::indexBuffer

Definition at line 289 of file qopenglpaintengine_p.h.

◆ inverseScale

GLfloat QOpenGL2PaintEngineExPrivate::inverseScale

Definition at line 280 of file qopenglpaintengine_p.h.

◆ lastTextureUnitUsed

GLenum QOpenGL2PaintEngineExPrivate::lastTextureUnitUsed

Definition at line 282 of file qopenglpaintengine_p.h.

◆ lastTextureUsed

GLuint QOpenGL2PaintEngineExPrivate::lastTextureUsed

Definition at line 283 of file qopenglpaintengine_p.h.

◆ matrixDirty

bool QOpenGL2PaintEngineExPrivate::matrixDirty

◆ matrixUniformDirty

bool QOpenGL2PaintEngineExPrivate::matrixUniformDirty

Definition at line 256 of file qopenglpaintengine_p.h.

Referenced by prepareForDraw(), and updateMatrix().

◆ maxClip

uint QOpenGL2PaintEngineExPrivate::maxClip

Definition at line 262 of file qopenglpaintengine_p.h.

◆ mode

EngineMode QOpenGL2PaintEngineExPrivate::mode

Definition at line 245 of file qopenglpaintengine_p.h.

Referenced by prepareForDraw().

◆ multisamplingAlwaysEnabled

bool QOpenGL2PaintEngineExPrivate::multisamplingAlwaysEnabled

Definition at line 292 of file qopenglpaintengine_p.h.

◆ nativePaintingActive

bool QOpenGL2PaintEngineExPrivate::nativePaintingActive

Definition at line 278 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineExPrivate().

◆ needsSync

bool QOpenGL2PaintEngineExPrivate::needsSync

Definition at line 291 of file qopenglpaintengine_p.h.

◆ noBrush

const QBrush QOpenGL2PaintEngineExPrivate::noBrush

Definition at line 265 of file qopenglpaintengine_p.h.

◆ opacityArray

QDataBuffer<GLfloat> QOpenGL2PaintEngineExPrivate::opacityArray

Definition at line 273 of file qopenglpaintengine_p.h.

◆ opacityBuffer

QOpenGLBuffer QOpenGL2PaintEngineExPrivate::opacityBuffer

Definition at line 288 of file qopenglpaintengine_p.h.

◆ opacityUniformDirty

bool QOpenGL2PaintEngineExPrivate::opacityUniformDirty

Definition at line 255 of file qopenglpaintengine_p.h.

Referenced by drawCachedGlyphs(), and prepareForDraw().

◆ pmvMatrix

GLfloat QOpenGL2PaintEngineExPrivate::pmvMatrix[3][3]

Definition at line 279 of file qopenglpaintengine_p.h.

◆ q

QOpenGL2PaintEngineEx* QOpenGL2PaintEngineExPrivate::q

Definition at line 240 of file qopenglpaintengine_p.h.

◆ shaderManager

QOpenGLEngineShaderManager* QOpenGL2PaintEngineExPrivate::shaderManager

Definition at line 241 of file qopenglpaintengine_p.h.

◆ snapToPixelGrid

bool QOpenGL2PaintEngineExPrivate::snapToPixelGrid

◆ staticTextureCoordinateArray

GLfloat QOpenGL2PaintEngineExPrivate::staticTextureCoordinateArray[8]

Definition at line 275 of file qopenglpaintengine_p.h.

◆ staticVertexCoordinateArray

GLfloat QOpenGL2PaintEngineExPrivate::staticVertexCoordinateArray[8]

Definition at line 274 of file qopenglpaintengine_p.h.

◆ stencilClean

bool QOpenGL2PaintEngineExPrivate::stencilClean

Definition at line 258 of file qopenglpaintengine_p.h.

Referenced by fillStencilWithVertexArray(), and writeClip().

◆ stroker

QTriangulatingStroker QOpenGL2PaintEngineExPrivate::stroker

Definition at line 294 of file qopenglpaintengine_p.h.

◆ texCoordBuffer

QOpenGLBuffer QOpenGL2PaintEngineExPrivate::texCoordBuffer

Definition at line 287 of file qopenglpaintengine_p.h.

◆ textureCoordinateArray

QOpenGL2PEXVertexArray QOpenGL2PaintEngineExPrivate::textureCoordinateArray

Definition at line 270 of file qopenglpaintengine_p.h.

◆ unusedIBOSToClean

QVarLengthArray<GLuint, 8> QOpenGL2PaintEngineExPrivate::unusedIBOSToClean

Definition at line 298 of file qopenglpaintengine_p.h.

◆ unusedVBOSToClean

QVarLengthArray<GLuint, 8> QOpenGL2PaintEngineExPrivate::unusedVBOSToClean

Definition at line 297 of file qopenglpaintengine_p.h.

◆ useSystemClip

bool QOpenGL2PaintEngineExPrivate::useSystemClip

◆ vao

QOpenGLVertexArrayObject QOpenGL2PaintEngineExPrivate::vao

Definition at line 285 of file qopenglpaintengine_p.h.

◆ vertexAttribPointers

const GLfloat* QOpenGL2PaintEngineExPrivate::vertexAttribPointers[3]

Definition at line 300 of file qopenglpaintengine_p.h.

◆ vertexAttributeArraysEnabledState

bool QOpenGL2PaintEngineExPrivate::vertexAttributeArraysEnabledState[QT_GL_VERTEX_ARRAY_TRACKED_COUNT]

Definition at line 248 of file qopenglpaintengine_p.h.

Referenced by setVertexAttribArrayEnabled().

◆ vertexBuffer

QOpenGLBuffer QOpenGL2PaintEngineExPrivate::vertexBuffer

Definition at line 286 of file qopenglpaintengine_p.h.

◆ vertexCoordinateArray

QOpenGL2PEXVertexArray QOpenGL2PaintEngineExPrivate::vertexCoordinateArray

Definition at line 269 of file qopenglpaintengine_p.h.

◆ width

int QOpenGL2PaintEngineExPrivate::width

The documentation for this class was generated from the following files: