mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-29 02:43:48 -07:00
internal: remove dead code (#8748)
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user