Home
last modified time | relevance | path

Searched refs:IM_COL32_R_SHIFT (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.h1680 #define IM_COL32_R_SHIFT 16 macro
1686 #define IM_COL32_R_SHIFT 0 macro
1692 …| ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))
1707 … { float sc = 1.0f/255.0f; Value.x = (float)((rgba>>IM_COL32_R_SHIFT)&0xFF) * sc; … in ImColor()
Dimgui_draw.cpp1321 … int r = ImLerp((int)(col0 >> IM_COL32_R_SHIFT) & 0xFF, (int)(col1 >> IM_COL32_R_SHIFT) & 0xFF, t); in ShadeVertsLinearColorGradientKeepAlpha()
1324 …vert->col = (r << IM_COL32_R_SHIFT) | (g << IM_COL32_G_SHIFT) | (b << IM_COL32_B_SHIFT) | (vert->c… in ShadeVertsLinearColorGradientKeepAlpha()
Dimgui_widgets.cpp4048 …int r = ImLerp((int)(col_a >> IM_COL32_R_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_R_SHIFT) & 0xFF, t… in ImAlphaBlendColor()
Dimgui.cpp1760 ((in >> IM_COL32_R_SHIFT) & 0xFF) * s, in ColorConvertU32ToFloat4()
1769 out = ((ImU32)IM_F32_TO_INT8_SAT(in.x)) << IM_COL32_R_SHIFT; in ColorConvertFloat4ToU32()