Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSurfaceProxyView.h23 : fProxy(proxy), fOrigin(origin), fSwizzle(swizzle) {} in GrSurfaceProxyView()
40 fSwizzle == view.fSwizzle;
73 GrSwizzle swizzle() const { return fSwizzle; } in swizzle()
88 GrSwizzle fSwizzle; variable
DGrFragmentProcessor.cpp167 const GrSwizzle& swizzle() const { return fSwizzle; } in SwizzleOutput()
169 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(fSwizzle); } in SwizzleOutput()
174 , fSwizzle(swizzle) {} in SwizzleOutput()
192 b->add32(fSwizzle.asKey()); in SwizzleOutput()
197 return fSwizzle == sfp.fSwizzle; in SwizzleOutput()
201 return fSwizzle.applyTo(input); in SwizzleOutput()
204 GrSwizzle fSwizzle; in SwizzleOutput() member in GrFragmentProcessor::SwizzleOutput::SwizzleFragmentProcessor
DGrPrimitiveProcessor.h287 const GrSwizzle& swizzle() const { return fSwizzle; } in swizzle()
294 GrSwizzle fSwizzle; variable
DGrPrimitiveProcessor.cpp75 fSwizzle = swizzle; in reset()
/external/skqp/src/gpu/
DGrFragmentProcessor.cpp162 const GrSwizzle& swizzle() const { return fSwizzle; } in SwizzleOutput()
164 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(fSwizzle); } in SwizzleOutput()
169 , fSwizzle(swizzle) {} in SwizzleOutput()
187 b->add32(fSwizzle.asKey()); in SwizzleOutput()
192 return fSwizzle == sfp.fSwizzle; in SwizzleOutput()
196 return fSwizzle.applyTo(input); in SwizzleOutput()
199 GrSwizzle fSwizzle; in SwizzleOutput() member in GrFragmentProcessor::SwizzleOutput::SwizzleFragmentProcessor
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp1425 fConfigTable[kUnknown_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1447 fConfigTable[kRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1478 fConfigTable[kRGB_888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1502 fConfigTable[kRG_88_GrPixelConfig].fSwizzle = GrSwizzle::RGRG(); in initConfigTable()
1558 fConfigTable[kBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1618 fConfigTable[kSRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1638 fConfigTable[kSBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1668 fConfigTable[kRGB_565_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1687 fConfigTable[kRGBA_4444_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
1703 fConfigTable[kRGBA_1010102_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
[all …]
DGrGLCaps.h138 return fConfigTable[config].fSwizzle; in configSwizzle()
596 GrSwizzle fSwizzle; member
/external/skia/src/gpu/ops/
DGrTextureOp.cpp341 : fSwizzle(swizzle) in Metadata()
350 GrSwizzle fSwizzle; // sizeof(GrSwizzle) == uint16_t member
540 SkASSERT(fMetadata.fSwizzle == set[q].fProxyView.swizzle()); in TextureOp()
744 SkASSERT(op.fMetadata.fSwizzle == fMetadata.fSwizzle); in validate()
917 samplerState, fMetadata.fSwizzle, std::move(fTextureColorSpaceXform), in onPrepareDraws()
981 if (fMetadata.fSwizzle != that->fMetadata.fSwizzle) { in onCombineIfPossible()
/external/skia/src/sksl/
DSkSLByteCodeGenerator.cpp315 , fSwizzle(*swizzle) {} in ByteCodeSwizzleLValue()
318 fGenerator.writeSwizzle(fSwizzle, result); in load()
322 ByteCodeGenerator::Location target = fGenerator.getLocation(*fSwizzle.fBase); in store()
325 fGenerator.getStorage(*fSwizzle.fBase)); in store()
326 for (size_t i = 0; i < fSwizzle.fComponents.size(); ++i) { in store()
327 ByteCodeGenerator::Location final = target.offset(fGenerator, fSwizzle.fComponents[i]); in store()
335 const Swizzle& fSwizzle; member in SkSL::ByteCodeSwizzleLValue