WEBGL_video_texture is an extension that will improve uploading video frame to WebGL performance. (https://www.khronos.org/registry/webgl/extensions/proposals/WEBGL_video_texture/) This extension introduced a new texture type TEXTURE_VIDEO_IMAGE_WEBGL and a new sampler type samplerVideoWEBGL to sample it. In chromium implementation, TEXTURE_VIDEO_IMAGE_WEBGL maps to different native texture type based on platform. On desktop, it maps to GL_TEXTURE2D(Currently supported). On Android, it should map to GL_TEXTURE_EXTERNAL(TODO). SamplerVideoWEBGL needs to be mapped to sampler2D or samplerExternalOES according to TEXTURE_VIDEO_IMAGE_WEBGL implementation. This patch implements samplerVideoWEBGL in Angle to support WEBGL_video_texture on desktop. In this case, samplerVideoWEBGL should map to sampler2D. Bug: chromium:776222, angleproject:3889 Change-Id: Idb0a5fcde37ca75ccc1181226b91f257212e7500 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1866274 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:
Geoff Lang <geofflang@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| shaders | Loading commit data... | |
| Blit9.cpp | Loading commit data... | |
| Blit9.h | Loading commit data... | |
| Buffer9.cpp | Loading commit data... | |
| Buffer9.h | Loading commit data... | |
| Context9.cpp | Loading commit data... | |
| Context9.h | Loading commit data... | |
| DebugAnnotator9.cpp | Loading commit data... | |
| DebugAnnotator9.h | Loading commit data... | |
| Fence9.cpp | Loading commit data... | |
| Fence9.h | Loading commit data... | |
| Framebuffer9.cpp | Loading commit data... | |
| Framebuffer9.h | Loading commit data... | |
| Image9.cpp | Loading commit data... | |
| Image9.h | Loading commit data... | |
| IndexBuffer9.cpp | Loading commit data... | |
| IndexBuffer9.h | Loading commit data... | |
| NativeWindow9.cpp | Loading commit data... | |
| NativeWindow9.h | Loading commit data... | |
| Query9.cpp | Loading commit data... | |
| Query9.h | Loading commit data... | |
| RenderTarget9.cpp | Loading commit data... | |
| RenderTarget9.h | Loading commit data... | |
| Renderer9.cpp | Loading commit data... | |
| Renderer9.h | Loading commit data... | |
| ShaderCache.h | Loading commit data... | |
| ShaderExecutable9.cpp | Loading commit data... | |
| ShaderExecutable9.h | Loading commit data... | |
| StateManager9.cpp | Loading commit data... | |
| StateManager9.h | Loading commit data... | |
| SwapChain9.cpp | Loading commit data... | |
| SwapChain9.h | Loading commit data... | |
| TextureStorage9.cpp | Loading commit data... | |
| TextureStorage9.h | Loading commit data... | |
| VertexArray9.h | Loading commit data... | |
| VertexBuffer9.cpp | Loading commit data... | |
| VertexBuffer9.h | Loading commit data... | |
| VertexDeclarationCache.cpp | Loading commit data... | |
| VertexDeclarationCache.h | Loading commit data... | |
| formatutils9.cpp | Loading commit data... | |
| formatutils9.h | Loading commit data... | |
| renderer9_utils.cpp | Loading commit data... | |
| renderer9_utils.h | Loading commit data... | |
| vertexconversion.h | Loading commit data... |