Home
last modified time | relevance | path

Searched refs:MemAlloc (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_dx9.cpp322 ImU32* dst_start = (ImU32*)ImGui::MemAlloc((size_t)width * height * bytes_per_pixel); in ImGui_ImplDX9_CreateFontsTexture()
/third_party/mesa3d/src/imgui/
H A Dimgui_draw.cpp132 #define STBTT_malloc(x,u) ((void)(u), ImGui::MemAlloc(x))
1530 TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)TexWidth * (size_t)TexHeight * 4); in GetTexDataAsRGBA32()
1562 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize); in AddFont()
1647 unsigned char* buf_decompressed_data = (unsigned char *)ImGui::MemAlloc(buf_decompressed_size); in AddFontFromMemoryCompressedTTF()
1659 void* compressed_ttf = ImGui::MemAlloc((size_t)compressed_ttf_size); in AddFontFromMemoryCompressedBase85TTF()
1964 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype()
H A Dimgui.h681 IMGUI_API void* MemAlloc(size_t size);
1213 inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)ImGui::MemAlloc((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); ImGui::MemFree(Data); } Data = new_data; Capacity = new_capacity; } in reserve()
1382 int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts.
1526 // Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree
1533 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
H A Dimgui.cpp1307 void* buf = ImGui::MemAlloc(len + 1);
1318 dst = (char*)ImGui::MemAlloc(src_size);
1527 // Memory allocated with ImGui::MemAlloc(), must be freed by user using ImGui::MemFree()
1546 void* file_data = ImGui::MemAlloc(file_size + padding_bytes); in ImFileLoadToMemory()
2953 void* ImGui::MemAlloc(size_t size) in MemAlloc() function in ImGui
9016 char* buf = (char*)ImGui::MemAlloc(ini_size + 1); in LoadIniSettingsFromMemory()
H A Dimgui_widgets.cpp3443 ImWchar* clipboard_filtered = (ImWchar*)MemAlloc((clipboard_len+1) * sizeof(ImWchar));
/third_party/skia/third_party/externals/imgui/
H A Dimgui.h939 IMGUI_API void* MemAlloc(size_t size);
1676 #define IM_ALLOC(_SIZE) ImGui::MemAlloc(_SIZE)
1679 #define IM_NEW(_TYPE) new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1920 int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts.
H A Dimgui.cpp3361 // IM_ALLOC() == ImGui::MemAlloc()
3362 void* ImGui::MemAlloc(size_t size) in MemAlloc() function in ImGui

Completed in 77 milliseconds