Home
last modified time | relevance | path

Searched refs:punchthrough_alpha (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_etc2.c61 needs_patching(uint8_t *buffer, bool punchthrough_alpha) in needs_patching() argument
64 if (!punchthrough_alpha && !(buffer[3] & 0x2)) in needs_patching()
86 bool punchthrough_alpha = false; in etna_etc2_calculate_blocks() local
92 punchthrough_alpha = true; in etna_etc2_calculate_blocks()
103 if (needs_patching(src + offset, punchthrough_alpha)) in etna_etc2_calculate_blocks()
/external/mesa3d/src/mesa/main/
Dtexcompress_etc.c339 GLboolean punchthrough_alpha) in etc2_rgb8_parse_block() argument
356 if (punchthrough_alpha) in etc2_rgb8_parse_block()
361 if (!diffbit && !punchthrough_alpha) { in etc2_rgb8_parse_block()
442 else if (diffbit || punchthrough_alpha) { in etc2_rgb8_parse_block()
462 block->modifier_tables[0] = (!punchthrough_alpha || block->opaque) ? in etc2_rgb8_parse_block()
465 block->modifier_tables[1] = (!punchthrough_alpha || block->opaque) ? in etc2_rgb8_parse_block()
479 GLboolean punchthrough_alpha) in etc2_rgb8_fetch_texel() argument
491 if (punchthrough_alpha) { in etc2_rgb8_fetch_texel()
511 if (punchthrough_alpha) { in etc2_rgb8_fetch_texel()
548 if (punchthrough_alpha) in etc2_rgb8_fetch_texel()