/third_party/flutter/skia/third_party/externals/imgui/misc/freetype/ |
D | imgui_freetype.cpp | 288 atlas->TexWidth = atlas->TexHeight = 0; in ImFontAtlasBuildWithFreeType() 463 atlas->TexWidth = atlas->TexDesiredWidth; in ImFontAtlasBuildWithFreeType() 465 …atlas->TexWidth = (surface_sqrt >= 4096*0.7f) ? 4096 : (surface_sqrt >= 2048*0.7f) ? 2048 : (surfa… in ImFontAtlasBuildWithFreeType() 470 const int num_nodes_for_packing_algorithm = atlas->TexWidth - atlas->TexGlyphPadding; in ImFontAtlasBuildWithFreeType() 474 …stbrp_init_target(&pack_context, atlas->TexWidth, TEX_HEIGHT_MAX, pack_nodes.Data, pack_nodes.Size… in ImFontAtlasBuildWithFreeType() 495 atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight); in ImFontAtlasBuildWithFreeType() 496 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithFreeType() 497 memset(atlas->TexPixelsAlpha8, 0, atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithFreeType() 531 size_t blit_dst_stride = (size_t)atlas->TexWidth; in ImFontAtlasBuildWithFreeType() 548 float u0 = (tx) / (float)atlas->TexWidth; in ImFontAtlasBuildWithFreeType() [all …]
|
/third_party/skia/third_party/externals/imgui/misc/freetype/ |
D | imgui_freetype.cpp | 397 atlas->TexWidth = atlas->TexHeight = 0; in ImFontAtlasBuildWithFreeTypeEx() 571 atlas->TexWidth = atlas->TexDesiredWidth; in ImFontAtlasBuildWithFreeTypeEx() 573 …atlas->TexWidth = (surface_sqrt >= 4096 * 0.7f) ? 4096 : (surface_sqrt >= 2048 * 0.7f) ? 2048 : (s… in ImFontAtlasBuildWithFreeTypeEx() 578 const int num_nodes_for_packing_algorithm = atlas->TexWidth - atlas->TexGlyphPadding; in ImFontAtlasBuildWithFreeTypeEx() 582 …stbrp_init_target(&pack_context, atlas->TexWidth, TEX_HEIGHT_MAX, pack_nodes.Data, pack_nodes.Size… in ImFontAtlasBuildWithFreeTypeEx() 603 atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight); in ImFontAtlasBuildWithFreeTypeEx() 606 size_t tex_size = (size_t)atlas->TexWidth * atlas->TexHeight * 4; in ImFontAtlasBuildWithFreeTypeEx() 612 size_t tex_size = (size_t)atlas->TexWidth * atlas->TexHeight * 1; in ImFontAtlasBuildWithFreeTypeEx() 658 float u0 = (tx) / (float)atlas->TexWidth; in ImFontAtlasBuildWithFreeTypeEx() 660 float u1 = (tx + info.Width) / (float)atlas->TexWidth; in ImFontAtlasBuildWithFreeTypeEx() [all …]
|
/third_party/flutter/skia/samplecode/ |
D | PerlinPatch.cpp | 59 const SkScalar TexWidth = 100.0f; variable 135 SkScalar texWidth = fTexScale * TexWidth; in onDrawContent()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 2038 if (out_width) *out_width = TexWidth; in GetTexDataAsAlpha8() 2053 TexPixelsRGBA32 = (unsigned int*)IM_ALLOC((size_t)TexWidth * (size_t)TexHeight * 4); in GetTexDataAsRGBA32() 2056 for (int n = TexWidth * TexHeight; n > 0; n--) in GetTexDataAsRGBA32() 2062 if (out_width) *out_width = TexWidth; in GetTexDataAsRGBA32() 2226 …IM_ASSERT(TexWidth > 0 && TexHeight > 0); // Font atlas needs to be built before we can calculat… in CalcCustomRectUV() 2345 atlas->TexWidth = atlas->TexHeight = 0; in ImFontAtlasBuildWithStbTruetype() 2485 atlas->TexWidth = atlas->TexDesiredWidth; in ImFontAtlasBuildWithStbTruetype() 2487 …atlas->TexWidth = (surface_sqrt >= 4096 * 0.7f) ? 4096 : (surface_sqrt >= 2048 * 0.7f) ? 2048 : (s… in ImFontAtlasBuildWithStbTruetype() 2493 stbtt_PackBegin(&spc, NULL, atlas->TexWidth, TEX_HEIGHT_MAX, 0, atlas->TexGlyphPadding, NULL); in ImFontAtlasBuildWithStbTruetype() 2514 atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype() [all …]
|
D | imgui.h | 2711 int TexWidth; // Texture width calculated during Build(). member
|
D | imgui_demo.cpp | 976 float my_tex_w = (float)io.Fonts->TexWidth; in ShowDemoWindowWidgets() 5780 …%08X, TexSize: %d,%d", io.Fonts->Fonts.Size, io.Fonts->Flags, io.Fonts->TexWidth, io.Fonts->TexHei…
|
D | imgui.cpp | 11649 … if (TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight)) in ShowFontAtlas() 11653 …Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0.0f, 0.0f), I… in ShowFontAtlas()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapture.cpp | 923 DXGI_OUTDUPL_MOVE_RECT* MoveRect, INT TexWidth, INT TexHeight) in SetMoveRect() argument 952 SrcRect->left = TexWidth - (MoveRect->SourcePoint.x + in SetMoveRect() 956 SrcRect->right = TexWidth - MoveRect->SourcePoint.x; in SetMoveRect() 959 DestRect->left = TexWidth - MoveRect->DestinationRect.right; in SetMoveRect() 961 DestRect->right = TexWidth - MoveRect->DestinationRect.left; in SetMoveRect() 966 SrcRect->top = TexWidth - (MoveRect->SourcePoint.x + in SetMoveRect() 970 SrcRect->bottom = TexWidth - MoveRect->SourcePoint.x; in SetMoveRect() 973 DestRect->top = TexWidth - MoveRect->DestinationRect.right; in SetMoveRect() 975 DestRect->bottom = TexWidth - MoveRect->DestinationRect.left; in SetMoveRect()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 1442 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 …]
|
D | imgui.h | 2066 int TexWidth; // Texture width calculated during Build(). member
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 1433 TexWidth = TexHeight = 0; in ImFontAtlas() 1506 if (out_width) *out_width = TexWidth; in GetTexDataAsAlpha8() 1521 TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)(TexWidth * TexHeight * 4)); in GetTexDataAsRGBA32() 1524 for (int n = TexWidth * TexHeight; n > 0; n--) in GetTexDataAsRGBA32() 1530 if (out_width) *out_width = TexWidth; in GetTexDataAsRGBA32() 1686 …IM_ASSERT(TexWidth > 0 && TexHeight > 0); // Font atlas needs to be built before we can calculat… in CalcCustomRectUV() 1782 atlas->TexWidth = atlas->TexHeight = 0; in ImFontAtlasBuildWithStbTruetype() 1923 atlas->TexWidth = atlas->TexDesiredWidth; in ImFontAtlasBuildWithStbTruetype() 1925 …atlas->TexWidth = (surface_sqrt >= 4096*0.7f) ? 4096 : (surface_sqrt >= 2048*0.7f) ? 2048 : (surfa… in ImFontAtlasBuildWithStbTruetype() 1931 stbtt_PackBegin(&spc, NULL, atlas->TexWidth, TEX_HEIGHT_MAX, 0, atlas->TexGlyphPadding, NULL); in ImFontAtlasBuildWithStbTruetype() [all …]
|
D | imgui_demo.cpp | 724 float my_tex_w = (float)io.Fonts->TexWidth; in ShowDemoWindowWidgets() 2668 …%08X, TexSize: %d,%d", io.Fonts->Fonts.Size, io.Fonts->Flags, io.Fonts->TexWidth, io.Fonts->TexHei… in ShowAboutWindow() 2930 …if (ImGui::TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHe… in ShowStyleEditor() 2932 …ImGui::Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0, 0), … in ShowStyleEditor()
|
D | imgui.h | 2057 int TexWidth; // Texture width calculated during Build(). member
|