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 |
|---|---|---|---|---|---|
#pragma once
#include <core/common.hpp>
#include <volk.h>
#include <vector>
namespace ZN::GFX {
class SemaphorePool final {
public:
explicit SemaphorePool() = default;
~SemaphorePool();
NULL_COPY_AND_ASSIGN(SemaphorePool);
VkSemaphore acquire_semaphore();
void release_semaphore(VkSemaphore);
private:... | whupdup/frame | real/graphics/semaphore_pool.hpp | C++ | gpl-3.0 | 414 |
#include "shader_program.hpp"
#include <file/file_system.hpp>
#include <graphics/render_context.hpp>
#include <cassert>
#include <cstring>
#include <spirv_reflect.h>
using namespace ZN;
using namespace ZN::GFX;
// ShaderProgram
Memory::IntrusivePtr<ShaderProgram> ShaderProgram::create(const VkShaderModule* modul... | whupdup/frame | real/graphics/shader_program.cpp | C++ | gpl-3.0 | 9,106 |
#pragma once
#include <core/intrusive_ptr.hpp>
#include <volk.h>
#include <memory>
#include <string_view>
#include <vector>
namespace ZN::GFX {
class ShaderProgram final : public Memory::IntrusivePtrEnabled<ShaderProgram> {
public:
static Memory::IntrusivePtr<ShaderProgram> create(const VkShaderModule* modules,... | whupdup/frame | real/graphics/shader_program.hpp | C++ | gpl-3.0 | 2,422 |
#include "specialization_info.hpp"
#include <cstring>
using namespace ZN;
using namespace ZN::GFX;
SpecializationInfo& SpecializationInfo::add_entry(uint32_t constantID,
const void *data, size_t size) {
auto offset = static_cast<uint32_t>(m_data.size());
m_data.resize(m_data.size() + size);
memcpy(m_data.data(... | whupdup/frame | real/graphics/specialization_info.cpp | C++ | gpl-3.0 | 779 |
#pragma once
#include <core/common.hpp>
#include <volk.h>
#include <vector>
namespace ZN::GFX {
class SpecializationInfo final {
public:
SpecializationInfo& add_entry(uint32_t constantID, const void* data, size_t size);
bool empty() const;
const VkSpecializationInfo& get_info();
private:
std::vector<ui... | whupdup/frame | real/graphics/specialization_info.hpp | C++ | gpl-3.0 | 427 |
#include "texture.hpp"
#include <file/file_system.hpp>
#include <graphics/dds_texture.hpp>
#include <graphics/render_context.hpp>
#include <graphics/render_utils.hpp>
#include <graphics/vk_initializers.hpp>
#include <stb_image.h>
#include <stb_image_resize.h>
#include <Tracy.hpp>
#include <memory>
using namespace... | whupdup/frame | real/graphics/texture.cpp | C++ | gpl-3.0 | 6,838 |
#pragma once
#include <graphics/image_view.hpp>
#include <scheduler/future.hpp>
#include <string>
namespace ZN::GFX {
class Texture final : public Memory::ThreadSafeIntrusivePtrEnabled<Texture> {
public:
using LoadCallback = void(IntrusivePtr<Texture>);
using LoadFlags = uint8_t;
enum LoadFlagBits : LoadFl... | whupdup/frame | real/graphics/texture.hpp | C++ | gpl-3.0 | 993 |
#include "texture_registry.hpp"
#include <core/logging.hpp>
#include <core/scoped_lock.hpp>
#include <graphics/render_context.hpp>
#include <graphics/vk_initializers.hpp>
#include <cassert>
using namespace ZN;
using namespace ZN::GFX;
TextureRegistry::TextureRegistry(uint32_t capacity)
: m_numAllocated(0)
, m_... | whupdup/frame | real/graphics/texture_registry.cpp | C++ | gpl-3.0 | 5,213 |
#pragma once
#include <graphics/graphics_fwd.hpp>
#include <graphics/image_view.hpp>
#include <graphics/sampler.hpp>
#include <graphics/sampler_index.hpp>
#include <scheduler/task_scheduler.hpp>
#include <vector>
namespace ZN::GFX {
static constexpr const uint32_t INVALID_TEXTURE_INDEX = static_cast<uint32_t>(~0u)... | whupdup/frame | real/graphics/texture_registry.hpp | C++ | gpl-3.0 | 1,394 |
#pragma once
#include <graphics/base_frame_graph_pass.hpp>
namespace ZN::GFX {
class TransferPass final : public FrameGraphPassMixin<TransferPass> {
public:
private:
};
}
| whupdup/frame | real/graphics/transfer_pass.hpp | C++ | gpl-3.0 | 178 |
#pragma once
#include <core/common.hpp>
#include <atomic>
namespace ZN::GFX {
class UniqueGraphicsObject {
public:
explicit UniqueGraphicsObject()
: m_uniqueID(s_counter.fetch_add(1, std::memory_order_relaxed)) {}
DEFAULT_COPY_AND_ASSIGN(UniqueGraphicsObject);
constexpr uint64_t get_unique_id() const {... | whupdup/frame | real/graphics/unique_graphics_object.hpp | C++ | gpl-3.0 | 443 |
#include "upload_context.hpp"
#include <core/scoped_lock.hpp>
#include <graphics/frame_graph.hpp>
#include <graphics/render_context.hpp>
#include <graphics/vk_common.hpp>
#include <graphics/vk_initializers.hpp>
using namespace ZN;
using namespace ZN::GFX;
static void gen_image_copies(CommandBuffer& cmd, Buffer& buf... | whupdup/frame | real/graphics/upload_context.cpp | C++ | gpl-3.0 | 3,066 |
#pragma once
#include <core/variant.hpp>
#include <graphics/buffer.hpp>
#include <graphics/image_view.hpp>
#include <scheduler/task_scheduler.hpp>
#include <vector>
namespace ZN::GFX {
class FrameGraph;
class UploadContext final {
public:
explicit UploadContext() = default;
NULL_COPY_AND_ASSIGN(UploadConte... | whupdup/frame | real/graphics/upload_context.hpp | C++ | gpl-3.0 | 981 |
#pragma once
#include <core/logging.hpp>
#define VK_CHECK(x) \
do { \
if (VkResult err = x; err) { \
LOG_ERROR("VULKAN", "%d", err); \
} \
} \
while (0)
#define ZN_TRACY_VK_ZONE(cmd, name) \
TracyVkZone(ZN::GFX::g_renderContext->get... | whupdup/frame | real/graphics/vk_common.hpp | C++ | gpl-3.0 | 350 |
#include "vk_initializers.hpp"
VkImageCreateInfo vkinit::image_create_info(VkFormat format, VkImageUsageFlags usageFlags,
VkExtent3D extent) {
VkImageCreateInfo info{};
info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO;
info.imageType = VK_IMAGE_TYPE_2D;
info.format = format;
info.extent = extent;
info.mipLeve... | whupdup/frame | real/graphics/vk_initializers.cpp | C++ | gpl-3.0 | 4,606 |
#pragma once
#include <volk.h>
namespace vkinit {
VkImageCreateInfo image_create_info(VkFormat, VkImageUsageFlags, VkExtent3D);
VkImageViewCreateInfo image_view_create_info(VkImageViewType, VkFormat, VkImage,
VkImageAspectFlags, uint32_t mipLevels = 1, uint32_t arrayLayers = 1);
VkSamplerCreateInfo sampler_create... | whupdup/frame | real/graphics/vk_initializers.hpp | C++ | gpl-3.0 | 1,517 |
#include <core/logging.hpp>
#include <file/file_system.hpp>
#include <graphics/frame_graph.hpp>
#include <graphics/graphics_pipeline.hpp>
#include <graphics/render_context.hpp>
#include <graphics/sampler.hpp>
#include <graphics/shader_program.hpp>
#include <graphics/texture.hpp>
#include <graphics/texture_registry.hp... | whupdup/frame | real/main.cpp | C++ | gpl-3.0 | 3,665 |
target_sources(LibCommon PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/static_mesh_phong.cpp"
)
| whupdup/frame | real/materials/CMakeLists.txt | Text | gpl-3.0 | 88 |
#include "static_mesh_phong.hpp"
#include <graphics/command_buffer.hpp>
#include <graphics/render_context.hpp>
#include <graphics/render_utils.hpp>
#include <graphics/shader_program.hpp>
#include <renderers/static_mesh_pool.hpp>
using namespace ZN;
StaticMeshPhong::StaticMeshPhong()
: MaterialImpl(*g_staticMeshPo... | whupdup/frame | real/materials/static_mesh_phong.cpp | C++ | gpl-3.0 | 2,737 |
#pragma once
#include <core/local.hpp>
#include <graphics/compute_pipeline.hpp>
#include <graphics/graphics_pipeline.hpp>
#include <graphics/material.hpp>
#include <renderers/static_mesh_instance.hpp>
namespace ZN {
class StaticMeshPhong final : public GFX::MaterialImpl<StaticMeshPhong, StaticMeshInstance> {
publ... | whupdup/frame | real/materials/static_mesh_phong.hpp | C++ | gpl-3.0 | 797 |
target_sources(LibCommon PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/transform.cpp"
)
| whupdup/frame | real/math/CMakeLists.txt | Text | gpl-3.0 | 80 |
#pragma once
#include <math/common.hpp>
#include <math/geometric.hpp>
#include <math/matrix3x3.hpp>
#include <math/matrix4x4.hpp>
#include <math/quaternion.hpp>
#include <math/trigonometric.hpp>
#include <math/vector3.hpp>
#include <math/vector4.hpp>
namespace ZN::Math {
struct RowMajorCFrameData {
Math::Vector4 da... | whupdup/frame | real/math/cframe.hpp | C++ | gpl-3.0 | 6,016 |
#pragma once
#include <cassert>
#include <math/trigonometric.hpp>
#include <math/geometric.hpp>
#include <math/vector2.hpp>
#include <math/vector3.hpp>
#include <math/matrix2x2.hpp>
namespace ZN::Math {
class CFrame2D {
public:
CFrame2D() = default;
CFrame2D(float diagonal)
: m_columns{{diagonal, 0.f}, {0... | whupdup/frame | real/math/cframe2d.hpp | C++ | gpl-3.0 | 3,144 |
#pragma once
#include <cstdint>
#include <math/vector4.hpp>
#include <math/color3uint8.hpp>
namespace ZN::Math {
struct Color3 {
static constexpr Color3 from_rgb(float r, float g, float b) {
return Color3(r / 255.f, g / 255.f, b / 255.f);
}
constexpr Color3()
: r(0.f)
, g(0.f)
, b(0.f) {}
constexpr... | whupdup/frame | real/math/color3.hpp | C++ | gpl-3.0 | 1,321 |
#pragma once
#include <cstdint>
namespace ZN::Math {
struct Color3uint8 {
explicit Color3uint8() = default;
explicit Color3uint8(uint32_t argbIn)
: argb(argbIn) {}
explicit Color3uint8(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 0xFF)
: argb(b | (g << 8) | (r << 16) | (a << 24)) {}
uint32_t argb;
const... | whupdup/frame | real/math/color3uint8.hpp | C++ | gpl-3.0 | 407 |
#pragma once
#include <cmath>
namespace ZN::Math {
using std::fma;
using std::pow;
using std::abs;
using std::sqrt;
template <typename T>
constexpr const T& min(const T& a, const T& b) {
return (b < a) ? b : a;
}
template <typename T>
constexpr const T& max(const T& a, const T& b) {
return (b < a) ? a : b;
}
t... | whupdup/frame | real/math/common.hpp | C++ | gpl-3.0 | 433 |
#pragma once
#include <glm/geometric.hpp>
namespace ZN::Math {
using glm::dot;
using glm::floor;
using glm::ceil;
using glm::length;
using glm::normalize;
using glm::cross;
}
| whupdup/frame | real/math/geometric.hpp | C++ | gpl-3.0 | 180 |
#pragma once
#include <glm/matrix.hpp>
namespace ZN::Math {
using glm::transpose;
}
| whupdup/frame | real/math/matrix.hpp | C++ | gpl-3.0 | 89 |
#pragma once
#include <math/matrix.hpp>
#include <glm/mat2x2.hpp>
namespace ZN::Math {
using Matrix2x2 = glm::mat2;
}
| whupdup/frame | real/math/matrix2x2.hpp | C++ | gpl-3.0 | 124 |
#pragma once
#include <glm/mat3x3.hpp>
namespace ZN::Math {
using Matrix3x3 = glm::mat3;
}
| whupdup/frame | real/math/matrix3x3.hpp | C++ | gpl-3.0 | 96 |
#pragma once
#include <glm/mat4x4.hpp>
namespace ZN::Math {
using Matrix4x4 = glm::mat4;
}
| whupdup/frame | real/math/matrix4x4.hpp | C++ | gpl-3.0 | 96 |
#pragma once
#include <math/vector4.hpp>
#include <math/matrix4x4.hpp>
#include <math/trigonometric.hpp>
namespace ZN::Math {
// for Vulkan reverse-Z
inline Math::Matrix4x4 infinite_perspective(float fov, float aspectRatio, float zNear) {
float tanHalfFOV = Math::tan(fov * 0.5f);
return Math::Matrix4x4(
1.f / ... | whupdup/frame | real/math/matrix_projection.hpp | C++ | gpl-3.0 | 1,498 |
#pragma once
#include <glm/gtc/quaternion.hpp>
namespace ZN::Math {
using Quaternion = glm::quat;
}
| whupdup/frame | real/math/quaternion.hpp | C++ | gpl-3.0 | 105 |
#pragma once
#include <math/common.hpp>
#include <math/vector2.hpp>
namespace ZN::Math {
struct Rect {
constexpr Rect()
: xMin(0.f)
, yMin(0.f)
, xMax(0.f)
, yMax(0.f) {}
constexpr Rect(float xMinIn, float yMinIn, float xMaxIn, float yMaxIn)
: xMin(xMinIn)
, yMin(yMinIn)
, xMax(xMaxIn)
, y... | whupdup/frame | real/math/rect.hpp | C++ | gpl-3.0 | 2,447 |
#include "transform.hpp"
#include <glm/gtx/transform.hpp>
#include <math/common.hpp>
using namespace ZN::Math;
static Quaternion my_nlerp(const Quaternion& from, const Quaternion& to, float inc,
bool shortest) {
if (shortest && glm::dot(from, to) < 0.f) {
return glm::normalize(from + (-to - from) * inc);
}
e... | whupdup/frame | real/math/transform.cpp | C++ | gpl-3.0 | 1,522 |
#pragma once
#include <math/vector3.hpp>
#include <math/quaternion.hpp>
#include <math/matrix4x4.hpp>
#include <math/cframe.hpp>
namespace ZN::Math {
struct Transform {
void mix(const Transform& other, float factor, Transform& dest) const;
CFrame to_cframe() const;
Matrix4x4 to_matrix() const;
Vector3 position... | whupdup/frame | real/math/transform.hpp | C++ | gpl-3.0 | 367 |
#pragma once
#include <cmath>
#include <glm/trigonometric.hpp>
#ifndef M_PI
#define M_PI 3.141592653589793238462
#endif
namespace ZN::Math {
using std::sin;
using std::cos;
using std::tan;
using std::atan2;
using glm::radians;
using glm::degrees;
}
| whupdup/frame | real/math/trigonometric.hpp | C++ | gpl-3.0 | 256 |
#pragma once
#include <cstdint>
#include <math/vector2.hpp>
namespace ZN::Math {
struct UDim {
float scale;
int32_t offset;
constexpr bool operator==(const UDim& other) const {
return scale == other.scale && offset == other.offset;
}
constexpr bool operator!=(const UDim& other) const {
return !(*this == ... | whupdup/frame | real/math/udim.hpp | C++ | gpl-3.0 | 765 |
#pragma once
#include <glm/vec2.hpp>
namespace ZN::Math {
using Vector2 = glm::vec2;
}
| whupdup/frame | real/math/vector2.hpp | C++ | gpl-3.0 | 92 |
#pragma once
#include <glm/vec3.hpp>
namespace ZN::Math {
using Vector3 = glm::vec3;
}
| whupdup/frame | real/math/vector3.hpp | C++ | gpl-3.0 | 92 |
#pragma once
#include <glm/vec4.hpp>
namespace ZN::Math {
using Vector4 = glm::vec4;
}
| whupdup/frame | real/math/vector4.hpp | C++ | gpl-3.0 | 92 |
target_sources(LibCommon PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/game_renderer.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/static_mesh_pool.cpp"
)
| whupdup/frame | real/renderers/CMakeLists.txt | Text | gpl-3.0 | 136 |
#include "game_renderer.hpp"
#include <core/logging.hpp>
#include <core/threading.hpp>
#include <graphics/render_context.hpp>
#include <graphics/vk_common.hpp>
#include <materials/static_mesh_phong.hpp>
#include <math/common.hpp>
#include <math/matrix_projection.hpp>
#include <renderers/static_mesh_pool.hpp>
#inc... | whupdup/frame | real/renderers/game_renderer.cpp | C++ | gpl-3.0 | 8,840 |
#pragma once
#include <core/common.hpp>
#include <core/local.hpp>
#include <core/threading.hpp>
#include <graphics/graphics_fwd.hpp>
#include <graphics/image_view.hpp>
#include <math/matrix4x4.hpp>
#include <math/vector2.hpp>
#include <math/vector3.hpp>
#include <math/vector4.hpp>
namespace ZN {
class GameRenderer... | whupdup/frame | real/renderers/game_renderer.hpp | C++ | gpl-3.0 | 1,674 |
#pragma once
#include <math/cframe.hpp>
namespace ZN {
struct StaticMeshInstance {
Math::RowMajorCFrameData cframe;
};
}
| whupdup/frame | real/renderers/static_mesh_instance.hpp | C++ | gpl-3.0 | 127 |
#include "static_mesh_pool.hpp"
#include <core/fixed_array.hpp>
using namespace ZN;
static constexpr FixedArray g_inputAttribDescriptions = {
VkVertexInputAttributeDescription{0, 0, VK_FORMAT_R32G32B32_SFLOAT,
offsetof(StaticMeshPool::Vertex, position)},
VkVertexInputAttributeDescription{1, 0, VK_FORMAT_R32G32B... | whupdup/frame | real/renderers/static_mesh_pool.cpp | C++ | gpl-3.0 | 1,519 |
#pragma once
#include <core/local.hpp>
#include <core/span.hpp>
#include <graphics/owning_mesh_pool.hpp>
#include <math/vector2.hpp>
#include <math/vector3.hpp>
namespace ZN {
class StaticMeshPool final : public GFX::OwningMeshPool {
public:
struct Vertex {
Math::Vector3 position;
Math::Vector3 normal;
... | whupdup/frame | real/renderers/static_mesh_pool.hpp | C++ | gpl-3.0 | 933 |
target_sources(LibCommon PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/task_scheduler.cpp"
)
| whupdup/frame | real/scheduler/CMakeLists.txt | Text | gpl-3.0 | 85 |
#pragma once
#include <core/badge.hpp>
#include <core/local.hpp>
#include <scheduler/task_scheduler.hpp>
namespace ZN::Scheduler {
template <typename T>
class Promise;
namespace Detail {
template <typename T>
class FutureSharedState final : public BaseSignal,
public Memory::ThreadSafeIntrusivePtrEnabled<FutureS... | whupdup/frame | real/scheduler/future.hpp | C++ | gpl-3.0 | 2,050 |
#include "task_scheduler.hpp"
#include <core/threading.hpp>
#include <core/logging.hpp>
#include <core/system_info.hpp>
#include <blockingconcurrentqueue.h>
#include <cstdlib>
#include <vector>
#define ZN_FIBER_STACK_GUARD_PAGES
#ifdef __SANITIZE_ADDRESS__
extern "C" {
void __sanitizer_start_switch_fiber(void**... | whupdup/frame | real/scheduler/task_scheduler.cpp | C++ | gpl-3.0 | 10,863 |
#pragma once
#include <core/intrusive_ptr.hpp>
#include <concurrentqueue.h>
#include <boost_context/fcontext.h>
#if __has_include(<valgrind/valgrind.h>)
#include <valgrind/valgrind.h>
#define ZN_HAS_VALGRIND
#endif
namespace ZN::Scheduler {
using JobProc = void(void*);
class Signal;
using SignalHandle = Intrusiv... | whupdup/frame | real/scheduler/task_scheduler.hpp | C++ | gpl-3.0 | 2,477 |
target_sources(LibCommon PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/application.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/context_action.cpp"
#"${CMAKE_CURRENT_SOURCE_DIR}/run_manager.cpp"
)
| whupdup/frame | real/services/CMakeLists.txt | Text | gpl-3.0 | 180 |
#include "application.hpp"
#include <core/logging.hpp>
#include <core/threading.hpp>
#include <scheduler/task_scheduler.hpp>
#include <services/context_action.hpp>
#include <cassert>
#include <cstring>
#include <atomic>
using namespace ZN;
static std::atomic_size_t g_instanceCount{0};
static constexpr size_t KE... | whupdup/frame | real/services/application.cpp | C++ | gpl-3.0 | 7,119 |
#pragma once
#include <volk.h>
#include <GLFW/glfw3.h>
#include <core/common.hpp>
#include <core/events.hpp>
#include <core/local.hpp>
#include <math/vector2.hpp>
namespace ZN {
class Window;
class Application final {
public:
using KeyPressEvent = Event::Dispatcher<int>;
using MouseClickEvent = Event::Dispat... | whupdup/frame | real/services/application.hpp | C++ | gpl-3.0 | 1,776 |
#include "context_action.hpp"
using namespace ZN;
// ContextKey
bool ContextActionManager::ContextKey::operator==(const ContextKey& other) const {
return type == other.type && keyCode == other.keyCode;
}
size_t ContextActionManager::ContextKey::hash() const {
return static_cast<size_t>(type) | (static_cast<size_t... | whupdup/frame | real/services/context_action.cpp | C++ | gpl-3.0 | 1,977 |
#pragma once
#include <core/local.hpp>
#include <services/user_input.hpp>
#include <functional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
namespace ZN {
enum class ContextActionResult {
SINK = 0,
PASS = 1
};
enum class ContextActionPriority {
LOW = 1000,
MEDIUM = 2000... | whupdup/frame | real/services/context_action.hpp | C++ | gpl-3.0 | 1,423 |
#pragma once
#include <cstdint>
#include <math/vector3.hpp>
namespace ZN {
enum class UserInputType : uint8_t {
MOUSE_BUTTON_1 = 0,
MOUSE_BUTTON_2 = 1,
MOUSE_BUTTON_3 = 2,
MOUSE_WHEEL = 3,
MOUSE_MOVEMENT = 4,
TOUCH = 7, // Unused, mobile
KEYBOARD = 8,
FOCUS = 9, // Focus regained to window
ACCELEROMETER = ... | whupdup/frame | real/services/user_input.hpp | C++ | gpl-3.0 | 1,508 |
find_package(Vulkan REQUIRED)
#find_package(rapidjson REQUIRED)
add_library(boost_context STATIC)
add_library(spirv_reflect STATIC)
add_library(stb STATIC)
#add_library(TinyGLTF STATIC)
add_subdirectory(freetype-2.12.0)
add_subdirectory(tracy)
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
if ("${CMAKE_CXX_COMPILER_ID}"... | whupdup/frame | real/third_party/CMakeLists.txt | Text | gpl-3.0 | 2,873 |
## Copyright Adrian Astley 2016 - 2018
## Distributed under the Boost Software License, Version 1.0.
## (See accompanying file LICENSE_1_0.txt or copy at
## http://www.boost.org/LICENSE_1_0.txt)
cmake_minimum_required(VERSION 3.2)
project(boost_context ASM)
include(SetSourceGroup)
option(FTL_FI... | whupdup/frame | real/third_party/boost_context/CMakeLists.txt | Text | gpl-3.0 | 3,069 |
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and t... | whupdup/frame | real/third_party/boost_context/LICENSE_1_0.txt | Text | gpl-3.0 | 1,338 |
/*
Copyright Edward Nevill + Oliver Kowalke 2015
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*********************************************... | whupdup/frame | real/third_party/boost_context/asm/jump_arm64_aapcs_elf_gas.S | Assembly | gpl-3.0 | 4,390 |
/*
Copyright Oliver Kowalke 2009.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/******************************************************... | whupdup/frame | real/third_party/boost_context/asm/jump_arm_aapcs_elf_gas.S | Assembly | gpl-3.0 | 3,040 |
; Copyright Oliver Kowalke 2009.
; Copyright Adrian Astley 2017 - 2018.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; -------------------------------------------------------... | whupdup/frame | real/third_party/boost_context/asm/jump_canary_x86_64_ms_pe_masm.asm | Assembly | gpl-3.0 | 9,892 |
; Copyright Oliver Kowalke 2009.
; Copyright Adrian Astley 2017 - 2018.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; -------------------------------------------------------... | whupdup/frame | real/third_party/boost_context/asm/jump_i386_ms_pe_masm.asm | Assembly | gpl-3.0 | 4,161 |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/**********... | whupdup/frame | real/third_party/boost_context/asm/jump_x86_64_ms_pe_gas.S | Assembly | gpl-3.0 | 10,284 |
; Copyright Oliver Kowalke 2009.
; Copyright Adrian Astley 2017 - 2018.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; -------------------------------------------------------... | whupdup/frame | real/third_party/boost_context/asm/jump_x86_64_ms_pe_masm.asm | Assembly | gpl-3.0 | 9,533 |
/*
Copyright Oliver Kowalke 2009.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************... | whupdup/frame | real/third_party/boost_context/asm/jump_x86_64_sysv_elf_gas.S | Assembly | gpl-3.0 | 3,401 |
/*
Copyright Oliver Kowalke 2009.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************... | whupdup/frame | real/third_party/boost_context/asm/jump_x86_64_sysv_macho_gas.S | Assembly | gpl-3.0 | 3,249 |
/*
Copyright Edward Nevill + Oliver Kowalke 2015
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************... | whupdup/frame | real/third_party/boost_context/asm/make_arm64_aapcs_elf_gas.S | Assembly | gpl-3.0 | 3,730 |
/*
Copyright Oliver Kowalke 2009.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/******************************************************... | whupdup/frame | real/third_party/boost_context/asm/make_arm_aapcs_elf_gas.S | Assembly | gpl-3.0 | 2,919 |
; Copyright Oliver Kowalke 2009.
; Copyright Adrian Astley 2017 - 2018.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; -------------------------------------------------------... | whupdup/frame | real/third_party/boost_context/asm/make_canary_x86_64_ms_pe_masm.asm | Assembly | gpl-3.0 | 8,986 |
; Copyright Oliver Kowalke 2009.
; Copyright Adrian Astley 2017 - 2018.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; -------------------------------------------------------... | whupdup/frame | real/third_party/boost_context/asm/make_i386_ms_pe_masm.asm | Assembly | gpl-3.0 | 5,436 |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/**********... | whupdup/frame | real/third_party/boost_context/asm/make_x86_64_ms_pe_gas.S | Assembly | gpl-3.0 | 9,701 |
; Copyright Oliver Kowalke 2009.
; Copyright Adrian Astley 2017 - 2018.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; -------------------------------------------------------... | whupdup/frame | real/third_party/boost_context/asm/make_x86_64_ms_pe_masm.asm | Assembly | gpl-3.0 | 8,924 |
/*
Copyright Oliver Kowalke 2009.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************... | whupdup/frame | real/third_party/boost_context/asm/make_x86_64_sysv_elf_gas.S | Assembly | gpl-3.0 | 3,435 |
/*
Copyright Oliver Kowalke 2009.
Copyright Adrian Astley 2017 - 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************... | whupdup/frame | real/third_party/boost_context/asm/make_x86_64_sysv_macho_gas.S | Assembly | gpl-3.0 | 3,280 |
/*
Copyright Edward Nevill + Oliver Kowalke 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_arm64_aapcs_macho_gas.S | Assembly | gpl-3.0 | 4,090 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_arm_aapcs_macho_gas.S | Assembly | gpl-3.0 | 3,189 |
;/*
; Copyright Oliver Kowalke 2009.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
;*/
; *******************************************************
; * ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_arm_aapcs_pe_armasm.asm | Assembly | gpl-3.0 | 2,430 |
/*
Copyright Sergue E. Leontiev 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
// Stub file for universal binary
#if defined(__i386__)
#include "jump_i386_sysv_macho_gas.S"
#... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_combined_sysv_macho_gas.S | Assembly | gpl-3.0 | 559 |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/***********************************************************... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_i386_ms_pe_gas.asm | Assembly | gpl-3.0 | 4,007 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_i386_sysv_elf_gas.S | Assembly | gpl-3.0 | 3,202 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_i386_sysv_macho_gas.S | Assembly | gpl-3.0 | 3,185 |
/*
Copyright Sergue E. Leontiev 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
// Stub file for universal binary
#if defined(__i386__)
#include "jump_i386_sysv_macho_gas.S"
#... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_i386_x86_64_sysv_macho_gas.S | Assembly | gpl-3.0 | 425 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_mips32_o32_elf_gas.S | Assembly | gpl-3.0 | 4,179 |
/*
Copyright Sergue E. Leontiev 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
// Stub file for universal binary
#if defined(__ppc__)
#include "jump_ppc32_sysv_macho_gas.S"
#... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc32_ppc64_sysv_macho_gas.S | Assembly | gpl-3.0 | 423 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc32_sysv_elf_gas.S | Assembly | gpl-3.0 | 7,898 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc32_sysv_macho_gas.S | Assembly | gpl-3.0 | 7,558 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc32_sysv_xcoff_gas.S | Assembly | gpl-3.0 | 7,641 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc64_sysv_elf_gas.S | Assembly | gpl-3.0 | 6,772 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc64_sysv_macho_gas.S | Assembly | gpl-3.0 | 5,713 |
.align 2
.globl .jump_fcontext
.jump_fcontext:
# reserve space on stack
subi 1, 1, 184
std 13, 0(1) # save R13
std 14, 8(1) # save R14
std 15, 16(1) # save R15
std 16, 24(1) # save R16
std 17, 32(1) # save R17
std 18, 40(1) # save R18
std 19, 48(1) # save R19
std ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_ppc64_sysv_xcoff_gas.S | Assembly | gpl-3.0 | 1,944 |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/***********************************************************... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/jump_x86_64_ms_pe_gas.S | Assembly | gpl-3.0 | 10,342 |
/*
Copyright Edward Nevill + Oliver Kowalke 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_arm64_aapcs_macho_gas.S | Assembly | gpl-3.0 | 3,808 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*******************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_arm_aapcs_macho_gas.S | Assembly | gpl-3.0 | 2,783 |
;/*
; Copyright Oliver Kowalke 2009.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
;*/
; *******************************************************
; * ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_arm_aapcs_pe_armasm.asm | Assembly | gpl-3.0 | 2,572 |
/*
Copyright Sergue E. Leontiev 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
// Stub file for universal binary
#if defined(__i386__)
#include "make_i386_sysv_macho_gas.S"
#... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_combined_sysv_macho_gas.S | Assembly | gpl-3.0 | 559 |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/***********************************************************... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_i386_ms_pe_gas.asm | Assembly | gpl-3.0 | 5,666 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_i386_sysv_elf_gas.S | Assembly | gpl-3.0 | 3,988 |
/*
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************************************************
* ... | whupdup/frame | real/third_party/boost_context/asm/not_modified_yet/make_i386_sysv_macho_gas.S | Assembly | gpl-3.0 | 3,710 |