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
19 changed files with 2 additions and 127 deletions

View File

@@ -43,7 +43,6 @@ class CWLSHMBuffer : public IHLBuffer {
virtual void endDataPtr();
bool good();
void updateTexture();
int32_t offset = 0, stride = 0;
uint32_t fmt = 0;

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;
};
};