skia2/gn/gpu.gni

832 lines
30 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/GrContext_Base.h",
"$_include/private/GrGLTypesPriv.h",
"$_include/private/GrImageContext.h",
Reland "Use objc_externally_retained to cut down retain/release in Metal" This reverts commit 8b6788079f38167ada46cde559b1fdf42332400b. Reason for revert: Fixed variable type for chrome & flutter Basically, you can't use objc_externally_retained with `auto` type variables because the compiler isn't smart enough to deduce the type before checking that it's compatible with the attribute. Original change's description: > Revert "Use objc_externally_retained to cut down retain/release in Metal" > > This reverts commit 78381ee5e0d326a6fe3e77da6e9eb5d28a3426f5. > > Reason for revert: breaking chromium and flutter mac builds > > Original change's description: > > Use objc_externally_retained to cut down retain/release in Metal > > > > Until we get off of ARC, these extra retains and releases can really > > add up in previous profiling of Metal, especially on iOS. > > > > Change-Id: Ib3aaa0b863c4469bdb6ad930395a170719c0293d > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/381110 > > Commit-Queue: Adlai Holler <adlai@google.com> > > Reviewed-by: Jim Van Verth <jvanverth@google.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > TBR=jvanverth@google.com,bsalomon@google.com,adlai@google.com > > Change-Id: I36aff7698a70052a42b91a910b92fd512b3eecd4 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/388717 > Reviewed-by: Michael Ludwig <michaelludwig@google.com> > Commit-Queue: Michael Ludwig <michaelludwig@google.com> Change-Id: I5cad02fc9d8c7f21e22021858b2e6e9b038a3de6 Cq-Include-Trybots: luci.skia.skia.primary:Canary-Flutter Reviewed-on: https://skia-review.googlesource.com/c/skia/+/389157 Commit-Queue: Adlai Holler <adlai@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-03-29 15:20:43 +00:00
"$_include/private/GrMtlTypesPriv.h",
"$_include/private/GrSingleOwner.h",
"$_include/private/GrTypesPriv.h",
"$_include/private/chromium/GrSlug.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/GrAHardwareBufferImageGenerator.cpp",
"$_src/gpu/GrAHardwareBufferImageGenerator.h",
"$_src/gpu/GrAHardwareBufferUtils.cpp",
"$_src/gpu/GrAHardwareBufferUtils.h",
"$_src/gpu/GrAppliedClip.h",
"$_src/gpu/GrAttachment.cpp",
"$_src/gpu/GrAttachment.h",
"$_src/gpu/GrAuditTrail.h",
"$_src/gpu/GrAutoLocaleSetter.h",
"$_src/gpu/GrBackendSemaphore.cpp",
"$_src/gpu/GrBackendSurface.cpp",
"$_src/gpu/GrBackendSurfaceMutableState.cpp",
"$_src/gpu/GrBackendSurfaceMutableStateImpl.h",
"$_src/gpu/GrBackendTextureImageGenerator.cpp",
"$_src/gpu/GrBackendTextureImageGenerator.h",
"$_src/gpu/GrBackendUtils.cpp",
"$_src/gpu/GrBackendUtils.h",
"$_src/gpu/GrBaseContextPriv.h",
"$_src/gpu/GrBlend.h",
"$_src/gpu/GrBuffer.h",
"$_src/gpu/GrBufferAllocPool.cpp",
"$_src/gpu/GrBufferAllocPool.h",
"$_src/gpu/GrCaps.cpp",
"$_src/gpu/GrCaps.h",
Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" This is a reland of 6fc04f88a89ed2c9a1b4aa48bcd28602a69a457b Original change's description: > Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime" > > This is a reland of ce240cc6fd8ec95bd051c7df2173dad2ae8f6ad6 > > Original change's description: > > SkSurface asynchronous read APIs allow client to extend pixel lifetime > > > > Previously the pixel data passed to the client was only valid during > > the client's callback. This meant if the client wanted to defer > > processing of the data a copy was necessary. > > > > Now we pass an object to the callback and the pixel lifetime is tied > > to the lifetime of that object. > > > > The object may be holding a GPU transfer buffer mapped. We don't assume > > that the object will be released on the direct GrContext thread. So > > when the object is destroyed it posts a message to a new type, > > GrClientMappedBufferManager, hanging off the direct context. The direct > > context will periodically check for messages and unmap and then unref > > buffers so that they can be reused. Currently this is done in > > GrContext::performDeferredCleanup() and GrDrawingManager::flush(). > > > > The old API is kept around for backwards compatibility but it is > > reimplemented as a bridge on top of the new mechanism. > > > > Also a utility function to SkImageInfo is added to directly make a new > > info with a specified dimensions rather than passing the width and > > height separately to makeWH(). > > > > Bug: chromium:973403 > > Bug: skia:8962 > > > > Change-Id: Id5cf04235376170142a48e90d3ecd13fd021a2a6 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245457 > > Reviewed-by: Brian Osman <brianosman@google.com> > > Commit-Queue: Brian Salomon <bsalomon@google.com> > > Bug: chromium:973403, skia:8962 > Change-Id: I5cecd36276c8b6dc942cf549c7095db2df88530c > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245678 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> Bug: chromium:973403, skia:8962 Change-Id: Ie584c1c3ef8021c976f71b708e53871c693cc450 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/246057 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
2019-10-03 17:26:54 +00:00
"$_src/gpu/GrClientMappedBufferManager.cpp",
"$_src/gpu/GrClientMappedBufferManager.h",
"$_src/gpu/GrClip.h",
"$_src/gpu/GrColor.h",
"$_src/gpu/GrColorInfo.cpp",
"$_src/gpu/GrColorInfo.h",
"$_src/gpu/GrColorSpaceXform.cpp",
"$_src/gpu/GrColorSpaceXform.h",
"$_src/gpu/GrContextThreadSafeProxy.cpp",
"$_src/gpu/GrContextThreadSafeProxyPriv.h",
"$_src/gpu/GrContext_Base.cpp",
"$_src/gpu/GrCopyRenderTask.cpp",
"$_src/gpu/GrCopyRenderTask.h",
"$_src/gpu/GrCpuBuffer.h",
"$_src/gpu/GrDDLContext.cpp",
"$_src/gpu/GrDDLTask.cpp",
"$_src/gpu/GrDDLTask.h",
"$_src/gpu/GrDataUtils.cpp",
"$_src/gpu/GrDataUtils.h",
"$_src/gpu/GrDefaultGeoProcFactory.cpp",
"$_src/gpu/GrDefaultGeoProcFactory.h",
"$_src/gpu/GrDeferredProxyUploader.h",
"$_src/gpu/GrDeferredUpload.h",
"$_src/gpu/GrDirectContext.cpp",
"$_src/gpu/GrDirectContextPriv.cpp",
"$_src/gpu/GrDirectContextPriv.h",
"$_src/gpu/GrDistanceFieldGenFromVector.cpp",
"$_src/gpu/GrDistanceFieldGenFromVector.h",
"$_src/gpu/GrDrawIndirectCommand.h",
"$_src/gpu/GrDrawOpAtlas.cpp",
"$_src/gpu/GrDrawOpAtlas.h",
"$_src/gpu/GrDrawingManager.cpp",
"$_src/gpu/GrDrawingManager.h",
"$_src/gpu/GrDriverBugWorkarounds.cpp",
"$_src/gpu/GrDstProxyView.h",
"$_src/gpu/GrDynamicAtlas.cpp",
"$_src/gpu/GrDynamicAtlas.h",
"$_src/gpu/GrEagerVertexAllocator.cpp",
"$_src/gpu/GrEagerVertexAllocator.h",
"$_src/gpu/GrFinishCallbacks.cpp",
"$_src/gpu/GrFinishCallbacks.h",
"$_src/gpu/GrFixedClip.cpp",
"$_src/gpu/GrFixedClip.h",
"$_src/gpu/GrFragmentProcessor.cpp",
"$_src/gpu/GrFragmentProcessor.h",
"$_src/gpu/GrGeometryProcessor.cpp",
"$_src/gpu/GrGeometryProcessor.h",
"$_src/gpu/GrGlyph.h",
"$_src/gpu/GrGpu.cpp",
"$_src/gpu/GrGpu.h",
"$_src/gpu/GrGpuBuffer.cpp",
"$_src/gpu/GrGpuBuffer.h",
Reland "Move GrGpuResource GrSurface and GrTexture into src." This reverts commit f6ed96d1c23b79130ca7344c984b07ef9d94fb7b. Reason for revert: google3 change landed Original change's description: > Revert "Move GrGpuResource GrSurface and GrTexture into src." > > This reverts commit e5a06ce678aad7640411f99f70f220f82ad49908. > > Reason for revert: Need to make change in google3 first > > Original change's description: > > Move GrGpuResource GrSurface and GrTexture into src. > > > > Must land https://chromium-review.googlesource.com/c/chromium/src/+/2087980 > > before this can land. > > > > Bug: skia:7966 > > Change-Id: I60bbb1765bfbb2c96b2bc0c9826b6b9d57eb2a03 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275077 > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com > > Change-Id: Id39e0a351e49a87209de88a6ad9fadb0219db72c > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:7966 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275216 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I746ce739cb084cefc46f9dab24ef773e7c3cc621 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:7966 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275436 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
2020-03-05 19:14:18 +00:00
"$_src/gpu/GrGpuResource.cpp",
"$_src/gpu/GrGpuResource.h",
"$_src/gpu/GrGpuResourceCacheAccess.h",
"$_src/gpu/GrGpuResourcePriv.h",
"$_src/gpu/GrHashMapWithCache.h",
"$_src/gpu/GrImageContext.cpp",
"$_src/gpu/GrImageContextPriv.h",
"$_src/gpu/GrImageInfo.h",
"$_src/gpu/GrManagedResource.cpp",
"$_src/gpu/GrManagedResource.h",
"$_src/gpu/GrMemoryPool.cpp",
"$_src/gpu/GrMemoryPool.h",
"$_src/gpu/GrMeshDrawTarget.cpp",
"$_src/gpu/GrMeshDrawTarget.h",
"$_src/gpu/GrNativeRect.h",
"$_src/gpu/GrNonAtomicRef.h",
"$_src/gpu/GrOnFlushResourceProvider.cpp",
"$_src/gpu/GrOnFlushResourceProvider.h",
"$_src/gpu/GrOpFlushState.cpp",
"$_src/gpu/GrOpFlushState.h",
"$_src/gpu/GrOpsRenderPass.cpp",
"$_src/gpu/GrOpsRenderPass.h",
"$_src/gpu/GrOpsTypes.h",
"$_src/gpu/GrPaint.cpp",
"$_src/gpu/GrPaint.h",
"$_src/gpu/GrPersistentCacheUtils.cpp",
"$_src/gpu/GrPersistentCacheUtils.h",
"$_src/gpu/GrPipeline.cpp",
"$_src/gpu/GrPipeline.h",
"$_src/gpu/GrPixmap.h",
"$_src/gpu/GrProcessor.cpp",
"$_src/gpu/GrProcessor.h",
"$_src/gpu/GrProcessorAnalysis.cpp",
"$_src/gpu/GrProcessorAnalysis.h",
"$_src/gpu/GrProcessorSet.cpp",
"$_src/gpu/GrProcessorSet.h",
"$_src/gpu/GrProcessorUnitTest.cpp",
"$_src/gpu/GrProcessorUnitTest.h",
"$_src/gpu/GrProgramDesc.cpp",
"$_src/gpu/GrProgramDesc.h",
"$_src/gpu/GrProgramInfo.cpp",
"$_src/gpu/GrProgramInfo.h",
"$_src/gpu/GrProxyProvider.cpp",
"$_src/gpu/GrProxyProvider.h",
"$_src/gpu/GrRecordingContext.cpp",
"$_src/gpu/GrRecordingContextPriv.cpp",
"$_src/gpu/GrRecordingContextPriv.h",
"$_src/gpu/GrRectanizer.h",
"$_src/gpu/GrRectanizerPow2.cpp",
"$_src/gpu/GrRectanizerPow2.h",
"$_src/gpu/GrRectanizerSkyline.cpp",
"$_src/gpu/GrRectanizerSkyline.h",
"$_src/gpu/GrRefCnt.h",
"$_src/gpu/GrRenderTarget.cpp",
"$_src/gpu/GrRenderTarget.h",
"$_src/gpu/GrRenderTargetProxy.cpp",
"$_src/gpu/GrRenderTargetProxy.h",
"$_src/gpu/GrRenderTask.cpp",
"$_src/gpu/GrRenderTask.h",
"$_src/gpu/GrRenderTaskCluster.cpp",
"$_src/gpu/GrRenderTaskCluster.h",
"$_src/gpu/GrResourceAllocator.cpp",
"$_src/gpu/GrResourceAllocator.h",
"$_src/gpu/GrResourceCache.cpp",
"$_src/gpu/GrResourceCache.h",
"$_src/gpu/GrResourceHandle.h",
"$_src/gpu/GrResourceProvider.cpp",
"$_src/gpu/GrResourceProvider.h",
"$_src/gpu/GrResourceProviderPriv.h",
"$_src/gpu/GrRingBuffer.cpp",
"$_src/gpu/GrRingBuffer.h",
"$_src/gpu/GrSPIRVUniformHandler.cpp",
"$_src/gpu/GrSPIRVUniformHandler.h",
"$_src/gpu/GrSPIRVVaryingHandler.cpp",
"$_src/gpu/GrSPIRVVaryingHandler.h",
"$_src/gpu/GrSWMaskHelper.cpp",
"$_src/gpu/GrSWMaskHelper.h",
"$_src/gpu/GrSamplerState.h",
"$_src/gpu/GrScissorState.h",
"$_src/gpu/GrSemaphore.h",
"$_src/gpu/GrShaderCaps.cpp",
"$_src/gpu/GrShaderCaps.h",
"$_src/gpu/GrShaderVar.cpp",
"$_src/gpu/GrShaderVar.h",
"$_src/gpu/GrSimpleMesh.h",
"$_src/gpu/GrStagingBufferManager.cpp",
"$_src/gpu/GrStagingBufferManager.h",
"$_src/gpu/GrStencilSettings.cpp",
"$_src/gpu/GrStencilSettings.h",
"$_src/gpu/GrStyle.cpp",
"$_src/gpu/GrStyle.h",
"$_src/gpu/GrSubRunAllocator.cpp",
"$_src/gpu/GrSubRunAllocator.h",
"$_src/gpu/GrSurface.cpp",
Reland "Move GrGpuResource GrSurface and GrTexture into src." This reverts commit f6ed96d1c23b79130ca7344c984b07ef9d94fb7b. Reason for revert: google3 change landed Original change's description: > Revert "Move GrGpuResource GrSurface and GrTexture into src." > > This reverts commit e5a06ce678aad7640411f99f70f220f82ad49908. > > Reason for revert: Need to make change in google3 first > > Original change's description: > > Move GrGpuResource GrSurface and GrTexture into src. > > > > Must land https://chromium-review.googlesource.com/c/chromium/src/+/2087980 > > before this can land. > > > > Bug: skia:7966 > > Change-Id: I60bbb1765bfbb2c96b2bc0c9826b6b9d57eb2a03 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275077 > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com > > Change-Id: Id39e0a351e49a87209de88a6ad9fadb0219db72c > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:7966 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275216 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I746ce739cb084cefc46f9dab24ef773e7c3cc621 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:7966 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275436 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
2020-03-05 19:14:18 +00:00
"$_src/gpu/GrSurface.h",
"$_src/gpu/GrSurfaceInfo.cpp",
"$_src/gpu/GrSurfaceProxy.cpp",
"$_src/gpu/GrSurfaceProxy.h",
"$_src/gpu/GrSurfaceProxyPriv.h",
"$_src/gpu/GrSurfaceProxyView.h",
"$_src/gpu/GrSwizzle.cpp",
"$_src/gpu/GrSwizzle.h",
"$_src/gpu/GrTTopoSort.h",
"$_src/gpu/GrTestUtils.cpp",
"$_src/gpu/GrTestUtils.h",
"$_src/gpu/GrTexture.cpp",
Reland "Move GrGpuResource GrSurface and GrTexture into src." This reverts commit f6ed96d1c23b79130ca7344c984b07ef9d94fb7b. Reason for revert: google3 change landed Original change's description: > Revert "Move GrGpuResource GrSurface and GrTexture into src." > > This reverts commit e5a06ce678aad7640411f99f70f220f82ad49908. > > Reason for revert: Need to make change in google3 first > > Original change's description: > > Move GrGpuResource GrSurface and GrTexture into src. > > > > Must land https://chromium-review.googlesource.com/c/chromium/src/+/2087980 > > before this can land. > > > > Bug: skia:7966 > > Change-Id: I60bbb1765bfbb2c96b2bc0c9826b6b9d57eb2a03 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275077 > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com > > Change-Id: Id39e0a351e49a87209de88a6ad9fadb0219db72c > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:7966 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275216 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I746ce739cb084cefc46f9dab24ef773e7c3cc621 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:7966 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275436 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
2020-03-05 19:14:18 +00:00
"$_src/gpu/GrTexture.h",
"$_src/gpu/GrTextureProxy.cpp",
"$_src/gpu/GrTextureProxy.h",
"$_src/gpu/GrTextureProxyCacheAccess.h",
"$_src/gpu/GrTextureProxyPriv.h",
"$_src/gpu/GrTextureRenderTargetProxy.cpp",
"$_src/gpu/GrTextureRenderTargetProxy.h",
"$_src/gpu/GrTextureResolveManager.h",
"$_src/gpu/GrTextureResolveRenderTask.cpp",
"$_src/gpu/GrTextureResolveRenderTask.h",
"$_src/gpu/GrThreadSafeCache.cpp",
"$_src/gpu/GrThreadSafeCache.h",
"$_src/gpu/GrThreadSafePipelineBuilder.cpp",
"$_src/gpu/GrThreadSafePipelineBuilder.h",
"$_src/gpu/GrTracing.h",
"$_src/gpu/GrTransferFromRenderTask.cpp",
"$_src/gpu/GrTransferFromRenderTask.h",
"$_src/gpu/GrUniformDataManager.cpp",
"$_src/gpu/GrUniformDataManager.h",
"$_src/gpu/GrUserStencilSettings.h",
"$_src/gpu/GrUtil.cpp",
"$_src/gpu/GrUtil.h",
"$_src/gpu/GrVertexChunkArray.cpp",
"$_src/gpu/GrVertexChunkArray.h",
"$_src/gpu/GrVx.h",
"$_src/gpu/GrWaitRenderTask.cpp",
"$_src/gpu/GrWaitRenderTask.h",
"$_src/gpu/GrWindowRectangles.h",
"$_src/gpu/GrWindowRectsState.h",
Reland "Write pixels goes through GrRenderTask system." This reverts commit 1eea1ea8c16252a6eed9d02eb913925aa2989ae5. Reason for revert: fixed implicit copy cons Original change's description: > Revert "Write pixels goes through GrRenderTask system." > > This reverts commit 27efe6cb1ef8c75ed0bcafb3ffd5065ddc061fd6. > > Reason for revert: wasm compile > > Original change's description: > > Write pixels goes through GrRenderTask system. > > > > The specific motivation is to remove some uses of GrResourceProvider > > making textures with data in lazy callbacks. But it's a general > > improvement that could allow use cases like writePixels in DDL > > recordings. > > > > Bug: skia:11204 > > > > Change-Id: Ic55c3f75976a1d3a7d93981e21be75a3053ef069 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/356845 > > Reviewed-by: Adlai Holler <adlai@google.com> > > Commit-Queue: Brian Salomon <bsalomon@google.com> > > TBR=bsalomon@google.com,adlai@google.com > > Change-Id: I116caf1e4dd9015270b9d4f810bd26e0e30a6497 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:11204 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/359559 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> TBR=bsalomon@google.com,adlai@google.com # Not skipping CQ checks because this is a reland. Bug: skia:11204 Change-Id: I7d8f92415995f03301ffb147500d972e6bd17640 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/359561 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
2021-01-26 18:29:30 +00:00
"$_src/gpu/GrWritePixelsRenderTask.cpp",
"$_src/gpu/GrWritePixelsRenderTask.h",
"$_src/gpu/GrXferProcessor.cpp",
"$_src/gpu/GrXferProcessor.h",
"$_src/gpu/GrYUVABackendTextures.cpp",
"$_src/gpu/GrYUVATextureProxies.cpp",
"$_src/gpu/GrYUVATextureProxies.h",
"$_src/gpu/SurfaceContext.cpp",
"$_src/gpu/SurfaceContext.h",
"$_src/gpu/SurfaceFillContext.cpp",
"$_src/gpu/SurfaceFillContext.h",
# Ops
"$_src/gpu/effects/GrBezierEffect.cpp",
"$_src/gpu/effects/GrBezierEffect.h",
"$_src/gpu/effects/GrBicubicEffect.cpp",
"$_src/gpu/effects/GrBicubicEffect.h",
"$_src/gpu/effects/GrBitmapTextGeoProc.cpp",
"$_src/gpu/effects/GrBitmapTextGeoProc.h",
"$_src/gpu/effects/GrBlendFragmentProcessor.cpp",
"$_src/gpu/effects/GrBlendFragmentProcessor.h",
"$_src/gpu/effects/GrConvexPolyEffect.cpp",
"$_src/gpu/effects/GrConvexPolyEffect.h",
"$_src/gpu/effects/GrCoverageSetOpXP.cpp",
"$_src/gpu/effects/GrCoverageSetOpXP.h",
"$_src/gpu/effects/GrCustomXfermode.cpp",
"$_src/gpu/effects/GrCustomXfermode.h",
"$_src/gpu/effects/GrDisableColorXP.cpp",
"$_src/gpu/effects/GrDisableColorXP.h",
"$_src/gpu/effects/GrDistanceFieldGeoProc.cpp",
"$_src/gpu/effects/GrDistanceFieldGeoProc.h",
"$_src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp",
"$_src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h",
"$_src/gpu/effects/GrMatrixConvolutionEffect.cpp",
"$_src/gpu/effects/GrMatrixConvolutionEffect.h",
"$_src/gpu/effects/GrMatrixEffect.cpp",
"$_src/gpu/effects/GrMatrixEffect.h",
"$_src/gpu/effects/GrModulateAtlasCoverageEffect.cpp",
"$_src/gpu/effects/GrModulateAtlasCoverageEffect.h",
"$_src/gpu/effects/GrOvalEffect.cpp",
"$_src/gpu/effects/GrOvalEffect.h",
"$_src/gpu/effects/GrPorterDuffXferProcessor.cpp",
"$_src/gpu/effects/GrPorterDuffXferProcessor.h",
"$_src/gpu/effects/GrRRectEffect.cpp",
"$_src/gpu/effects/GrRRectEffect.h",
"$_src/gpu/effects/GrShadowGeoProc.cpp",
"$_src/gpu/effects/GrShadowGeoProc.h",
"$_src/gpu/effects/GrSkSLFP.cpp",
"$_src/gpu/effects/GrSkSLFP.h",
"$_src/gpu/effects/GrTextureEffect.cpp",
"$_src/gpu/effects/GrTextureEffect.h",
"$_src/gpu/effects/GrYUVtoRGBEffect.cpp",
"$_src/gpu/effects/GrYUVtoRGBEffect.h",
"$_src/gpu/geometry/GrAAConvexTessellator.cpp",
"$_src/gpu/geometry/GrAAConvexTessellator.h",
"$_src/gpu/geometry/GrAATriangulator.cpp",
"$_src/gpu/geometry/GrAATriangulator.h",
"$_src/gpu/geometry/GrInnerFanTriangulator.h",
"$_src/gpu/geometry/GrPathUtils.cpp",
"$_src/gpu/geometry/GrPathUtils.h",
"$_src/gpu/geometry/GrQuad.cpp",
"$_src/gpu/geometry/GrQuad.h",
"$_src/gpu/geometry/GrQuadBuffer.h",
"$_src/gpu/geometry/GrQuadUtils.cpp",
"$_src/gpu/geometry/GrQuadUtils.h",
"$_src/gpu/geometry/GrRect.h",
Reland "Refactor geometry union capabilities out of GrStyledShape" This reverts commit af312c9d404468b5ab3cd23f42d9dfdf27332420. Reason for revert: improved performance, updated empty point cap behavior to make chrome happy. Because of the performance regression in the original CL, this is a bit more to it than just updating cap behavior. Summary of changes for perf: 1. In asPath(), only call reset() if the type isn't a path or arc. Otherwise it was just a wasted realloc of an empty path ref. 2. Rewrote the GrShape::simplify() to not progress through every shape type in order, it just jumps to the appropriate type. 3. Have simplify() return whether or not the shape started out closed, so we don't have to call GrShape::closed(), which is costly when the shape is a path. 4. Expose the GrShape's type enum so GrStyledShape's key writing can use switches instead of a giant block of ifs (where path happened to be last) The regressions showed up most heavily on desk_mapsvg and desk_chalkboard SKPs on the Android skpbench marks. On my system, I was able to reproduce a similar %-regression from ToT and the original CL on the chalkboard (but not mapsvg). Master ranged between 5.1 and 5.3ms, original CL ranged from 5.6-5.8 and after the changes listed above, I got it down to 5.3-5.5. It's not ideal but I haven't been able to figure out anything more substantial that it could be. At this point it may just be code layout and/or the fact that it's now split into two types. Original change's description: > Revert "Refactor geometry union capabilities out of GrStyledShape" > > This reverts commit 2becdde0740b84eec7856c3f811fd7637e011191. > > Reason for revert: likely breaking cc unit test due to empty shape cap change. > > Original change's description: > > Refactor geometry union capabilities out of GrStyledShape > > > > The geometry union part of GrStyledShape is now held in GrShape. For the > > most part, GrShape is entirely style agnostic and focuses on storing > > the various types of geometry, and destructing them gracefully. It also > > provides a public API that unifies functionality across all shape types, > > such as contains() and bounds(). > > > > GrStyledShape now just owns a GrShape and a GrStyle, and handles the > > additional simplification logic that relies on knowing the effects of > > the style on the draw. This is where GrShape makes some allowances for > > style. Its simplify() function accepts flags that enable/disable various > > simplification optimizations. Currently these are designed around > > what is needed to respect path effects and stroking behaviors in > > GrStyledShape. The main other user of GrShape (the new clip stack) will > > always provide all flags since it treats every shape as if it were > > simply filled. > > > > Several other related refactorings were taken at the same time: > > 1. The implementations for asNestedRects, asRRect, etc. were moved out > > of the header and into the cpp file for GrStyledShape. > > 2. GrRenderTargetContext relies on GrStyledShape for its stroke rect > > fallbacks. > > 3. GrShape can hold points, lines, and rects explicitly. This let me > > simplify the stroke reasoning. > > > > Change-Id: I9fe75613fee51c30b4049b2b5a422daf80a1a86e > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/284803 > > Commit-Queue: Michael Ludwig <michaelludwig@google.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Reviewed-by: Chris Dalton <csmartdalton@google.com> > > TBR=bsalomon@google.com,csmartdalton@google.com,michaelludwig@google.com > > Change-Id: I2af5782e072e0ccb4a87f903bb88cbe335b9613f > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/286039 > Reviewed-by: Michael Ludwig <michaelludwig@google.com> > Commit-Queue: Michael Ludwig <michaelludwig@google.com> Change-Id: I8c614573582084f2e9ee0d73f93812e0a7c13983 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/286396 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2020-04-30 17:47:00 +00:00
"$_src/gpu/geometry/GrShape.cpp",
"$_src/gpu/geometry/GrShape.h",
Reland "Rename GrShape to GrStyledShape" This reverts commit 73b86c1ade1c002cfa4da66c33c25514737e2416. Reason for revert: wasn't the problem, relanding Original change's description: > Revert "Rename GrShape to GrStyledShape" > > This reverts commit f3f08af010eebdb9c1501bdf1b3d8e715298b05f. > > Reason for revert: maybe this is breaking the ios perf bot; it is the first CL that caused the bot to fail, but I can't really say why this would break them. > > Original change's description: > > Rename GrShape to GrStyledShape > > > > Change-Id: Ic457e634b4b95356f5615cff3fce1ca7d7677c26 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/284036 > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > Commit-Queue: Michael Ludwig <michaelludwig@google.com> > > TBR=bsalomon@google.com,robertphillips@google.com,michaelludwig@google.com > > # Not skipping CQ checks because original CL landed > 1 day ago. > > Change-Id: I2e5adbfc820811fbbde9cb57af28f86a7ba40bd9 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/284231 > Reviewed-by: Michael Ludwig <michaelludwig@google.com> > Commit-Queue: Michael Ludwig <michaelludwig@google.com> TBR=bsalomon@google.com,robertphillips@google.com,michaelludwig@google.com Change-Id: Ifdd52f8bacb5d66a7bf58efd328675c4c443ac8a No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/284376 Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2020-04-17 20:21:37 +00:00
"$_src/gpu/geometry/GrStyledShape.cpp",
"$_src/gpu/geometry/GrStyledShape.h",
"$_src/gpu/geometry/GrTriangulator.cpp",
"$_src/gpu/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/gradients/GrGradientBitmapCache.cpp",
"$_src/gpu/gradients/GrGradientBitmapCache.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
"$_src/gpu/gradients/GrGradientShader.cpp",
"$_src/gpu/gradients/GrGradientShader.h",
# tessellate
"$_src/gpu/tessellate/AffineMatrix.h",
"$_src/gpu/tessellate/PatchWriter.cpp",
"$_src/gpu/tessellate/PatchWriter.h",
"$_src/gpu/tessellate/PathCurveTessellator.cpp",
"$_src/gpu/tessellate/PathCurveTessellator.h",
"$_src/gpu/tessellate/PathTessellator.h",
"$_src/gpu/tessellate/PathWedgeTessellator.cpp",
"$_src/gpu/tessellate/PathWedgeTessellator.h",
"$_src/gpu/tessellate/StrokeFixedCountTessellator.cpp",
"$_src/gpu/tessellate/StrokeFixedCountTessellator.h",
"$_src/gpu/tessellate/StrokeHardwareTessellator.cpp",
"$_src/gpu/tessellate/StrokeHardwareTessellator.h",
"$_src/gpu/tessellate/StrokeIterator.h",
"$_src/gpu/tessellate/StrokeTessellator.h",
# tessellate/shaders
"$_src/gpu/tessellate/shaders/GrPathTessellationShader.cpp",
"$_src/gpu/tessellate/shaders/GrPathTessellationShader.h",
"$_src/gpu/tessellate/shaders/GrPathTessellationShader_Hardware.cpp",
"$_src/gpu/tessellate/shaders/GrPathTessellationShader_MiddleOut.cpp",
"$_src/gpu/tessellate/shaders/GrStrokeTessellationShader.cpp",
"$_src/gpu/tessellate/shaders/GrStrokeTessellationShader.h",
"$_src/gpu/tessellate/shaders/GrStrokeTessellationShader_HardwareImpl.cpp",
"$_src/gpu/tessellate/shaders/GrStrokeTessellationShader_InstancedImpl.cpp",
"$_src/gpu/tessellate/shaders/GrTessellationShader.cpp",
"$_src/gpu/tessellate/shaders/GrTessellationShader.h",
# text
"$_src/gpu/text/GrAtlasManager.cpp",
"$_src/gpu/text/GrAtlasManager.h",
"$_src/gpu/text/GrDistanceFieldAdjustTable.cpp",
"$_src/gpu/text/GrDistanceFieldAdjustTable.h",
"$_src/gpu/text/GrSDFMaskFilter.cpp",
"$_src/gpu/text/GrSDFMaskFilter.h",
"$_src/gpu/text/GrSDFTControl.cpp",
"$_src/gpu/text/GrSDFTControl.h",
"$_src/gpu/text/GrSlug.cpp",
"$_src/gpu/text/GrStrikeCache.cpp",
"$_src/gpu/text/GrStrikeCache.h",
"$_src/gpu/text/GrTextBlob.cpp",
"$_src/gpu/text/GrTextBlob.h",
"$_src/gpu/text/GrTextBlobRedrawCoordinator.cpp",
"$_src/gpu/text/GrTextBlobRedrawCoordinator.h",
# GLSL
"$_src/gpu/glsl/GrGLSL.cpp",
"$_src/gpu/glsl/GrGLSL.h",
"$_src/gpu/glsl/GrGLSLBlend.cpp",
"$_src/gpu/glsl/GrGLSLBlend.h",
"$_src/gpu/glsl/GrGLSLColorSpaceXformHelper.h",
"$_src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp",
"$_src/gpu/glsl/GrGLSLFragmentShaderBuilder.h",
"$_src/gpu/glsl/GrGLSLProgramBuilder.cpp",
"$_src/gpu/glsl/GrGLSLProgramBuilder.h",
"$_src/gpu/glsl/GrGLSLProgramDataManager.cpp",
"$_src/gpu/glsl/GrGLSLProgramDataManager.h",
"$_src/gpu/glsl/GrGLSLShaderBuilder.cpp",
"$_src/gpu/glsl/GrGLSLShaderBuilder.h",
"$_src/gpu/glsl/GrGLSLUniformHandler.cpp",
"$_src/gpu/glsl/GrGLSLUniformHandler.h",
"$_src/gpu/glsl/GrGLSLVarying.cpp",
"$_src/gpu/glsl/GrGLSLVarying.h",
"$_src/gpu/glsl/GrGLSLVertexGeoBuilder.cpp",
"$_src/gpu/glsl/GrGLSLVertexGeoBuilder.h",
# Mock
"$_include/gpu/mock/GrMockTypes.h",
"$_include/private/GrMockTypesPriv.h",
"$_src/gpu/mock/GrMockAttachment.h",
"$_src/gpu/mock/GrMockBuffer.h",
"$_src/gpu/mock/GrMockCaps.cpp",
"$_src/gpu/mock/GrMockCaps.h",
"$_src/gpu/mock/GrMockGpu.cpp",
"$_src/gpu/mock/GrMockGpu.h",
"$_src/gpu/mock/GrMockOpsRenderPass.h",
"$_src/gpu/mock/GrMockRenderTask.h",
"$_src/gpu/mock/GrMockSurfaceProxy.h",
"$_src/gpu/mock/GrMockTexture.h",
"$_src/gpu/mock/GrMockTypes.cpp",
# Sk files
"$_src/gpu/BaseDevice.cpp",
"$_src/gpu/BaseDevice.h",
"$_src/gpu/SkGr.cpp",
"$_src/gpu/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/gl/GrGLAssembleGLESInterfaceAutogen.cpp",
"$_src/gpu/gl/GrGLAssembleGLInterfaceAutogen.cpp",
"$_src/gpu/gl/GrGLAssembleHelpers.cpp",
"$_src/gpu/gl/GrGLAssembleInterface.cpp",
"$_src/gpu/gl/GrGLAssembleWebGLInterfaceAutogen.cpp",
"$_src/gpu/gl/GrGLAttachment.cpp",
"$_src/gpu/gl/GrGLAttachment.h",
"$_src/gpu/gl/GrGLBuffer.cpp",
"$_src/gpu/gl/GrGLBuffer.h",
"$_src/gpu/gl/GrGLCaps.cpp",
"$_src/gpu/gl/GrGLCaps.h",
"$_src/gpu/gl/GrGLContext.cpp",
"$_src/gpu/gl/GrGLContext.h",
"$_src/gpu/gl/GrGLDefines.h",
"$_src/gpu/gl/GrGLExtensions.cpp",
"$_src/gpu/gl/GrGLGLSL.cpp",
"$_src/gpu/gl/GrGLGLSL.h",
"$_src/gpu/gl/GrGLGpu.cpp",
"$_src/gpu/gl/GrGLGpu.h",
"$_src/gpu/gl/GrGLGpuProgramCache.cpp",
"$_src/gpu/gl/GrGLInterfaceAutogen.cpp",
"$_src/gpu/gl/GrGLOpsRenderPass.cpp",
"$_src/gpu/gl/GrGLOpsRenderPass.h",
"$_src/gpu/gl/GrGLProgram.cpp",
"$_src/gpu/gl/GrGLProgram.h",
"$_src/gpu/gl/GrGLProgramDataManager.cpp",
"$_src/gpu/gl/GrGLProgramDataManager.h",
"$_src/gpu/gl/GrGLRenderTarget.cpp",
"$_src/gpu/gl/GrGLRenderTarget.h",
"$_src/gpu/gl/GrGLSemaphore.cpp",
"$_src/gpu/gl/GrGLSemaphore.h",
"$_src/gpu/gl/GrGLTexture.cpp",
"$_src/gpu/gl/GrGLTexture.h",
"$_src/gpu/gl/GrGLTextureRenderTarget.cpp",
"$_src/gpu/gl/GrGLTextureRenderTarget.h",
"$_src/gpu/gl/GrGLTypesPriv.cpp",
"$_src/gpu/gl/GrGLUniformHandler.cpp",
"$_src/gpu/gl/GrGLUniformHandler.h",
"$_src/gpu/gl/GrGLUtil.cpp",
"$_src/gpu/gl/GrGLUtil.h",
"$_src/gpu/gl/GrGLVaryingHandler.h",
"$_src/gpu/gl/GrGLVertexArray.cpp",
"$_src/gpu/gl/GrGLVertexArray.h",
# Files for building GLSL shaders
"$_src/gpu/gl/builders/GrGLProgramBuilder.cpp",
"$_src/gpu/gl/builders/GrGLProgramBuilder.h",
"$_src/gpu/gl/builders/GrGLShaderStringBuilder.cpp",
"$_src/gpu/gl/builders/GrGLShaderStringBuilder.h",
]
skia_null_gpu_sources = [ "$_src/gpu/gl/GrGLMakeNativeInterface_none.cpp" ]
skia_skgpu_v1_sources = [
"$_src/gpu/GrAuditTrail.cpp",
"$_src/gpu/GrBlurUtils.cpp",
"$_src/gpu/GrBlurUtils.h",
"$_src/gpu/GrDrawOpTest.cpp",
"$_src/gpu/GrDrawOpTest.h",
# Ops
"$_src/gpu/ops/AAConvexPathRenderer.cpp",
"$_src/gpu/ops/AAConvexPathRenderer.h",
"$_src/gpu/ops/AAHairLinePathRenderer.cpp",
"$_src/gpu/ops/AAHairLinePathRenderer.h",
"$_src/gpu/ops/AALinearizingConvexPathRenderer.cpp",
"$_src/gpu/ops/AALinearizingConvexPathRenderer.h",
"$_src/gpu/ops/AtlasInstancedHelper.cpp",
"$_src/gpu/ops/AtlasInstancedHelper.h",
"$_src/gpu/ops/AtlasPathRenderer.cpp",
"$_src/gpu/ops/AtlasPathRenderer.h",
"$_src/gpu/ops/AtlasRenderTask.cpp",
"$_src/gpu/ops/AtlasRenderTask.h",
"$_src/gpu/ops/AtlasTextOp.cpp",
"$_src/gpu/ops/AtlasTextOp.h",
"$_src/gpu/ops/ClearOp.cpp",
"$_src/gpu/ops/ClearOp.h",
"$_src/gpu/ops/DashLinePathRenderer.cpp",
"$_src/gpu/ops/DashLinePathRenderer.h",
"$_src/gpu/ops/DashOp.cpp",
"$_src/gpu/ops/DashOp.h",
"$_src/gpu/ops/DefaultPathRenderer.cpp",
"$_src/gpu/ops/DefaultPathRenderer.h",
"$_src/gpu/ops/DrawAtlasOp.cpp",
"$_src/gpu/ops/DrawAtlasOp.h",
"$_src/gpu/ops/DrawAtlasPathOp.cpp",
"$_src/gpu/ops/DrawAtlasPathOp.h",
"$_src/gpu/ops/DrawCustomMeshOp.cpp",
"$_src/gpu/ops/DrawCustomMeshOp.h",
"$_src/gpu/ops/DrawableOp.cpp",
"$_src/gpu/ops/DrawableOp.h",
"$_src/gpu/ops/FillPathFlags.h",
"$_src/gpu/ops/FillRRectOp.cpp",
"$_src/gpu/ops/FillRRectOp.h",
"$_src/gpu/ops/FillRectOp.cpp",
"$_src/gpu/ops/FillRectOp.h",
"$_src/gpu/ops/GrDrawOp.h",
"$_src/gpu/ops/GrMeshDrawOp.cpp",
"$_src/gpu/ops/GrMeshDrawOp.h",
"$_src/gpu/ops/GrOp.cpp",
"$_src/gpu/ops/GrOp.h",
"$_src/gpu/ops/GrOvalOpFactory.cpp",
"$_src/gpu/ops/GrOvalOpFactory.h",
"$_src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp",
"$_src/gpu/ops/GrSimpleMeshDrawOpHelper.h",
"$_src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp",
"$_src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.h",
"$_src/gpu/ops/LatticeOp.cpp",
"$_src/gpu/ops/LatticeOp.h",
"$_src/gpu/ops/OpsTask.cpp",
"$_src/gpu/ops/OpsTask.h",
"$_src/gpu/ops/PathInnerTriangulateOp.cpp",
"$_src/gpu/ops/PathInnerTriangulateOp.h",
"$_src/gpu/ops/PathStencilCoverOp.cpp",
"$_src/gpu/ops/PathStencilCoverOp.h",
"$_src/gpu/ops/PathTessellateOp.cpp",
"$_src/gpu/ops/PathTessellateOp.h",
"$_src/gpu/ops/QuadPerEdgeAA.cpp",
"$_src/gpu/ops/QuadPerEdgeAA.h",
"$_src/gpu/ops/RegionOp.cpp",
"$_src/gpu/ops/RegionOp.h",
"$_src/gpu/ops/ShadowRRectOp.cpp",
"$_src/gpu/ops/ShadowRRectOp.h",
"$_src/gpu/ops/SmallPathAtlasMgr.cpp",
"$_src/gpu/ops/SmallPathAtlasMgr.h",
"$_src/gpu/ops/SmallPathRenderer.cpp",
"$_src/gpu/ops/SmallPathRenderer.h",
"$_src/gpu/ops/SmallPathShapeData.cpp",
"$_src/gpu/ops/SmallPathShapeData.h",
"$_src/gpu/ops/SoftwarePathRenderer.cpp",
"$_src/gpu/ops/SoftwarePathRenderer.h",
"$_src/gpu/ops/StrokeRectOp.cpp",
"$_src/gpu/ops/StrokeRectOp.h",
"$_src/gpu/ops/StrokeTessellateOp.cpp",
"$_src/gpu/ops/StrokeTessellateOp.h",
"$_src/gpu/ops/TessellationPathRenderer.cpp",
"$_src/gpu/ops/TessellationPathRenderer.h",
"$_src/gpu/ops/TextureOp.cpp",
"$_src/gpu/ops/TextureOp.h",
"$_src/gpu/ops/TriangulatingPathRenderer.cpp",
"$_src/gpu/ops/TriangulatingPathRenderer.h",
# v1
"$_src/gpu/v1/ClipStack.cpp",
"$_src/gpu/v1/ClipStack.h",
"$_src/gpu/v1/Device.cpp",
"$_src/gpu/v1/Device_drawTexture.cpp",
"$_src/gpu/v1/Device_v1.h",
"$_src/gpu/v1/PathRenderer.cpp",
"$_src/gpu/v1/PathRenderer.h",
"$_src/gpu/v1/PathRendererChain.cpp",
"$_src/gpu/v1/PathRendererChain.h",
"$_src/gpu/v1/StencilClip.h",
"$_src/gpu/v1/StencilMaskHelper.cpp",
"$_src/gpu/v1/StencilMaskHelper.h",
"$_src/gpu/v1/SurfaceDrawContext.cpp",
"$_src/gpu/v1/SurfaceDrawContext_v1.h",
"$_src/gpu/v1/SurfaceFillContext_v1.cpp",
"$_src/gpu/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/GrVkTypesPriv.h",
"$_src/gpu/vk/GrVkAMDMemoryAllocator.cpp",
"$_src/gpu/vk/GrVkAMDMemoryAllocator.h",
"$_src/gpu/vk/GrVkBuffer.cpp",
"$_src/gpu/vk/GrVkBuffer.h",
"$_src/gpu/vk/GrVkCaps.cpp",
"$_src/gpu/vk/GrVkCaps.h",
"$_src/gpu/vk/GrVkCommandBuffer.cpp",
"$_src/gpu/vk/GrVkCommandBuffer.h",
"$_src/gpu/vk/GrVkCommandPool.cpp",
"$_src/gpu/vk/GrVkCommandPool.h",
"$_src/gpu/vk/GrVkDescriptorPool.cpp",
"$_src/gpu/vk/GrVkDescriptorPool.h",
"$_src/gpu/vk/GrVkDescriptorSet.cpp",
"$_src/gpu/vk/GrVkDescriptorSet.h",
"$_src/gpu/vk/GrVkDescriptorSetManager.cpp",
"$_src/gpu/vk/GrVkDescriptorSetManager.h",
"$_src/gpu/vk/GrVkExtensions.cpp",
"$_src/gpu/vk/GrVkFramebuffer.cpp",
"$_src/gpu/vk/GrVkFramebuffer.h",
"$_src/gpu/vk/GrVkGpu.cpp",
"$_src/gpu/vk/GrVkGpu.h",
"$_src/gpu/vk/GrVkImage.cpp",
"$_src/gpu/vk/GrVkImage.h",
"$_src/gpu/vk/GrVkImageLayout.h",
"$_src/gpu/vk/GrVkImageView.cpp",
"$_src/gpu/vk/GrVkImageView.h",
"$_src/gpu/vk/GrVkInterface.cpp",
"$_src/gpu/vk/GrVkInterface.h",
"$_src/gpu/vk/GrVkMSAALoadManager.cpp",
"$_src/gpu/vk/GrVkMSAALoadManager.h",
"$_src/gpu/vk/GrVkManagedResource.h",
"$_src/gpu/vk/GrVkMemory.cpp",
"$_src/gpu/vk/GrVkMemory.h",
"$_src/gpu/vk/GrVkOpsRenderPass.cpp",
"$_src/gpu/vk/GrVkOpsRenderPass.h",
"$_src/gpu/vk/GrVkPipeline.cpp",
"$_src/gpu/vk/GrVkPipeline.h",
"$_src/gpu/vk/GrVkPipelineState.cpp",
"$_src/gpu/vk/GrVkPipelineState.h",
"$_src/gpu/vk/GrVkPipelineStateBuilder.cpp",
"$_src/gpu/vk/GrVkPipelineStateBuilder.h",
"$_src/gpu/vk/GrVkPipelineStateCache.cpp",
"$_src/gpu/vk/GrVkPipelineStateDataManager.cpp",
"$_src/gpu/vk/GrVkPipelineStateDataManager.h",
"$_src/gpu/vk/GrVkRenderPass.cpp",
"$_src/gpu/vk/GrVkRenderPass.h",
"$_src/gpu/vk/GrVkRenderTarget.cpp",
"$_src/gpu/vk/GrVkRenderTarget.h",
"$_src/gpu/vk/GrVkResourceProvider.cpp",
"$_src/gpu/vk/GrVkResourceProvider.h",
"$_src/gpu/vk/GrVkSampler.cpp",
"$_src/gpu/vk/GrVkSampler.h",
"$_src/gpu/vk/GrVkSamplerYcbcrConversion.cpp",
"$_src/gpu/vk/GrVkSamplerYcbcrConversion.h",
"$_src/gpu/vk/GrVkSecondaryCBDrawContext.cpp",
"$_src/gpu/vk/GrVkSecondaryCBDrawContext.h",
"$_src/gpu/vk/GrVkSemaphore.cpp",
"$_src/gpu/vk/GrVkSemaphore.h",
"$_src/gpu/vk/GrVkTexture.cpp",
"$_src/gpu/vk/GrVkTexture.h",
"$_src/gpu/vk/GrVkTextureRenderTarget.cpp",
"$_src/gpu/vk/GrVkTextureRenderTarget.h",
"$_src/gpu/vk/GrVkTypesPriv.cpp",
"$_src/gpu/vk/GrVkUniformHandler.cpp",
"$_src/gpu/vk/GrVkUniformHandler.h",
"$_src/gpu/vk/GrVkUtil.cpp",
"$_src/gpu/vk/GrVkUtil.h",
"$_src/gpu/vk/GrVkVaryingHandler.cpp",
"$_src/gpu/vk/GrVkVaryingHandler.h",
]
skia_direct3d_sources = [
"$_include/gpu/d3d/GrD3DBackendContext.h",
"$_include/gpu/d3d/GrD3DTypes.h",
"$_include/private/GrD3DTypesMinimal.h",
"$_src/gpu/d3d/GrD3DAMDMemoryAllocator.cpp",
"$_src/gpu/d3d/GrD3DAMDMemoryAllocator.h",
"$_src/gpu/d3d/GrD3DAttachment.cpp",
"$_src/gpu/d3d/GrD3DAttachment.h",
"$_src/gpu/d3d/GrD3DBuffer.cpp",
"$_src/gpu/d3d/GrD3DBuffer.h",
"$_src/gpu/d3d/GrD3DCaps.cpp",
"$_src/gpu/d3d/GrD3DCaps.h",
"$_src/gpu/d3d/GrD3DCommandList.cpp",
"$_src/gpu/d3d/GrD3DCommandList.h",
"$_src/gpu/d3d/GrD3DCommandSignature.cpp",
"$_src/gpu/d3d/GrD3DCommandSignature.h",
"$_src/gpu/d3d/GrD3DCpuDescriptorManager.cpp",
"$_src/gpu/d3d/GrD3DCpuDescriptorManager.h",
"$_src/gpu/d3d/GrD3DDescriptorHeap.cpp",
"$_src/gpu/d3d/GrD3DDescriptorHeap.h",
"$_src/gpu/d3d/GrD3DDescriptorTableManager.cpp",
"$_src/gpu/d3d/GrD3DDescriptorTableManager.h",
"$_src/gpu/d3d/GrD3DGpu.cpp",
"$_src/gpu/d3d/GrD3DGpu.h",
"$_src/gpu/d3d/GrD3DOpsRenderPass.cpp",
"$_src/gpu/d3d/GrD3DOpsRenderPass.h",
"$_src/gpu/d3d/GrD3DPipeline.h",
"$_src/gpu/d3d/GrD3DPipelineState.cpp",
"$_src/gpu/d3d/GrD3DPipelineState.h",
"$_src/gpu/d3d/GrD3DPipelineStateBuilder.cpp",
"$_src/gpu/d3d/GrD3DPipelineStateBuilder.h",
"$_src/gpu/d3d/GrD3DPipelineStateDataManager.cpp",
"$_src/gpu/d3d/GrD3DPipelineStateDataManager.h",
"$_src/gpu/d3d/GrD3DRenderTarget.cpp",
"$_src/gpu/d3d/GrD3DRenderTarget.h",
"$_src/gpu/d3d/GrD3DResourceProvider.cpp",
"$_src/gpu/d3d/GrD3DResourceProvider.h",
"$_src/gpu/d3d/GrD3DResourceState.h",
"$_src/gpu/d3d/GrD3DRootSignature.cpp",
"$_src/gpu/d3d/GrD3DRootSignature.h",
"$_src/gpu/d3d/GrD3DSemaphore.cpp",
"$_src/gpu/d3d/GrD3DSemaphore.h",
"$_src/gpu/d3d/GrD3DTexture.cpp",
"$_src/gpu/d3d/GrD3DTexture.h",
"$_src/gpu/d3d/GrD3DTextureRenderTarget.cpp",
"$_src/gpu/d3d/GrD3DTextureRenderTarget.h",
"$_src/gpu/d3d/GrD3DTextureResource.cpp",
"$_src/gpu/d3d/GrD3DTextureResource.h",
"$_src/gpu/d3d/GrD3DTypesMinimal.cpp",
"$_src/gpu/d3d/GrD3DTypesPriv.cpp",
"$_src/gpu/d3d/GrD3DTypesPriv.h",
"$_src/gpu/d3d/GrD3DUtil.cpp",
"$_src/gpu/d3d/GrD3DUtil.h",
]
skia_dawn_sources = [
"$_include/gpu/dawn/GrDawnTypes.h",
"$_include/private/GrDawnTypesPriv.h",
"$_src/gpu/dawn/GrDawnAttachment.cpp",
"$_src/gpu/dawn/GrDawnAttachment.h",
"$_src/gpu/dawn/GrDawnBuffer.cpp",
"$_src/gpu/dawn/GrDawnBuffer.h",
"$_src/gpu/dawn/GrDawnCaps.cpp",
"$_src/gpu/dawn/GrDawnCaps.h",
"$_src/gpu/dawn/GrDawnGpu.cpp",
"$_src/gpu/dawn/GrDawnGpu.h",
"$_src/gpu/dawn/GrDawnOpsRenderPass.cpp",
"$_src/gpu/dawn/GrDawnOpsRenderPass.h",
"$_src/gpu/dawn/GrDawnProgramBuilder.cpp",
"$_src/gpu/dawn/GrDawnProgramBuilder.h",
"$_src/gpu/dawn/GrDawnProgramDataManager.cpp",
"$_src/gpu/dawn/GrDawnProgramDataManager.h",
"$_src/gpu/dawn/GrDawnRenderTarget.cpp",
"$_src/gpu/dawn/GrDawnRenderTarget.h",
"$_src/gpu/dawn/GrDawnRingBuffer.cpp",
"$_src/gpu/dawn/GrDawnRingBuffer.h",
"$_src/gpu/dawn/GrDawnTexture.cpp",
"$_src/gpu/dawn/GrDawnTexture.h",
"$_src/gpu/dawn/GrDawnTextureRenderTarget.cpp",
"$_src/gpu/dawn/GrDawnTextureRenderTarget.h",
"$_src/gpu/dawn/GrDawnTypesPriv.cpp",
"$_src/gpu/dawn/GrDawnUtil.cpp",
"$_src/gpu/dawn/GrDawnUtil.h",
]
skia_metal_sources = [
"$_include/gpu/mtl/GrMtlBackendContext.h",
"$_include/gpu/mtl/GrMtlTypes.h",
"$_src/gpu/mtl/GrMtlAttachment.h",
"$_src/gpu/mtl/GrMtlAttachment.mm",
"$_src/gpu/mtl/GrMtlBuffer.h",
"$_src/gpu/mtl/GrMtlBuffer.mm",
"$_src/gpu/mtl/GrMtlCaps.h",
"$_src/gpu/mtl/GrMtlCaps.mm",
"$_src/gpu/mtl/GrMtlCommandBuffer.h",
"$_src/gpu/mtl/GrMtlCommandBuffer.mm",
"$_src/gpu/mtl/GrMtlCppUtil.h",
"$_src/gpu/mtl/GrMtlDepthStencil.h",
"$_src/gpu/mtl/GrMtlDepthStencil.mm",
"$_src/gpu/mtl/GrMtlFramebuffer.h",
"$_src/gpu/mtl/GrMtlFramebuffer.mm",
"$_src/gpu/mtl/GrMtlGpu.h",
"$_src/gpu/mtl/GrMtlGpu.mm",
"$_src/gpu/mtl/GrMtlOpsRenderPass.h",
"$_src/gpu/mtl/GrMtlOpsRenderPass.mm",
"$_src/gpu/mtl/GrMtlPipeline.h",
"$_src/gpu/mtl/GrMtlPipelineState.h",
"$_src/gpu/mtl/GrMtlPipelineState.mm",
"$_src/gpu/mtl/GrMtlPipelineStateBuilder.h",
"$_src/gpu/mtl/GrMtlPipelineStateBuilder.mm",
"$_src/gpu/mtl/GrMtlPipelineStateDataManager.h",
"$_src/gpu/mtl/GrMtlPipelineStateDataManager.mm",
"$_src/gpu/mtl/GrMtlRenderCommandEncoder.h",
"$_src/gpu/mtl/GrMtlRenderTarget.h",
"$_src/gpu/mtl/GrMtlRenderTarget.mm",
"$_src/gpu/mtl/GrMtlResourceProvider.h",
"$_src/gpu/mtl/GrMtlResourceProvider.mm",
"$_src/gpu/mtl/GrMtlSampler.h",
"$_src/gpu/mtl/GrMtlSampler.mm",
"$_src/gpu/mtl/GrMtlSemaphore.h",
"$_src/gpu/mtl/GrMtlSemaphore.mm",
"$_src/gpu/mtl/GrMtlTexture.h",
"$_src/gpu/mtl/GrMtlTexture.mm",
"$_src/gpu/mtl/GrMtlTextureRenderTarget.h",
"$_src/gpu/mtl/GrMtlTextureRenderTarget.mm",
"$_src/gpu/mtl/GrMtlTrampoline.h",
"$_src/gpu/mtl/GrMtlTrampoline.mm",
"$_src/gpu/mtl/GrMtlTypesPriv.mm",
"$_src/gpu/mtl/GrMtlUniformHandler.h",
"$_src/gpu/mtl/GrMtlUniformHandler.mm",
"$_src/gpu/mtl/GrMtlUtil.h",
"$_src/gpu/mtl/GrMtlUtil.mm",
"$_src/gpu/mtl/GrMtlVaryingHandler.h",
"$_src/gpu/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/gl/android/GrGLMakeNativeInterface_android.cpp",
"$_src/gpu/gl/egl/GrGLMakeEGLInterface.cpp",
"$_src/gpu/gl/egl/GrGLMakeNativeInterface_egl.cpp",
"$_src/gpu/gl/glx/GrGLMakeGLXInterface.cpp",
"$_src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp",
"$_src/gpu/gl/iOS/GrGLMakeNativeInterface_iOS.cpp",
"$_src/gpu/gl/mac/GrGLMakeNativeInterface_mac.cpp",
"$_src/gpu/gl/win/GrGLMakeNativeInterface_win.cpp",
]
skia_shared_gpu_sources = [
"$_include/gpu/ShaderErrorHandler.h",
"$_src/gpu/BufferWriter.h",
"$_src/gpu/KeyBuilder.h",
"$_src/gpu/ResourceKey.cpp",
"$_src/gpu/ResourceKey.h",
"$_src/gpu/ShaderErrorHandler.cpp",
# tessellate
"$_src/gpu/tessellate/CullTest.h",
"$_src/gpu/tessellate/MiddleOutPolygonTriangulator.h",
"$_src/gpu/tessellate/Tessellation.cpp",
"$_src/gpu/tessellate/Tessellation.h",
"$_src/gpu/tessellate/WangsFormula.h",
]