aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickshadereffect_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-05-26 16:04:03 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-01 10:32:18 +0000
commit1c6d4353f742a740e54b234db4d7b8913d515376 (patch)
tree2b0a7602cd96345240f3b021e4453ca560e932c1 /src/quick/items/qquickshadereffect_p.h
parenta6d3e3afcdd8f08893cff4deed7e866a5daf3cbd (diff)
One GraphicsInfo to rule them all
Rename RendererInfo to GraphicsInfo. Deprecate OpenGLInfo and move the surface format properties into GraphicsInfo. Move also the shader info properties from ShaderEffect. Change-Id: I3b3f01080e059b3a30a132fd67de19a4bfca54ef Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/items/qquickshadereffect_p.h')
-rw-r--r--src/quick/items/qquickshadereffect_p.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/quick/items/qquickshadereffect_p.h b/src/quick/items/qquickshadereffect_p.h
index 0410514c36..62d7e6fe5f 100644
--- a/src/quick/items/qquickshadereffect_p.h
+++ b/src/quick/items/qquickshadereffect_p.h
@@ -70,9 +70,6 @@ class Q_QUICK_PRIVATE_EXPORT QQuickShaderEffect : public QQuickItem
Q_PROPERTY(QString log READ log NOTIFY logChanged)
Q_PROPERTY(Status status READ status NOTIFY statusChanged)
Q_PROPERTY(bool supportsAtlasTextures READ supportsAtlasTextures WRITE setSupportsAtlasTextures NOTIFY supportsAtlasTexturesChanged REVISION 1)
- Q_PROPERTY(ShaderType shaderType READ shaderType NOTIFY shaderTypeChanged REVISION 2)
- Q_PROPERTY(ShaderCompilationType shaderCompilationType READ shaderCompilationType NOTIFY shaderCompilationTypeChanged REVISION 2)
- Q_PROPERTY(ShaderSourceType shaderSourceType READ shaderSourceType NOTIFY shaderSourceTypeChanged REVISION 2)
public:
enum CullMode {
@@ -89,26 +86,6 @@ public:
};
Q_ENUM(Status)
- enum ShaderType {
- UnknownShadingLanguage,
- GLSL,
- HLSL
- };
- Q_ENUM(ShaderType)
-
- enum ShaderCompilationType {
- RuntimeCompilation = 0x01,
- OfflineCompilation = 0x02
- };
- Q_ENUM(ShaderCompilationType)
-
- enum ShaderSourceType {
- ShaderSourceString = 0x01,
- ShaderSourceFile = 0x02,
- ShaderByteCode = 0x04
- };
- Q_ENUM(ShaderSourceType)
-
QQuickShaderEffect(QQuickItem *parent = 0);
QByteArray fragmentShader() const;
@@ -132,10 +109,6 @@ public:
QString log() const;
Status status() const;
- ShaderType shaderType() const;
- ShaderCompilationType shaderCompilationType() const;
- ShaderSourceType shaderSourceType() const;
-
bool isComponentComplete() const;
QString parseLog();
@@ -148,9 +121,6 @@ Q_SIGNALS:
void logChanged();
void statusChanged();
void supportsAtlasTexturesChanged();
- void shaderTypeChanged();
- void shaderCompilationTypeChanged();
- void shaderSourceTypeChanged();
protected:
bool event(QEvent *e) override;