/development/perftests/panorama/feature_mos/src/mosaic/ |
Mosaic.cpp | 62 if (blendingType == Blend::BLEND_TYPE_FULL || 63 blendingType == Blend::BLEND_TYPE_PAN) 65 stripType = Blend::STRIP_TYPE_THIN; 100 if (blendingType == Blend::BLEND_TYPE_FULL || 101 blendingType == Blend::BLEND_TYPE_PAN || 102 blendingType == Blend::BLEND_TYPE_CYLPAN || 103 blendingType == Blend::BLEND_TYPE_HORZ) { 104 blender = new Blend(); 192 if (blendingType == Blend::BLEND_TYPE_PAN) 199 int ret = Blend::BLEND_RET_ERROR [all...] |
Blend.h | 18 // Blend.h 19 // $Id: Blend.h,v 1.23 2011/06/24 04:22:14 mbansal Exp $ 53 class Blend { 71 Blend(); 72 ~Blend();
|
Mosaic.h | 28 #include "Blend.h" 42 int blendingType = Blend::BLEND_TYPE_CYLPAN; 43 int stripType = Blend::STRIP_TYPE_THIN; 213 Blend *blender;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 61 if (blendingType == Blend::BLEND_TYPE_FULL || 62 blendingType == Blend::BLEND_TYPE_PAN) 64 stripType = Blend::STRIP_TYPE_THIN; 102 if (blendingType == Blend::BLEND_TYPE_FULL || 103 blendingType == Blend::BLEND_TYPE_PAN || 104 blendingType == Blend::BLEND_TYPE_CYLPAN || 105 blendingType == Blend::BLEND_TYPE_HORZ) { 106 blender = new Blend(); 189 if (blendingType == Blend::BLEND_TYPE_PAN) 196 int ret = Blend::BLEND_RET_ERROR [all...] |
Blend.h | 18 // Blend.h 19 // $Id: Blend.h,v 1.23 2011/06/24 04:22:14 mbansal Exp $ 53 class Blend { 71 Blend(); 72 ~Blend();
|
Mosaic.h | 28 #include "Blend.h" 42 int blendingType = Blend::BLEND_TYPE_CYLPAN; 43 int stripType = Blend::STRIP_TYPE_THIN; 207 Blend *blender;
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel.c | 70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || 71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || 72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || 73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || 74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || 75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { 76 DBG("fallback due to blend\n");
|
/frameworks/base/libs/hwui/renderstate/ |
Blend.h | 29 class Blend { 45 Blend();
|
Blend.cpp | 16 #include <renderstate/Blend.h> 94 Blend::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);
|
RenderState.h | 22 #include "renderstate/Blend.h" 96 Blend& blend() { return *mBlend; } function in class:android::uirenderer::RenderState 116 Blend* mBlend = nullptr;
|
/external/mesa3d/src/mesa/main/ |
blend.c | 2 * \file blend.c 33 #include "blend.h" 42 * Check if given blend source factor is legal. 80 * Check if given blend destination factor is legal. 121 * Check if src/dest RGB/A blend factors are legal. If not generate 188 ctx->Color.Blend[buf]._UsesDualSrc = 189 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || 190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || 191 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || 192 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_blend.c | 45 * Convert GLenum blend tokens to pipe tokens. 46 * Both blend factors and blend funcs are accepted. 49 translate_blend(GLenum blend) 51 switch (blend) { 52 /* blend functions */ 64 /* blend factors */ 172 * Figure out if blend enables/state are different per rt. 192 struct pipe_blend_state *blend = &st->state.blend; local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_blend.c | 31 * Only a few blend modes have been optimized (min, max, transparency, add) 78 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); 79 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); 80 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ZERO); 81 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE); 104 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); 105 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); 106 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE); 107 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ZERO); 128 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_cc.c | 40 struct gen6_blend_state *blend; local 54 size = sizeof(*blend) * nr_draw_buffers; 55 blend = brw_state_batch(brw, AUB_TRACE_BLEND_STATE, 58 memset(blend, 0, size); 93 blend[b].blend1.logic_op_enable = 1; 94 blend[b].blend1.logic_op_func = 98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB; 99 GLenum eqA = ctx->Color.Blend[b].EquationA; 100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB; 101 GLenum dstRGB = ctx->Color.Blend[b].DstRGB [all...] |
brw_cc.c | 72 * Modify blend function to force destination alpha to 1.0 74 * If \c function specifies a blend function that uses destination alpha, 150 GLenum eqRGB = ctx->Color.Blend[0].EquationRGB; 151 GLenum eqA = ctx->Color.Blend[0].EquationA; 152 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; 153 GLenum dstRGB = ctx->Color.Blend[0].DstRGB; 154 GLenum srcA = ctx->Color.Blend[0].SrcA; 155 GLenum dstA = ctx->Color.Blend[0].DstA; 157 /* If the renderbuffer is XRGB, we have to frob the blend function to
|
/external/opencv3/modules/cudaimgproc/test/ |
test_blend.cpp | 50 // Blend 79 PARAM_TEST_CASE(Blend, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) 97 CUDA_TEST_P(Blend, Accuracy) 118 INSTANTIATE_TEST_CASE_P(CUDA_ImgProc, Blend, testing::Combine(
|
/development/perftests/panorama/ |
benchmark.cpp | 28 const int blendingType = Blend::BLEND_TYPE_HORZ; 29 const int stripType = Blend::STRIP_TYPE_WIDE;
|
/frameworks/base/libs/hwui/ |
Glop.h | 166 struct Blend { 169 } blend; member in struct:android::uirenderer::Glop
|
GlopBuilder.cpp | 235 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage, 254 mOutGlop->blend = { GL_ZERO, GL_ZERO }; 257 || (mOutGlop->fill.texture.texture && mOutGlop->fill.texture.texture->blend) 263 Blend::getFactors(mode, modeUsage, 264 &mOutGlop->blend.src, &mOutGlop->blend.dst); 266 // These blend modes are not supported by OpenGL directly and have 269 // If the blend mode cannot be implemented using shaders, fall 270 // back to the default SrcOver blend mode instead 273 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap) [all...] |
GlopBuilder.h | 22 #include "renderstate/Blend.h" 71 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage); 114 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage,
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_state.c | 198 * set for LogicOp, Independant Alpha Blend, and Blending. 200 * could change the LogicOp or Independant Alpha Blend without subsequent 250 if (dw != i915->state.Blend[I915_BLENDREG_BLENDCOLOR1]) { 251 i915->state.Blend[I915_BLENDREG_BLENDCOLOR1] = dw; 287 GLuint iab = (i915->state.Blend[I915_BLENDREG_IAB] & 296 GLuint eqRGB = ctx->Color.Blend[0].EquationRGB; 297 GLuint eqA = ctx->Color.Blend[0].EquationA; 298 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; 299 GLuint dstRGB = ctx->Color.Blend[0].DstRGB; 300 GLuint srcA = ctx->Color.Blend[0].SrcA [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 228 ctx->Color.Blend[0].EquationRGB, 229 ctx->Color.Blend[0].EquationA); 232 ctx->Color.Blend[0].SrcRGB, 233 ctx->Color.Blend[0].DstRGB, 234 ctx->Color.Blend[0].SrcA, 235 ctx->Color.Blend[0].DstA);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_state_raster.c | 192 context_dirty(ctx, BLEND); 200 nv04->blend &= NV04_TEXTURED_TRIANGLE_BLEND_TEXTURE_MAP__MASK; 201 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_MASK_BIT_MSB | 205 nv04->blend |= get_blend_func(ctx->Color.Blend[0].DstRGB) << 28 | 206 get_blend_func(ctx->Color.Blend[0].SrcRGB) << 24; 209 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_BLEND_ENABLE; 213 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SHADE_MODE_GOURAUD; 215 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SHADE_MODE_FLAT; 219 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SPECULAR_ENABLE [all...] |
nv10_state_raster.c | 68 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); 77 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); 78 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].DstRGB));
|
/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 35 if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Blend) { 52 static void expectBlendEq(Glop::Blend& expectedBlend, Glop::Blend& builtBlend) { 91 expectBlendEq(expectedGlop.blend, builtGlop.blend); 99 glop->blend = { GL_ZERO, GL_ZERO };
|