54c5461324
https://bugs.webkit.org/show_bug.cgi?id=227582 <rdar://problem/80020335> Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2021-07-06 Reviewed by Kenneth Russell. Disable robust resource initiaization for the shared ANGLE context that is used to copy video frames to WebGL textures. Otherwise ANGLE would spend time initializing the texture in `gl::DrawArrays`. No new tests, we currently do not have WebGL perf tests. * platform/graphics/angle/GraphicsContextGLANGLE.cpp: (WebCore::GraphicsContextGLOpenGL::texImage2DDirect): Add the direct texImage2D call so that the texture seed can be somehow updated. This will be removed once the texture image version management is fixed to be a bit more robust. * platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm: (WebCore::GraphicsContextGLOpenGL::GraphicsContextGLOpenGL): * platform/graphics/cv/GraphicsContextGLCVANGLE.cpp: (WebCore::GraphicsContextGLCVANGLE::copyPixelBufferToTexture): * platform/graphics/opengl/GraphicsContextGLOpenGL.h: Canonical link: https://commits.webkit.org/239442@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279624 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
GraphicsContextGLCV.h | ||
GraphicsContextGLCVANGLE.cpp | ||
GraphicsContextGLCVANGLE.h | ||
ImageRotationSessionVT.h | ||
ImageRotationSessionVT.mm | ||
ImageTransferSessionVT.h | ||
ImageTransferSessionVT.mm | ||
PixelBufferConformerCV.cpp | ||
PixelBufferConformerCV.h |