Get alpha buffer size bigger than zero for INTEGRITY ARMv8 Drive CX
Change-Id: I5bdfe9bb50aafe50542c665d91973e4c0c12e602 Reviewed-by: Nikola Velinov <nvelinov@ghs.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
ccb3e25d82
commit
c49c559abe
@ -56,6 +56,13 @@ QEglFSKmsEglDeviceIntegration::QEglFSKmsEglDeviceIntegration()
|
|||||||
qCDebug(qLcEglfsKmsDebug, "New DRM/KMS on EGLDevice integration created");
|
qCDebug(qLcEglfsKmsDebug, "New DRM/KMS on EGLDevice integration created");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSurfaceFormat QEglFSKmsEglDeviceIntegration::surfaceFormatFor(const QSurfaceFormat &inputFormat) const
|
||||||
|
{
|
||||||
|
QSurfaceFormat format = QEglFSKmsIntegration::surfaceFormatFor(inputFormat);
|
||||||
|
format.setAlphaBufferSize(8);
|
||||||
|
return format;
|
||||||
|
}
|
||||||
|
|
||||||
EGLint QEglFSKmsEglDeviceIntegration::surfaceType() const
|
EGLint QEglFSKmsEglDeviceIntegration::surfaceType() const
|
||||||
{
|
{
|
||||||
return EGL_STREAM_BIT_KHR;
|
return EGL_STREAM_BIT_KHR;
|
||||||
|
@ -55,6 +55,7 @@ class QEglFSKmsEglDeviceIntegration : public QEglFSKmsIntegration
|
|||||||
public:
|
public:
|
||||||
QEglFSKmsEglDeviceIntegration();
|
QEglFSKmsEglDeviceIntegration();
|
||||||
|
|
||||||
|
QSurfaceFormat surfaceFormatFor(const QSurfaceFormat &inputFormat) const override;
|
||||||
EGLint surfaceType() const override;
|
EGLint surfaceType() const override;
|
||||||
EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
|
EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
|
||||||
bool supportsSurfacelessContexts() const override;
|
bool supportsSurfacelessContexts() const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user