2013-11-13  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Fix SmallPathTracing and SmokeVision demos.

        Reviewed by TrustMe.

        Leftover from 548458cfb3d (issue #307)

        * WebCL/SmallPathTracing/rendering_kernel.cl:
        * WebCL/SmokeVision/scalarField.js:
        (ScalarField.prototype.draw):
        (ScalarField.prototype.addField):
        (ScalarField.prototype.diffusion):
        (ScalarField.prototype.advection):
        (ScalarField.prototype.setBoundaryDensities):
        * WebCL/SmokeVision/scalar_kernels.cl:
        * WebCL/SmokeVision/vectorField.js:
        (VectorField.prototype.addField):
        (VectorField.prototype.diffusion):
        (VectorField.prototype.projection):
        (VectorField.prototype.advection):
        (VectorField.prototype.vorticityConfinement):
        (VectorField.prototype.setBoundaryVelocities):
        (VectorField.prototype.setScalarFieldDensities):
        * WebCL/SmokeVision/vector_kernels.cl:
2013-11-13  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Strip comments out of program source for simple kernel parser evaluation
        Issue #340

        A courtesy of Steven Eliuk.
        One step forward to fix issue #336

        Make our simple kernel argument parser operate under a
        comment-free program source string.

        It makes string localization safer (e.g. "__kernel").

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::WebCLKernel):
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::removeComments):
        (WebCore::WebCLProgram::sourceWithCommentsStripped):
        * Modules/webcl/WebCLProgram.h:
2013-11-13  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Clean up ComputeTypes.h by removing unneeded kernel types decl.

        Reviewed by TrustMe.

        Leftover from d039ca92dc49d3b9e (issue #307)

        * platform/ComputeTypes.h: