HomeSort by relevance Sort by last modified time
    Searched refs:imageIncrement (Results 1 - 8 of 8) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/gpu/
BicubicShader.h 42 void use(const AffineTransform&, const AffineTransform& texTransform, const float coefficients[16], const float imageIncrement[2], float alpha);
ConvolutionShader.h 42 void use(const AffineTransform&, const AffineTransform& texTransform, const float* kernel, int kernelWidth, float imageIncrement[2]);
BicubicShader.cpp 46 , m_imageIncrementLocation(context->getUniformLocation(program, "imageIncrement"))
70 "uniform vec2 imageIncrement;\n"
81 " vec2 f = fract(imageCoord / imageIncrement) - vec2(0.5, 0.5);\n"
82 " vec4 t00 = texture2D(image, imageCoord + imageIncrement * vec2(-1, -1));\n"
83 " vec4 t10 = texture2D(image, imageCoord + imageIncrement * vec2( 0, -1));\n"
84 " vec4 t20 = texture2D(image, imageCoord + imageIncrement * vec2( 1, -1));\n"
85 " vec4 t30 = texture2D(image, imageCoord + imageIncrement * vec2( 2, -1));\n"
87 " vec4 t01 = texture2D(image, imageCoord + imageIncrement * vec2(-1, 0));\n"
88 " vec4 t11 = texture2D(image, imageCoord + imageIncrement * vec2( 0, 0));\n"
89 " vec4 t21 = texture2D(image, imageCoord + imageIncrement * vec2( 1, 0));\n
    [all...]
ConvolutionShader.cpp 49 , m_imageIncrementLocation(context->getUniformLocation(program, "imageIncrement"))
60 "uniform vec2 imageIncrement;\n"
68 " imageCoord = (texMatrix * pos).xy - vec2(scale, scale) * imageIncrement;\n"
79 "uniform vec2 imageIncrement;\n"
86 " coord += imageIncrement;\n"
99 void ConvolutionShader::use(const AffineTransform& transform, const AffineTransform& texTransform, const float* kernel, int kernelWidth, float imageIncrement[2])
110 m_context->uniform2f(m_imageIncrementLocation, imageIncrement[0], imageIncrement[1]);
SharedGraphicsContext3D.h 112 void useBicubicProgram(const AffineTransform&, const AffineTransform&, const float coefficients[16], const float imageIncrement[2], float alpha);
113 void useConvolutionProgram(const AffineTransform&, const AffineTransform& texTransform, const float* kernel, int kernelWidth, float imageIncrement[2]);
SharedGraphicsContext3D.cpp 401 void SharedGraphicsContext3D::useBicubicProgram(const AffineTransform& transform, const AffineTransform& texTransform, const float coefficients[16], const float imageIncrement[2], float alpha)
403 m_bicubicShader->use(transform, texTransform, coefficients, imageIncrement, alpha);
406 void SharedGraphicsContext3D::useConvolutionProgram(const AffineTransform& transform, const AffineTransform& texTransform, const float* kernel, int kernelWidth, float imageIncrement[2])
409 m_convolutionShaders[kernelWidth - 1]->use(transform, texTransform, kernel, kernelWidth, imageIncrement);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
GLES2Canvas.h 108 void convolveRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, float imageIncrement[2], const float* kernel, int kernelWidth);
GLES2Canvas.cpp 448 void GLES2Canvas::convolveRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, float imageIncrement[2], const float* kernel, int kernelWidth)
466 m_context->useConvolutionProgram(matrix, texMatrix, kernel, kernelWidth, imageIncrement);
522 float imageIncrement[2] = { 1.0f / textureSize.width(), 1.0f / textureSize.height() };
525 texMatrix.scale(imageIncrement[0], imageIncrement[1]);
533 m_context->useBicubicProgram(matrix, texMatrix, mitchellCoefficients, imageIncrement, alpha);
    [all...]

Completed in 80 milliseconds