[Impeller] Correct glBlitFramebuffer emulation todo. (flutter/engine#55919)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user