Keep image on vram if at all possible with wlroots based compositors
This commit is contained in:
parent
ec184fb2ab
commit
b59df48dde
8 changed files with 280 additions and 121 deletions
|
|
@ -513,7 +513,7 @@ struct x11_attr_t : public display_t {
|
|||
|
||||
std::shared_ptr<hwdevice_t> make_hwdevice(pix_fmt_e pix_fmt) override {
|
||||
if(mem_type == mem_type_e::vaapi) {
|
||||
return va::make_hwdevice(width, height);
|
||||
return va::make_hwdevice(width, height, false);
|
||||
}
|
||||
|
||||
return std::make_shared<hwdevice_t>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue