code
stringlengths
0
56.1M
repo_name
stringlengths
3
57
path
stringlengths
2
176
language
stringclasses
672 values
license
stringclasses
8 values
size
int64
0
56.8M
# imgui_freetype Build font atlases using FreeType instead of stb_truetype (which is the default font rasterizer). <br>by @vuhdo, @mikesart, @ocornut. ### Usage 1. Get latest FreeType binaries or build yourself (under Windows you may use vcpkg with `vcpkg install freetype --triplet=x64-windows`, `vcpkg integrate ins...
whupdup/frame
real/third_party/tracy/imgui/misc/freetype/README.md
Markdown
gpl-3.0
1,808
// dear imgui: FreeType font builder (used as a replacement for the stb_truetype builder) // (code) // Get the latest version at https://github.com/ocornut/imgui/tree/master/misc/freetype // Original code by @vuhdo (Aleksei Skriabin). Improvements by @mikesart. Maintained since 2019 by @ocornut. // CHANGELOG // (mino...
whupdup/frame
real/third_party/tracy/imgui/misc/freetype/imgui_freetype.cpp
C++
gpl-3.0
38,152
// dear imgui: FreeType font builder (used as a replacement for the stb_truetype builder) // (headers) #pragma once #include "imgui.h" // IMGUI_API // Forward declarations struct ImFontAtlas; struct ImFontBuilderIO; // Hinting greatly impacts visuals (and glyph sizes). // - By default, hinting is enabled and t...
whupdup/frame
real/third_party/tracy/imgui/misc/freetype/imgui_freetype.h
C++
gpl-3.0
3,544
#ifdef _WIN32 # include <windows.h> #endif #include <fstream> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unordered_map> #include <sys/stat.h> #ifdef _MSC_VER # define stat64 _stat64 #endif #if defined __APPLE__ # define stat64 stat #endif #include "json.hpp" #includ...
whupdup/frame
real/third_party/tracy/import-chrome/src/import-chrome.cpp
C++
gpl-3.0
11,025
/* __ _____ _____ _____ __| | __| | | | JSON for Modern C++ | | |__ | | | | | | version 3.7.3 |_____|_____|_____|_|___| https://github.com/nlohmann/json Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2013-2019 Niels Lohmann <http:/...
whupdup/frame
real/third_party/tracy/import-chrome/src/json.hpp
C++
gpl-3.0
809,489
/* alloc.c -- Memory allocation without mmap. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistributions of sour...
whupdup/frame
real/third_party/tracy/libbacktrace/alloc.cpp
C++
gpl-3.0
4,538
/* backtrace.h -- Public header file for stack backtrace library. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Red...
whupdup/frame
real/third_party/tracy/libbacktrace/backtrace.hpp
C++
gpl-3.0
8,731
#include <limits.h> #if __WORDSIZE == 64 # define BACKTRACE_ELF_SIZE 64 #else # define BACKTRACE_ELF_SIZE 32 #endif #define HAVE_DLFCN_H 1 #define HAVE_FCNTL 1 #define HAVE_INTTYPES_H 1 #define HAVE_LSTAT 1 #define HAVE_READLINK 1 #define HAVE_DL_ITERATE_PHDR 1 #define HAVE_ATOMIC_FUNCTIONS 1 #define HAVE_DECL_STRNL...
whupdup/frame
real/third_party/tracy/libbacktrace/config.h
C++
gpl-3.0
458
/* dwarf.c -- Get file/line information from DWARF for backtraces. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Re...
whupdup/frame
real/third_party/tracy/libbacktrace/dwarf.cpp
C++
gpl-3.0
116,499
/* elf.c -- Get debug data from an ELF file for backtraces. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistrib...
whupdup/frame
real/third_party/tracy/libbacktrace/elf.cpp
C++
gpl-3.0
131,477
/* fileline.c -- Get file and line number information in a backtrace. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1)...
whupdup/frame
real/third_party/tracy/libbacktrace/fileline.cpp
C++
gpl-3.0
8,882
/* btest.c -- Filename header for libbacktrace library Copyright (C) 2012-2018 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistribution...
whupdup/frame
real/third_party/tracy/libbacktrace/filenames.hpp
C++
gpl-3.0
2,149
/* internal.h -- Internal header file for stack backtrace library. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Re...
whupdup/frame
real/third_party/tracy/libbacktrace/internal.hpp
C++
gpl-3.0
12,724
/* elf.c -- Get debug data from a Mach-O file for backtraces. Copyright (C) 2020-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistr...
whupdup/frame
real/third_party/tracy/libbacktrace/macho.cpp
C++
gpl-3.0
36,137
/* mmapio.c -- File views using mmap. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistributions of source code ...
whupdup/frame
real/third_party/tracy/libbacktrace/mmapio.cpp
C++
gpl-3.0
3,185
/* posix.c -- POSIX file I/O routines for the backtrace library. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redi...
whupdup/frame
real/third_party/tracy/libbacktrace/posix.cpp
C++
gpl-3.0
3,169
/* sort.c -- Sort without allocating memory Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistributions of source...
whupdup/frame
real/third_party/tracy/libbacktrace/sort.cpp
C++
gpl-3.0
3,201
/* state.c -- Create the backtrace state. Copyright (C) 2012-2021 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistributions of source c...
whupdup/frame
real/third_party/tracy/libbacktrace/state.cpp
C++
gpl-3.0
2,426
all: release debug: @+make -f debug.mk all release: @+make -f release.mk all clean: @+make -f build.mk clean db: clean @bear -- $(MAKE) -f debug.mk all @mv -f compile_commands.json ../../ .PHONY: all clean debug release db
whupdup/frame
real/third_party/tracy/library/unix/Makefile
Makefile
gpl-3.0
233
CFLAGS += CXXFLAGS := $(CFLAGS) -std=c++11 -fpic DEFINES += -DTRACY_ENABLE INCLUDES := LIBS := -lpthread -ldl PROJECT := libtracy IMAGE := $(PROJECT)-$(BUILD).so SHARED_LIBRARY := yes SRC := ../../TracyClient.cpp include ../../common/unix.mk
whupdup/frame
real/third_party/tracy/library/unix/build.mk
mk
gpl-3.0
244
ARCH := $(shell uname -m) CFLAGS := -g3 -Wall DEFINES := -DDEBUG BUILD := debug ifndef TRACY_NO_ISA_EXTENSIONS ifeq ($(ARCH),x86_64) CFLAGS += -msse4.1 endif endif include build.mk
whupdup/frame
real/third_party/tracy/library/unix/debug.mk
mk
gpl-3.0
184
ARCH := $(shell uname -m) CFLAGS := -O3 -s DEFINES := -DNDEBUG BUILD := release ifndef TRACY_NO_ISA_EXTENSIONS ifeq ($(ARCH),x86_64) CFLAGS += -msse4.1 endif endif include build.mk
whupdup/frame
real/third_party/tracy/library/unix/release.mk
mk
gpl-3.0
184
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30907.101 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TracyProfiler", "TracyProfiler.vcxproj", "{C5B825D3-F140-45AB-8A47-B740E56631FB}" EndProject Global...
whupdup/frame
real/third_party/tracy/library/win32/TracyProfiler.sln
sln
gpl-3.0
1,119
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfig...
whupdup/frame
real/third_party/tracy/library/win32/TracyProfiler.vcxproj
vcxproj
gpl-3.0
11,425
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <ClCompile Include="..\..\TracyClient.cpp" /> </ItemGroup> </Project>
whupdup/frame
real/third_party/tracy/library/win32/TracyProfiler.vcxproj.filters
filters
gpl-3.0
220
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns...
whupdup/frame
real/third_party/tracy/manual/icons/lmb.svg
svg
gpl-3.0
3,735
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns...
whupdup/frame
real/third_party/tracy/manual/icons/mmb.svg
svg
gpl-3.0
3,209
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns...
whupdup/frame
real/third_party/tracy/manual/icons/mouse.svg
svg
gpl-3.0
3,213
%PDF-1.5 %���� 4 0 obj << /Length 5 0 R /Filter /FlateDecode >> stream x�uRAn! ���@)f���\"U�!��ꡢR��=�=��e�l0M�h<�g�P����L�OSp����倏O?@���5_=���Q+��`�/H�����H����tʅ����Ǒa�E翄f�b?���\�(�Qz5m�#~���Q.u��;�Ҷ�0��8U���e�d͢�^���� J]�[���m`��Y5ۀc�1�Mx�a����&�"� �Zl�]{�^�F�!]�+v��2$4"��_��#w_5��>�F}...
whupdup/frame
real/third_party/tracy/manual/icons/rmb.pdf
pdf
gpl-3.0
1,234
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns...
whupdup/frame
real/third_party/tracy/manual/icons/rmb.svg
svg
gpl-3.0
3,731
%PDF-1.5 %���� 4 0 obj << /Length 5 0 R /Filter /FlateDecode >> stream x�uS=k1 ��+4N��u�ڥP�v,��e�t�߯l��]�px��ޓ�#���c1X}���K���4�!��/�^�Q}|�F ���+,@���LA��g��}l���I���3�1cu}��;�\Ơ��(ڮ?����;�M�m�ȶ��ϕ�g�_�m�M�==[2�@��t�c��@i�a��/CT�Ew� �)6�'"�&�\l�e ��|��H�⊽lG`1���_�Zֳ�=�(?��{I�9U��o...
whupdup/frame
real/third_party/tracy/manual/icons/scroll.pdf
pdf
gpl-3.0
1,272
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns...
whupdup/frame
real/third_party/tracy/manual/icons/scroll.svg
svg
gpl-3.0
5,479
% !TeX spellcheck = en_US \documentclass[hidelinks,titlepage,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{newpxtext,newpxmath} \linespread{1.05} % Line spacing - Palatino needs more space between lines \usepackage{microtype} \usepackage[group-separator={,}]{si...
whupdup/frame
real/third_party/tracy/manual/techdoc.tex
LaTeX
gpl-3.0
38,412
@inproceedings{Abel19a, title = {uops.info: Characterizing Latency, Throughput, and Port Usage of Instructions on Intel Microarchitectures}, acmid = {3304062}, address = {New York, NY, USA}, author = {Abel, Andreas and Reineke, Jan}, booktitle = {ASPLOS}, doi = {10.1145/3297858.3304062}, isbn = {978-1-450...
whupdup/frame
real/third_party/tracy/manual/tracy.bib
bib
gpl-3.0
1,391
project('tracy', ['cpp']) if get_option('tracy_enable') add_project_arguments('-DTRACY_ENABLE', language : 'cpp') endif if get_option('tracy_on_demand') add_project_arguments('-DTRACY_ON_DEMAND', language : 'cpp') endif if get_option('tracy_callstack') add_project_arguments('-DTRACY_CALLSTACK', language : 'cpp...
whupdup/frame
real/third_party/tracy/meson.build
build
gpl-3.0
5,108
option('tracy_enable', type : 'boolean', value : true, description : 'Enable profiling') option('tracy_on_demand', type : 'boolean', value : false, description : 'On-demand profiling') option('tracy_callstack', type : 'boolean', value : false, description : 'Enfore callstack collection for tracy regions') option('tracy...
whupdup/frame
real/third_party/tracy/meson_options.txt
Text
gpl-3.0
2,507
/* Native File Dialog Extended Repository: https://github.com/btzy/nativefiledialog-extended License: Zlib Authors: Bernard Teo, Michael Labbe This header contains the functions that can be called by user code. */ #ifndef _NFD_H #define _NFD_H #ifdef __cplusplus extern "C" { #endif // __cplusplus #inclu...
whupdup/frame
real/third_party/tracy/nfd/nfd.h
C++
gpl-3.0
10,418
/* Native File Dialog Extended Repository: https://github.com/btzy/nativefiledialog-extended License: Zlib Authors: Bernard Teo, Michael Labbe */ #include <AppKit/AppKit.h> #include "nfd.h" static const char* g_errorstr = NULL; static void NFDi_SetError(const char* msg) { g_errorstr = msg; } static voi...
whupdup/frame
real/third_party/tracy/nfd/nfd_cocoa.m
Objective-C++
gpl-3.0
10,674
/* Native File Dialog Extended Repository: https://github.com/btzy/nativefiledialog-extended License: Zlib Authors: Bernard Teo, Michael Labbe Note: We do not check for malloc failure on Linux - Linux overcommits memory! */ #include <assert.h> #include <gtk/gtk.h> #if defined(GDK_WINDOWING_X11) #include <gd...
whupdup/frame
real/third_party/tracy/nfd/nfd_gtk.cpp
C++
gpl-3.0
22,680
/* Native File Dialog Extended Repository: https://github.com/btzy/nativefiledialog-extended License: Zlib Authors: Bernard Teo Note: We do not check for malloc failure on Linux - Linux overcommits memory! */ #include <assert.h> #include <dbus/dbus.h> #include <errno.h> #include <stddef.h> #include <stdio.h...
whupdup/frame
real/third_party/tracy/nfd/nfd_portal.cpp
C++
gpl-3.0
57,840
/* Native File Dialog Extended Repository: https://github.com/btzy/nativefiledialog-extended License: Zlib Author: Bernard Teo */ /* only locally define UNICODE in this compilation unit */ #ifndef UNICODE #define UNICODE #endif #ifdef __MINGW32__ // Explicitly setting NTDDI version, this is necessary for the...
whupdup/frame
real/third_party/tracy/nfd/nfd_win.cpp
C++
gpl-3.0
31,717
namespace tracy { // File: 'DroidSans.ttf' (190776 bytes) // Exported using binary_to_compressed_c.cpp static const unsigned int DroidSans_compressed_size = 134868; static const unsigned int DroidSans_compressed_data[134868/4] = { 0x0000bc57, 0x00000000, 0x38e90200, 0x00000400, 0x00010025, 0x82130000, 0x00042e04, ...
whupdup/frame
real/third_party/tracy/profiler/src/DroidSans.hpp
C++
gpl-3.0
418,892
// File: 'FiraCode-Retina.ttf' (295252 bytes) // Exported using binary_to_compressed_c.cpp namespace tracy { static const unsigned int FiraCodeRetina_compressed_size = 191172; static const unsigned int FiraCodeRetina_compressed_data[191172/4] = { 0x0000bc57, 0x00000000, 0x54810400, 0x00000400, 0x00010025, 0x82120...
whupdup/frame
real/third_party/tracy/profiler/src/FiraCodeRetina.hpp
C++
gpl-3.0
593,686
// File: 'Font Awesome 6 Free-Solid-900.otf' (763488 bytes) // Exported using binary_to_compressed_c.cpp namespace tracy { static const unsigned int FontAwesomeSolid_compressed_size = 497359; static const unsigned int FontAwesomeSolid_compressed_data[497360/4] = { 0x0000bc57, 0x00000000, 0x60a60b00, 0x00000400, 0...
whupdup/frame
real/third_party/tracy/profiler/src/FontAwesomeSolid.hpp
C++
gpl-3.0
1,544,163
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../common/TracySocket.hpp" #include "../server/TracyVersion.hpp" #include "HttpRequest.hpp" #if defined _WIN32 # include <windows.h> extern "C" typedef LONG (WINAPI *t_RtlGetVersion)( PRTL_OSVERSIONINFOW ); #elif defined __linux...
whupdup/frame
real/third_party/tracy/profiler/src/HttpRequest.cpp
C++
gpl-3.0
3,538
#ifndef __HTTPREQUEST_HPP__ #define __HTTPREQUEST_HPP__ #include <functional> void HttpRequest( const char* server, const char* resource, int port, std::function<void(int, char*)> cb ); #endif
whupdup/frame
real/third_party/tracy/profiler/src/HttpRequest.hpp
C++
gpl-3.0
196
#include "NativeWindow.hpp" #include <GLFW/glfw3.h> #ifdef _WIN32 # define GLFW_EXPOSE_NATIVE_WIN32 # include <GLFW/glfw3native.h> #elif defined __linux__ # ifdef DISPLAY_SERVER_X11 # define GLFW_EXPOSE_NATIVE_X11 # elif defined DISPLAY_SERVER_WAYLAND # define GLFW_EXPOSE_NATIVE_WAYLAND # else # error "...
whupdup/frame
real/third_party/tracy/profiler/src/NativeWindow.cpp
C++
gpl-3.0
778
#ifndef __NATIVEWINDOW_HPP__ #define __NATIVEWINDOW_HPP__ void* GetMainWindowNative(); #endif
whupdup/frame
real/third_party/tracy/profiler/src/NativeWindow.hpp
C++
gpl-3.0
96
#ifdef _WIN32 # include <ws2tcpip.h> #else # include <arpa/inet.h> # include <sys/socket.h> # include <netdb.h> #endif #include "ResolvService.hpp" ResolvService::ResolvService( uint16_t port ) : m_exit( false ) , m_port( port ) , m_thread( [this] { Worker(); } ) { } ResolvService::~ResolvService() {...
whupdup/frame
real/third_party/tracy/profiler/src/ResolvService.cpp
C++
gpl-3.0
1,405
#ifndef __RESOLVSERVICE_HPP__ #define __RESOLVSERVICE_HPP__ #include <atomic> #include <condition_variable> #include <functional> #include <mutex> #include <stdint.h> #include <string> #include <thread> #include <vector> class ResolvService { struct QueueItem { uint32_t ip; std::function<void(...
whupdup/frame
real/third_party/tracy/profiler/src/ResolvService.hpp
C++
gpl-3.0
715
// File: 'icon.png' (854 bytes) // Exported using binary_to_compressed_c.cpp static const unsigned int Icon_size = 854; static const unsigned int Icon_data[856/4] = { 0x474e5089, 0x0a1a0a0d, 0x0d000000, 0x52444849, 0x00010000, 0x00010000, 0x00000308, 0x58ac6b00, 0x00000054, 0x59487009, 0x0a000073, 0x0a000000, ...
whupdup/frame
real/third_party/tracy/profiler/src/icon.hpp
C++
gpl-3.0
2,829
// dear imgui: Platform Backend for GLFW // This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan, WebGPU..) // (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.) // (Requires: GLFW 3.1+. Prefer GLFW 3.3+ for full feature supp...
whupdup/frame
real/third_party/tracy/profiler/src/imgui_impl_glfw.cpp
C++
gpl-3.0
60,913
// dear imgui: Platform Backend for GLFW // This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan, WebGPU..) // (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.) // (Requires: GLFW 3.1+. Prefer GLFW 3.3+ for full feature supp...
whupdup/frame
real/third_party/tracy/profiler/src/imgui_impl_glfw.h
C++
gpl-3.0
3,825
// dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline // - Desktop GL: 2.x 3.x 4.x // - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0) // This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..) // Implemented features: // [X] Renderer: User texture b...
whupdup/frame
real/third_party/tracy/profiler/src/imgui_impl_opengl3.cpp
C++
gpl-3.0
43,733
// dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline // - Desktop GL: 2.x 3.x 4.x // - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0) // This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..) // Implemented features: // [X] Renderer: User texture b...
whupdup/frame
real/third_party/tracy/profiler/src/imgui_impl_opengl3.h
C++
gpl-3.0
2,995
//----------------------------------------------------------------------------- // About imgui_impl_opengl3_loader.h: // // We embed our own OpenGL loader to not require user to provide their own or to have to use ours, // which proved to be endless problems for users. // Our loader is custom-generated, based on gl3w b...
whupdup/frame
real/third_party/tracy/profiler/src/imgui_impl_opengl3_loader.h
C++
gpl-3.0
35,335
#include <algorithm> #include <assert.h> #include <atomic> #include <chrono> #include <inttypes.h> #include <imgui.h> #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include "imgui_impl_opengl3_loader.h" #include <mutex> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string> #include...
whupdup/frame
real/third_party/tracy/profiler/src/main.cpp
C++
gpl-3.0
42,907
/* stb_image - v2.27 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should look like...
whupdup/frame
real/third_party/tracy/profiler/src/stb_image.h
C++
gpl-3.0
278,901
#ifdef _WIN32 # include <windows.h> # include <stdlib.h> # include <intrin.h> # include <stdint.h> namespace tracy { bool DiscoveryAVX(); bool DiscoveryAVX2(); } int main( int argc, char** argv ); int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmd, int nCmd ) { { uint32_t...
whupdup/frame
real/third_party/tracy/profiler/src/winmain.cpp
C++
gpl-3.0
1,728
#ifdef _WIN32 namespace tracy { bool DiscoveryAVX() { #ifdef __AVX__ return true; #else return false; #endif } bool DiscoveryAVX2() { #ifdef __AVX2__ return true; #else return false; #endif } } #endif
whupdup/frame
real/third_party/tracy/profiler/src/winmainArchDiscovery.cpp
C++
gpl-3.0
258
// Copyright (c) 2017 Juliette Foucaut and Doug Binks // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for any purpose, // ...
whupdup/frame
real/third_party/tracy/server/IconsFontAwesome5.h
C++
gpl-3.0
41,290
#include <assert.h> #include "IconsFontAwesome5.h" #include "TracyBadVersion.hpp" #include "TracyImGui.hpp" #include "TracyWeb.hpp" namespace tracy { namespace detail { void BadVersionImpl( BadVersionState& badVer, ImFont* big ) { assert( badVer.state != BadVersionState::Ok ); switch( badVer.state ) { ...
whupdup/frame
real/third_party/tracy/server/TracyBadVersion.cpp
C++
gpl-3.0
3,446
#ifndef __TRACYBADVERSION_HPP__ #define __TRACYBADVERSION_HPP__ #include <imgui.h> #include "../common/TracyForceInline.hpp" namespace tracy { struct BadVersionState { enum State { Ok, BadFile, ReadError, UnsupportedVersion, LegacyVersion }; State state = Ok; ...
whupdup/frame
real/third_party/tracy/server/TracyBadVersion.hpp
C++
gpl-3.0
599
#ifndef __TRACYBUZZANIM_HPP__ #define __TRACYBUZZANIM_HPP__ #include <assert.h> namespace tracy { template<typename T> class BuzzAnim { public: bool Match( const T& comp ) const { return active && comp == id; } float Time() const { assert( active ); return time; } ...
whupdup/frame
real/third_party/tracy/server/TracyBuzzAnim.hpp
C++
gpl-3.0
659
#ifndef __TRACY__CHARUTIL_HPP__ #define __TRACY__CHARUTIL_HPP__ #include <stddef.h> #include <stdint.h> #include <string.h> #define XXH_INLINE_ALL #include "tracy_xxhash.h" namespace tracy { namespace charutil { static inline size_t hash( const char* str ) { const auto sz = strlen( str ); return XXH3_64bits...
whupdup/frame
real/third_party/tracy/server/TracyCharUtil.hpp
C++
gpl-3.0
1,253
#include <algorithm> #include "TracyColor.hpp" namespace tracy { uint32_t GetHsvColor( uint64_t hue, int value ) { const uint8_t h = ( hue * 11400714819323198485ull ) & 0xFF; const uint8_t s = 108; const uint8_t v = std::max( 96, 170 - value * 8 ); const uint8_t reg = h / 43; const uint8_t rem =...
whupdup/frame
real/third_party/tracy/server/TracyColor.cpp
C++
gpl-3.0
899
#ifndef __TRACYCOLOR_HPP__ #define __TRACYCOLOR_HPP__ #include <stdint.h> namespace tracy { uint32_t GetHsvColor( uint64_t hue, int value ); } #endif
whupdup/frame
real/third_party/tracy/server/TracyColor.hpp
C++
gpl-3.0
155
#ifndef __TRACYDECAYVALUE_HPP__ #define __TRACYDECAYVALUE_HPP__ #include "../common/TracyForceInline.hpp" namespace tracy { template<typename T> class DecayValue { public: DecayValue( const T& init, bool active = false ) : m_value( init ) , m_active( active ) { } tracy_force_inline o...
whupdup/frame
real/third_party/tracy/server/TracyDecayValue.hpp
C++
gpl-3.0
836
#ifndef __TRACYEVENT_HPP__ #define __TRACYEVENT_HPP__ #include <assert.h> #include <limits> #include <stdint.h> #include <string> #include <string.h> #include "TracyCharUtil.hpp" #include "TracyShortPtr.hpp" #include "TracySortedVector.hpp" #include "TracyVector.hpp" #include "tracy_robin_hood.h" #include "../common/...
whupdup/frame
real/third_party/tracy/server/TracyEvent.hpp
C++
gpl-3.0
24,966
#include <assert.h> #include <stdio.h> #include <inttypes.h> #include "TracyEventDebug.hpp" #include "../common/TracyQueue.hpp" namespace tracy { void EventDebug( const QueueItem& ev ) { static FILE* f = fopen( "eventdebug.txt", "wb" ); switch( ev.hdr.type ) { case QueueType::ZoneText: fprint...
whupdup/frame
real/third_party/tracy/server/TracyEventDebug.cpp
C++
gpl-3.0
13,381
#ifndef __TRACYEVENTDEBUG_HPP__ #define __TRACYEVENTDEBUG_HPP__ namespace tracy { struct QueueItem; void EventDebug( const QueueItem& ev ); } #endif
whupdup/frame
real/third_party/tracy/server/TracyEventDebug.hpp
C++
gpl-3.0
151
#ifndef __TRACYFILEHEADER_HPP__ #define __TRACYFILEHEADER_HPP__ #include <stdint.h> #include "../common/TracyForceInline.hpp" namespace tracy { static const char Lz4Header[4] = { 't', 'l', 'Z', 4 }; static const char ZstdHeader[4] = { 't', 'Z', 's', 't' }; static constexpr tracy_force_inline int FileVersion( uint...
whupdup/frame
real/third_party/tracy/server/TracyFileHeader.hpp
C++
gpl-3.0
412
#ifndef __TRACYFILEREAD_HPP__ #define __TRACYFILEREAD_HPP__ #include <assert.h> #include <atomic> #include <algorithm> #include <stdexcept> #include <stdio.h> #include <string.h> #include <string> #include <thread> #include <utility> #include <sys/stat.h> #ifdef _MSC_VER # define stat64 _stat64 #endif #if defined _...
whupdup/frame
real/third_party/tracy/server/TracyFileRead.hpp
C++
gpl-3.0
20,037
#ifndef __TRACYFILEWRITE_HPP__ #define __TRACYFILEWRITE_HPP__ #ifdef _MSC_VER # pragma warning( disable: 4267 ) // conversion from don't care to whatever, possible loss of data #endif #include <algorithm> #include <assert.h> #include <stdio.h> #include <string.h> #include <utility> #include "TracyFileHeader.hpp" ...
whupdup/frame
real/third_party/tracy/server/TracyFileWrite.hpp
C++
gpl-3.0
4,653
#include "TracyFilesystem.hpp" #include "TracyView.hpp" namespace tracy { bool SourceFileValid( const char* fn, uint64_t olderThan, const View& view, const Worker& worker ) { if( worker.GetSourceFileFromCache( fn ).data != nullptr ) return true; struct stat buf; if( stat( view.SourceSubstitution( fn ), &b...
whupdup/frame
real/third_party/tracy/server/TracyFilesystem.cpp
C++
gpl-3.0
452
#ifndef __TRACYFILESYSTEM_HPP__ #define __TRACYFILESYSTEM_HPP__ #include <stdint.h> #include <sys/stat.h> namespace tracy { class View; class Worker; static inline bool FileExists( const char* fn ) { struct stat buf; return stat( fn, &buf ) == 0 && ( buf.st_mode & S_IFREG ) != 0; } bool SourceFileValid( co...
whupdup/frame
real/third_party/tracy/server/TracyFilesystem.hpp
C++
gpl-3.0
407
#ifndef __TRACYIMGUI_HPP__ #define __TRACYIMGUI_HPP__ #ifdef _MSC_VER # pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data #endif #include <algorithm> #include <assert.h> #include <stdint.h> #include "imgui.h" #include "imgui_internal.h" #include "../common/TracyForce...
whupdup/frame
real/third_party/tracy/server/TracyImGui.hpp
C++
gpl-3.0
9,557
#include "TracyMemory.hpp" namespace tracy { size_t memUsage = 0; }
whupdup/frame
real/third_party/tracy/server/TracyMemory.cpp
C++
gpl-3.0
71
#ifndef __TRACYMEMORY_HPP__ #define __TRACYMEMORY_HPP__ #include <stdlib.h> namespace tracy { extern size_t memUsage; } #endif
whupdup/frame
real/third_party/tracy/server/TracyMemory.hpp
C++
gpl-3.0
132
#include <stdint.h> namespace tracy { struct AsmDesc { uint8_t type; uint16_t width; }; struct AsmVar { int descNum; AsmDesc desc[5]; int isaSet; float tp; int port, uops, minlat, maxlat; bool minbound, maxbound; }; struct AsmOp { int id; int descId; int numVariants; ...
whupdup/frame
real/third_party/tracy/server/TracyMicroArchitecture.hpp
C++
gpl-3.0
716
#include "TracyMmap.hpp" #if defined _WIN32 # include <io.h> # include <windows.h> void* mmap( void* addr, size_t length, int prot, int flags, int fd, off_t offset ) { HANDLE hnd; void* map = nullptr; switch( prot ) { case PROT_READ: if( hnd = CreateFileMapping( HANDLE( _get_osfhandle( ...
whupdup/frame
real/third_party/tracy/server/TracyMmap.cpp
C++
gpl-3.0
938
#ifndef __TRACYMMAP_HPP__ #define __TRACYMMAP_HPP__ #if !defined _WIN32 # include <sys/mman.h> #else # include <string.h> # include <sys/types.h> # define PROT_READ 1 # define PROT_WRITE 2 # define MAP_SHARED 0 void* mmap( void* addr, size_t length, int prot, int flags, int fd, off_t offset ); int munmap( void...
whupdup/frame
real/third_party/tracy/server/TracyMmap.hpp
C++
gpl-3.0
361
#include <cmath> #include "TracyMouse.hpp" #include "imgui_internal.h" namespace tracy { static constexpr int MouseButtons = IM_ARRAYSIZE( ImGuiContext::IO.MouseDown ); static constexpr float MouseDragThreshold = 2; struct Mouse { bool mouseDown[MouseButtons]; bool mouseClicked[MouseButtons]; bool mous...
whupdup/frame
real/third_party/tracy/server/TracyMouse.cpp
C++
gpl-3.0
2,404
#ifndef __TRACYMOUSE_HPP__ #define __TRACYMOUSE_HPP__ #include "imgui.h" namespace tracy { void MouseFrame(); bool IsMouseDown( ImGuiMouseButton button ); bool IsMouseClicked( ImGuiMouseButton button ); bool IsMouseDragging( ImGuiMouseButton button ); ImVec2 GetMouseDragDelta( ImGuiMouseButton button ); void Consu...
whupdup/frame
real/third_party/tracy/server/TracyMouse.hpp
C++
gpl-3.0
427
#ifndef __TRACYPOPCNT_HPP__ #define __TRACYPOPCNT_HPP__ #include <limits.h> #include <stdint.h> #if defined _WIN64 # include <intrin.h> # define TracyCountBits __popcnt64 # define TracyLzcnt __lzcnt64 #elif defined __GNUC__ || defined __clang__ static inline uint64_t TracyCountBits( uint64_t i ) { return uint6...
whupdup/frame
real/third_party/tracy/server/TracyPopcnt.hpp
C++
gpl-3.0
939
#ifdef _MSC_VER # pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data #endif #ifdef __MINGW32__ # define __STDC_FORMAT_MACROS #endif #include <assert.h> #include <inttypes.h> #include <math.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> // llabs() #include...
whupdup/frame
real/third_party/tracy/server/TracyPrint.cpp
C++
gpl-3.0
10,195
#ifndef __TRACYPRINT_HPP__ #define __TRACYPRINT_HPP__ #if ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L # if __has_include(<charconv>) && __has_include(<type_traits>) # include <charconv> # include <type_traits> # else # define NO_CHARCONV # endif #else # define NO_CHARCONV #endi...
whupdup/frame
real/third_party/tracy/server/TracyPrint.hpp
C++
gpl-3.0
2,872
#ifndef __TRACYSHORTPTR_HPP__ #define __TRACYSHORTPTR_HPP__ #include <assert.h> #include <stdint.h> #include <string.h> #include "../common/TracyForceInline.hpp" namespace tracy { #if UINTPTR_MAX == 0xFFFFFFFFFFFFFFFF template<typename T> class short_ptr { public: tracy_force_inline short_ptr() {} tracy_for...
whupdup/frame
real/third_party/tracy/server/TracyShortPtr.hpp
C++
gpl-3.0
2,279
#ifndef __TRACYSLAB_HPP__ #define __TRACYSLAB_HPP__ #include <assert.h> #include <stdint.h> #include <vector> #include "TracyMemory.hpp" #include "../common/TracyForceInline.hpp" namespace tracy { template<size_t BlockSize> class Slab { public: Slab() : m_ptr( new char[BlockSize] ) , m_offset( 0...
whupdup/frame
real/third_party/tracy/server/TracySlab.hpp
C++
gpl-3.0
3,346
#ifndef __TRACYSORT_HPP__ #define __TRACYSORT_HPP__ #ifndef NO_PARALLEL_SORT # if !defined __APPLE__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) # if __has_include(<execution>) # include <algorithm> # include <execution> # else # define NO_PARALLEL_SORT # end...
whupdup/frame
real/third_party/tracy/server/TracySort.hpp
C++
gpl-3.0
412
#ifndef __TRACYSORTEDVECTOR_HPP__ #define __TRACYSORTEDVECTOR_HPP__ #include "TracySort.hpp" #include "TracyVector.hpp" namespace tracy { #pragma pack( 1 ) template<typename T, class CompareDefault = std::less<T>> class SortedVector { public: using iterator = T*; using const_iterator = const T*; tracy_f...
whupdup/frame
real/third_party/tracy/server/TracySortedVector.hpp
C++
gpl-3.0
3,673
#include "TracySourceContents.hpp" #include "TracyView.hpp" #include "TracyWorker.hpp" namespace tracy { SourceContents::SourceContents() : m_file( nullptr ) , m_fileStringIdx( 0 ) , m_data( nullptr ) , m_dataBuf( nullptr ) , m_dataSize( 0 ) { } SourceContents::~SourceContents() { delete[] m_...
whupdup/frame
real/third_party/tracy/server/TracySourceContents.cpp
C++
gpl-3.0
2,304
#ifndef __TRACYSOURCECONTENTS_HPP__ #define __TRACYSOURCECONTENTS_HPP__ #include <stdint.h> #include <stddef.h> #include <vector> #include "TracySourceTokenizer.hpp" namespace tracy { class View; class Worker; class SourceContents { public: SourceContents(); ~SourceContents(); void Parse( const char* ...
whupdup/frame
real/third_party/tracy/server/TracySourceContents.hpp
C++
gpl-3.0
851
#include "tracy_robin_hood.h" #include "TracyCharUtil.hpp" #include "TracySourceTokenizer.hpp" namespace tracy { namespace { static unordered_flat_set<const char*, charutil::Hasher, charutil::Comparator> GetKeywords() { unordered_flat_set<const char*, charutil::Hasher, charutil::Comparator> ret; for( auto& v ...
whupdup/frame
real/third_party/tracy/server/TracySourceTokenizer.cpp
C++
gpl-3.0
11,400
#ifndef __TRACYSOURCETOKENIZER_HPP__ #define __TRACYSOURCETOKENIZER_HPP__ #include <stdint.h> #include <vector> namespace tracy { class Tokenizer { public: enum class TokenColor : uint8_t { Default, Comment, Preprocessor, String, CharacterLiteral, Keyword, ...
whupdup/frame
real/third_party/tracy/server/TracySourceTokenizer.hpp
C++
gpl-3.0
853
#include <ctype.h> #include <inttypes.h> #include <stdio.h> #include <capstone.h> #include "imgui.h" #include "TracyCharUtil.hpp" #include "TracyColor.hpp" #include "TracyFilesystem.hpp" #include "TracyImGui.hpp" #include "TracyMicroArchitecture.hpp" #include "TracyPrint.hpp" #include "TracySort.hpp" #include "TracyS...
whupdup/frame
real/third_party/tracy/server/TracySourceView.cpp
C++
gpl-3.0
200,403
#ifndef __TRACYSOURCEVIEW_HPP__ #define __TRACYSOURCEVIEW_HPP__ #include <limits> #include <string> #include <vector> #include <imgui.h> #include "tracy_robin_hood.h" #include "TracyCharUtil.hpp" #include "TracyDecayValue.hpp" #include "TracySourceContents.hpp" #include "TracySourceTokenizer.hpp" #include "../common...
whupdup/frame
real/third_party/tracy/server/TracySourceView.hpp
C++
gpl-3.0
8,134
#ifdef __MINGW32__ # define __STDC_FORMAT_MACROS #endif #include <assert.h> #include <inttypes.h> #include <string> #include <string.h> #ifdef _WIN32 # include <direct.h> # include <windows.h> #else # include <dirent.h> # include <sys/types.h> # include <unistd.h> # include <errno.h> #endif #include <sys/stat.h...
whupdup/frame
real/third_party/tracy/server/TracyStorage.cpp
C++
gpl-3.0
4,072
#ifndef __TRACYSTORAGE_HPP__ #define __TRACYSTORAGE_HPP__ #include <stdint.h> namespace tracy { const char* GetSavePath( const char* file ); const char* GetSavePath( const char* program, uint64_t time, const char* file, bool create ); } #endif
whupdup/frame
real/third_party/tracy/server/TracyStorage.hpp
C++
gpl-3.0
249
#ifndef __TRACYSTRINGDISCOVERY_HPP__ #define __TRACYSTRINGDISCOVERY_HPP__ #include "../common/TracyForceInline.hpp" #include "tracy_robin_hood.h" #include "TracyCharUtil.hpp" #include "TracyEvent.hpp" #include "TracyVector.hpp" namespace tracy { template<typename T> class StringDiscovery { public: tracy_force_in...
whupdup/frame
real/third_party/tracy/server/TracyStringDiscovery.hpp
C++
gpl-3.0
2,133