Previously we copied frames first to a temporary QImage and then to PipeWire buffer. This shouldn't be
necessary as we can copy frames directly to PipeWire buffers which should be much more effecient.
BUG: 419209
zzag |
Plasma |
Previously we copied frames first to a temporary QImage and then to PipeWire buffer. This shouldn't be
necessary as we can copy frames directly to PipeWire buffers which should be much more effecient.
BUG: 419209
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
src/screencaststream.cpp | ||
---|---|---|
549–563 | Do we actually need an fbo? |
src/screencaststream.cpp | ||
---|---|---|
549–563 | The entire framebuffer is superfluous, it is never used. glGetTexImage() reads from the currently bound texture, which in this case is "texture" since you bind it at line 546. |
src/screencaststream.cpp | ||
---|---|---|
549–563 | The fbo is gone 8a2286317edf91017a4854814340c48c4552fafe |