Searched refs:Blend (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
H A DBlend.cpp16 #include <renderstate/Blend.h>
90 Blend::Blend() : mEnabled(false), mSrcMode(GL_ZERO), mDstMode(GL_ZERO) { function in class:android::uirenderer::Blend
94 void Blend::invalidate() {
99 void Blend::syncEnabled() {
107 void Blend::getFactors(SkBlendMode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outDst) {
113 void Blend::setFactors(GLenum srcMode, GLenum dstMode) {
135 void Blend::dump() {
136 ALOGD("Blend: enabled %d, func src %d, dst %d", mEnabled, mSrcMode, mDstMode);
H A DBlend.h29 class Blend { class in namespace:android::uirenderer
53 Blend();
H A DRenderState.h21 #include "renderstate/Blend.h"
108 Blend& blend() { return *mBlend; }
130 Blend* mBlend = nullptr;
H A DRenderState.cpp48 mBlend = new Blend();
267 if (fill.filterMode == ProgramDescription::ColorFilterMode::Blend) {
/frameworks/base/libs/hwui/
H A DGlop.h166 struct Blend { struct in struct:android::uirenderer::Glop
H A DGlopBuilder.cpp225 Blend::ModeOrderSwap modeUsage, const SkShader* shader,
251 Blend::getFactors(mode, modeUsage, &mOutGlop->blend.src, &mOutGlop->blend.dst);
260 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap);
264 Blend::getFactors(SkBlendMode::kSrcOver, modeUsage, &mOutGlop->blend.src,
277 ProgramDescription::ColorFilterMode::Blend;
325 setFill(color, alphaScale, paint->getBlendMode(), Blend::ModeOrderSwap::NoSwap, shader,
332 Blend::getFactors(SkBlendMode::kSrcOver, Blend::ModeOrderSwap::NoSwap,
359 setFill(paint.getColor(), alphaScale, paint.getBlendMode(), Blend::ModeOrderSwap::NoSwap,
374 setFill(paint.getColor(), alphaScale, paint.getBlendMode(), Blend
[all...]
H A DGlopBuilder.h21 #include "renderstate/Blend.h"
78 SkBlendMode mode, Blend::ModeOrderSwap modeUsage);
120 void setFill(int color, float alphaScale, SkBlendMode mode, Blend::ModeOrderSwap modeUsage,
H A DProgram.h113 enum class ColorFilterMode : int8_t { None = 0, Matrix, Blend };
268 case ColorFilterMode::Blend:
H A DProgramCache.cpp680 if (description.colorOp == ProgramDescription::ColorFilterMode::Blend) {
H A DBakedOpDispatcher.cpp821 Blend::ModeOrderSwap::NoSwap)
869 .setFillLayer(layer.texture, nullptr, 1.0f, mode, Blend::ModeOrderSwap::Swap)
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp34 if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Blend) {
55 static void expectBlendEq(Glop::Blend& expectedBlend, Glop::Blend& builtBlend) {
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DBlend.java38 public class Blend extends TestBase { class in inherits:TestBase
H A DImageProcessingActivity.java91 INTRINSICS_BLEND ("Intrinsics Blend"),
330 mTest = new Blend();
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DBlend.java31 public class Blend extends TestBase { class in inherits:TestBase
H A DIPTestList.java64 INTRINSICS_BLEND ("Intrinsics Blend", INTRINSIC, 105.f),
163 return new Blend();
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DBlend.java38 public class Blend extends TestBase { class in inherits:TestBase
H A DIPTestListJB.java65 INTRINSICS_BLEND ("Intrinsics Blend", INTRINSIC, 105.f),
168 return new Blend();
/frameworks/rs/script_api/
H A Drs_graphics.spec46 summary: Blend source function
64 summary: Blend destination function

Completed in 138 milliseconds