skia2/include/gpu
Chris Dalton 1e6c5b8dee Add a "preferredInternalSampleCount" cap
This new cap tells Ganesh how many samples to use when performing
internal draws with MSAA or mixed samples. The default is always 4x,
but the client can change that with
GrContextOptions::fPreferredInternalMSAASampleCount.

Also adds a command line flag to viewer to control
fPreferredInternalMSAASampleCount.

Bug: skia:
Change-Id: Iba369273e802aa1bee796b576b3c18af347b0494
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/221156
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-06-17 23:47:59 +00:00
..
gl Reland "Get EGLimage functions out of GrGLInterface." 2019-05-15 19:58:45 +00:00
mock rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
mtl Change GrCFResource to sk_cf_obj and move to include/ports. 2019-06-10 18:44:28 +00:00
vk Make feature structs on GrVkBackendContext const. 2019-06-05 15:56:00 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSurface.h Add API to invalidate GL texture parameters from GrBackendTexture. 2019-06-05 13:50:25 +00:00
GrBlend.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrConfig.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContext.h Make GL & Vk backends create uninitialized backend textures 2019-06-10 16:27:07 +00:00
GrContextOptions.h Add a "preferredInternalSampleCount" cap 2019-06-17 23:47:59 +00:00
GrContextThreadSafeProxy.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrDriverBugWorkarounds.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrDriverBugWorkaroundsAutogen.h Add disable_texture_storage workaround 2018-08-22 23:56:23 +00:00
GrGpuResource.h Remove IO refs from GrSurfaceProxy only 2019-06-11 15:39:33 +00:00
GrRenderTarget.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSamplerState.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSurface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrTexture.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrTypes.h Alter createTestingOnlyBackendTexture methods 2019-05-13 15:39:33 +00:00