skia2/include/gpu
Greg Daniel d207345456 Add cap to number of oplists we execute before flushing to the gpu.
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>
2018-12-07 17:57:07 +00:00
..
gl Remove sample shading and dest color override 2018-12-07 15:46:12 +00:00
mock Remove texel buffer support. 2018-07-13 00:45:54 +00:00
mtl added Metal support to GrBackendSurface 2018-06-29 13:32:17 +00:00
vk Remove duplicate member of GrVkDrawableInfo struct. 2018-12-05 18:20:28 +00:00
GrBackendDrawableInfo.h Add ability for an SkDevice to handle the drawing of an SkDrawable. 2018-10-19 15:21:54 +00:00
GrBackendSemaphore.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrBackendSurface.h Take into accout the GrBackendFormat when deciding if we can chain textures together. 2018-12-03 16:54:40 +00:00
GrBlend.h Reland "make enum santizer fatal" 2018-11-06 17:31:00 +00:00
GrConfig.h Add cap to number of oplists we execute before flushing to the gpu. 2018-12-07 17:57:07 +00:00
GrContext.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrContextOptions.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrDriverBugWorkarounds.h Reland "Add driver bug workarounds to GrCaps" 2018-05-14 23:46:49 +00:00
GrDriverBugWorkaroundsAutogen.h Add disable_texture_storage workaround 2018-08-22 23:56:23 +00:00
GrGpuResource.h Add flag to force purge resources from cache as soon as possible. 2018-11-15 16:45:30 +00:00
GrRenderTarget.h Remove SkSafeSetNull. 2018-07-12 20:59:20 +00:00
GrResourceKey.h Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
GrSamplerState.h Rework GrSamplerParams to be more compact and use its own wrap mode enum. 2017-09-07 16:58:31 +00:00
GrSurface.h Revert "Revert "Mark wrapped textures imported into SkImages as "read only"."" 2018-12-06 15:34:31 +00:00
GrTexture.h Use GrTextureType to determine highest supported filter 2018-08-01 17:24:52 +00:00
GrTypes.h Reland "make enum santizer fatal" 2018-11-06 17:31:00 +00:00