SRA-SiliconValley/webkit-webcl — pull request #413 by arenevier (2014-01-16 00:34:44+00:00)
Title: 2014-01-15  Arnaud Renevier  <a.renevier@samsung.com>

Some opencl1.1 headers define CL_VERSION_1_2 to 0 some other don't
define this macro. So this patches checks for that CL_VERSION_1_2 is
both defined and true

Issue #412

Reviewed by NOBODY (OOPS!).

* platform/ComputeTypes.h:
* platform/opencl/ComputeCommandQueueCL.cpp:
(WebCore::ComputeCommandQueue::enqueueBarrier):
(WebCore::ComputeCommandQueue::enqueueMarker):
* platform/opencl/ComputeContextCL.cpp:
(WebCore::ComputeContext::createImage2D):
(WebCore::ComputeContext::createFromGLTexture2D):