| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_alpha.c | 54 LLVMValueRef alpha, 67 * alpha testing after converting the output colors, but that's not very 77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one); 80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha); 87 test = lp_build_cmp(&bld, func, alpha, ref); 49 lp_build_alpha_test(struct gallivm_state * gallivm,unsigned func,struct lp_type type,const struct util_format_description * cbuf_format_desc,struct lp_build_mask_context * mask,LLVMValueRef alpha,LLVMValueRef ref,boolean do_branch) argument
|
| H A D | lp_bld_alpha.h | 54 LLVMValueRef alpha,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_alpha.c | 54 LLVMValueRef alpha, 67 * alpha testing after converting the output colors, but that's not very 77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one); 80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha); 87 test = lp_build_cmp(&bld, func, alpha, ref); 49 lp_build_alpha_test(struct gallivm_state * gallivm,unsigned func,struct lp_type type,const struct util_format_description * cbuf_format_desc,struct lp_build_mask_context * mask,LLVMValueRef alpha,LLVMValueRef ref,boolean do_branch) argument
|
| H A D | lp_bld_alpha.h | 53 LLVMValueRef alpha,
|
| /xsrc/external/mit/libXrender/dist/src/ |
| H A D | Color.c | 75 def->alpha = elements[3]; 88 def->alpha = 0xffff; 90 def->red = (unsigned short) ((unsigned) (def->red * def->alpha) / 0xffffU); 91 def->green = (unsigned short) ((unsigned) (def->green * def->alpha) / 0xffffU); 92 def->blue = (unsigned short) ((unsigned) (def->blue * def->alpha) / 0xffffU);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_alpha.c | 27 * \brief Functions to apply alpha test. 78 _mesa_problem(ctx, "Invalid alpha test in _swrast_alpha_test" ); \ 86 * Perform the alpha test for an array of pixels. 88 * \return 0 if all pixels in the span failed the alpha test, 89 * 1 if one or more pixels passed the alpha test. 111 /* Use array's alpha values */ 131 /* Interpolate alpha values */ 135 GLfixed alpha = span->alpha; local in function:_swrast_alpha_test 138 ALPHA_TEST(FixedToInt(alpha), alph 142 GLfixed alpha = span->alpha; local in function:_swrast_alpha_test 149 GLfloat alpha = FixedToFloat(span->alpha); local in function:_swrast_alpha_test [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_alpha.c | 27 * \brief Functions to apply alpha test. 78 _mesa_problem(ctx, "Invalid alpha test in _swrast_alpha_test" ); \ 86 * Perform the alpha test for an array of pixels. 88 * \return 0 if all pixels in the span failed the alpha test, 89 * 1 if one or more pixels passed the alpha test. 111 /* Use array's alpha values */ 131 /* Interpolate alpha values */ 135 GLfixed alpha = span->alpha; local in function:_swrast_alpha_test 138 ALPHA_TEST(FixedToInt(alpha), alph 142 GLfixed alpha = span->alpha; local in function:_swrast_alpha_test 149 GLfloat alpha = FixedToFloat(span->alpha); local in function:_swrast_alpha_test [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| H A D | alpha-loop.c | 12 uint8_t *alpha; local in function:main 17 alpha = make_random_bytes (WIDTH * HEIGHT); 21 a = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, (uint32_t *)alpha, WIDTH);
|
| /xsrc/external/mit/libdrm/dist/tests/etnaviv/ |
| H A D | write_bmp.h | 32 void bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_blend.h | 47 nir_lower_blend_channel alpha; member in struct:__anonbef927490208
|
| H A D | nir_lower_alpha_test.c | 27 * Implements GL alpha testing by comparing the output color's alpha to the 30 * The alpha_to_one value overrides the source alpha to 1.0 to implement 31 * GL_SAMPLE_ALPHA_TO_ONE, which applies before the alpha test (and would be 32 * rather silly to use with alpha test, but the spec permits). 87 nir_ssa_def *alpha; local in function:nir_lower_alpha_test 89 alpha = nir_imm_float(&b, 1.0); 91 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[1], 4), 94 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[0], 4), 110 nir_compare_func(&b, func, alpha, alpha_re [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | accum.h | 45 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl_dd/ |
| H A D | t_dd_vertex.h | 36 GLubyte alpha, blue, green, red; member in struct:__anonae8278500208 38 GLubyte red, green, blue, alpha; 44 GLubyte alpha, red, green, blue; member in struct:__anonae8278500308 46 GLubyte blue, green, red, alpha;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_zsa.c | 53 COND(!cso->alpha.enabled, A2XX_RB_DEPTHCONTROL_EARLY_Z_ENABLE); 87 if (cso->alpha.enabled) { 89 A2XX_RB_COLORCONTROL_ALPHA_FUNC(cso->alpha.func) | 91 so->rb_alpha_ref = fui(cso->alpha.ref_value);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_zsa.c | 90 if (cso->alpha.enabled) { 93 A3XX_RB_RENDER_CONTROL_ALPHA_TEST_FUNC(cso->alpha.func); 95 A3XX_RB_ALPHA_REF_UINT(cso->alpha.ref_value * 255.0) | 96 A3XX_RB_ALPHA_REF_FLOAT(cso->alpha.ref_value);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl_dd/ |
| H A D | t_dd_vertex.h | 36 GLubyte alpha, blue, green, red; member in struct:__anon12283e030208 38 GLubyte red, green, blue, alpha; 44 GLubyte alpha, red, green, blue; member in struct:__anon12283e030308 46 GLubyte blue, green, red, alpha;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | accum.h | 45 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_alpha_test.c | 27 * Implements GL alpha testing by comparing the output color's alpha to the 30 * The alpha_to_one value overrides the source alpha to 1.0 to implement 31 * GL_SAMPLE_ALPHA_TO_ONE, which applies before the alpha test (and would be 32 * rather silly to use with alpha test, but the spec permits). 85 nir_ssa_def *alpha; local in function:nir_lower_alpha_test 87 alpha = nir_imm_float(&b, 1.0); 89 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[1], 4), 92 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[0], 4), 98 alpha, nir_load_alpha_ref_floa [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | test.h | 101 static inline uint32_t color(uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) argument 103 uint16_t ra = red * alpha; 104 uint16_t ga = green * alpha; 105 uint16_t ba = blue * alpha; 107 return alpha << 24 | ra >> 8 << 16 | ga >> 8 << 8 | ba >> 8; 112 uint32_t ra = c->red * c->alpha; 113 uint32_t ga = c->green * c->alpha; 114 uint32_t ba = c->blue * c->alpha; 116 return c->alpha >> 8 << 24 | ra >> 24 << 16 | ga >> 24 << 8 | ba >> 24;
|
| H A D | render-composite-solid.c | 18 uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) 23 render_color.red = red * alpha; 24 render_color.green = green * alpha; 25 render_color.blue = blue * alpha; 26 render_color.alpha = alpha << 8 | alpha; 56 int alpha = rand() % 0xff; local in function:pixel_tests 60 red, green, blue, alpha); 64 cells[y*tt.width+x] = color(red, green, blue, alpha); 16 fill_rect(struct test_display * dpy,Picture p,uint8_t op,int x,int y,int w,int h,uint8_t red,uint8_t green,uint8_t blue,uint8_t alpha) argument 130 int alpha = rand() % 0xff; local in function:area_tests 210 int alpha = rand() % 0xff; local in function:rect_tests [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| H A D | ac_shader_util.c | 328 /* Alpha is needed for alpha-to-coverage. 329 * Blending may be with or without alpha. 331 unsigned normal = 0; /* most optimal, may not support blending or export alpha */ 332 unsigned alpha = 0; /* exports alpha, but may not support blending */ local in function:ac_choose_spi_color_formats 333 unsigned blend = 0; /* supports blending, but may not export alpha */ 334 unsigned blend_alpha = 0; /* least optimal, supports blending and exports alpha */ 353 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_UINT16_ABGR; 355 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_SINT16_ABGR; 357 alpha [all...] |
| /xsrc/external/mit/pixman/dist/pixman/ |
| H A D | pixman-solid-fill.c | 33 ((unsigned int) color->alpha >> 8 << 24) | 44 result.a = pixman_unorm_to_float (color->alpha, 16);
|
| /xsrc/external/mit/pixman/dist/demos/ |
| H A D | srgb-test.c | 51 float alpha; local in function:main 71 alpha = (float) x / WIDTH; 72 src1[p + x] = linear_argb_to_premult_argb (alpha, 1, 0, 1); 73 dest[p + x] = linear_argb_to_premult_srgb_argb (1-alpha, 0, 1, 0);
|
| /xsrc/external/mit/libdrm/dist/tests/util/ |
| H A D | format.h | 38 struct util_color_component alpha; member in struct:util_rgb_info
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | render-composite-solid.c | 18 uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) 23 render_color.red = red * alpha; 24 render_color.green = green * alpha; 25 render_color.blue = blue * alpha; 26 render_color.alpha = alpha << 8 | alpha; 56 int alpha = rand() % 0xff; local in function:pixel_tests 60 red, green, blue, alpha); 64 cells[y*tt.width+x] = color(red, green, blue, alpha); 16 fill_rect(struct test_display * dpy,Picture p,uint8_t op,int x,int y,int w,int h,uint8_t red,uint8_t green,uint8_t blue,uint8_t alpha) argument 130 int alpha = rand() % 0xff; local in function:area_tests 210 int alpha = rand() % 0xff; local in function:rect_tests [all...] |