[Impeller] Correct glBlitFramebuffer emulation todo. (flutter/engine#55919)

This commit is contained in:
Brandon DeRosier
2024-10-16 18:20:17 -07:00
committed by GitHub
parent 5c6ab792a2
commit b90e88b20f

View File

@@ -73,7 +73,7 @@ bool BlitCopyTextureToTextureCommandGLES::Encode(
// glBlitFramebuffer is a GLES3 proc. Since we target GLES2, we need to
// emulate the blit when it's not available in the driver.
if (!gl.BlitFramebuffer.IsAvailable()) {
// TODO(135818): Emulate the blit using a raster draw call here.
// TODO(157064): Emulate the blit using a raster draw call here.
VALIDATION_LOG << "Texture blit fallback not implemented yet for GLES2.";
return false;
}
@@ -367,7 +367,7 @@ bool BlitResizeTextureCommandGLES::Encode(const ReactorGLES& reactor) const {
// glBlitFramebuffer is a GLES3 proc. Since we target GLES2, we need to
// emulate the blit when it's not available in the driver.
if (!gl.BlitFramebuffer.IsAvailable()) {
// TODO(135818): Emulate the blit using a raster draw call here.
// TODO(157064): Emulate the blit using a raster draw call here.
VALIDATION_LOG << "Texture blit fallback not implemented yet for GLES2.";
return false;
}