aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcl/qquickclcontext.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-05-01 22:14:20 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-05-02 16:17:56 +0000
commit749f98c8f28ffd06d5caccffe60edc94f280f6f7 (patch)
treed7f58ae3ca6aed44d12d10a7db088bf76c7d4750 /src/quickcl/qquickclcontext.h
parenta098fea659e9dd2cdb8d214c62cfe59f2aecb1a6 (diff)
Move helpers from item to context
Change-Id: I61ef7f15799af2cbd7e245285b7c04f2bfd04989 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/quickcl/qquickclcontext.h')
-rw-r--r--src/quickcl/qquickclcontext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quickcl/qquickclcontext.h b/src/quickcl/qquickclcontext.h
index 2a7e94c..d780ad5 100644
--- a/src/quickcl/qquickclcontext.h
+++ b/src/quickcl/qquickclcontext.h
@@ -60,6 +60,11 @@ public:
cl_device_id device() const;
cl_context context() const;
+ QByteArray platformName() const;
+ QByteArray deviceExtensions() const;
+ cl_program buildProgram(const QByteArray &src);
+ cl_program buildProgramFromFile(const QString &filename);
+
private:
QQuickCLContextPrivate *d_ptr;
};