d207345456
This fixes a crash we saw when we switch vulkan copies as draws to creating their own secondary command buffer. The crash came from the perf blendmode tests when using an advanced blend mode. They would do 1000 draws which forced us into creating 2000 command buffers (since the dst copies and the normal draws each used them). I tested without the copies as draws change and just increasing the total number of draws we do and was able to repro the crash. Besides fixing the above OOM crash, I am also seeing a 5-10% perf gain on the blendmode micro benches which is nice Bug: skia: Change-Id: I9266ea0ba02a755f54dabd4ee804963ab0c9b684 Reviewed-on: https://skia-review.googlesource.com/c/175436 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
.. | ||
gl | ||
mock | ||
mtl | ||
vk | ||
GrBackendDrawableInfo.h | ||
GrBackendSemaphore.h | ||
GrBackendSurface.h | ||
GrBlend.h | ||
GrConfig.h | ||
GrContext.h | ||
GrContextOptions.h | ||
GrDriverBugWorkarounds.h | ||
GrDriverBugWorkaroundsAutogen.h | ||
GrGpuResource.h | ||
GrRenderTarget.h | ||
GrResourceKey.h | ||
GrSamplerState.h | ||
GrSurface.h | ||
GrTexture.h | ||
GrTypes.h |