This change moves VertexBuffer11::storeVertexAttributes()'s call to Map() outside a for-loop, eliminating unnecessary calls to Map(). Since Map() is a relatively expensive operation (even when using NO_OVERWRITE) this change gives a noticeable performance boost in some scenarios. Change-Id: I320111b32f2bb9eed92efbd240206e12aaa9964e Reviewed-on: https://chromium-review.googlesource.com/240181Reviewed-by:Jamie Madill <jmadill@chromium.org> Reviewed-by:
Geoff Lang <geofflang@chromium.org> Tested-by:
Austin Kinross <aukinros@microsoft.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| d3d | Loading commit data... | |
| BufferImpl.h | Loading commit data... | |
| CompilerImpl.h | Loading commit data... | |
| DisplayImpl.cpp | Loading commit data... | |
| DisplayImpl.h | Loading commit data... | |
| FenceImpl.h | Loading commit data... | |
| FramebufferImpl.h | Loading commit data... | |
| Image.cpp | Loading commit data... | |
| Image.h | Loading commit data... | |
| IndexRangeCache.cpp | Loading commit data... | |
| IndexRangeCache.h | Loading commit data... | |
| ProgramImpl.cpp | Loading commit data... | |
| ProgramImpl.h | Loading commit data... | |
| QueryImpl.h | Loading commit data... | |
| RenderTarget.cpp | Loading commit data... | |
| RenderTarget.h | Loading commit data... | |
| RenderbufferImpl.cpp | Loading commit data... | |
| RenderbufferImpl.h | Loading commit data... | |
| Renderer.cpp | Loading commit data... | |
| Renderer.h | Loading commit data... | |
| ShaderExecutable.h | Loading commit data... | |
| ShaderImpl.h | Loading commit data... | |
| SurfaceImpl.cpp | Loading commit data... | |
| SurfaceImpl.h | Loading commit data... | |
| SwapChain.h | Loading commit data... | |
| TextureImpl.h | Loading commit data... | |
| TransformFeedbackImpl.h | Loading commit data... | |
| VertexArrayImpl.h | Loading commit data... | |
| Workarounds.h | Loading commit data... | |
| copyimage.cpp | Loading commit data... | |
| copyimage.h | Loading commit data... | |
| copyimage.inl | Loading commit data... | |
| copyvertex.h | Loading commit data... | |
| copyvertex.inl | Loading commit data... | |
| generatemip.h | Loading commit data... | |
| generatemip.inl | Loading commit data... | |
| imageformats.h | Loading commit data... | |
| loadimage.cpp | Loading commit data... | |
| loadimage.h | Loading commit data... | |
| loadimage.inl | Loading commit data... | |
| loadimageSSE2.cpp | Loading commit data... | |
| vertexconversion.h | Loading commit data... |