SWDEV-245531 - GLInterop: Add Buffer Interop support

Change-Id: I38326173475e84f8eca2605522542ef89a3cf524
This commit is contained in:
Ravi C Akkenapally
2021-05-10 18:24:06 -07:00
parent e637c2f637
commit 0aa524363d
3 changed files with 15 additions and 2 deletions
+6 -1
View File
@@ -174,6 +174,11 @@ class Context : public RuntimeObject {
//! Returns the context info structure
const Info& info() const { return info_; }
void setInfo(Info info) {
info_ = info;
return;
}
//! Returns a pointer to the original properties
const cl_context_properties* properties() const { return properties_; }
@@ -208,7 +213,7 @@ class Context : public RuntimeObject {
{ deviceQueues_[&dev].defDeviceQueue_ = queue; };
private:
const Info info_; //!< Context info structure
Info info_; //!< Context info structure
cl_context_properties* properties_; //!< Original properties
GLFunctions* glenv_; //!< OpenGL context
Device* customHostAllocDevice_; //!< Device responsible for host allocations