diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-05-01 22:14:20 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-05-02 16:17:56 +0000 |
commit | 749f98c8f28ffd06d5caccffe60edc94f280f6f7 (patch) | |
tree | d7f58ae3ca6aed44d12d10a7db088bf76c7d4750 /src/quickcl/qquickclcontext.h | |
parent | a098fea659e9dd2cdb8d214c62cfe59f2aecb1a6 (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.h | 5 |
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; }; |