/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
sprite.cc | 15 inline uint32_t Blend(uint32_t src1, uint32_t src2) { 85 *dest_scanline++ = Blend(dst, src);
|
/external/chromium_org/cc/animation/ |
transform_operations.h | 29 // be what was intended. For more information, see the comments for the blend 47 gfx::Transform Blend(const TransformOperations& from, 51 // exist when it is transformed by the result of calling Blend on |from| and 67 // Blend on |from| with progress in the range [min_progress, max_progress]. If
|
/external/chromium_org/cc/output/ |
filter_operations.cc | 157 FilterOperations FilterOperations::Blend(const FilterOperations& from, 183 FilterOperation::Blend(&from.at(i), &at(i), progress)); 189 FilterOperation::Blend(&from.at(i), NULL, progress)); 193 blended_filters.Append(FilterOperation::Blend(NULL, &at(i), progress));
|
/external/chromium_org/third_party/mesa/src/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...] |
i830_state.c | 223 * Blend, and Blending. It needs to be called from numerous places where we 224 * could change the LogicOp or Independant Alpha Blend without subsequent 277 * Sets both the blend equation (called "function" in i830 docs) and the 278 * blend function (called "factor" in i830 docs). This is done in a single 279 * function because some blend equations (i.e., \c GL_MIN and \c GL_MAX) 280 * change the interpretation of the blend function. 295 SRC_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcRGB)) 296 | DST_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstRGB)); 298 switch (ctx->Color.Blend[0].EquationRGB) { 317 fprintf(stderr, "[%s:%u] Invalid RGB blend equation (0x%04x).\n" [all...] |
/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...] |
i830_state.c | 223 * Blend, and Blending. It needs to be called from numerous places where we 224 * could change the LogicOp or Independant Alpha Blend without subsequent 277 * Sets both the blend equation (called "function" in i830 docs) and the 278 * blend function (called "factor" in i830 docs). This is done in a single 279 * function because some blend equations (i.e., \c GL_MIN and \c GL_MAX) 280 * change the interpretation of the blend function. 295 SRC_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcRGB)) 296 | DST_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstRGB)); 298 switch (ctx->Color.Blend[0].EquationRGB) { 317 fprintf(stderr, "[%s:%u] Invalid RGB blend equation (0x%04x).\n" [all...] |
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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));
|
/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));
|
/external/chromium_org/third_party/skia/tests/ |
BlendTest.cpp | 13 // We want a single channel blend, src over dst, assuming src is premultiplied by srcAlpha. 14 typedef uint8_t(*Blend)(uint8_t dst, uint8_t src, uint8_t srcAlpha); 27 static void test(skiatest::Reporter* r, int maxDiff, Blend algorithm, 30 const uint8_t blend = algorithm(dst, src, alpha); 31 if (abs_diff(blend, golden) > maxDiff) { 33 dst, src, alpha, blend, golden, maxDiff); 34 ASSERT(abs_diff(blend, golden) <= maxDiff); 39 static void test_alpha(skiatest::Reporter* r, uint8_t alpha, int maxDiff, Blend algorithm) { 50 static void test_dst(skiatest::Reporter* r, uint8_t dst, int maxDiff, Blend algorithm) {
|
/external/skia/tests/ |
BlendTest.cpp | 13 // We want a single channel blend, src over dst, assuming src is premultiplied by srcAlpha. 14 typedef uint8_t(*Blend)(uint8_t dst, uint8_t src, uint8_t srcAlpha); 27 static void test(skiatest::Reporter* r, int maxDiff, Blend algorithm, 30 const uint8_t blend = algorithm(dst, src, alpha); 31 if (abs_diff(blend, golden) > maxDiff) { 33 dst, src, alpha, blend, golden, maxDiff); 34 ASSERT(abs_diff(blend, golden) <= maxDiff); 39 static void test_alpha(skiatest::Reporter* r, uint8_t alpha, int maxDiff, Blend algorithm) { 50 static void test_dst(skiatest::Reporter* r, uint8_t dst, int maxDiff, Blend algorithm) {
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Blend.cpp | 18 // Blend.cpp 19 // $Id: Blend.cpp,v 1.22 2011/06/24 04:22:14 mbansal Exp $ 24 #include "Blend.h" 29 Blend::Blend() 34 Blend::~Blend() 41 int Blend::initialize(int blendingType, int stripType, int frame_width, int frame_height) 76 void Blend::AlignToMiddleFrame(MosaicFrame **frames, int frames_size) 95 int Blend::runBlend(MosaicFrame **oframes, MosaicFrame **rframes [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 18 // Blend.cpp 19 // $Id: Blend.cpp,v 1.22 2011/06/24 04:22:14 mbansal Exp $ 24 #include "Blend.h" 30 #define LOG_TAG "BLEND" 32 Blend::Blend() 37 Blend::~Blend() 44 int Blend::initialize(int blendingType, int stripType, int frame_width, int frame_height) 80 void Blend::AlignToMiddleFrame(MosaicFrame **frames, int frames_size [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
attrib.c | 31 #include "blend.h" 73 GLboolean Blend; 266 attr->Blend = ctx->Color.BlendEnabled; 500 if (ctx->Color.BlendEnabled != enable->Blend) { 504 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1); 508 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); [all...] |
/external/mesa3d/src/mesa/main/ |
attrib.c | 31 #include "blend.h" 73 GLboolean Blend; 266 attr->Blend = ctx->Color.BlendEnabled; 500 if (ctx->Color.BlendEnabled != enable->Blend) { 504 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1); 508 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 18 // Blend.cpp 19 // $Id: Blend.cpp,v 1.22 2011/06/24 04:22:14 mbansal Exp $ 24 #include "Blend.h" 30 #define LOG_TAG "BLEND" 32 Blend::Blend() 37 Blend::~Blend() 44 int Blend::initialize(int blendingType, int stripType, int frame_width, int frame_height) 80 void Blend::AlignToMiddleFrame(MosaicFrame **frames, int frames_size [all...] |
/external/chromium_org/ui/gfx/ |
transform_unittest.cc | 708 EXPECT_TRUE(to.Blend(from, t)); 728 EXPECT_TRUE(to.Blend(from, t)); 760 EXPECT_TRUE(to1.Blend(from1, t)); 761 EXPECT_TRUE(to2.Blend(from2, t)); 788 EXPECT_TRUE(to.Blend(from, t)); 811 EXPECT_TRUE(to.Blend(from, t)); 828 EXPECT_TRUE(to.Blend(from, t)); 841 EXPECT_TRUE(to.Blend(from, t)); 856 EXPECT_TRUE(to.Blend(from, t)); 864 EXPECT_TRUE(to.Blend(from, 0.5)) [all...] |
/development/perftests/panorama/ |
Android.mk | 18 feature_mos/src/mosaic/Blend.cpp \
|
/packages/apps/Camera/jni/ |
Android.mk | 19 feature_mos/src/mosaic/Blend.cpp \
|
/packages/apps/LegacyCamera/jni/ |
Android.mk | 19 feature_mos/src/mosaic/Blend.cpp \
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen7_wm_state.c | 187 * source blend factors. 191 ctx->Color.Blend[0]._UsesDualSrc) {
|