/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_pair.c | 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 77 if (pair->Alpha.Src[i].Used) { in rc_pair_alloc_source() 78 if (pair->Alpha.Src[i].File != file || in rc_pair_alloc_source() 79 pair->Alpha.Src[i].Index != index) { in rc_pair_alloc_source() 115 pair->Alpha.Src[candidate].Used = 1; in rc_pair_alloc_source() 116 pair->Alpha.Src[candidate].File = file; in rc_pair_alloc_source() 117 pair->Alpha.Src[candidate].Index = index; in rc_pair_alloc_source() 123 pair->Alpha.Src[i].Used = 1; in rc_pair_alloc_source() 147 pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index); in pair_foreach_source_callback() [all …]
|
D | radeon_pair_schedule.c | 255 else if (sinst->Instruction->U.P.Alpha.Opcode == RC_OPCODE_NOP) in instruction_ready() 307 !sinst->Instruction->U.P.Alpha.OutputWriteMask) { in score_no_output() 312 Alpha.OutputWriteMask) { in score_no_output() 342 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; in calc_score_r300() 511 assert(dst_full->Alpha.Opcode == RC_OPCODE_NOP); in merge_presub_sources() 522 dst_sub = &dst_full->Alpha; in merge_presub_sources() 604 assert(rgb->Alpha.Opcode == RC_OPCODE_NOP); in destructive_merge_instructions() 618 if (alpha->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { in destructive_merge_instructions() 619 if(!merge_presub_sources(rgb, alpha->Alpha, RC_SOURCE_ALPHA)){ in destructive_merge_instructions() 625 opcode = rc_get_opcode_info(alpha->Alpha.Opcode); in destructive_merge_instructions() [all …]
|
D | radeon_pair_translate.c | 170 pair->Alpha.Opcode = inst->Opcode; in set_pair_instruction() 172 pair->Alpha.Saturate = 1; in set_pair_instruction() 203 pair->Alpha.Src[i].File = in set_pair_instruction() 205 pair->Alpha.Src[i].Index = in set_pair_instruction() 207 pair->Alpha.Src[i].Used = 1; in set_pair_instruction() 268 pair->Alpha.Arg[i].Source = source; in set_pair_instruction() 269 pair->Alpha.Arg[i].Swizzle = rc_init_swizzle(swz, 1); in set_pair_instruction() 270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction() 273 pair->Alpha.Arg[i].Negate = in set_pair_instruction() 277 pair->Alpha.Arg[i].Negate = in set_pair_instruction() [all …]
|
D | r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); in emit_alu() 177 src = use_source(code, inst->Alpha.Src[j]); in emit_alu() 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) in emit_alu() 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); in emit_alu() 189 arg |= inst->Alpha.Arg[j].Abs << 6; in emit_alu() 190 arg |= inst->Alpha.Arg[j].Negate << 5; in emit_alu() 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { in emit_alu() 219 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_alu() 243 if (inst->Alpha.Saturate) in emit_alu() 261 if (inst->Alpha.WriteMask) { in emit_alu() [all …]
|
D | radeon_program_print.c | 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); in rc_print_pair_instruction() 359 if (inst->Alpha.Src[src].Used) { in rc_print_pair_instruction() 363 rc_print_register(f, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, 0); in rc_print_pair_instruction() 372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { in rc_print_pair_instruction() 375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); in rc_print_pair_instruction() 421 if (inst->Alpha.Opcode != RC_OPCODE_NOP) { in rc_print_pair_instruction() 422 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Alpha.Opcode); in rc_print_pair_instruction() 427 fprintf(f, " %s%s", opcode->Name, inst->Alpha.Saturate ? "_SAT" : ""); in rc_print_pair_instruction() 428 if (inst->Alpha.WriteMask) in rc_print_pair_instruction() 429 fprintf(f, " temp[%i].w", inst->Alpha.DestIndex); in rc_print_pair_instruction() [all …]
|
D | r500_fragprog_emit.c | 174 unsigned int t = inst->Alpha.Arg[i].Source; in translate_arg_alpha() 175 t |= fix_hw_swizzle(GET_SWZ(inst->Alpha.Arg[i].Swizzle, 0)) << 2; in translate_arg_alpha() 176 t |= inst->Alpha.Arg[i].Negate << 5; in translate_arg_alpha() 177 t |= inst->Alpha.Arg[i].Abs << 6; in translate_arg_alpha() 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || in emit_paired() 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { in emit_paired() 256 code->inst[ip].inst4 = translate_alpha_op(c, inst->Alpha.Opcode); in emit_paired() 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { in emit_paired() 270 code->inst[ip].inst0 |= inst->Alpha.WriteMask ? 1 << 14 : 0; in emit_paired() 271 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18); in emit_paired() [all …]
|
D | radeon_dataflow.c | 90 inst->Alpha.Src[src].Index); in pair_get_src_refmasks() 114 GET_SWZ(inst->Alpha.Arg[arg].Swizzle, chan); in reads_pair() 118 inst->Alpha.Arg[arg].Source); in reads_pair() 127 if (inst->Alpha.Src[src].Used && (refmasks[src] & RC_MASK_W)) in reads_pair() 128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W); in reads_pair() 161 U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index; in pair_sub_for_all_args() 162 src_array = fullinst->U.P.Alpha.Src; in pair_sub_for_all_args() 231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata); in rc_pair_for_all_reads_arg() 275 if (inst->Alpha.WriteMask) in writes_pair() 276 cb(userdata, fullinst, RC_FILE_TEMPORARY, inst->Alpha.DestIndex, RC_MASK_W); in writes_pair() [all …]
|
D | radeon_pair_dead_sources.c | 58 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; in mark_used() 80 inst->U.P.Alpha.Src[i].Used = 0; in rc_pair_remove_dead_sources() 83 mark_used(inst, &inst->U.P.Alpha); in rc_pair_remove_dead_sources() 86 mark_used_presub(&inst->U.P.Alpha); in rc_pair_remove_dead_sources()
|
/external/skqp/site/user/api/ |
D | SkBlendMode_Reference.md | 60 Replaces destination with <a href='SkColor_Reference#Alpha'>Alpha</a> and <a href='SkColor_Referenc… 69 Replaces destination with source. Destination <a href='SkColor_Reference#Alpha'>alpha</a> and <a hr… 349 Given: <code>Sa</code> as source <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Sc</code> as so… 352 regardless of source and destination <a href='SkColor_Reference#Alpha'>Alpha</a> values. As a param… 369 Given: <code>Da</code> as destination <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Dc</code> … 383 Given: <code>Sa</code> as source <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Sc</code> as so… 384 <code>Da</code> as destination <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Dc</code> as dest… 399 Given: <code>Sa</code> as source <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Sc</code> as so… 400 <code>Da</code> as destination <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Dc</code> as dest… 412 Given: <code>Sa</code> as source <a href='SkColor_Reference#Alpha'>Alpha</a>, <code>Sc</code> as so… [all …]
|
D | SkBlendMode_Overview.md | 10 …_Mode</a> uses source and read destination <a href='SkColor_Reference#Alpha'>Alpha</a> to determin… 11 …nation <a href='SkColor_Reference#Alpha'>Alpha</a>; both source and destination <a href='SkColor_R… 14 Regardless of how <a href='SkColor_Reference#Alpha'>Alpha</a> is encoded in source and destination … 20 …endMode_kPlus'>kPlus</a> permits computing <a href='SkColor_Reference#Alpha'>Alpha</a> and <a href… 21 …A_F16_SkColorType'>kRGBA_F16_SkColorType</a>, resulting <a href='SkColor_Reference#Alpha'>Alpha</a> 55 It multiplies all components, including <a href='SkColor_Reference#Alpha'>Alpha</a>; unlike <a href…
|
D | SkColor4f_Reference.md | 46 <a href='#SkRGBA4f_fA'>fA</a> <a href='SkColor_Reference#Alpha'>Alpha</a> is may be greater or smal… 50 <a href='#SkRGBA4f_fA'>fA</a> <a href='SkColor_Reference#Alpha'>Alpha</a> is equal to or larger tha… 51 …eference#Color'>color</a> component with the <a href='SkColor_Reference#Alpha'>Alpha</a> component. 84 …r_Reference#Alpha'>Alpha</a> ranges from no <a href='SkColor_Reference#Alpha'>Alpha</a> (0.0) to f… 340 Returns true if <a href='SkColor_Reference#Alpha'>Alpha</a> component is one. <a href='SkColor_Refe… 342 if <a href='SkColor_Reference#Alpha'>Alpha</a> not valid. 346 true if <a href='SkColor_Reference#Alpha'>Alpha</a> is one 365 …<td><a href='SkColor_Reference#Color'>Color</a> with <a href='SkColor_Reference#Alpha'>Alpha</a>, … 455 …a href='undocumented#Premultiply'>premultiplied</a> by <a href='SkColor_Reference#Alpha'>Alpha</a>. 473 …GBA4f'>SkRGBA4f</a> with all components independent of <a href='SkColor_Reference#Alpha'>Alpha</a>. [all …]
|
/external/skqp/docs/ |
D | SkBlendMode_Reference.bmh | 28 Replaces destination with Alpha and Color components set to zero; 256 #Line # replaces destination, ignoring Alpha ## 257 Given: #Formula # Sa ## as source Alpha, #Formula # Sc ## as source Color component; 260 regardless of source and destination Alpha values. As a parameter to 284 Given: #Formula # Da ## as destination Alpha, #Formula # Dc ## as destination Color component; 302 Given: #Formula # Sa ## as source Alpha, #Formula # Sc ## as source Color component, 303 #Formula # Da ## as destination Alpha, #Formula # Dc ## as destination Color component; 329 Given: #Formula # Sa ## as source Alpha, #Formula # Sc ## as source Color component, 330 #Formula # Da ## as destination Alpha, #Formula # Dc ## as destination Color component; 353 Given: #Formula # Sa ## as source Alpha, #Formula # Sc ## as source Color component, [all …]
|
D | SkColor4f_Reference.bmh | 17 fA Alpha is may be greater or smaller than fG green, fB blue, or fR red. 21 fA Alpha is equal to or larger than fG green, fB blue, and fR red. The values 22 stored in fG, fB, and fR combine the color component with the Alpha component. 44 Single precision float for Alpha ranges from no Alpha (0.0) to full Alpha (1.0). 223 #Line # returns if Alpha component is at maximum ## 225 Returns true if Alpha component is one. Color has no transparency regardless of 227 if Alpha not valid. 229 #Return true if Alpha is one ## 318 Returns SkColor4f with all components premultiplied by Alpha. 333 Returns SkRGBA4f with all components independent of Alpha. [all …]
|
D | SkColor_Reference.bmh | 18 #Subtopic Alpha 21 Alpha represents the transparency of Color. Color with Alpha of zero is fully 22 transparent. Color with Alpha of 255 is fully opaque. Some, but not all pixel 23 formats contain Alpha. Pixels with Alpha may store it as unsigned integers or 24 floating point values. Unsigned integer Alpha ranges from zero, fully 25 transparent, to all bits set, fully opaque. Floating point Alpha ranges from 28 #Alias Alpha 33 #Line # defines Alpha as eight bits ## 60 that is Unpremultiplied if Alpha is 255, fully opaque, although may have the 77 #Param a amount of Alpha, from fully transparent (0) to fully opaque (255) ## [all …]
|
D | SkBlendMode_Overview.bmh | 10 Blend_Mode uses source and read destination Alpha to determine written 11 destination Alpha; both source and destination Alpha may also affect written 14 Regardless of how Alpha is encoded in source and destination pixel, nearly all 20 SkBlendMode::kPlus permits computing Alpha and Color component values larger 21 than one. For Color_Types other than kRGBA_F16_SkColorType, resulting Alpha 65 It multiplies all components, including Alpha; unlike SkBlendMode::kMultiply, if either
|
/external/skia/src/gpu/effects/ |
D | GrSRGBEffect.h | 20 enum class Alpha { enum 28 static std::unique_ptr<GrFragmentProcessor> Make(Mode mode, Alpha alpha) { in Make() 35 Alpha alpha() const { return fAlpha; } in alpha() 40 GrSRGBEffect(Mode mode, Alpha); 49 Alpha fAlpha;
|
/external/skqp/src/gpu/effects/ |
D | GrSRGBEffect.h | 20 enum class Alpha { enum 28 static std::unique_ptr<GrFragmentProcessor> Make(Mode mode, Alpha alpha) { in Make() 35 Alpha alpha() const { return fAlpha; } in alpha() 40 GrSRGBEffect(Mode mode, Alpha); 49 Alpha fAlpha;
|
/external/skia/tests/ |
D | SkPEGTest.cpp | 18 struct Alpha { struct 110 const auto match = Alpha::Match(gTests[i].fInput); in test_Alpha() 189 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(""))); in test_Choice() 190 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("\t"))); in test_Choice() 191 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" "))); in test_Choice() 192 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a"))); in test_Choice() 193 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3"))); in test_Choice() 194 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a "))); in test_Choice() 195 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3 "))); in test_Choice() 196 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" a "))); in test_Choice() [all …]
|
/external/skqp/tests/ |
D | SkPEGTest.cpp | 18 struct Alpha { struct 110 const auto match = Alpha::Match(gTests[i].fInput); in test_Alpha() 189 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(""))); in test_Choice() 190 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("\t"))); in test_Choice() 191 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" "))); in test_Choice() 192 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a"))); in test_Choice() 193 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3"))); in test_Choice() 194 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a "))); in test_Choice() 195 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3 "))); in test_Choice() 196 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" a "))); in test_Choice() [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/out/ |
D | opacity-filter.out.b | 1 …Alpha(Opacity=80)";filter:PROGID:DXImageTransform.Microsoft.Alpha(Opacity=80);zoom:1}code{-ms-filt…
|
D | opacity-filter.out | 1 …Alpha(Opacity=80)";filter:PROGID:DXImageTransform.Microsoft.Alpha(Opacity=80);zoom:1}code{-ms-filt…
|
/external/skia/site/user/api/ |
D | SkBlendMode_Overview.md | 10 …_Mode</a> uses source and read destination <a href='SkColor_Reference#Alpha'>Alpha</a> to determin… 11 …nation <a href='SkColor_Reference#Alpha'>Alpha</a>; both source and destination <a href='SkColor_R… 14 Regardless of how <a href='SkColor_Reference#Alpha'>Alpha</a> is encoded in source and destination … 20 …endMode_kPlus'>kPlus</a> permits computing <a href='SkColor_Reference#Alpha'>Alpha</a> and <a href… 21 …A_F16_SkColorType'>kRGBA_F16_SkColorType</a>, resulting <a href='SkColor_Reference#Alpha'>Alpha</a> 55 It multiplies all components, including <a href='SkColor_Reference#Alpha'>Alpha</a>; unlike <a href…
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/ |
D | opacity-filter.css | 5 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE 8 */ 6 filter: PROGID:DXImageTransform.Microsoft.Alpha(Opacity=80); /* IE 4-7 */ 12 -ms-filter: "PROGID:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE 8 */ 13 filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); /* IE 4-7 */
|
/external/skia/include/private/ |
D | SkEncodedInfo.h | 30 enum Alpha { enum 96 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 101 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 177 Alpha alpha() const { return fAlpha; } in alpha() 229 SkEncodedInfo(int width, int height, Color color, Alpha alpha, in SkEncodedInfo() 242 Alpha fAlpha;
|
/external/skqp/include/private/ |
D | SkEncodedInfo.h | 30 enum Alpha { enum 96 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 101 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 179 Alpha alpha() const { return fAlpha; } in alpha() 231 SkEncodedInfo(int width, int height, Color color, Alpha alpha, in SkEncodedInfo() 244 Alpha fAlpha;
|