Home
last modified time | relevance | path

Searched refs:TextureOp (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1State.h105 TextureOp op0Rgb = TextureOp::SrcColor;
106 TextureOp op0Alpha = TextureOp::SrcAlpha;
108 TextureOp op1Rgb = TextureOp::SrcColor;
109 TextureOp op1Alpha = TextureOp::SrcAlpha;
111 TextureOp op2Rgb = TextureOp::SrcAlpha;
112 TextureOp op2Alpha = TextureOp::SrcAlpha;
DvalidationES1.cpp517 TextureOp operand = FromGLenum<TextureOp>(ConvertToGLenum(params[0])); in ValidateTexEnvCommon()
520 case TextureOp::SrcAlpha: in ValidateTexEnvCommon()
521 case TextureOp::OneMinusSrcAlpha: in ValidateTexEnvCommon()
523 case TextureOp::SrcColor: in ValidateTexEnvCommon()
524 case TextureOp::OneMinusSrcColor: in ValidateTexEnvCommon()
610 ConvertPackedEnum(TextureOp::SrcAlpha, validateParams); in ValidateGetTexEnvCommon()
Dqueryutils.cpp2793 env.op0Rgb = FromGLenum<TextureOp>(asEnum); in SetTextureEnv()
2796 env.op1Rgb = FromGLenum<TextureOp>(asEnum); in SetTextureEnv()
2799 env.op2Rgb = FromGLenum<TextureOp>(asEnum); in SetTextureEnv()
2802 env.op0Alpha = FromGLenum<TextureOp>(asEnum); in SetTextureEnv()
2805 env.op1Alpha = FromGLenum<TextureOp>(asEnum); in SetTextureEnv()
2808 env.op2Alpha = FromGLenum<TextureOp>(asEnum); in SetTextureEnv()
/third_party/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp1876 TextureOp FromGLenum<TextureOp>(GLenum from) in FromGLenum()
1881 return TextureOp::OneMinusSrcAlpha; in FromGLenum()
1883 return TextureOp::OneMinusSrcColor; in FromGLenum()
1885 return TextureOp::SrcAlpha; in FromGLenum()
1887 return TextureOp::SrcColor; in FromGLenum()
1889 return TextureOp::InvalidEnum; in FromGLenum()
1893 GLenum ToGLenum(TextureOp from) in ToGLenum()
1897 case TextureOp::OneMinusSrcAlpha: in ToGLenum()
1899 case TextureOp::OneMinusSrcColor: in ToGLenum()
1901 case TextureOp::SrcAlpha: in ToGLenum()
[all …]
DPackedGLEnums_autogen.h473 enum class TextureOp : uint8_t enum
485 TextureOp FromGLenum<TextureOp>(GLenum from);
486 GLenum ToGLenum(TextureOp from);
487 std::ostream &operator<<(std::ostream &os, TextureOp value);
/third_party/skia/tests/
DBulkRectTest.cpp150 GrOp::Owner op = skgpu::v1::TextureOp::Make(dContext, in textureop_creation_test()
157 skgpu::v1::TextureOp::Saturate::kYes, in textureop_creation_test()
165 skgpu::v1::TextureOp::AddTextureSetOps(sdc.get(), in textureop_creation_test()
173 skgpu::v1::TextureOp::Saturate::kYes, in textureop_creation_test()
193 uint32_t expectedOpID = blendMode == SkBlendMode::kSrcOver ? skgpu::v1::TextureOp::ClassID() in textureop_creation_test()
DTextureOpTest.cpp60 return skgpu::v1::TextureOp::Make(dContext, in create_op()
67 skgpu::v1::TextureOp::Saturate::kYes, in create_op()
/third_party/skia/src/gpu/ops/
DTextureOp.h30 class TextureOp {
DTextureOp.cpp227 using Saturate = skgpu::v1::TextureOp::Saturate;
1124 uint32_t TextureOp::ClassID() { in ClassID()
1129 GrOp::Owner TextureOp::Make(GrRecordingContext* context, in Make()
1193 class TextureOp::BatchSizeLimiter {
1255 void TextureOp::AddTextureSetOps(SurfaceDrawContext* sdc, in AddTextureSetOps()
1435 auto saturate = random->nextBool() ? skgpu::v1::TextureOp::Saturate::kYes in GR_DRAW_OP_TEST_DEFINE()
1436 : skgpu::v1::TextureOp::Saturate::kNo; in GR_DRAW_OP_TEST_DEFINE()
1444 return skgpu::v1::TextureOp::Make(context, std::move(proxyView), alphaType, in GR_DRAW_OP_TEST_DEFINE()
DQuadPerEdgeAA.h29 using Saturate = skgpu::v1::TextureOp::Saturate;
DQuadPerEdgeAA.cpp831 using Saturate = skgpu::v1::TextureOp::Saturate;
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp718 auto saturate = clampType == GrClampType::kManual ? TextureOp::Saturate::kYes in drawTexturedQuad()
719 : TextureOp::Saturate::kNo; in drawTexturedQuad()
723 TextureOp::Make(fContext, std::move(proxyView), srcAlphaType, in drawTexturedQuad()
971 auto saturate = clampType == GrClampType::kManual ? TextureOp::Saturate::kYes in drawTextureSet()
972 : TextureOp::Saturate::kNo; in drawTextureSet()
973 TextureOp::AddTextureSetOps(this, clip, fContext, set, cnt, proxyRunCnt, filter, mm, saturate, in drawTextureSet()
/third_party/skia/src/gpu/
DBUILD.bazel383 "ops/TextureOp.cpp",
384 "ops/TextureOp.h",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp536 unsigned TextureOp; in LowerOperation() local
539 TextureOp = 0; in LowerOperation()
542 TextureOp = 1; in LowerOperation()
549 DAG.getConstant(TextureOp, DL, MVT::i32), in LowerOperation()
DR600Instructions.td420 multiclass TexPattern<bits<32> TextureOp, Instruction inst, ValueType vt = v4f32> {
421 def : R600Pat<(TEXTURE_FETCH (i32 TextureOp), vt:$SRC_GPR,
/third_party/skia/gn/
Dgpu.gni566 "$_src/gpu/ops/TextureOp.cpp",
567 "$_src/gpu/ops/TextureOp.h",