[Perf] (MG_Backend/DirectGLES): Add cache for Texture and Sampler binding.

This commit is contained in:
BZLZHH
2026-02-03 16:44:00 +08:00
parent b966ef8b5e
commit 5eff8b2e30
4 changed files with 71 additions and 25 deletions
@@ -8,6 +8,8 @@
#pragma once
#include <Includes.h>
#include <MG_State/GLState/TextureState/TextureState.h>
#include <MG_State/GLState/SamplerState/SamplerObject.h>
#define CallAndCheck(operation) \
MGLOG_D("Call GLES func: %s", #operation); \