Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DPerlinPatch.cpp59 const SkScalar TexWidth = 100.0f; variable
141 SkScalar texWidth = fTexScale * TexWidth; in onDrawContent()
/external/mesa3d/src/imgui/
Dimgui_draw.cpp1442 TexWidth = TexHeight = 0; in ImFontAtlas()
1515 if (out_width) *out_width = TexWidth; in GetTexDataAsAlpha8()
1530 … TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)TexWidth * (size_t)TexHeight * 4); in GetTexDataAsRGBA32()
1533 for (int n = TexWidth * TexHeight; n > 0; n--) in GetTexDataAsRGBA32()
1539 if (out_width) *out_width = TexWidth; in GetTexDataAsRGBA32()
1697 …IM_ASSERT(TexWidth > 0 && TexHeight > 0); // Font atlas needs to be built before we can calculat… in CalcCustomRectUV()
1793 atlas->TexWidth = atlas->TexHeight = 0; in ImFontAtlasBuildWithStbTruetype()
1934 atlas->TexWidth = atlas->TexDesiredWidth; in ImFontAtlasBuildWithStbTruetype()
1936 …atlas->TexWidth = (surface_sqrt >= 4096*0.7f) ? 4096 : (surface_sqrt >= 2048*0.7f) ? 2048 : (surfa… in ImFontAtlasBuildWithStbTruetype()
1942 stbtt_PackBegin(&spc, NULL, atlas->TexWidth, TEX_HEIGHT_MAX, 0, atlas->TexGlyphPadding, NULL); in ImFontAtlasBuildWithStbTruetype()
[all …]
Dimgui.h2066 int TexWidth; // Texture width calculated during Build(). member