rhi: Remove unused compat functions
These were kept around to keep Qt Quick compiling, but the migration there has been done a long time ago. Remove these leftovers now. Change-Id: Ibd47381b410b11b5475a85c7ed3cb05c22f7adbb Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
9ac156c90b
commit
443ef0010a
@ -246,10 +246,6 @@ public:
|
||||
m_bindings.clear();
|
||||
std::copy(first, last, std::back_inserter(m_bindings));
|
||||
}
|
||||
void setBindings(const QVector<QRhiVertexInputBinding> &bindings) // compat., to be removed
|
||||
{
|
||||
setBindings(bindings.cbegin(), bindings.cend());
|
||||
}
|
||||
const QRhiVertexInputBinding *cbeginBindings() const { return m_bindings.cbegin(); }
|
||||
const QRhiVertexInputBinding *cendBindings() const { return m_bindings.cend(); }
|
||||
const QRhiVertexInputBinding *bindingAt(int index) const { return &m_bindings.at(index); }
|
||||
@ -261,10 +257,6 @@ public:
|
||||
m_attributes.clear();
|
||||
std::copy(first, last, std::back_inserter(m_attributes));
|
||||
}
|
||||
void setAttributes(const QVector<QRhiVertexInputAttribute> &attributes) // compat., to be removed
|
||||
{
|
||||
setAttributes(attributes.cbegin(), attributes.cend());
|
||||
}
|
||||
const QRhiVertexInputAttribute *cbeginAttributes() const { return m_attributes.cbegin(); }
|
||||
const QRhiVertexInputAttribute *cendAttributes() const { return m_attributes.cend(); }
|
||||
|
||||
@ -551,9 +543,6 @@ public:
|
||||
QRhiTextureUploadDescription() = default;
|
||||
QRhiTextureUploadDescription(const QRhiTextureUploadEntry &entry);
|
||||
QRhiTextureUploadDescription(std::initializer_list<QRhiTextureUploadEntry> list);
|
||||
QRhiTextureUploadDescription(const QVector<QRhiTextureUploadEntry> &entries) // compat., to be removed
|
||||
: m_entries(entries.cbegin(), entries.cend())
|
||||
{ }
|
||||
|
||||
void setEntries(std::initializer_list<QRhiTextureUploadEntry> list) { m_entries = list; }
|
||||
template<typename InputIterator>
|
||||
@ -979,11 +968,6 @@ public:
|
||||
std::copy(first, last, std::back_inserter(m_bindings));
|
||||
}
|
||||
|
||||
void setBindings(const QVector<QRhiShaderResourceBinding> &bindings) // compat., to be removed
|
||||
{
|
||||
setBindings(bindings.cbegin(), bindings.cend());
|
||||
}
|
||||
|
||||
const QRhiShaderResourceBinding *cbeginBindings() const { return m_bindings.cbegin(); }
|
||||
const QRhiShaderResourceBinding *cendBindings() const { return m_bindings.cend(); }
|
||||
|
||||
@ -1172,10 +1156,6 @@ public:
|
||||
m_shaderStages.clear();
|
||||
std::copy(first, last, std::back_inserter(m_shaderStages));
|
||||
}
|
||||
void setShaderStages(const QVector<QRhiShaderStage> &stages) // compat., to be removed
|
||||
{
|
||||
setShaderStages(stages.cbegin(), stages.cend());
|
||||
}
|
||||
const QRhiShaderStage *cbeginShaderStages() const { return m_shaderStages.cbegin(); }
|
||||
const QRhiShaderStage *cendShaderStages() const { return m_shaderStages.cend(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user