Omit copy to RAM when possible with VAAPI
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
#ifndef SUNSHINE_DISPLAY_H
|
||||
#define SUNSHINE_DISPLAY_H
|
||||
#ifndef SUNSHINE_VAAPI_H
|
||||
#define SUNSHINE_VAAPI_H
|
||||
|
||||
#include "misc.h"
|
||||
#include "sunshine/platform/common.h"
|
||||
|
||||
namespace egl {
|
||||
struct surface_descriptor_t;
|
||||
}
|
||||
namespace va {
|
||||
std::shared_ptr<platf::hwdevice_t> make_hwdevice(int width, int height);
|
||||
std::shared_ptr<platf::hwdevice_t> make_hwdevice(int width, int height, file_t &&card, int offset_x, int offset_y, const egl::surface_descriptor_t &sd);
|
||||
|
||||
int init();
|
||||
} // namespace va
|
||||
|
||||
Reference in New Issue
Block a user