skia2/gn/gpu.gni

837 lines
35 KiB
Plaintext
Raw Normal View History

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("../src", "abspath")
_include = get_path_info("../include", "abspath")
skia_gpu_sources = [
"$_include/gpu/GrBackendDrawableInfo.h",
Revert "Revert "Add API for flushing surfaces with gpu semaphores"" This reverts commit 7292231905c34ed290ba479338f26b56ae2a7792. This change relands the original plus the follow on change: https://skia-review.googlesource.com/20059. Additionally it adds a blacklist for the mac intel bots which don't see to respect the added fences on the GPU. Original change's description: > Revert "Add API for flushing surfaces with gpu semaphores" > > This reverts commit 66366c697853e906d961ae691e2bc5209cdcfa62. > > Reason for revert: Failing test on mac bots > > Original change's description: > > Add API for flushing surfaces with gpu semaphores > > > > BUG=skia: > > > > Change-Id: Ia4bfef784cd5f2516ceccafce958be18a86f91d1 > > Reviewed-on: https://skia-review.googlesource.com/11488 > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Reviewed-by: Forrest Reiling <freiling@google.com> > > TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com,brianosman@google.com,freiling@google.com > > Change-Id: I75633a2732d2d48b1926f9ad818a9f1a9196d211 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/20063 > Commit-Queue: Greg Daniel <egdaniel@google.com> > Reviewed-by: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com,brianosman@google.com,freiling@google.com Change-Id: I4dc6c0e1deb0398eeb165a34f0a26af7a58259f1 Reviewed-on: https://skia-review.googlesource.com/20141 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
2017-06-16 13:45:32 +00:00
"$_include/gpu/GrBackendSemaphore.h",
"$_include/gpu/GrBackendSurface.h",
"$_include/gpu/GrBackendSurfaceMutableState.h",
"$_include/gpu/GrConfig.h",
"$_include/gpu/GrContextOptions.h",
"$_include/gpu/GrContextThreadSafeProxy.h",
"$_include/gpu/GrDirectContext.h",
"$_include/gpu/GrDriverBugWorkarounds.h",
"$_include/gpu/GrRecordingContext.h",
"$_include/gpu/GrSurfaceInfo.h",
"$_include/gpu/GrTypes.h",
"$_include/gpu/GrYUVABackendTextures.h",
# Private includes
"$_include/private/chromium/GrSlug.h",
"$_include/private/gpu/ganesh/GrContext_Base.h",
"$_include/private/gpu/ganesh/GrGLTypesPriv.h",
"$_include/private/gpu/ganesh/GrImageContext.h",
"$_include/private/gpu/ganesh/GrMtlTypesPriv.h",
"$_include/private/gpu/ganesh/GrTypesPriv.h",
Refactor GrMemoryPool into reusable GrBlockAllocator This moves the byte block linked list structure outside of GrMemoryPool into a new type, GrBlockAllocator. This new type is solely responsible for managing the byte blocks, tracking where the next allocation occurs, and creating/destroying the byte blocks. It also tries to encapsulate all of/most alignment related math, while making it convenient for clients to add per-allocation padding/metadata. It has added functionality compared to the original block linked list that was embedded in GrMemoryPool: - Supports resetting the entire allocator - Supports resizing the last allocation - Is able to rewind an entire stack of allocations, instead of just the last allocation. - Supports multiple block growth policies instead of just a fixed size. - Supports templated alignment, and variable alignment within a single GrBlockAllocator - Query the amount of available memory - Performs as much math as possible in 32-bit ints with static asserts that ensure overflow won't happen. Some of this flexibility was added so that the GrBlockAllocator can be used to implement an arena allocator similar to SkArenaAlloc, or to replace the use of SkTArray in GrQuadBuffer. It is also likely possible that GrAllocator can be written on top of GrBlockAllocator. I will try to perform these consolidations in later CLs. Change-Id: Ia6c8709642369b66b88eb1bc46264fb2aa9b62ab Reviewed-on: https://skia-review.googlesource.com/c/skia/+/262216 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
2020-03-17 14:14:48 +00:00
"$_src/gpu/GrAHardwareBufferUtils.h",
"$_src/gpu/GrRectanizer.h",
"$_src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp",
"$_src/gpu/ganesh/GrAHardwareBufferImageGenerator.h",
"$_src/gpu/ganesh/GrAHardwareBufferUtils.cpp",
"$_src/gpu/ganesh/GrAHardwareBufferUtils_impl.h",
"$_src/gpu/ganesh/GrAppliedClip.h",
"$_src/gpu/ganesh/GrAttachment.cpp",
"$_src/gpu/ganesh/GrAttachment.h",
"$_src/gpu/ganesh/GrAuditTrail.h",
"$_src/gpu/ganesh/GrAutoLocaleSetter.h",
"$_src/gpu/ganesh/GrBackendSemaphore.cpp",
"$_src/gpu/ganesh/GrBackendSurface.cpp",
"$_src/gpu/ganesh/GrBackendSurfaceMutableState.cpp",
"$_src/gpu/ganesh/GrBackendSurfaceMutableStateImpl.h",
"$_src/gpu/ganesh/GrBackendTextureImageGenerator.cpp",
"$_src/gpu/ganesh/GrBackendTextureImageGenerator.h",
"$_src/gpu/ganesh/GrBackendUtils.cpp",
"$_src/gpu/ganesh/GrBackendUtils.h",
"$_src/gpu/ganesh/GrBaseContextPriv.h",
"$_src/gpu/ganesh/GrBuffer.h",
"$_src/gpu/ganesh/GrBufferAllocPool.cpp",
"$_src/gpu/ganesh/GrBufferAllocPool.h",
"$_src/gpu/ganesh/GrCaps.cpp",
"$_src/gpu/ganesh/GrCaps.h",
"$_src/gpu/ganesh/GrClientMappedBufferManager.cpp",
"$_src/gpu/ganesh/GrClientMappedBufferManager.h",
"$_src/gpu/ganesh/GrClip.h",
"$_src/gpu/ganesh/GrColor.h",
"$_src/gpu/ganesh/GrColorInfo.cpp",
"$_src/gpu/ganesh/GrColorInfo.h",
"$_src/gpu/ganesh/GrColorSpaceXform.cpp",
"$_src/gpu/ganesh/GrColorSpaceXform.h",
"$_src/gpu/ganesh/GrContextThreadSafeProxy.cpp",
"$_src/gpu/ganesh/GrContextThreadSafeProxyPriv.h",
"$_src/gpu/ganesh/GrContext_Base.cpp",
"$_src/gpu/ganesh/GrCopyRenderTask.cpp",
"$_src/gpu/ganesh/GrCopyRenderTask.h",
"$_src/gpu/ganesh/GrCpuBuffer.h",
"$_src/gpu/ganesh/GrDDLContext.cpp",
"$_src/gpu/ganesh/GrDDLTask.cpp",
"$_src/gpu/ganesh/GrDDLTask.h",
"$_src/gpu/ganesh/GrDataUtils.cpp",
"$_src/gpu/ganesh/GrDataUtils.h",
"$_src/gpu/ganesh/GrDefaultGeoProcFactory.cpp",
"$_src/gpu/ganesh/GrDefaultGeoProcFactory.h",
"$_src/gpu/ganesh/GrDeferredProxyUploader.h",
"$_src/gpu/ganesh/GrDeferredUpload.h",
"$_src/gpu/ganesh/GrDirectContext.cpp",
"$_src/gpu/ganesh/GrDirectContextPriv.cpp",
"$_src/gpu/ganesh/GrDirectContextPriv.h",
"$_src/gpu/ganesh/GrDistanceFieldGenFromVector.cpp",
"$_src/gpu/ganesh/GrDistanceFieldGenFromVector.h",
"$_src/gpu/ganesh/GrDrawIndirectCommand.h",
"$_src/gpu/ganesh/GrDrawOpAtlas.cpp",
"$_src/gpu/ganesh/GrDrawOpAtlas.h",
"$_src/gpu/ganesh/GrDrawingManager.cpp",
"$_src/gpu/ganesh/GrDrawingManager.h",
"$_src/gpu/ganesh/GrDriverBugWorkarounds.cpp",
"$_src/gpu/ganesh/GrDstProxyView.h",
"$_src/gpu/ganesh/GrDynamicAtlas.cpp",
"$_src/gpu/ganesh/GrDynamicAtlas.h",
"$_src/gpu/ganesh/GrEagerVertexAllocator.cpp",
"$_src/gpu/ganesh/GrEagerVertexAllocator.h",
"$_src/gpu/ganesh/GrFinishCallbacks.cpp",
"$_src/gpu/ganesh/GrFinishCallbacks.h",
"$_src/gpu/ganesh/GrFixedClip.cpp",
"$_src/gpu/ganesh/GrFixedClip.h",
"$_src/gpu/ganesh/GrFragmentProcessor.cpp",
"$_src/gpu/ganesh/GrFragmentProcessor.h",
"$_src/gpu/ganesh/GrGeometryProcessor.cpp",
"$_src/gpu/ganesh/GrGeometryProcessor.h",
"$_src/gpu/ganesh/GrGlyph.h",
"$_src/gpu/ganesh/GrGpu.cpp",
"$_src/gpu/ganesh/GrGpu.h",
"$_src/gpu/ganesh/GrGpuBuffer.cpp",
"$_src/gpu/ganesh/GrGpuBuffer.h",
"$_src/gpu/ganesh/GrGpuResource.cpp",
"$_src/gpu/ganesh/GrGpuResource.h",
"$_src/gpu/ganesh/GrGpuResourceCacheAccess.h",
"$_src/gpu/ganesh/GrGpuResourcePriv.h",
"$_src/gpu/ganesh/GrHashMapWithCache.h",
"$_src/gpu/ganesh/GrImageContext.cpp",
"$_src/gpu/ganesh/GrImageContextPriv.h",
"$_src/gpu/ganesh/GrImageInfo.cpp",
"$_src/gpu/ganesh/GrImageInfo.h",
"$_src/gpu/ganesh/GrManagedResource.cpp",
"$_src/gpu/ganesh/GrManagedResource.h",
"$_src/gpu/ganesh/GrMemoryPool.cpp",
"$_src/gpu/ganesh/GrMemoryPool.h",
"$_src/gpu/ganesh/GrMeshDrawTarget.cpp",
"$_src/gpu/ganesh/GrMeshDrawTarget.h",
"$_src/gpu/ganesh/GrNativeRect.h",
"$_src/gpu/ganesh/GrNonAtomicRef.h",
"$_src/gpu/ganesh/GrOnFlushResourceProvider.cpp",
"$_src/gpu/ganesh/GrOnFlushResourceProvider.h",
"$_src/gpu/ganesh/GrOpFlushState.cpp",
"$_src/gpu/ganesh/GrOpFlushState.h",
"$_src/gpu/ganesh/GrOpsRenderPass.cpp",
"$_src/gpu/ganesh/GrOpsRenderPass.h",
"$_src/gpu/ganesh/GrOpsTypes.h",
"$_src/gpu/ganesh/GrPaint.cpp",
"$_src/gpu/ganesh/GrPaint.h",
"$_src/gpu/ganesh/GrPersistentCacheUtils.cpp",
"$_src/gpu/ganesh/GrPersistentCacheUtils.h",
"$_src/gpu/ganesh/GrPipeline.cpp",
"$_src/gpu/ganesh/GrPipeline.h",
"$_src/gpu/ganesh/GrPixmap.h",
"$_src/gpu/ganesh/GrProcessor.cpp",
"$_src/gpu/ganesh/GrProcessor.h",
"$_src/gpu/ganesh/GrProcessorAnalysis.cpp",
"$_src/gpu/ganesh/GrProcessorAnalysis.h",
"$_src/gpu/ganesh/GrProcessorSet.cpp",
"$_src/gpu/ganesh/GrProcessorSet.h",
"$_src/gpu/ganesh/GrProcessorUnitTest.cpp",
"$_src/gpu/ganesh/GrProcessorUnitTest.h",
"$_src/gpu/ganesh/GrProgramDesc.cpp",
"$_src/gpu/ganesh/GrProgramDesc.h",
"$_src/gpu/ganesh/GrProgramInfo.cpp",
"$_src/gpu/ganesh/GrProgramInfo.h",
"$_src/gpu/ganesh/GrProxyProvider.cpp",
"$_src/gpu/ganesh/GrProxyProvider.h",
"$_src/gpu/ganesh/GrRecordingContext.cpp",
"$_src/gpu/ganesh/GrRecordingContextPriv.cpp",
"$_src/gpu/ganesh/GrRecordingContextPriv.h",
"$_src/gpu/ganesh/GrRefCnt.h",
"$_src/gpu/ganesh/GrRenderTarget.cpp",
"$_src/gpu/ganesh/GrRenderTarget.h",
"$_src/gpu/ganesh/GrRenderTargetProxy.cpp",
"$_src/gpu/ganesh/GrRenderTargetProxy.h",
"$_src/gpu/ganesh/GrRenderTask.cpp",
"$_src/gpu/ganesh/GrRenderTask.h",
"$_src/gpu/ganesh/GrRenderTaskCluster.cpp",
"$_src/gpu/ganesh/GrRenderTaskCluster.h",
"$_src/gpu/ganesh/GrResourceAllocator.cpp",
"$_src/gpu/ganesh/GrResourceAllocator.h",
"$_src/gpu/ganesh/GrResourceCache.cpp",
"$_src/gpu/ganesh/GrResourceCache.h",
"$_src/gpu/ganesh/GrResourceHandle.h",
"$_src/gpu/ganesh/GrResourceProvider.cpp",
"$_src/gpu/ganesh/GrResourceProvider.h",
"$_src/gpu/ganesh/GrResourceProviderPriv.h",
"$_src/gpu/ganesh/GrRingBuffer.cpp",
"$_src/gpu/ganesh/GrRingBuffer.h",
"$_src/gpu/ganesh/GrSPIRVUniformHandler.cpp",
"$_src/gpu/ganesh/GrSPIRVUniformHandler.h",
"$_src/gpu/ganesh/GrSPIRVVaryingHandler.cpp",
"$_src/gpu/ganesh/GrSPIRVVaryingHandler.h",
"$_src/gpu/ganesh/GrSWMaskHelper.cpp",
"$_src/gpu/ganesh/GrSWMaskHelper.h",
"$_src/gpu/ganesh/GrSamplerState.h",
"$_src/gpu/ganesh/GrScissorState.h",
"$_src/gpu/ganesh/GrSemaphore.h",
"$_src/gpu/ganesh/GrShaderCaps.cpp",
"$_src/gpu/ganesh/GrShaderCaps.h",
"$_src/gpu/ganesh/GrShaderVar.cpp",
"$_src/gpu/ganesh/GrShaderVar.h",
"$_src/gpu/ganesh/GrSimpleMesh.h",
"$_src/gpu/ganesh/GrStagingBufferManager.cpp",
"$_src/gpu/ganesh/GrStagingBufferManager.h",
"$_src/gpu/ganesh/GrStencilSettings.cpp",
"$_src/gpu/ganesh/GrStencilSettings.h",
"$_src/gpu/ganesh/GrStyle.cpp",
"$_src/gpu/ganesh/GrStyle.h",
"$_src/gpu/ganesh/GrSubRunAllocator.cpp",
"$_src/gpu/ganesh/GrSubRunAllocator.h",
"$_src/gpu/ganesh/GrSurface.cpp",
"$_src/gpu/ganesh/GrSurface.h",
"$_src/gpu/ganesh/GrSurfaceInfo.cpp",
"$_src/gpu/ganesh/GrSurfaceProxy.cpp",
"$_src/gpu/ganesh/GrSurfaceProxy.h",
"$_src/gpu/ganesh/GrSurfaceProxyPriv.h",
"$_src/gpu/ganesh/GrSurfaceProxyView.h",
"$_src/gpu/ganesh/GrTTopoSort.h",
"$_src/gpu/ganesh/GrTestUtils.cpp",
"$_src/gpu/ganesh/GrTestUtils.h",
"$_src/gpu/ganesh/GrTexture.cpp",
"$_src/gpu/ganesh/GrTexture.h",
"$_src/gpu/ganesh/GrTextureProxy.cpp",
"$_src/gpu/ganesh/GrTextureProxy.h",
"$_src/gpu/ganesh/GrTextureProxyCacheAccess.h",
"$_src/gpu/ganesh/GrTextureProxyPriv.h",
"$_src/gpu/ganesh/GrTextureRenderTargetProxy.cpp",
"$_src/gpu/ganesh/GrTextureRenderTargetProxy.h",
"$_src/gpu/ganesh/GrTextureResolveManager.h",
"$_src/gpu/ganesh/GrTextureResolveRenderTask.cpp",
"$_src/gpu/ganesh/GrTextureResolveRenderTask.h",
"$_src/gpu/ganesh/GrThreadSafeCache.cpp",
"$_src/gpu/ganesh/GrThreadSafeCache.h",
"$_src/gpu/ganesh/GrThreadSafePipelineBuilder.cpp",
"$_src/gpu/ganesh/GrThreadSafePipelineBuilder.h",
"$_src/gpu/ganesh/GrTracing.h",
"$_src/gpu/ganesh/GrTransferFromRenderTask.cpp",
"$_src/gpu/ganesh/GrTransferFromRenderTask.h",
"$_src/gpu/ganesh/GrUniformDataManager.cpp",
"$_src/gpu/ganesh/GrUniformDataManager.h",
"$_src/gpu/ganesh/GrUserStencilSettings.h",
"$_src/gpu/ganesh/GrUtil.cpp",
"$_src/gpu/ganesh/GrUtil.h",
"$_src/gpu/ganesh/GrVertexChunkArray.cpp",
"$_src/gpu/ganesh/GrVertexChunkArray.h",
"$_src/gpu/ganesh/GrVx.h",
"$_src/gpu/ganesh/GrWaitRenderTask.cpp",
"$_src/gpu/ganesh/GrWaitRenderTask.h",
"$_src/gpu/ganesh/GrWindowRectangles.h",
"$_src/gpu/ganesh/GrWindowRectsState.h",
"$_src/gpu/ganesh/GrWritePixelsRenderTask.cpp",
"$_src/gpu/ganesh/GrWritePixelsRenderTask.h",
"$_src/gpu/ganesh/GrXferProcessor.cpp",
"$_src/gpu/ganesh/GrXferProcessor.h",
"$_src/gpu/ganesh/GrYUVABackendTextures.cpp",
"$_src/gpu/ganesh/GrYUVATextureProxies.cpp",
"$_src/gpu/ganesh/GrYUVATextureProxies.h",
"$_src/gpu/ganesh/SurfaceContext.cpp",
"$_src/gpu/ganesh/SurfaceContext.h",
"$_src/gpu/ganesh/SurfaceFillContext.cpp",
"$_src/gpu/ganesh/SurfaceFillContext.h",
# Ops
"$_src/gpu/ganesh/effects/GrBezierEffect.cpp",
"$_src/gpu/ganesh/effects/GrBezierEffect.h",
"$_src/gpu/ganesh/effects/GrBicubicEffect.cpp",
"$_src/gpu/ganesh/effects/GrBicubicEffect.h",
"$_src/gpu/ganesh/effects/GrBitmapTextGeoProc.cpp",
"$_src/gpu/ganesh/effects/GrBitmapTextGeoProc.h",
"$_src/gpu/ganesh/effects/GrBlendFragmentProcessor.cpp",
"$_src/gpu/ganesh/effects/GrBlendFragmentProcessor.h",
"$_src/gpu/ganesh/effects/GrConvexPolyEffect.cpp",
"$_src/gpu/ganesh/effects/GrConvexPolyEffect.h",
"$_src/gpu/ganesh/effects/GrCoverageSetOpXP.cpp",
"$_src/gpu/ganesh/effects/GrCoverageSetOpXP.h",
"$_src/gpu/ganesh/effects/GrCustomXfermode.cpp",
"$_src/gpu/ganesh/effects/GrCustomXfermode.h",
"$_src/gpu/ganesh/effects/GrDisableColorXP.cpp",
"$_src/gpu/ganesh/effects/GrDisableColorXP.h",
"$_src/gpu/ganesh/effects/GrDistanceFieldGeoProc.cpp",
"$_src/gpu/ganesh/effects/GrDistanceFieldGeoProc.h",
"$_src/gpu/ganesh/effects/GrGaussianConvolutionFragmentProcessor.cpp",
"$_src/gpu/ganesh/effects/GrGaussianConvolutionFragmentProcessor.h",
"$_src/gpu/ganesh/effects/GrMatrixConvolutionEffect.cpp",
"$_src/gpu/ganesh/effects/GrMatrixConvolutionEffect.h",
"$_src/gpu/ganesh/effects/GrMatrixEffect.cpp",
"$_src/gpu/ganesh/effects/GrMatrixEffect.h",
"$_src/gpu/ganesh/effects/GrModulateAtlasCoverageEffect.cpp",
"$_src/gpu/ganesh/effects/GrModulateAtlasCoverageEffect.h",
"$_src/gpu/ganesh/effects/GrOvalEffect.cpp",
"$_src/gpu/ganesh/effects/GrOvalEffect.h",
"$_src/gpu/ganesh/effects/GrPorterDuffXferProcessor.cpp",
"$_src/gpu/ganesh/effects/GrPorterDuffXferProcessor.h",
"$_src/gpu/ganesh/effects/GrRRectEffect.cpp",
"$_src/gpu/ganesh/effects/GrRRectEffect.h",
"$_src/gpu/ganesh/effects/GrShadowGeoProc.cpp",
"$_src/gpu/ganesh/effects/GrShadowGeoProc.h",
"$_src/gpu/ganesh/effects/GrSkSLFP.cpp",
"$_src/gpu/ganesh/effects/GrSkSLFP.h",
"$_src/gpu/ganesh/effects/GrTextureEffect.cpp",
"$_src/gpu/ganesh/effects/GrTextureEffect.h",
"$_src/gpu/ganesh/effects/GrYUVtoRGBEffect.cpp",
"$_src/gpu/ganesh/effects/GrYUVtoRGBEffect.h",
"$_src/gpu/ganesh/geometry/GrAAConvexTessellator.cpp",
"$_src/gpu/ganesh/geometry/GrAAConvexTessellator.h",
"$_src/gpu/ganesh/geometry/GrAATriangulator.cpp",
"$_src/gpu/ganesh/geometry/GrAATriangulator.h",
"$_src/gpu/ganesh/geometry/GrInnerFanTriangulator.h",
"$_src/gpu/ganesh/geometry/GrPathUtils.cpp",
"$_src/gpu/ganesh/geometry/GrPathUtils.h",
"$_src/gpu/ganesh/geometry/GrQuad.cpp",
"$_src/gpu/ganesh/geometry/GrQuad.h",
"$_src/gpu/ganesh/geometry/GrQuadBuffer.h",
"$_src/gpu/ganesh/geometry/GrQuadUtils.cpp",
"$_src/gpu/ganesh/geometry/GrQuadUtils.h",
"$_src/gpu/ganesh/geometry/GrRect.h",
"$_src/gpu/ganesh/geometry/GrShape.cpp",
"$_src/gpu/ganesh/geometry/GrShape.h",
"$_src/gpu/ganesh/geometry/GrStyledShape.cpp",
"$_src/gpu/ganesh/geometry/GrStyledShape.h",
"$_src/gpu/ganesh/geometry/GrTriangulator.cpp",
"$_src/gpu/ganesh/geometry/GrTriangulator.h",
Reland "Base Gradient FP Refactor" This reverts commit 1ea5656a285bcfef445d6f69eaab477e68595b54. Reason for revert: Fixed google3 build failure Original change's description: > Revert "Base Gradient FP Refactor" > > This reverts commit 10f7a1e07554a362aef979d32ba288a009bdff90. > > Reason for revert: broke google3 roll > Original change's description: > > Base Gradient FP Refactor > > > > -- > > > > Redefines how gradients will be written in the GPU back-end: > > > > They are split into three fragment processor components: master, layout, and colorizer. > > The layout FP is responsible for converting the fragment position into an interpolant value, t. > > Each high-level gradient--such as linear, radial, etc.--are implemented solely in a layout FP. > > The colorizer FP is responsible for converting t into a color. > > The master FP invokes the layout, clamps t into the proper domain, and then invokes the colorizer. > > GrGradientShader provides factory functions to create FP graphs from SkGradientShader instances. > > This pattern is documented in gpu/gradients/README.md. > > > > Goals for current CL > > ==================== > > > > Outline the FP components by providing .fp implementations for the simplest gradients. > > Defines a two-color single interval colorizer and a linear gradient layout, and the master effect. > > A MakeLinear() factory function is provided that can convert SkGradientShaders that fit these constraints. > > SkLinearGradient first attempts to use the new system, falling back to the original GrGradientEffect. > > > > Future CLs > > ========== > > > > To keep the CL reviews manageable, additional dependent CLs will be added that gradually replace past functionality. > > A CL for each layout will be defined. > > CLs for the different analytic colorizer cases and the textured gradient case will be defined. > > Once the new system supports all current layouts and colorizer capabilities, all old GPU gradient code will be removed. > > After this clean-up, analytic colorization can hopefully be expanded to reduce the usage of textured gradients. > > > > Bug: skia: > > Change-Id: Iafe7b8b4071491a71c473babcd7bedda659150c1 > > Reviewed-on: https://skia-review.googlesource.com/148120 > > Commit-Queue: Michael Ludwig <michaelludwig@google.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > TBR=bsalomon@google.com,michaelludwig@google.com > > Change-Id: Ib735e323795ac8874cb00b007a915786b50517a6 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/153600 > Reviewed-by: Cary Clark <caryclark@google.com> > Commit-Queue: Cary Clark <caryclark@google.com> TBR=bsalomon@google.com,caryclark@google.com,michaelludwig@google.com Change-Id: Ibf6ffbcb1af0dfbdac7317151aeb08f18f84c7fd No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/153887 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2018-09-12 19:22:16 +00:00
# gradients
"$_src/gpu/ganesh/gradients/GrGradientBitmapCache.cpp",
"$_src/gpu/ganesh/gradients/GrGradientBitmapCache.h",
"$_src/gpu/ganesh/gradients/GrGradientShader.cpp",
"$_src/gpu/ganesh/gradients/GrGradientShader.h",
# tessellate/shaders
"$_src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h",
"$_src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader_Hardware.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader_MiddleOut.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.h",
"$_src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader_HardwareImpl.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader_InstancedImpl.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h",
# text
"$_src/gpu/ganesh/text/GrAtlasManager.cpp",
"$_src/gpu/ganesh/text/GrAtlasManager.h",
"$_src/gpu/ganesh/text/GrDistanceFieldAdjustTable.cpp",
"$_src/gpu/ganesh/text/GrDistanceFieldAdjustTable.h",
"$_src/gpu/ganesh/text/GrGlyphVector.cpp",
"$_src/gpu/ganesh/text/GrGlyphVector.h",
"$_src/gpu/ganesh/text/GrSDFMaskFilter.cpp",
"$_src/gpu/ganesh/text/GrSDFMaskFilter.h",
"$_src/gpu/ganesh/text/GrSDFTControl.cpp",
"$_src/gpu/ganesh/text/GrSDFTControl.h",
"$_src/gpu/ganesh/text/GrSlug.cpp",
"$_src/gpu/ganesh/text/GrStrikeCache.cpp",
"$_src/gpu/ganesh/text/GrStrikeCache.h",
"$_src/gpu/ganesh/text/GrTextBlob.cpp",
"$_src/gpu/ganesh/text/GrTextBlob.h",
"$_src/gpu/ganesh/text/GrTextBlobRedrawCoordinator.cpp",
"$_src/gpu/ganesh/text/GrTextBlobRedrawCoordinator.h",
# GLSL
"$_src/gpu/ganesh/glsl/GrGLSL.cpp",
"$_src/gpu/ganesh/glsl/GrGLSL.h",
"$_src/gpu/ganesh/glsl/GrGLSLBlend.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLBlend.h",
"$_src/gpu/ganesh/glsl/GrGLSLColorSpaceXformHelper.h",
"$_src/gpu/ganesh/glsl/GrGLSLFragmentShaderBuilder.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLFragmentShaderBuilder.h",
"$_src/gpu/ganesh/glsl/GrGLSLProgramBuilder.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLProgramBuilder.h",
"$_src/gpu/ganesh/glsl/GrGLSLProgramDataManager.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLProgramDataManager.h",
"$_src/gpu/ganesh/glsl/GrGLSLShaderBuilder.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLShaderBuilder.h",
"$_src/gpu/ganesh/glsl/GrGLSLUniformHandler.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLUniformHandler.h",
"$_src/gpu/ganesh/glsl/GrGLSLVarying.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLVarying.h",
"$_src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.cpp",
"$_src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.h",
# Mock
"$_include/gpu/mock/GrMockTypes.h",
"$_include/private/gpu/ganesh/GrMockTypesPriv.h",
"$_src/gpu/ganesh/mock/GrMockAttachment.h",
"$_src/gpu/ganesh/mock/GrMockBuffer.h",
"$_src/gpu/ganesh/mock/GrMockCaps.cpp",
"$_src/gpu/ganesh/mock/GrMockCaps.h",
"$_src/gpu/ganesh/mock/GrMockGpu.cpp",
"$_src/gpu/ganesh/mock/GrMockGpu.h",
"$_src/gpu/ganesh/mock/GrMockOpsRenderPass.h",
"$_src/gpu/ganesh/mock/GrMockRenderTask.h",
"$_src/gpu/ganesh/mock/GrMockSurfaceProxy.h",
"$_src/gpu/ganesh/mock/GrMockTexture.h",
"$_src/gpu/ganesh/mock/GrMockTypes.cpp",
# Sk files
"$_src/gpu/ganesh/BaseDevice.cpp",
"$_src/gpu/ganesh/BaseDevice.h",
"$_src/gpu/ganesh/SkGr.cpp",
"$_src/gpu/ganesh/SkGr.h",
"$_src/image/SkImage_Gpu.cpp",
"$_src/image/SkImage_Gpu.h",
"$_src/image/SkImage_GpuBase.cpp",
"$_src/image/SkImage_GpuBase.h",
"$_src/image/SkImage_GpuYUVA.cpp",
"$_src/image/SkImage_GpuYUVA.h",
"$_src/image/SkSurface_Gpu.cpp",
"$_src/image/SkSurface_Gpu.h",
]
skia_gl_gpu_sources = [
"$_include/gpu/gl/GrGLAssembleInterface.h",
"$_include/gpu/gl/GrGLConfig.h",
"$_include/gpu/gl/GrGLExtensions.h",
"$_include/gpu/gl/GrGLFunctions.h",
"$_include/gpu/gl/GrGLInterface.h",
"$_include/gpu/gl/GrGLTypes.h",
"$_src/gpu/ganesh/gl/GrGLAssembleGLESInterfaceAutogen.cpp",
"$_src/gpu/ganesh/gl/GrGLAssembleGLInterfaceAutogen.cpp",
"$_src/gpu/ganesh/gl/GrGLAssembleHelpers.cpp",
"$_src/gpu/ganesh/gl/GrGLAssembleInterface.cpp",
"$_src/gpu/ganesh/gl/GrGLAssembleWebGLInterfaceAutogen.cpp",
"$_src/gpu/ganesh/gl/GrGLAttachment.cpp",
"$_src/gpu/ganesh/gl/GrGLAttachment.h",
"$_src/gpu/ganesh/gl/GrGLBuffer.cpp",
"$_src/gpu/ganesh/gl/GrGLBuffer.h",
"$_src/gpu/ganesh/gl/GrGLCaps.cpp",
"$_src/gpu/ganesh/gl/GrGLCaps.h",
"$_src/gpu/ganesh/gl/GrGLContext.cpp",
"$_src/gpu/ganesh/gl/GrGLContext.h",
"$_src/gpu/ganesh/gl/GrGLDefines_impl.h",
"$_src/gpu/ganesh/gl/GrGLExtensions.cpp",
"$_src/gpu/ganesh/gl/GrGLGLSL.cpp",
"$_src/gpu/ganesh/gl/GrGLGLSL.h",
"$_src/gpu/ganesh/gl/GrGLGpu.cpp",
"$_src/gpu/ganesh/gl/GrGLGpu.h",
"$_src/gpu/ganesh/gl/GrGLGpuProgramCache.cpp",
"$_src/gpu/ganesh/gl/GrGLInterfaceAutogen.cpp",
"$_src/gpu/ganesh/gl/GrGLOpsRenderPass.cpp",
"$_src/gpu/ganesh/gl/GrGLOpsRenderPass.h",
"$_src/gpu/ganesh/gl/GrGLProgram.cpp",
"$_src/gpu/ganesh/gl/GrGLProgram.h",
"$_src/gpu/ganesh/gl/GrGLProgramDataManager.cpp",
"$_src/gpu/ganesh/gl/GrGLProgramDataManager.h",
"$_src/gpu/ganesh/gl/GrGLRenderTarget.cpp",
"$_src/gpu/ganesh/gl/GrGLRenderTarget.h",
"$_src/gpu/ganesh/gl/GrGLSemaphore.cpp",
"$_src/gpu/ganesh/gl/GrGLSemaphore.h",
"$_src/gpu/ganesh/gl/GrGLTexture.cpp",
"$_src/gpu/ganesh/gl/GrGLTexture.h",
"$_src/gpu/ganesh/gl/GrGLTextureRenderTarget.cpp",
"$_src/gpu/ganesh/gl/GrGLTextureRenderTarget.h",
"$_src/gpu/ganesh/gl/GrGLTypesPriv.cpp",
"$_src/gpu/ganesh/gl/GrGLUniformHandler.cpp",
"$_src/gpu/ganesh/gl/GrGLUniformHandler.h",
"$_src/gpu/ganesh/gl/GrGLUtil.cpp",
"$_src/gpu/ganesh/gl/GrGLUtil.h",
"$_src/gpu/ganesh/gl/GrGLVaryingHandler.h",
"$_src/gpu/ganesh/gl/GrGLVertexArray.cpp",
"$_src/gpu/ganesh/gl/GrGLVertexArray.h",
"$_src/gpu/gl/GrGLDefines.h",
# Files for building GLSL shaders
"$_src/gpu/ganesh/gl/builders/GrGLProgramBuilder.cpp",
"$_src/gpu/ganesh/gl/builders/GrGLProgramBuilder.h",
"$_src/gpu/ganesh/gl/builders/GrGLShaderStringBuilder.cpp",
"$_src/gpu/ganesh/gl/builders/GrGLShaderStringBuilder.h",
]
skia_null_gpu_sources =
[ "$_src/gpu/ganesh/gl/GrGLMakeNativeInterface_none.cpp" ]
skia_skgpu_v1_sources = [
"$_src/gpu/ganesh/GrAuditTrail.cpp",
"$_src/gpu/ganesh/GrBlurUtils.cpp",
"$_src/gpu/ganesh/GrBlurUtils.h",
"$_src/gpu/ganesh/GrDrawOpTest.cpp",
"$_src/gpu/ganesh/GrDrawOpTest.h",
# Ops
"$_src/gpu/ganesh/ops/AAConvexPathRenderer.cpp",
"$_src/gpu/ganesh/ops/AAConvexPathRenderer.h",
"$_src/gpu/ganesh/ops/AAHairLinePathRenderer.cpp",
"$_src/gpu/ganesh/ops/AAHairLinePathRenderer.h",
"$_src/gpu/ganesh/ops/AALinearizingConvexPathRenderer.cpp",
"$_src/gpu/ganesh/ops/AALinearizingConvexPathRenderer.h",
"$_src/gpu/ganesh/ops/AtlasInstancedHelper.cpp",
"$_src/gpu/ganesh/ops/AtlasInstancedHelper.h",
"$_src/gpu/ganesh/ops/AtlasPathRenderer.cpp",
"$_src/gpu/ganesh/ops/AtlasPathRenderer.h",
"$_src/gpu/ganesh/ops/AtlasRenderTask.cpp",
"$_src/gpu/ganesh/ops/AtlasRenderTask.h",
"$_src/gpu/ganesh/ops/AtlasTextOp.cpp",
"$_src/gpu/ganesh/ops/AtlasTextOp.h",
"$_src/gpu/ganesh/ops/ClearOp.cpp",
"$_src/gpu/ganesh/ops/ClearOp.h",
"$_src/gpu/ganesh/ops/DashLinePathRenderer.cpp",
"$_src/gpu/ganesh/ops/DashLinePathRenderer.h",
"$_src/gpu/ganesh/ops/DashOp.cpp",
"$_src/gpu/ganesh/ops/DashOp.h",
"$_src/gpu/ganesh/ops/DefaultPathRenderer.cpp",
"$_src/gpu/ganesh/ops/DefaultPathRenderer.h",
"$_src/gpu/ganesh/ops/DrawAtlasOp.cpp",
"$_src/gpu/ganesh/ops/DrawAtlasOp.h",
"$_src/gpu/ganesh/ops/DrawAtlasPathOp.cpp",
"$_src/gpu/ganesh/ops/DrawAtlasPathOp.h",
"$_src/gpu/ganesh/ops/DrawCustomMeshOp.cpp",
"$_src/gpu/ganesh/ops/DrawCustomMeshOp.h",
"$_src/gpu/ganesh/ops/DrawableOp.cpp",
"$_src/gpu/ganesh/ops/DrawableOp.h",
"$_src/gpu/ganesh/ops/FillPathFlags.h",
"$_src/gpu/ganesh/ops/FillRRectOp.cpp",
"$_src/gpu/ganesh/ops/FillRRectOp.h",
"$_src/gpu/ganesh/ops/FillRectOp.cpp",
"$_src/gpu/ganesh/ops/FillRectOp.h",
"$_src/gpu/ganesh/ops/GrDrawOp.h",
"$_src/gpu/ganesh/ops/GrMeshDrawOp.cpp",
"$_src/gpu/ganesh/ops/GrMeshDrawOp.h",
"$_src/gpu/ganesh/ops/GrOp.cpp",
"$_src/gpu/ganesh/ops/GrOp.h",
"$_src/gpu/ganesh/ops/GrOvalOpFactory.cpp",
"$_src/gpu/ganesh/ops/GrOvalOpFactory.h",
"$_src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelper.cpp",
"$_src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelper.h",
"$_src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp",
"$_src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelperWithStencil.h",
"$_src/gpu/ganesh/ops/LatticeOp.cpp",
"$_src/gpu/ganesh/ops/LatticeOp.h",
"$_src/gpu/ganesh/ops/OpsTask.cpp",
"$_src/gpu/ganesh/ops/OpsTask.h",
"$_src/gpu/ganesh/ops/PathInnerTriangulateOp.cpp",
"$_src/gpu/ganesh/ops/PathInnerTriangulateOp.h",
"$_src/gpu/ganesh/ops/PathStencilCoverOp.cpp",
"$_src/gpu/ganesh/ops/PathStencilCoverOp.h",
"$_src/gpu/ganesh/ops/PathTessellateOp.cpp",
"$_src/gpu/ganesh/ops/PathTessellateOp.h",
"$_src/gpu/ganesh/ops/PathTessellator.cpp",
"$_src/gpu/ganesh/ops/PathTessellator.h",
"$_src/gpu/ganesh/ops/QuadPerEdgeAA.cpp",
"$_src/gpu/ganesh/ops/QuadPerEdgeAA.h",
"$_src/gpu/ganesh/ops/RegionOp.cpp",
"$_src/gpu/ganesh/ops/RegionOp.h",
"$_src/gpu/ganesh/ops/ShadowRRectOp.cpp",
"$_src/gpu/ganesh/ops/ShadowRRectOp.h",
"$_src/gpu/ganesh/ops/SmallPathAtlasMgr.cpp",
"$_src/gpu/ganesh/ops/SmallPathAtlasMgr.h",
"$_src/gpu/ganesh/ops/SmallPathRenderer.cpp",
"$_src/gpu/ganesh/ops/SmallPathRenderer.h",
"$_src/gpu/ganesh/ops/SmallPathShapeData.cpp",
"$_src/gpu/ganesh/ops/SmallPathShapeData.h",
"$_src/gpu/ganesh/ops/SoftwarePathRenderer.cpp",
"$_src/gpu/ganesh/ops/SoftwarePathRenderer.h",
"$_src/gpu/ganesh/ops/StrokeRectOp.cpp",
"$_src/gpu/ganesh/ops/StrokeRectOp.h",
"$_src/gpu/ganesh/ops/StrokeTessellateOp.cpp",
"$_src/gpu/ganesh/ops/StrokeTessellateOp.h",
"$_src/gpu/ganesh/ops/StrokeTessellator.cpp",
"$_src/gpu/ganesh/ops/StrokeTessellator.h",
"$_src/gpu/ganesh/ops/TessellationPathRenderer.cpp",
"$_src/gpu/ganesh/ops/TessellationPathRenderer.h",
"$_src/gpu/ganesh/ops/TextureOp.cpp",
"$_src/gpu/ganesh/ops/TextureOp.h",
"$_src/gpu/ganesh/ops/TriangulatingPathRenderer.cpp",
"$_src/gpu/ganesh/ops/TriangulatingPathRenderer.h",
# v1
"$_src/gpu/ganesh/v1/ClipStack.cpp",
"$_src/gpu/ganesh/v1/ClipStack.h",
"$_src/gpu/ganesh/v1/Device.cpp",
"$_src/gpu/ganesh/v1/Device_drawTexture.cpp",
"$_src/gpu/ganesh/v1/Device_v1.h",
"$_src/gpu/ganesh/v1/PathRenderer.cpp",
"$_src/gpu/ganesh/v1/PathRenderer.h",
"$_src/gpu/ganesh/v1/PathRendererChain.cpp",
"$_src/gpu/ganesh/v1/PathRendererChain.h",
"$_src/gpu/ganesh/v1/StencilClip.h",
"$_src/gpu/ganesh/v1/StencilMaskHelper.cpp",
"$_src/gpu/ganesh/v1/StencilMaskHelper.h",
"$_src/gpu/ganesh/v1/SurfaceDrawContext.cpp",
"$_src/gpu/ganesh/v1/SurfaceDrawContext_v1.h",
"$_src/gpu/ganesh/v1/SurfaceFillContext_v1.cpp",
"$_src/gpu/ganesh/v1/SurfaceFillContext_v1.h",
]
skia_gpu_sources += skia_skgpu_v1_sources
skia_vk_sources = [
"$_include/gpu/vk/GrVkBackendContext.h",
Reland "Reland "Let client pass in full extension to GrVkBackendContext."" This reverts commit dc13c21b1e49ca1e16251d01bd1062157c5c1c2b. Reason for revert: fuchsia should be fixed Original change's description: > Revert "Reland "Let client pass in full extension to GrVkBackendContext."" > > This reverts commit a782dcb3c407a7e30d7c1263bf9965792088e786. > > Reason for revert: fuchsia changes reverted > > Original change's description: > > Reland "Let client pass in full extension to GrVkBackendContext." > > > > This reverts commit cb92b26e5ca6063bcf1a922109b8224e0b6eb4da. > > > > Reason for revert: <INSERT REASONING HERE> > > > > Original change's description: > > > Revert "Let client pass in full extension to GrVkBackendContext." > > > > > > This reverts commit 45c9dab4c3ec43cedb28d1b8c08e166fe0c2e767. > > > > > > Reason for revert: fucshia uses GrVkBackendContext. Need to revert earlier changes > > > > > > Original change's description: > > > > Let client pass in full extension to GrVkBackendContext. > > > > > > > > Bug: skia: > > > > Change-Id: I772ab4ccbca0f4f7e7d429d6c421b07d97f0606f > > > > Reviewed-on: https://skia-review.googlesource.com/131880 > > > > Reviewed-by: Jim Van Verth <jvanverth@google.com> > > > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > > > > > TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com > > > > > > Change-Id: I1a765ff406c83cb234c3614b804fbed677d5a382 > > > No-Presubmit: true > > > No-Tree-Checks: true > > > No-Try: true > > > Bug: skia: > > > Reviewed-on: https://skia-review.googlesource.com/137901 > > > Reviewed-by: Greg Daniel <egdaniel@google.com> > > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > > > TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com > > > > # Not skipping CQ checks because original CL landed > 1 day ago. > > > > Bug: skia: > > Change-Id: I0af797c51dde705473e9afaccb1d4b4423e8c41e > > Reviewed-on: https://skia-review.googlesource.com/138302 > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > Reviewed-by: Greg Daniel <egdaniel@google.com> > > TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com > > Change-Id: Idf760d5ac6b82df33a4408079a0223be833058ad > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/138420 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: skia: Change-Id: Ied1323b7197b600e895d85ac7e85d6f65985dabc Reviewed-on: https://skia-review.googlesource.com/139002 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
2018-08-01 17:25:41 +00:00
"$_include/gpu/vk/GrVkExtensions.h",
"$_include/gpu/vk/GrVkMemoryAllocator.h",
"$_include/gpu/vk/GrVkTypes.h",
"$_include/gpu/vk/GrVkVulkan.h",
"$_include/private/gpu/ganesh/GrVkTypesPriv.h",
"$_src/gpu/ganesh/vk/GrVkAMDMemoryAllocator.cpp",
"$_src/gpu/ganesh/vk/GrVkAMDMemoryAllocator.h",
"$_src/gpu/ganesh/vk/GrVkBuffer.cpp",
"$_src/gpu/ganesh/vk/GrVkBuffer.h",
"$_src/gpu/ganesh/vk/GrVkCaps.cpp",
"$_src/gpu/ganesh/vk/GrVkCaps.h",
"$_src/gpu/ganesh/vk/GrVkCommandBuffer.cpp",
"$_src/gpu/ganesh/vk/GrVkCommandBuffer.h",
"$_src/gpu/ganesh/vk/GrVkCommandPool.cpp",
"$_src/gpu/ganesh/vk/GrVkCommandPool.h",
"$_src/gpu/ganesh/vk/GrVkDescriptorPool.cpp",
"$_src/gpu/ganesh/vk/GrVkDescriptorPool.h",
"$_src/gpu/ganesh/vk/GrVkDescriptorSet.cpp",
"$_src/gpu/ganesh/vk/GrVkDescriptorSet.h",
"$_src/gpu/ganesh/vk/GrVkDescriptorSetManager.cpp",
"$_src/gpu/ganesh/vk/GrVkDescriptorSetManager.h",
"$_src/gpu/ganesh/vk/GrVkExtensions.cpp",
"$_src/gpu/ganesh/vk/GrVkFramebuffer.cpp",
"$_src/gpu/ganesh/vk/GrVkFramebuffer.h",
"$_src/gpu/ganesh/vk/GrVkGpu.cpp",
"$_src/gpu/ganesh/vk/GrVkGpu.h",
"$_src/gpu/ganesh/vk/GrVkImage.cpp",
"$_src/gpu/ganesh/vk/GrVkImage.h",
"$_src/gpu/ganesh/vk/GrVkImageLayout.h",
"$_src/gpu/ganesh/vk/GrVkImageView.cpp",
"$_src/gpu/ganesh/vk/GrVkImageView.h",
"$_src/gpu/ganesh/vk/GrVkInterface.cpp",
"$_src/gpu/ganesh/vk/GrVkInterface.h",
"$_src/gpu/ganesh/vk/GrVkMSAALoadManager.cpp",
"$_src/gpu/ganesh/vk/GrVkMSAALoadManager.h",
"$_src/gpu/ganesh/vk/GrVkManagedResource.h",
"$_src/gpu/ganesh/vk/GrVkMemory.cpp",
"$_src/gpu/ganesh/vk/GrVkMemory.h",
"$_src/gpu/ganesh/vk/GrVkOpsRenderPass.cpp",
"$_src/gpu/ganesh/vk/GrVkOpsRenderPass.h",
"$_src/gpu/ganesh/vk/GrVkPipeline.cpp",
"$_src/gpu/ganesh/vk/GrVkPipeline.h",
"$_src/gpu/ganesh/vk/GrVkPipelineState.cpp",
"$_src/gpu/ganesh/vk/GrVkPipelineState.h",
"$_src/gpu/ganesh/vk/GrVkPipelineStateBuilder.cpp",
"$_src/gpu/ganesh/vk/GrVkPipelineStateBuilder.h",
"$_src/gpu/ganesh/vk/GrVkPipelineStateCache.cpp",
"$_src/gpu/ganesh/vk/GrVkPipelineStateDataManager.cpp",
"$_src/gpu/ganesh/vk/GrVkPipelineStateDataManager.h",
"$_src/gpu/ganesh/vk/GrVkRenderPass.cpp",
"$_src/gpu/ganesh/vk/GrVkRenderPass.h",
"$_src/gpu/ganesh/vk/GrVkRenderTarget.cpp",
"$_src/gpu/ganesh/vk/GrVkRenderTarget.h",
"$_src/gpu/ganesh/vk/GrVkResourceProvider.cpp",
"$_src/gpu/ganesh/vk/GrVkResourceProvider.h",
"$_src/gpu/ganesh/vk/GrVkSampler.cpp",
"$_src/gpu/ganesh/vk/GrVkSampler.h",
"$_src/gpu/ganesh/vk/GrVkSamplerYcbcrConversion.cpp",
"$_src/gpu/ganesh/vk/GrVkSamplerYcbcrConversion.h",
"$_src/gpu/ganesh/vk/GrVkSecondaryCBDrawContext.cpp",
"$_src/gpu/ganesh/vk/GrVkSecondaryCBDrawContext_impl.h",
"$_src/gpu/ganesh/vk/GrVkSemaphore.cpp",
"$_src/gpu/ganesh/vk/GrVkSemaphore.h",
"$_src/gpu/ganesh/vk/GrVkTexture.cpp",
"$_src/gpu/ganesh/vk/GrVkTexture.h",
"$_src/gpu/ganesh/vk/GrVkTextureRenderTarget.cpp",
"$_src/gpu/ganesh/vk/GrVkTextureRenderTarget.h",
"$_src/gpu/ganesh/vk/GrVkTypesPriv.cpp",
"$_src/gpu/ganesh/vk/GrVkUniformHandler.cpp",
"$_src/gpu/ganesh/vk/GrVkUniformHandler.h",
"$_src/gpu/ganesh/vk/GrVkUtil.cpp",
"$_src/gpu/ganesh/vk/GrVkUtil.h",
"$_src/gpu/ganesh/vk/GrVkVaryingHandler.cpp",
"$_src/gpu/ganesh/vk/GrVkVaryingHandler.h",
"$_src/gpu/vk/GrVkSecondaryCBDrawContext.h",
]
skia_direct3d_sources = [
"$_include/gpu/d3d/GrD3DBackendContext.h",
"$_include/gpu/d3d/GrD3DTypes.h",
"$_include/private/gpu/ganesh/GrD3DTypesMinimal.h",
"$_src/gpu/ganesh/d3d/GrD3DAMDMemoryAllocator.cpp",
"$_src/gpu/ganesh/d3d/GrD3DAMDMemoryAllocator.h",
"$_src/gpu/ganesh/d3d/GrD3DAttachment.cpp",
"$_src/gpu/ganesh/d3d/GrD3DAttachment.h",
"$_src/gpu/ganesh/d3d/GrD3DBuffer.cpp",
"$_src/gpu/ganesh/d3d/GrD3DBuffer.h",
"$_src/gpu/ganesh/d3d/GrD3DCaps.cpp",
"$_src/gpu/ganesh/d3d/GrD3DCaps.h",
"$_src/gpu/ganesh/d3d/GrD3DCommandList.cpp",
"$_src/gpu/ganesh/d3d/GrD3DCommandList.h",
"$_src/gpu/ganesh/d3d/GrD3DCommandSignature.cpp",
"$_src/gpu/ganesh/d3d/GrD3DCommandSignature.h",
"$_src/gpu/ganesh/d3d/GrD3DCpuDescriptorManager.cpp",
"$_src/gpu/ganesh/d3d/GrD3DCpuDescriptorManager.h",
"$_src/gpu/ganesh/d3d/GrD3DDescriptorHeap.cpp",
"$_src/gpu/ganesh/d3d/GrD3DDescriptorHeap.h",
"$_src/gpu/ganesh/d3d/GrD3DDescriptorTableManager.cpp",
"$_src/gpu/ganesh/d3d/GrD3DDescriptorTableManager.h",
"$_src/gpu/ganesh/d3d/GrD3DGpu.cpp",
"$_src/gpu/ganesh/d3d/GrD3DGpu.h",
"$_src/gpu/ganesh/d3d/GrD3DOpsRenderPass.cpp",
"$_src/gpu/ganesh/d3d/GrD3DOpsRenderPass.h",
"$_src/gpu/ganesh/d3d/GrD3DPipeline.h",
"$_src/gpu/ganesh/d3d/GrD3DPipelineState.cpp",
"$_src/gpu/ganesh/d3d/GrD3DPipelineState.h",
"$_src/gpu/ganesh/d3d/GrD3DPipelineStateBuilder.cpp",
"$_src/gpu/ganesh/d3d/GrD3DPipelineStateBuilder.h",
"$_src/gpu/ganesh/d3d/GrD3DPipelineStateDataManager.cpp",
"$_src/gpu/ganesh/d3d/GrD3DPipelineStateDataManager.h",
"$_src/gpu/ganesh/d3d/GrD3DRenderTarget.cpp",
"$_src/gpu/ganesh/d3d/GrD3DRenderTarget.h",
"$_src/gpu/ganesh/d3d/GrD3DResourceProvider.cpp",
"$_src/gpu/ganesh/d3d/GrD3DResourceProvider.h",
"$_src/gpu/ganesh/d3d/GrD3DResourceState.h",
"$_src/gpu/ganesh/d3d/GrD3DRootSignature.cpp",
"$_src/gpu/ganesh/d3d/GrD3DRootSignature.h",
"$_src/gpu/ganesh/d3d/GrD3DSemaphore.cpp",
"$_src/gpu/ganesh/d3d/GrD3DSemaphore.h",
"$_src/gpu/ganesh/d3d/GrD3DTexture.cpp",
"$_src/gpu/ganesh/d3d/GrD3DTexture.h",
"$_src/gpu/ganesh/d3d/GrD3DTextureRenderTarget.cpp",
"$_src/gpu/ganesh/d3d/GrD3DTextureRenderTarget.h",
"$_src/gpu/ganesh/d3d/GrD3DTextureResource.cpp",
"$_src/gpu/ganesh/d3d/GrD3DTextureResource.h",
"$_src/gpu/ganesh/d3d/GrD3DTypesMinimal.cpp",
"$_src/gpu/ganesh/d3d/GrD3DTypesPriv.cpp",
"$_src/gpu/ganesh/d3d/GrD3DTypesPriv.h",
"$_src/gpu/ganesh/d3d/GrD3DUtil.cpp",
"$_src/gpu/ganesh/d3d/GrD3DUtil.h",
]
skia_dawn_sources = [
"$_include/gpu/dawn/GrDawnTypes.h",
"$_include/private/gpu/ganesh/GrDawnTypesPriv.h",
"$_src/gpu/ganesh/dawn/GrDawnAttachment.cpp",
"$_src/gpu/ganesh/dawn/GrDawnAttachment.h",
"$_src/gpu/ganesh/dawn/GrDawnBuffer.cpp",
"$_src/gpu/ganesh/dawn/GrDawnBuffer.h",
"$_src/gpu/ganesh/dawn/GrDawnCaps.cpp",
"$_src/gpu/ganesh/dawn/GrDawnCaps.h",
"$_src/gpu/ganesh/dawn/GrDawnGpu.cpp",
"$_src/gpu/ganesh/dawn/GrDawnGpu.h",
"$_src/gpu/ganesh/dawn/GrDawnOpsRenderPass.cpp",
"$_src/gpu/ganesh/dawn/GrDawnOpsRenderPass.h",
"$_src/gpu/ganesh/dawn/GrDawnProgramBuilder.cpp",
"$_src/gpu/ganesh/dawn/GrDawnProgramBuilder.h",
"$_src/gpu/ganesh/dawn/GrDawnProgramDataManager.cpp",
"$_src/gpu/ganesh/dawn/GrDawnProgramDataManager.h",
"$_src/gpu/ganesh/dawn/GrDawnRenderTarget.cpp",
"$_src/gpu/ganesh/dawn/GrDawnRenderTarget.h",
"$_src/gpu/ganesh/dawn/GrDawnRingBuffer.cpp",
"$_src/gpu/ganesh/dawn/GrDawnRingBuffer.h",
"$_src/gpu/ganesh/dawn/GrDawnTexture.cpp",
"$_src/gpu/ganesh/dawn/GrDawnTexture.h",
"$_src/gpu/ganesh/dawn/GrDawnTextureRenderTarget.cpp",
"$_src/gpu/ganesh/dawn/GrDawnTextureRenderTarget.h",
"$_src/gpu/ganesh/dawn/GrDawnTypesPriv.cpp",
"$_src/gpu/ganesh/dawn/GrDawnUtil.cpp",
"$_src/gpu/ganesh/dawn/GrDawnUtil.h",
]
skia_metal_sources = [
"$_include/gpu/mtl/GrMtlBackendContext.h",
"$_include/gpu/mtl/GrMtlTypes.h",
"$_src/gpu/ganesh/mtl/GrMtlAttachment.h",
"$_src/gpu/ganesh/mtl/GrMtlAttachment.mm",
"$_src/gpu/ganesh/mtl/GrMtlBuffer.h",
"$_src/gpu/ganesh/mtl/GrMtlBuffer.mm",
"$_src/gpu/ganesh/mtl/GrMtlCaps.h",
"$_src/gpu/ganesh/mtl/GrMtlCaps.mm",
"$_src/gpu/ganesh/mtl/GrMtlCommandBuffer.h",
"$_src/gpu/ganesh/mtl/GrMtlCommandBuffer.mm",
"$_src/gpu/ganesh/mtl/GrMtlCppUtil.h",
"$_src/gpu/ganesh/mtl/GrMtlDepthStencil.h",
"$_src/gpu/ganesh/mtl/GrMtlDepthStencil.mm",
"$_src/gpu/ganesh/mtl/GrMtlFramebuffer.h",
"$_src/gpu/ganesh/mtl/GrMtlFramebuffer.mm",
"$_src/gpu/ganesh/mtl/GrMtlGpu.h",
"$_src/gpu/ganesh/mtl/GrMtlGpu.mm",
"$_src/gpu/ganesh/mtl/GrMtlOpsRenderPass.h",
"$_src/gpu/ganesh/mtl/GrMtlOpsRenderPass.mm",
"$_src/gpu/ganesh/mtl/GrMtlPipeline.h",
"$_src/gpu/ganesh/mtl/GrMtlPipelineState.h",
"$_src/gpu/ganesh/mtl/GrMtlPipelineState.mm",
"$_src/gpu/ganesh/mtl/GrMtlPipelineStateBuilder.h",
"$_src/gpu/ganesh/mtl/GrMtlPipelineStateBuilder.mm",
"$_src/gpu/ganesh/mtl/GrMtlPipelineStateDataManager.h",
"$_src/gpu/ganesh/mtl/GrMtlPipelineStateDataManager.mm",
"$_src/gpu/ganesh/mtl/GrMtlRenderCommandEncoder.h",
"$_src/gpu/ganesh/mtl/GrMtlRenderTarget.h",
"$_src/gpu/ganesh/mtl/GrMtlRenderTarget.mm",
"$_src/gpu/ganesh/mtl/GrMtlResourceProvider.h",
"$_src/gpu/ganesh/mtl/GrMtlResourceProvider.mm",
"$_src/gpu/ganesh/mtl/GrMtlSampler.h",
"$_src/gpu/ganesh/mtl/GrMtlSampler.mm",
"$_src/gpu/ganesh/mtl/GrMtlSemaphore.h",
"$_src/gpu/ganesh/mtl/GrMtlSemaphore.mm",
"$_src/gpu/ganesh/mtl/GrMtlTexture.h",
"$_src/gpu/ganesh/mtl/GrMtlTexture.mm",
"$_src/gpu/ganesh/mtl/GrMtlTextureRenderTarget.h",
"$_src/gpu/ganesh/mtl/GrMtlTextureRenderTarget.mm",
"$_src/gpu/ganesh/mtl/GrMtlTrampoline.h",
"$_src/gpu/ganesh/mtl/GrMtlTrampoline.mm",
"$_src/gpu/ganesh/mtl/GrMtlTypesPriv.mm",
"$_src/gpu/ganesh/mtl/GrMtlUniformHandler.h",
"$_src/gpu/ganesh/mtl/GrMtlUniformHandler.mm",
"$_src/gpu/ganesh/mtl/GrMtlUtil.h",
"$_src/gpu/ganesh/mtl/GrMtlUtil.mm",
"$_src/gpu/ganesh/mtl/GrMtlVaryingHandler.h",
"$_src/gpu/ganesh/mtl/GrMtlVaryingHandler.mm",
"$_src/image/SkSurface_GpuMtl.mm",
]
skia_native_gpu_sources = [
"$_include/gpu/gl/egl/GrGLMakeEGLInterface.h",
"$_include/gpu/gl/glx/GrGLMakeGLXInterface.h",
"$_src/gpu/ganesh/gl/android/GrGLMakeNativeInterface_android.cpp",
"$_src/gpu/ganesh/gl/egl/GrGLMakeEGLInterface.cpp",
"$_src/gpu/ganesh/gl/egl/GrGLMakeNativeInterface_egl.cpp",
"$_src/gpu/ganesh/gl/glx/GrGLMakeGLXInterface.cpp",
"$_src/gpu/ganesh/gl/glx/GrGLMakeNativeInterface_glx.cpp",
"$_src/gpu/ganesh/gl/iOS/GrGLMakeNativeInterface_iOS.cpp",
"$_src/gpu/ganesh/gl/mac/GrGLMakeNativeInterface_mac.cpp",
"$_src/gpu/ganesh/gl/win/GrGLMakeNativeInterface_win.cpp",
]
skia_shared_gpu_sources = [
"$_include/gpu/GpuTypes.h",
"$_include/gpu/ShaderErrorHandler.h",
"$_include/private/SingleOwner.h",
"$_src/gpu/AtlasTypes.h",
"$_src/gpu/Blend.cpp",
"$_src/gpu/Blend.h",
"$_src/gpu/BufferWriter.h",
"$_src/gpu/KeyBuilder.h",
"$_src/gpu/Rectanizer.h",
"$_src/gpu/RectanizerPow2.cpp",
"$_src/gpu/RectanizerPow2.h",
"$_src/gpu/RectanizerSkyline.cpp",
"$_src/gpu/RectanizerSkyline.h",
"$_src/gpu/RefCntedCallback.h",
"$_src/gpu/ResourceKey.cpp",
"$_src/gpu/ResourceKey.h",
"$_src/gpu/ShaderErrorHandler.cpp",
"$_src/gpu/Swizzle.cpp",
"$_src/gpu/Swizzle.h",
# tessellate
"$_src/gpu/tessellate/AffineMatrix.h",
"$_src/gpu/tessellate/CullTest.h",
"$_src/gpu/tessellate/FixedCountBufferUtils.cpp",
"$_src/gpu/tessellate/FixedCountBufferUtils.h",
"$_src/gpu/tessellate/MiddleOutPolygonTriangulator.h",
"$_src/gpu/tessellate/MidpointContourParser.h",
"$_src/gpu/tessellate/PatchWriter.h",
"$_src/gpu/tessellate/StrokeIterator.h",
"$_src/gpu/tessellate/Tessellation.cpp",
"$_src/gpu/tessellate/Tessellation.h",
"$_src/gpu/tessellate/WangsFormula.h",
]