Commit e5873fd8 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Rename last remaining BasicRenderTargetData occurrences

Nothing "basic" about it. Jus use RenderTargetData.
parent 8a035698
......@@ -1463,7 +1463,7 @@ void QRhiGles2::beginPass(QRhiCommandBuffer *cb,
QGles2CommandBuffer *cbD = QRHI_RES(QGles2CommandBuffer, cb);
bool needsColorClear = true;
bool needsDsClear = true;
QGles2BasicRenderTargetData *rtD = nullptr;
QGles2RenderTargetData *rtD = nullptr;
QGles2CommandBuffer::Command fbCmd;
fbCmd.cmd = QGles2CommandBuffer::Command::BindFramebuffer;
switch (rt->type()) {
......
......@@ -133,9 +133,9 @@ struct QGles2RenderPassDescriptor : public QRhiRenderPassDescriptor
void release() override;
};
struct QGles2BasicRenderTargetData
struct QGles2RenderTargetData
{
QGles2BasicRenderTargetData(QRhiImplementation *) { }
QGles2RenderTargetData(QRhiImplementation *) { }
QGles2RenderPassDescriptor *rp = nullptr;
QSize pixelSize;
......@@ -151,7 +151,7 @@ struct QGles2ReferenceRenderTarget : public QRhiReferenceRenderTarget
QSize sizeInPixels() const override;
float devicePixelRatio() const override;
QGles2BasicRenderTargetData d;
QGles2RenderTargetData d;
};
struct QGles2TextureRenderTarget : public QRhiTextureRenderTarget
......@@ -166,7 +166,7 @@ struct QGles2TextureRenderTarget : public QRhiTextureRenderTarget
QRhiRenderPassDescriptor *newCompatibleRenderPassDescriptor() override;
bool build() override;
QGles2BasicRenderTargetData d;
QGles2RenderTargetData d;
GLuint framebuffer = 0;
friend class QRhiGles2;
};
......
......@@ -88,9 +88,9 @@ struct QNullRenderPassDescriptor : public QRhiRenderPassDescriptor
void release() override;
};
struct QNullBasicRenderTargetData
struct QNullRenderTargetData
{
QNullBasicRenderTargetData(QRhiImplementation *) { }
QNullRenderTargetData(QRhiImplementation *) { }
QNullRenderPassDescriptor *rp = nullptr;
QSize pixelSize;
......@@ -105,7 +105,7 @@ struct QNullReferenceRenderTarget : public QRhiReferenceRenderTarget
QSize sizeInPixels() const override;
float devicePixelRatio() const override;
QNullBasicRenderTargetData d;
QNullRenderTargetData d;
};
struct QNullTextureRenderTarget : public QRhiTextureRenderTarget
......@@ -120,7 +120,7 @@ struct QNullTextureRenderTarget : public QRhiTextureRenderTarget
QRhiRenderPassDescriptor *newCompatibleRenderPassDescriptor() override;
bool build() override;
QNullBasicRenderTargetData d;
QNullRenderTargetData d;
};
struct QNullShaderResourceBindings : public QRhiShaderResourceBindings
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment