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
qopenglcompositor.cpp File Reference

(39bcd4287a6146e6deba9c6a9fdb70298deed427)

#include <QtOpenGL/QOpenGLFramebufferObject>
#include <QtGui/QOpenGLContext>
#include <QtGui/QWindow>
#include <rhi/qrhi.h>
#include <qpa/qplatformbackingstore.h>
#include "qopenglcompositor_p.h"
#include "moc_qopenglcompositor_p.cpp"
Include dependency graph for qopenglcompositor.cpp:

Go to the source code of this file.

Classes

struct  BlendStateBinder

Functions

static QRect toBottomLeftRect (const QRect &topLeftRect, int windowHeight)
static void clippedBlit (const QPlatformTextureList *textures, int idx, const QRect &sourceWindowRect, const QRect &targetWindowRect, QOpenGLTextureBlitter *blitter, QMatrix4x4 *rotationMatrix, QOpenGLTextureBlitter::Origin sourceOrigin)

Variables

static QOpenGLCompositorcompositor = 0

Function Documentation

◆ clippedBlit()

void clippedBlit ( const QPlatformTextureList * textures,
int idx,
const QRect & sourceWindowRect,
const QRect & targetWindowRect,
QOpenGLTextureBlitter * blitter,
QMatrix4x4 * rotationMatrix,
QOpenGLTextureBlitter::Origin sourceOrigin )
static

Definition at line 172 of file qopenglcompositor.cpp.

◆ toBottomLeftRect()

QRect toBottomLeftRect ( const QRect & topLeftRect,
int windowHeight )
inlinestatic

Definition at line 166 of file qopenglcompositor.cpp.

Variable Documentation

◆ compositor

QOpenGLCompositor * compositor = 0
static

Definition at line 41 of file qopenglcompositor.cpp.