text_cache / dasm_cache -> text / disasm

This commit is contained in:
Ryan Fleury
2025-09-22 16:52:55 -07:00
parent 408c57639a
commit 8078b90f51
7 changed files with 31 additions and 10 deletions
@@ -1,8 +1,8 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#ifndef DASM_CACHE_H
#define DASM_CACHE_H
#ifndef DISASM_H
#define DISASM_H
////////////////////////////////
//~ rjf: Disassembly Syntax Types
@@ -202,4 +202,4 @@ internal void dasm_artifact_destroy(void *ptr);
internal DASM_Info dasm_info_from_hash_params(Access *access, U128 hash, DASM_Params *params);
internal DASM_Info dasm_info_from_key_params(Access *access, C_Key key, DASM_Params *params, U128 *hash_out);
#endif // DASM_CACHE_H
#endif // DISASM_H
+4 -4
View File
@@ -228,7 +228,7 @@
#include "mdesk/mdesk.h"
#include "content/content.h"
#include "file_stream/file_stream.h"
#include "text_cache/text_cache.h"
#include "text/text.h"
#include "mutable_text/mutable_text.h"
#include "coff/coff.h"
#include "coff/coff_parse.h"
@@ -251,7 +251,7 @@
#include "regs/regs.h"
#include "regs/rdi/regs_rdi.h"
#include "dbgi/dbgi.h"
#include "dasm_cache/dasm_cache.h"
#include "disasm/disasm.h"
#include "demon/demon_inc.h"
#include "eval/eval_inc.h"
#include "eval_visualization/eval_visualization_inc.h"
@@ -278,7 +278,7 @@
#include "mdesk/mdesk.c"
#include "content/content.c"
#include "file_stream/file_stream.c"
#include "text_cache/text_cache.c"
#include "text/text.c"
#include "mutable_text/mutable_text.c"
#include "coff/coff.c"
#include "coff/coff_parse.c"
@@ -301,7 +301,7 @@
#include "regs/regs.c"
#include "regs/rdi/regs_rdi.c"
#include "dbgi/dbgi.c"
#include "dasm_cache/dasm_cache.c"
#include "disasm/disasm.c"
#include "demon/demon_inc.c"
#include "eval/eval_inc.c"
#include "eval_visualization/eval_visualization_inc.c"
@@ -1,8 +1,8 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#ifndef TEXT_CACHE_H
#define TEXT_CACHE_H
#ifndef TEXT_H
#define TEXT_H
////////////////////////////////
//~ rjf: Value Types
@@ -208,4 +208,4 @@ internal void txt_artifact_destroy(void *ptr);
internal TXT_TextInfo txt_text_info_from_hash_lang(Access *access, U128 hash, TXT_LangKind lang);
internal TXT_TextInfo txt_text_info_from_key_lang(Access *access, C_Key key, TXT_LangKind lang, U128 *hash_out);
#endif // TEXT_CACHE_H
#endif // TEXT_H
+15
View File
@@ -263,3 +263,18 @@ tex_tick(void)
scratch_end(scratch);
ProfEnd();
}
////////////////////////////////
//~ rjf: Artifact Cache Hooks / Lookups
internal void *
tex_artifact_create(String8 key, B32 *retry_out)
{
}
internal void
tex_artifact_destroy(void *ptr)
{
}
+6
View File
@@ -109,4 +109,10 @@ internal R_Handle tex_texture_from_key_topology(Access *access, C_Key key, TEX_T
internal void tex_tick(void);
////////////////////////////////
//~ rjf: Artifact Cache Hooks / Lookups
internal void *tex_artifact_create(String8 key, B32 *retry_out);
internal void tex_artifact_destroy(void *ptr);
#endif // TEXTURE_CACHE_H