Searched refs:Blend (Results 1 - 20 of 20) 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(SkXfermode::Mode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outDst) {
119 void Blend::setFactors(GLenum srcMode, GLenum dstMode) {
141 void Blend::dump() {
142 ALOGD("Blend: enabled %d, func src %d, dst %d", mEnabled, mSrcMode, mDstMode);
H A DRenderState.h22 #include "renderstate/Blend.h"
96 Blend& blend() { return *mBlend; }
116 Blend* mBlend = nullptr;
H A DRenderState.cpp45 mBlend = new Blend();
261 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.cpp235 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage,
263 Blend::getFactors(mode, modeUsage,
273 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap);
277 Blend::getFactors(SkXfermode::kSrcOver_Mode, modeUsage,
289 mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Blend;
344 PaintUtils::getXfermode(paint->getXfermode()), Blend::ModeOrderSwap::NoSwap,
353 Blend::getFactors(SkXfermode::kSrcOver_Mode, Blend::ModeOrderSwap::NoSwap,
383 PaintUtils::getXfermode(paint.getXfermode()), Blend::ModeOrderSwap::NoSwap,
399 PaintUtils::getXfermode(paint.getXfermode()), Blend
[all...]
H A DGlopBuilder.h22 #include "renderstate/Blend.h"
71 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage);
114 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage,
H A DProgram.h107 Blend
247 case ColorFilterMode::Blend:
H A DProgramCache.cpp646 if (description.colorOp == ProgramDescription::ColorFilterMode::Blend) {
H A DAndroid.mk20 renderstate/Blend.cpp \
H A DOpenGLRenderer.cpp805 getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::Swap)
825 .setFillLayer(layer->getTexture(), layer->getColorFilter(), getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::NoSwap)
966 .setFillLayer(layer->getTexture(), layer->getColorFilter(), getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::NoSwap)
2278 .setFillLayer(layer->getTexture(), layer->getColorFilter(), getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::NoSwap)
H A DBakedOpDispatcher.cpp815 .setFillLayer(buffer->texture, op.colorFilter, layerAlpha, op.mode, Blend::ModeOrderSwap::NoSwap)
860 .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) {
52 static void expectBlendEq(Glop::Blend& expectedBlend, Glop::Blend& builtBlend) {
/frameworks/rs/java/tests/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/java/tests/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/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DBlend.java38 public class Blend extends TestBase { class in inherits:TestBase
H A DIPTestListJB.java64 INTRINSICS_BLEND ("Intrinsics Blend", INTRINSIC, 105.f),
165 return new Blend();
/frameworks/rs/api/
H A Drs_graphics.spec46 summary: Blend source function
64 summary: Blend destination function

Completed in 178 milliseconds