4#ifndef QPLATFORMGRAPHICSBUFFERHELPER_H
5#define QPLATFORMGRAPHICSBUFFERHELPER_H
7#include <QtGui/qtguiglobal.h>
8#include <QtGui/qpa/qplatformgraphicsbuffer.h>
12namespace QPlatformGraphicsBufferHelper {
14 bool bindSWToTexture(
const QPlatformGraphicsBuffer *graphicsBuffer,
bool *swizzleRandB =
nullptr,
bool *premultipliedB =
nullptr,
const QRect &rect = QRect());