Skip to content
Snippets Groups Projects
Commit b396246e authored by pippin's avatar pippin Committed by pippin
Browse files

st3m_gfx: increment master context frameclock for eid expiry

parent bff400f1
No related branches found
No related tags found
1 merge request!110ctx,st3m: increment the frame-clock of the texture cache context
Pipeline #6544 passed
...@@ -110,8 +110,6 @@ static void st3m_gfx_crtc_task(void *_arg) { ...@@ -110,8 +110,6 @@ static void st3m_gfx_crtc_task(void *_arg) {
} }
} }
void st3m_ctx_increment_frame(Ctx *ctx);
static void st3m_gfx_rast_task(void *_arg) { static void st3m_gfx_rast_task(void *_arg) {
(void)_arg; (void)_arg;
...@@ -131,7 +129,8 @@ static void st3m_gfx_rast_task(void *_arg) { ...@@ -131,7 +129,8 @@ static void st3m_gfx_rast_task(void *_arg) {
end = esp_timer_get_time(); end = esp_timer_get_time();
st3m_counter_timer_sample(&rast_read_dctx_time, end - start); st3m_counter_timer_sample(&rast_read_dctx_time, end - start);
st3m_ctx_increment_frame(framebuffer_descs[0].ctx); ctx_set_textureclock(framebuffer_descs[0].ctx,
ctx_textureclock(framebuffer_descs[0].ctx) + 1);
// Render drawctx into fbctx. // Render drawctx into fbctx.
start = esp_timer_get_time(); start = esp_timer_get_time();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment