mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Fix] (Espryt): clamp the handle readback to the backend store past its offset, memoise the buffer handle lookup, and write down the two contracts the ops owed their callers
This commit is contained in:
@@ -745,6 +745,11 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
// record. It is what the narrowed-fp64 memo keys its freshness on now that the
|
||||
// frontend change serial is gone from the backend's view.
|
||||
Uint64 ResourceSerialForHandle(MG_Pipe::MGPipeHandle res);
|
||||
// The ES context generation a twin's driver id must carry to be current. Its one
|
||||
// consumer is the draw-clean probe's unit test, which has to build a twin that answers
|
||||
// CLEAN to every question except the one under test - a case that cannot go red for
|
||||
// that question otherwise. Push-only, like the rest of this block.
|
||||
Uint CurrentBufferContextGeneration();
|
||||
#endif
|
||||
|
||||
// Registered as the frontend's BufferBackendOps at backend init and on
|
||||
|
||||
Reference in New Issue
Block a user