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

/frameworks/base/libs/hwui/renderstate/
H A DBlend.h29 class Blend { class in namespace:android::uirenderer
45 Blend();
H A DBlend.cpp16 #include <renderstate/Blend.h>
94 Blend::Blend() function in class:android::uirenderer::Blend
101 void Blend::invalidate() {
106 void Blend::syncEnabled() {
114 void Blend::getFactors(SkBlendMode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outDst) {
120 void Blend::setFactors(GLenum srcMode, GLenum dstMode) {
142 void Blend::dump() {
143 ALOGD("Blend: enabled %d, func src %d, dst %d", mEnabled, mSrcMode, mDstMode);
H A DRenderState.h21 #include "renderstate/Blend.h"
109 Blend& blend() { return *mBlend; }
132 Blend* mBlend = nullptr;
H A DRenderState.cpp51 mBlend = new Blend();
283 if (fill.filterMode == ProgramDescription::ColorFilterMode::Blend) {
/frameworks/base/libs/hwui/
H A DGlop.h163 struct Blend { struct in struct:android::uirenderer::Glop
H A DGlopBuilder.cpp224 SkBlendMode mode, Blend::ModeOrderSwap modeUsage,
252 Blend::getFactors(mode, modeUsage,
262 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap);
266 Blend::getFactors(SkBlendMode::kSrcOver, modeUsage,
278 mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Blend;
324 paint->getBlendMode(), Blend::ModeOrderSwap::NoSwap,
333 Blend::getFactors(SkBlendMode::kSrcOver, Blend::ModeOrderSwap::NoSwap,
363 paint.getBlendMode(), Blend::ModeOrderSwap::NoSwap,
379 paint.getBlendMode(), Blend
[all...]
H A DGlopBuilder.h21 #include "renderstate/Blend.h"
74 float alpha, SkBlendMode mode, Blend::ModeOrderSwap modeUsage);
116 SkBlendMode mode, Blend::ModeOrderSwap modeUsage,
H A DProgram.h116 Blend
278 case ColorFilterMode::Blend:
H A DProgramCache.cpp720 if (description.colorOp == ProgramDescription::ColorFilterMode::Blend) {
H A DAndroid.mk32 renderstate/Blend.cpp \
H A DBakedOpDispatcher.cpp804 .setFillLayer(buffer->texture, op.colorFilter, layerAlpha, op.mode, Blend::ModeOrderSwap::NoSwap)
849 .setFillLayer(layer.texture, nullptr, 1.0f, mode, Blend::ModeOrderSwap::Swap)
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp35 if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Blend) {
56 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 195 milliseconds