mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-24 04:34:59 -07:00
os_core: linux port for memory, thread info, filesystem apis
This commit is contained in:
@@ -1,66 +1,66 @@
|
||||
// Copyright (c) 2024 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
//- GENERATED CODE
|
||||
|
||||
C_LINKAGE_BEGIN
|
||||
String8 r_tex2d_format_display_string_table[9] =
|
||||
{
|
||||
str8_lit_comp("R8"),
|
||||
str8_lit_comp("RG8"),
|
||||
str8_lit_comp("RGBA8"),
|
||||
str8_lit_comp("BGRA8"),
|
||||
str8_lit_comp("R16"),
|
||||
str8_lit_comp("RGBA16"),
|
||||
str8_lit_comp("R32"),
|
||||
str8_lit_comp("RG32"),
|
||||
str8_lit_comp("RGBA32"),
|
||||
};
|
||||
|
||||
U8 r_tex2d_format_bytes_per_pixel_table[9] =
|
||||
{
|
||||
1,
|
||||
2,
|
||||
4,
|
||||
4,
|
||||
2,
|
||||
8,
|
||||
4,
|
||||
8,
|
||||
16,
|
||||
};
|
||||
|
||||
String8 r_tex2d_kind_display_string_table[1] =
|
||||
{
|
||||
str8_lit_comp("$(a.display_string)"),
|
||||
};
|
||||
|
||||
String8 r_tex2d_sample_kind_display_string_table[2] =
|
||||
{
|
||||
str8_lit_comp("Nearest"),
|
||||
str8_lit_comp("Linear"),
|
||||
};
|
||||
|
||||
String8 r_pass_kind_display_string_table[3] =
|
||||
{
|
||||
str8_lit_comp("UI"),
|
||||
str8_lit_comp("Blur"),
|
||||
str8_lit_comp("Geo3D"),
|
||||
};
|
||||
|
||||
U8 r_pass_kind_batch_table[3] =
|
||||
{
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
};
|
||||
|
||||
U64 r_pass_kind_params_size_table[3] =
|
||||
{
|
||||
sizeof(R_PassParams_UI),
|
||||
sizeof(R_PassParams_Blur),
|
||||
sizeof(R_PassParams_Geo3D),
|
||||
};
|
||||
|
||||
C_LINKAGE_END
|
||||
|
||||
// Copyright (c) 2024 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
//- GENERATED CODE
|
||||
|
||||
C_LINKAGE_BEGIN
|
||||
String8 r_tex2d_format_display_string_table[9] =
|
||||
{
|
||||
str8_lit_comp("R8"),
|
||||
str8_lit_comp("RG8"),
|
||||
str8_lit_comp("RGBA8"),
|
||||
str8_lit_comp("BGRA8"),
|
||||
str8_lit_comp("R16"),
|
||||
str8_lit_comp("RGBA16"),
|
||||
str8_lit_comp("R32"),
|
||||
str8_lit_comp("RG32"),
|
||||
str8_lit_comp("RGBA32"),
|
||||
};
|
||||
|
||||
U8 r_tex2d_format_bytes_per_pixel_table[9] =
|
||||
{
|
||||
1,
|
||||
2,
|
||||
4,
|
||||
4,
|
||||
2,
|
||||
8,
|
||||
4,
|
||||
8,
|
||||
16,
|
||||
};
|
||||
|
||||
String8 r_tex2d_kind_display_string_table[1] =
|
||||
{
|
||||
str8_lit_comp("$(a.display_string)"),
|
||||
};
|
||||
|
||||
String8 r_tex2d_sample_kind_display_string_table[2] =
|
||||
{
|
||||
str8_lit_comp("Nearest"),
|
||||
str8_lit_comp("Linear"),
|
||||
};
|
||||
|
||||
String8 r_pass_kind_display_string_table[3] =
|
||||
{
|
||||
str8_lit_comp("UI"),
|
||||
str8_lit_comp("Blur"),
|
||||
str8_lit_comp("Geo3D"),
|
||||
};
|
||||
|
||||
U8 r_pass_kind_batch_table[3] =
|
||||
{
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
};
|
||||
|
||||
U64 r_pass_kind_params_size_table[3] =
|
||||
{
|
||||
sizeof(R_PassParams_UI),
|
||||
sizeof(R_PassParams_Blur),
|
||||
sizeof(R_PassParams_Geo3D),
|
||||
};
|
||||
|
||||
C_LINKAGE_END
|
||||
|
||||
|
||||
@@ -1,65 +1,65 @@
|
||||
// Copyright (c) 2024 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
//- GENERATED CODE
|
||||
|
||||
#ifndef RENDER_META_H
|
||||
#define RENDER_META_H
|
||||
|
||||
typedef enum R_Tex2DFormat
|
||||
{
|
||||
R_Tex2DFormat_R8,
|
||||
R_Tex2DFormat_RG8,
|
||||
R_Tex2DFormat_RGBA8,
|
||||
R_Tex2DFormat_BGRA8,
|
||||
R_Tex2DFormat_R16,
|
||||
R_Tex2DFormat_RGBA16,
|
||||
R_Tex2DFormat_R32,
|
||||
R_Tex2DFormat_RG32,
|
||||
R_Tex2DFormat_RGBA32,
|
||||
R_Tex2DFormat_COUNT,
|
||||
} R_Tex2DFormat;
|
||||
|
||||
typedef enum R_ResourceKind
|
||||
{
|
||||
R_ResourceKind_Static,
|
||||
R_ResourceKind_Dynamic,
|
||||
R_ResourceKind_Stream,
|
||||
R_ResourceKind_COUNT,
|
||||
} R_ResourceKind;
|
||||
|
||||
typedef enum R_Tex2DSampleKind
|
||||
{
|
||||
R_Tex2DSampleKind_Nearest,
|
||||
R_Tex2DSampleKind_Linear,
|
||||
R_Tex2DSampleKind_COUNT,
|
||||
} R_Tex2DSampleKind;
|
||||
|
||||
typedef enum R_GeoTopologyKind
|
||||
{
|
||||
R_GeoTopologyKind_Lines,
|
||||
R_GeoTopologyKind_LineStrip,
|
||||
R_GeoTopologyKind_Triangles,
|
||||
R_GeoTopologyKind_TriangleStrip,
|
||||
R_GeoTopologyKind_COUNT,
|
||||
} R_GeoTopologyKind;
|
||||
|
||||
typedef enum R_PassKind
|
||||
{
|
||||
R_PassKind_UI,
|
||||
R_PassKind_Blur,
|
||||
R_PassKind_Geo3D,
|
||||
R_PassKind_COUNT,
|
||||
} R_PassKind;
|
||||
|
||||
C_LINKAGE_BEGIN
|
||||
extern String8 r_tex2d_format_display_string_table[9];
|
||||
extern U8 r_tex2d_format_bytes_per_pixel_table[9];
|
||||
extern String8 r_tex2d_kind_display_string_table[1];
|
||||
extern String8 r_tex2d_sample_kind_display_string_table[2];
|
||||
extern String8 r_pass_kind_display_string_table[3];
|
||||
extern U8 r_pass_kind_batch_table[3];
|
||||
|
||||
C_LINKAGE_END
|
||||
|
||||
#endif // RENDER_META_H
|
||||
// Copyright (c) 2024 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
//- GENERATED CODE
|
||||
|
||||
#ifndef RENDER_META_H
|
||||
#define RENDER_META_H
|
||||
|
||||
typedef enum R_Tex2DFormat
|
||||
{
|
||||
R_Tex2DFormat_R8,
|
||||
R_Tex2DFormat_RG8,
|
||||
R_Tex2DFormat_RGBA8,
|
||||
R_Tex2DFormat_BGRA8,
|
||||
R_Tex2DFormat_R16,
|
||||
R_Tex2DFormat_RGBA16,
|
||||
R_Tex2DFormat_R32,
|
||||
R_Tex2DFormat_RG32,
|
||||
R_Tex2DFormat_RGBA32,
|
||||
R_Tex2DFormat_COUNT,
|
||||
} R_Tex2DFormat;
|
||||
|
||||
typedef enum R_ResourceKind
|
||||
{
|
||||
R_ResourceKind_Static,
|
||||
R_ResourceKind_Dynamic,
|
||||
R_ResourceKind_Stream,
|
||||
R_ResourceKind_COUNT,
|
||||
} R_ResourceKind;
|
||||
|
||||
typedef enum R_Tex2DSampleKind
|
||||
{
|
||||
R_Tex2DSampleKind_Nearest,
|
||||
R_Tex2DSampleKind_Linear,
|
||||
R_Tex2DSampleKind_COUNT,
|
||||
} R_Tex2DSampleKind;
|
||||
|
||||
typedef enum R_GeoTopologyKind
|
||||
{
|
||||
R_GeoTopologyKind_Lines,
|
||||
R_GeoTopologyKind_LineStrip,
|
||||
R_GeoTopologyKind_Triangles,
|
||||
R_GeoTopologyKind_TriangleStrip,
|
||||
R_GeoTopologyKind_COUNT,
|
||||
} R_GeoTopologyKind;
|
||||
|
||||
typedef enum R_PassKind
|
||||
{
|
||||
R_PassKind_UI,
|
||||
R_PassKind_Blur,
|
||||
R_PassKind_Geo3D,
|
||||
R_PassKind_COUNT,
|
||||
} R_PassKind;
|
||||
|
||||
C_LINKAGE_BEGIN
|
||||
extern String8 r_tex2d_format_display_string_table[9];
|
||||
extern U8 r_tex2d_format_bytes_per_pixel_table[9];
|
||||
extern String8 r_tex2d_kind_display_string_table[1];
|
||||
extern String8 r_tex2d_sample_kind_display_string_table[2];
|
||||
extern String8 r_pass_kind_display_string_table[3];
|
||||
extern U8 r_pass_kind_batch_table[3];
|
||||
|
||||
C_LINKAGE_END
|
||||
|
||||
#endif // RENDER_META_H
|
||||
|
||||
Reference in New Issue
Block a user