[client] render: optimize software surface fills

This commit is contained in:
Geoffrey McRae
2026-08-12 03:31:52 +10:00
parent 5e8066609a
commit 0c21577e9e
5 changed files with 49 additions and 29 deletions

View File

@@ -70,6 +70,8 @@ bool egl_texBufferStreamSetup(EGL_Texture * texture_,
const EGL_TexSetup * setup);
/* Returns with copyLock held when the current upload buffer is safe to write. */
bool egl_texBufferStreamLock(TextureBuffer * texture);
bool egl_texBufferStreamFill(EGL_Texture * texture,
int x, int y, int width, int height, uint32_t color);
EGL_TexStatus egl_texBufferStreamProcess(EGL_Texture * texture_,
LG_RendererFrameToken frameTokenLimit);
EGL_TexStatus egl_texBufferStreamGet(EGL_Texture * texture_, GLuint * tex,