Home
last modified time | relevance | path

Searched refs:colorOffset (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp229 SkIPoint colorOffset = SkIPoint::Make(0, 0); in onFilterImage() local
230 sk_sp<SkSpecialImage> color(this->filterInput(1, ctx, &colorOffset)); in onFilterImage()
253 const SkIRect srcBounds = SkIRect::MakeXYWH(colorOffset.x(), colorOffset.y(), in onFilterImage()
273 const SkIRect colorBounds = bounds.makeOffset(-colorOffset); in onFilterImage()
294 SkMatrix offsetMatrix = SkMatrix::Translate(SkIntToScalar(colorOffset.fX - displOffset.fX), in onFilterImage()
295 SkIntToScalar(colorOffset.fY - displOffset.fY)); in onFilterImage()
364 displBM, colorOffset - displOffset, colorBM, colorBounds); in onFilterImage()
/third_party/flutter/skia/src/effects/imagefilters/
DSkDisplacementMapEffect.cpp280 SkIPoint colorOffset = SkIPoint::Make(0, 0); in onFilterImage() local
281 sk_sp<SkSpecialImage> color(this->filterInput(1, ctx, &colorOffset)); in onFilterImage()
304 const SkIRect srcBounds = SkIRect::MakeXYWH(colorOffset.x(), colorOffset.y(), in onFilterImage()
324 const SkIRect colorBounds = bounds.makeOffset(-colorOffset.x(), -colorOffset.y()); in onFilterImage()
345 SkMatrix offsetMatrix = SkMatrix::MakeTrans(SkIntToScalar(colorOffset.fX - displOffset.fX), in onFilterImage()
346 SkIntToScalar(colorOffset.fY - displOffset.fY)); in onFilterImage()
420 displBM, colorOffset - displOffset, colorBM, colorBounds); in onFilterImage()
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrlLib.h458 float colorOffset[3],
478 float colorOffset[3],
DNVCtrl.c833 float colorOffset[3], in XNVCTRLSetGvoColorConversion()
859 req->cscOffset_y = colorOffset[0]; in XNVCTRLSetGvoColorConversion()
860 req->cscOffset_cr = colorOffset[1]; in XNVCTRLSetGvoColorConversion()
861 req->cscOffset_cb = colorOffset[2]; in XNVCTRLSetGvoColorConversion()
876 float colorOffset[3], in XNVCTRLQueryGvoColorConversion()
902 _XRead(dpy, (char *)(colorOffset), 12); in XNVCTRLQueryGvoColorConversion()
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrlLib.h458 float colorOffset[3],
478 float colorOffset[3],
DNVCtrl.c833 float colorOffset[3], in XNVCTRLSetGvoColorConversion()
859 req->cscOffset_y = colorOffset[0]; in XNVCTRLSetGvoColorConversion()
860 req->cscOffset_cr = colorOffset[1]; in XNVCTRLSetGvoColorConversion()
861 req->cscOffset_cb = colorOffset[2]; in XNVCTRLSetGvoColorConversion()
876 float colorOffset[3], in XNVCTRLQueryGvoColorConversion()
902 _XRead(dpy, (char *)(colorOffset), 12); in XNVCTRLQueryGvoColorConversion()
/third_party/flutter/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp365 size_t colorOffset = 3 * sizeof(float); in drawSDFGlyphs() local
367 reinterpret_cast<const char*>(vertices) + colorOffset); in drawSDFGlyphs()
368 size_t texOffset = colorOffset + sizeof(uint32_t); in drawSDFGlyphs()
/third_party/flutter/skia/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp36 size_t colorOffset = vertexStride - sizeof(SkIPoint16) - sizeof(GrColor); in regen_colors() local
37 GrColor* vcolor = reinterpret_cast<GrColor*>(vertex + colorOffset); in regen_colors()
/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.cpp735 size_t colorOffset = hasW ? sizeof(SkPoint3) : sizeof(SkPoint); in appendGlyph() local
738 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
743 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
748 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
753 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp54 int colorOffset = srcOffset + (isDXT1 ? 0 : 8); in UncompressDXTBlock() local
55 int color0 = make565(colorOffset + 0); in UncompressDXTBlock()
56 int color1 = make565(colorOffset + 2); in UncompressDXTBlock()
68 uint8_t pixels = src[colorOffset + 4 + yy]; in UncompressDXTBlock()
DStateChangeTest.cpp1785 constexpr size_t colorOffset = 1; in TEST_P() local
1787 constexpr size_t colorBufferSize = colorOffset + sizeof(colorData); in TEST_P()
1789 memcpy(reinterpret_cast<void *>(colorDataUnaligned + colorOffset), colorData, in TEST_P()
1825 reinterpret_cast<const void *>(colorOffset)); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp55 int colorOffset = srcOffset + (isDXT1 ? 0 : 8); in UncompressDXTBlock() local
56 int color0 = make565(colorOffset + 0); in UncompressDXTBlock()
57 int color1 = make565(colorOffset + 2); in UncompressDXTBlock()
69 uint8_t pixels = src[colorOffset + 4 + yy]; in UncompressDXTBlock()
DStateChangeTest.cpp2109 constexpr size_t colorOffset = 1; in TEST_P() local
2111 constexpr size_t colorBufferSize = colorOffset + sizeof(colorData); in TEST_P()
2113 memcpy(reinterpret_cast<void *>(colorDataUnaligned + colorOffset), colorData, in TEST_P()
2149 reinterpret_cast<const void *>(colorOffset)); in TEST_P()