summaryrefslogtreecommitdiff
path: root/src/core/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/context.cpp')
-rw-r--r--src/core/context.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/core/context.cpp b/src/core/context.cpp
index 5f2071e..5d25e2e 100644
--- a/src/core/context.cpp
+++ b/src/core/context.cpp
@@ -1,16 +1,22 @@
#include "context.h"
#include "util/u_memory.h"
-void cl_destroy_context( struct pipe_context *context )
+using namespace Coal;
+
+Context::Context()
{
- struct _cl_context *clcontext = cl_convert_context(context);
+}
- FREE(clcontext);
+Context::~Context()
+{
}
-struct pipe_context *cl_create_context()
+bool Context::ref()
{
- struct _cl_context *cl_context = CALLOC_STRUCT(_cl_context);
+ return true;
+}
- return &cl_context->pipe;
+bool Context::deref()
+{
+ return true;
}