Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSurfaceProxyView.h23 : fProxy(std::move(proxy)), fOrigin(origin), fSwizzle(swizzle) {} in GrSurfaceProxyView()
40 fSwizzle == view.fSwizzle;
73 GrSwizzle swizzle() const { return fSwizzle; } in swizzle()
75 void concatSwizzle(GrSwizzle swizzle) { fSwizzle = GrSwizzle::Concat(fSwizzle, swizzle); } in concatSwizzle()
78 return {fProxy, fOrigin, GrSwizzle::Concat(fSwizzle, swizzle)}; in makeSwizzle()
82 return {std::move(fProxy), fOrigin, GrSwizzle::Concat(fSwizzle, swizzle)}; in makeSwizzle()
130 GrSwizzle fSwizzle; variable
DGrFragmentProcessor.cpp267 const GrSwizzle& swizzle() const { return fSwizzle; } in SwizzleOutput()
270 return Make(this->childProcessor(0)->clone(), fSwizzle); in SwizzleOutput()
276 , fSwizzle(swizzle) { in SwizzleOutput()
298 b->add32(fSwizzle.asKey()); in SwizzleOutput()
303 return fSwizzle == sfp.fSwizzle; in SwizzleOutput()
307 return fSwizzle.applyTo(ConstantOutputForConstantInput(this->childProcessor(0), input)); in SwizzleOutput()
310 GrSwizzle fSwizzle; in SwizzleOutput() member in GrFragmentProcessor::SwizzleOutput::SwizzleFragmentProcessor
DGrGeometryProcessor.cpp71 fSwizzle = swizzle; in reset()
DGrGeometryProcessor.h292 const GrSwizzle& swizzle() const { return fSwizzle; } in swizzle()
299 GrSwizzle fSwizzle; variable
/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.cpp351 : fSwizzle(swizzle) in Metadata()
361 GrSwizzle fSwizzle; // sizeof(GrSwizzle) == uint16_t member
533 SkASSERT(fMetadata.fSwizzle == set[q].fProxyView.swizzle()); in TextureOp()
672 fMetadata.fSwizzle, std::move(fTextureColorSpaceXform), fMetadata.saturate()); in onCreateProgramInfo()
754 SkASSERT(op->fMetadata.fSwizzle == swizzle); in validate_op()
772 GrSwizzle swizzle = fMetadata.fSwizzle; in validate()
1014 if (fMetadata.fSwizzle != that->fMetadata.fSwizzle) { in onCombineIfPossible()
/external/skia/src/image/
DSkImage_Gpu.h142 GrSwizzle fSwizzle; variable
DSkImage_Gpu.cpp151 , fSwizzle(view.swizzle()) in SkImage_Gpu()
176 , fSwizzle(volatileSrc.swizzle()) in SkImage_Gpu()
323 GrSurfaceProxyView view(fChooser.switchToStableProxy(), fOrigin, fSwizzle); in onReinterpretColorSpace()
873 return {fChooser.chooseProxy(rContext), fOrigin, fSwizzle}; in makeView()