/external/skia/gm/ |
D | matrixconvolution.cpp | 52 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument 68 kernelOffset, in draw() 90 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local 92 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true); in onDraw() 93 this->draw(canvas, x, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true); in onDraw() 94 this->draw(canvas, x, 210, kernelOffset, MCIF::kRepeat_TileMode, true); in onDraw() 95 kernelOffset.fY++; in onDraw() 97 kernelOffset.fY = 1; in onDraw() 99 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw() 100 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect); in onDraw() [all …]
|
/external/chromium_org/third_party/skia/gm/ |
D | matrixconvolution.cpp | 52 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument 68 kernelOffset, in draw() 90 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local 92 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true); in onDraw() 93 this->draw(canvas, x, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true); in onDraw() 94 this->draw(canvas, x, 210, kernelOffset, MCIF::kRepeat_TileMode, true); in onDraw() 95 kernelOffset.fY++; in onDraw() 97 kernelOffset.fY = 1; in onDraw() 99 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw() 100 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect); in onDraw() [all …]
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 41 const SkIPoint& kernelOffset, in SkMatrixConvolutionImageFilter() argument 50 fKernelOffset(kernelOffset), in SkMatrixConvolutionImageFilter() 57 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter() 58 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter() 339 const SkIPoint& kernelOffset, in Create() argument 348 kernelOffset, in Create() 364 const float* kernelOffset() const { return fKernelOffset; } in kernelOffset() function in GrMatrixConvolutionEffect 382 const SkIPoint& kernelOffset, 491 const char* kernelOffset = builder->getUniformCStr(fKernelOffsetUni); in emitCode() local 500 …builder->fsCodeAppendf("\t\tvec2 coord = %s - %s * %s;\n", coords2D.c_str(), kernelOffset, imgInc); in emitCode() [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 41 const SkIPoint& kernelOffset, in SkMatrixConvolutionImageFilter() argument 50 fKernelOffset(kernelOffset), in SkMatrixConvolutionImageFilter() 57 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter() 58 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter() 339 const SkIPoint& kernelOffset, in Create() argument 348 kernelOffset, in Create() 364 const float* kernelOffset() const { return fKernelOffset; } in kernelOffset() function in GrMatrixConvolutionEffect 382 const SkIPoint& kernelOffset, 491 const char* kernelOffset = builder->getUniformCStr(fKernelOffsetUni); in emitCode() local 500 …builder->fsCodeAppendf("\t\tvec2 coord = %s - %s * %s;\n", coords2D.c_str(), kernelOffset, imgInc); in emitCode() [all …]
|
/external/skia/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 58 const SkIPoint& kernelOffset, 64 kernelOffset, tileMode, convolveAlpha, 75 const SkIPoint& kernelOffset,
|
/external/chromium_org/third_party/skia/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 58 const SkIPoint& kernelOffset, 64 kernelOffset, tileMode, convolveAlpha, 75 const SkIPoint& kernelOffset,
|
/external/chromium_org/third_party/skia/bench/ |
D | MatrixConvolutionBench.cpp | 25 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in MatrixConvolutionBench() local 26 …kMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, conv… in MatrixConvolutionBench()
|
/external/skia/bench/ |
D | MatrixConvolutionBench.cpp | 25 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in MatrixConvolutionBench() local 26 …kMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, conv… in MatrixConvolutionBench()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleFilterFuzz.cpp | 295 SkIPoint kernelOffset = SkIPoint::Make(R(SkIntToScalar(size.width())), in make_image_filter() local 301 kernelOffset, in make_image_filter()
|
/external/skia/samplecode/ |
D | SampleFilterFuzz.cpp | 295 SkIPoint kernelOffset = SkIPoint::Make(R(SkIntToScalar(size.width())), in make_image_filter() local 301 kernelOffset, in make_image_filter()
|
/external/chromium_org/third_party/skia/tests/ |
D | ImageFilterTest.cpp | 436 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in DEF_TEST() local 440 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST() 463 SkIPoint kernelOffset = SkIPoint::Make(2, 0); in DEF_TEST() local 467 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 436 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in DEF_TEST() local 440 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST() 463 SkIPoint kernelOffset = SkIPoint::Make(2, 0); in DEF_TEST() local 467 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
|