Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qplatformgraphicsbufferhelper.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QtGui/qtguiglobal.h>
#include <QtGui/qpa/qplatformgraphicsbuffer.h>
+ Include dependency graph for qplatformgraphicsbufferhelper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QPlatformGraphicsBufferHelper
 \inmodule QtGui
 

Functions

Q_GUI_EXPORT bool QPlatformGraphicsBufferHelper::lockAndBindToTexture (QPlatformGraphicsBuffer *graphicsBuffer, bool *swizzleRandB, bool *premultipliedB, const QRect &rect=QRect())
 Convenience function to both lock and bind the graphicsBuffer to a texture.
 
bool QPlatformGraphicsBufferHelper::bindSWToTexture (const QPlatformGraphicsBuffer *graphicsBuffer, bool *swizzleRandB=nullptr, bool *premultipliedB=nullptr, const QRect &rect=QRect())
 Convenience function that uploads the current raster content to the currently bound texture.