Only dirty the uniforms if the uniforms are dirty. This gives about a 20% reduction in ANGLE overhead on a targeted micro-benchmark. It probably won't have that large of an impact on most real-world applications, but it was strictly unnecessary work. Something that came up when investigating the internal program binary cache in ANGLE D3D11. BUG=angleproject:2053 Change-Id: I2d55c010c29ce9627a9001dd2abe6e549f0b7e8c Reviewed-on: https://chromium-review.googlesource.com/524297Reviewed-by:Geoff Lang <geofflang@chromium.org> Reviewed-by:
Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| third_party/perf | Loading commit data... | |
| ANGLEPerfTest.cpp | Loading commit data... | |
| ANGLEPerfTest.h | Loading commit data... | |
| BindingPerf.cpp | Loading commit data... | |
| BitSetIteratorPerf.cpp | Loading commit data... | |
| BlitFramebufferPerf.cpp | Loading commit data... | |
| BufferSubData.cpp | Loading commit data... | |
| DrawCallPerf.cpp | Loading commit data... | |
| DrawCallPerfParams.cpp | Loading commit data... | |
| DrawCallPerfParams.h | Loading commit data... | |
| DynamicPromotionPerfTest.cpp | Loading commit data... | |
| EGLInitializePerf.cpp | Loading commit data... | |
| IndexConversionPerf.cpp | Loading commit data... | |
| IndexDataManagerTest.cpp | Loading commit data... | |
| InstancingPerf.cpp | Loading commit data... | |
| InterleavedAttributeData.cpp | Loading commit data... | |
| LinkProgramPerfTest.cpp | Loading commit data... | |
| PointSprites.cpp | Loading commit data... | |
| TexSubImage.cpp | Loading commit data... | |
| TextureSampling.cpp | Loading commit data... | |
| TexturesPerf.cpp | Loading commit data... | |
| UniformsPerf.cpp | Loading commit data... |