зеркало из https://github.com/AvaloniaUI/angle.git
Capture/Replay: Handle newly generated FBOs in tracker
Bug: angleproject:6425 Change-Id: I39d22a6770290a0c407ac358b1c059c6a2ddeefa Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3269886 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
This commit is contained in:
Родитель
9a36c3b6f1
Коммит
71bffb8af8
|
@ -4984,6 +4984,18 @@ void FrameCaptureShared::maybeCapturePreCallUpdates(
|
|||
break;
|
||||
}
|
||||
|
||||
case EntryPoint::GLGenFramebuffers:
|
||||
{
|
||||
GLsizei count = call.params.getParam("n", ParamType::TGLsizei, 0).value.GLsizeiVal;
|
||||
const gl::FramebufferID *framebufferIDs =
|
||||
call.params.getParam("framebuffersPacked", ParamType::TFramebufferIDPointer, 1)
|
||||
.value.FramebufferIDPointerVal;
|
||||
for (GLsizei i = 0; i < count; i++)
|
||||
{
|
||||
handleGennedResource(framebufferIDs[i]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EntryPoint::GLGenTextures:
|
||||
{
|
||||
GLsizei count = call.params.getParam("n", ParamType::TGLsizei, 0).value.GLsizeiVal;
|
||||
|
|
Загрузка…
Ссылка в новой задаче