By letting TextureVk::syncState know it's being called for generateMipmap, it can make a better decision to initialize the image: - Staged updates to mips that are going to be overwritten are dropped - The image is created with full mipchain to avoid a redefine in the following generateMipmap() call. Bug: angleproject:4551 Change-Id: Ic70ee6c0a0b29c7bd62beaff612b2f2d5276defb Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2249340 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:Jamie Madill <jmadill@chromium.org> Reviewed-by:
Tim Van Patten <timvp@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| BufferNULL.cpp | Loading commit data... | |
| BufferNULL.h | Loading commit data... | |
| CompilerNULL.cpp | Loading commit data... | |
| CompilerNULL.h | Loading commit data... | |
| ContextNULL.cpp | Loading commit data... | |
| ContextNULL.h | Loading commit data... | |
| DeviceNULL.cpp | Loading commit data... | |
| DeviceNULL.h | Loading commit data... | |
| DisplayNULL.cpp | Loading commit data... | |
| DisplayNULL.h | Loading commit data... | |
| FenceNVNULL.cpp | Loading commit data... | |
| FenceNVNULL.h | Loading commit data... | |
| FramebufferNULL.cpp | Loading commit data... | |
| FramebufferNULL.h | Loading commit data... | |
| ImageNULL.cpp | Loading commit data... | |
| ImageNULL.h | Loading commit data... | |
| ProgramNULL.cpp | Loading commit data... | |
| ProgramNULL.h | Loading commit data... | |
| ProgramPipelineNULL.cpp | Loading commit data... | |
| ProgramPipelineNULL.h | Loading commit data... | |
| QueryNULL.cpp | Loading commit data... | |
| QueryNULL.h | Loading commit data... | |
| RenderbufferNULL.cpp | Loading commit data... | |
| RenderbufferNULL.h | Loading commit data... | |
| SamplerNULL.cpp | Loading commit data... | |
| SamplerNULL.h | Loading commit data... | |
| ShaderNULL.cpp | Loading commit data... | |
| ShaderNULL.h | Loading commit data... | |
| SurfaceNULL.cpp | Loading commit data... | |
| SurfaceNULL.h | Loading commit data... | |
| SyncNULL.cpp | Loading commit data... | |
| SyncNULL.h | Loading commit data... | |
| TextureNULL.cpp | Loading commit data... | |
| TextureNULL.h | Loading commit data... | |
| TransformFeedbackNULL.cpp | Loading commit data... | |
| TransformFeedbackNULL.h | Loading commit data... | |
| VertexArrayNULL.cpp | Loading commit data... | |
| VertexArrayNULL.h | Loading commit data... |