Home
last modified time | relevance | path

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

/external/skqp/src/effects/imagefilters/
DSkDisplacementMapEffect.cpp217 SkIPoint colorOffset = SkIPoint::Make(0, 0); in onFilterImage() local
218 sk_sp<SkSpecialImage> color(this->filterInput(1, source, ctx, &colorOffset)); in onFilterImage()
241 const SkIRect srcBounds = SkIRect::MakeXYWH(colorOffset.x(), colorOffset.y(), in onFilterImage()
261 const SkIRect colorBounds = bounds.makeOffset(-colorOffset.x(), -colorOffset.y()); in onFilterImage()
281 SkMatrix offsetMatrix = SkMatrix::MakeTrans(SkIntToScalar(colorOffset.fX - displOffset.fX), in onFilterImage()
282 SkIntToScalar(colorOffset.fY - displOffset.fY)); in onFilterImage()
352 displBM, colorOffset - displOffset, colorBM, colorBounds); in onFilterImage()
/external/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp232 SkIPoint colorOffset = SkIPoint::Make(0, 0); in onFilterImage() local
233 sk_sp<SkSpecialImage> color(this->filterInput(1, ctx, &colorOffset)); in onFilterImage()
256 const SkIRect srcBounds = SkIRect::MakeXYWH(colorOffset.x(), colorOffset.y(), in onFilterImage()
276 const SkIRect colorBounds = bounds.makeOffset(-colorOffset); in onFilterImage()
297 SkMatrix offsetMatrix = SkMatrix::Translate(SkIntToScalar(colorOffset.fX - displOffset.fX), in onFilterImage()
298 SkIntToScalar(colorOffset.fY - displOffset.fY)); in onFilterImage()
368 displBM, colorOffset - displOffset, colorBM, colorBounds); in onFilterImage()
/external/angle/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()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp364 size_t colorOffset = 3 * sizeof(float); in drawSDFGlyphs() local
366 reinterpret_cast<const char*>(vertices) + colorOffset); in drawSDFGlyphs()
367 size_t texOffset = colorOffset + sizeof(uint32_t); in drawSDFGlyphs()
/external/skqp/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()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp616 size_t colorOffset = hasW ? sizeof(SkPoint3) : sizeof(SkPoint); in appendGlyph() local
619 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
624 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
629 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
634 *reinterpret_cast<GrColor*>(vertex + colorOffset) = fColor; in appendGlyph()
/external/angle/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.cpp2112 constexpr size_t colorOffset = 1; in TEST_P() local
2114 constexpr size_t colorBufferSize = colorOffset + sizeof(colorData); in TEST_P()
2116 memcpy(reinterpret_cast<void *>(colorDataUnaligned + colorOffset), colorData, in TEST_P()
2152 reinterpret_cast<const void *>(colorOffset)); in TEST_P()