Home
last modified time | relevance | path

Searched refs:IM_COL32_A_SHIFT (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.h1683 #define IM_COL32_A_SHIFT 24 macro
1689 #define IM_COL32_A_SHIFT 24 macro
1692 #define IM_COL32(R,G,B,A) (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((I…
1707 …loat)((rgba>>IM_COL32_B_SHIFT)&0xFF) * sc; Value.w = (float)((rgba>>IM_COL32_A_SHIFT)&0xFF) * sc; } in ImColor()
Dimgui.cpp1763 ((in >> IM_COL32_A_SHIFT) & 0xFF) * s); in ColorConvertU32ToFloat4()
1772 out |= ((ImU32)IM_F32_TO_INT8_SAT(in.w)) << IM_COL32_A_SHIFT; in ColorConvertFloat4ToU32()
1854 ImU32 a = (col & IM_COL32_A_MASK) >> IM_COL32_A_SHIFT; in GetColorU32()
1856 return (col & ~IM_COL32_A_MASK) | (a << IM_COL32_A_SHIFT); in GetColorU32()
5244 … bg_col = (bg_col & ~IM_COL32_A_MASK) | (IM_F32_TO_INT8_SAT(alpha) << IM_COL32_A_SHIFT); in Begin()
Dimgui_widgets.cpp4047 float t = ((col_b >> IM_COL32_A_SHIFT) & 0xFF) / 255.f; in ImAlphaBlendColor()
4060 if (((col & IM_COL32_A_MASK) >> IM_COL32_A_SHIFT) < 0xFF) in RenderColorRectWithAlphaCheckerboard()