The previous texture_memory_alloc.hpp was written based on an incorrect understanding of the "32-bit" and "64-bit" texture memory address mapping. The primary motivation is to rearrange the texture memory address map so that "textures" (64-bit access) do not overlap with 32-bit accesses, such as REGION_BASE or PARAM_BASE.
12 lines
243 B
C++
12 lines
243 B
C++
#pragma once
|
|
|
|
void core_init();
|
|
|
|
void core_start_render(uint32_t frame_address,
|
|
uint32_t frame_width); // in pixels
|
|
|
|
void core_start_render(uint32_t frame_ix);
|
|
|
|
void core_wait_end_of_render_video();
|
|
void core_flip(uint32_t frame_ix);
|