mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Interfaces to register resources
Change-Id: Ic587aaa5a41e4e7648211cfa730a0aa5bbc2985a Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
9981cdd9e2
commit
d363448515
@ -12,6 +12,7 @@
|
||||
namespace NEO {
|
||||
class BufferObject;
|
||||
class OsContext;
|
||||
class Drm;
|
||||
|
||||
struct OsHandle {
|
||||
BufferObject *bo = nullptr;
|
||||
@ -65,6 +66,7 @@ class DrmAllocation : public GraphicsAllocation {
|
||||
void makeBOsResident(OsContext *osContext, uint32_t vmHandleId, std::vector<BufferObject *> *bufferObjects, bool bind);
|
||||
void bindBO(BufferObject *bo, OsContext *osContext, uint32_t vmHandleId, std::vector<BufferObject *> *bufferObjects, bool bind);
|
||||
void bindBOs(OsContext *osContext, uint32_t vmHandleId, std::vector<BufferObject *> *bufferObjects, bool bind);
|
||||
void registerBOBindExtHandle(Drm *drm);
|
||||
|
||||
protected:
|
||||
BufferObjects bufferObjects{};
|
||||
|
Reference in New Issue
Block a user