internal: remove dead code (#8748)

This commit is contained in:
Ikalco 2024-12-17 10:31:27 -06:00 committed by GitHub
parent bd7092a9fe
commit e2c78c00e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 2 additions and 127 deletions

View file

@ -71,10 +71,6 @@ bool CDMABuffer::good() {
return success;
}
void CDMABuffer::updateTexture() {
;
}
void CDMABuffer::closeFDs() {
for (int i = 0; i < attrs.planes; ++i) {
if (attrs.fds[i] == -1)
@ -83,4 +79,4 @@ void CDMABuffer::closeFDs() {
attrs.fds[i] = -1;
}
attrs.planes = 0;
}
}

View file

@ -15,7 +15,6 @@ class CDMABuffer : public IHLBuffer {
virtual std::tuple<uint8_t*, uint32_t, size_t> beginDataPtr(uint32_t flags);
virtual void endDataPtr();
bool good();
void updateTexture();
void closeFDs();
bool success = false;
@ -26,4 +25,4 @@ class CDMABuffer : public IHLBuffer {
struct {
CHyprSignalListener resourceDestroy;
} listeners;
};
};