mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-02 12:37:20 +01:00
FontAtlas: reduced baked IM_DRAWLIST_TEX_LINES_WIDTH_MAX from 63 to 32. (#3245)
This commit is contained in:
parent
100075f2be
commit
8a9de84cd0
@ -43,6 +43,7 @@ Breaking changes:
|
|||||||
|
|
||||||
Other changes:
|
Other changes:
|
||||||
|
|
||||||
|
- ImDrawList: texture baked storage for thick line reduced from ~64x64 to ~32x32. (#3245)
|
||||||
- Backends: DirectX12: Texture upload use the command queue provided in
|
- Backends: DirectX12: Texture upload use the command queue provided in
|
||||||
ImGui_ImplDX12_InitInfo instead of creating its own.
|
ImGui_ImplDX12_InitInfo instead of creating its own.
|
||||||
|
|
||||||
|
3
imgui.h
3
imgui.h
@ -2923,7 +2923,7 @@ struct ImGuiSelectionExternalStorage
|
|||||||
|
|
||||||
// The maximum line width to bake anti-aliased textures for. Build atlas with ImFontAtlasFlags_NoBakedLines to disable baking.
|
// The maximum line width to bake anti-aliased textures for. Build atlas with ImFontAtlasFlags_NoBakedLines to disable baking.
|
||||||
#ifndef IM_DRAWLIST_TEX_LINES_WIDTH_MAX
|
#ifndef IM_DRAWLIST_TEX_LINES_WIDTH_MAX
|
||||||
#define IM_DRAWLIST_TEX_LINES_WIDTH_MAX (63)
|
#define IM_DRAWLIST_TEX_LINES_WIDTH_MAX (32)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ImDrawCallback: Draw callbacks for advanced uses [configurable type: override in imconfig.h]
|
// ImDrawCallback: Draw callbacks for advanced uses [configurable type: override in imconfig.h]
|
||||||
@ -2997,7 +2997,6 @@ struct ImDrawChannel
|
|||||||
ImVector<ImDrawIdx> _IdxBuffer;
|
ImVector<ImDrawIdx> _IdxBuffer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Split/Merge functions are used to split the draw list into different layers which can be drawn into out of order.
|
// Split/Merge functions are used to split the draw list into different layers which can be drawn into out of order.
|
||||||
// This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call.
|
// This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call.
|
||||||
struct ImDrawListSplitter
|
struct ImDrawListSplitter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user