2016-10-26 21:54:36 +00:00
|
|
|
# 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 = [
|
2018-10-18 16:43:25 +00:00
|
|
|
"$_include/gpu/GrBackendDrawableInfo.h",
|
2017-06-16 13:45:32 +00:00
|
|
|
"$_include/gpu/GrBackendSemaphore.h",
|
2017-04-18 19:52:36 +00:00
|
|
|
"$_include/gpu/GrBackendSurface.h",
|
2020-05-29 16:11:05 +00:00
|
|
|
"$_include/gpu/GrBackendSurfaceMutableState.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_include/gpu/GrConfig.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_include/gpu/GrContextOptions.h",
|
2019-01-29 18:14:47 +00:00
|
|
|
"$_include/gpu/GrContextThreadSafeProxy.h",
|
2020-07-01 16:55:01 +00:00
|
|
|
"$_include/gpu/GrDirectContext.h",
|
2018-05-14 21:02:03 +00:00
|
|
|
"$_include/gpu/GrDriverBugWorkarounds.h",
|
2020-07-01 16:55:01 +00:00
|
|
|
"$_include/gpu/GrRecordingContext.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_include/gpu/GrTypes.h",
|
2020-10-19 14:55:45 +00:00
|
|
|
"$_include/gpu/GrYUVABackendTextures.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
|
|
|
|
# Private includes
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_include/private/GrContext_Base.h",
|
2019-06-04 19:58:31 +00:00
|
|
|
"$_include/private/GrGLTypesPriv.h",
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_include/private/GrImageContext.h",
|
2021-03-29 15:20:43 +00:00
|
|
|
"$_include/private/GrMtlTypesPriv.h",
|
2018-12-21 01:37:55 +00:00
|
|
|
"$_include/private/GrResourceKey.h",
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_include/private/GrSingleOwner.h",
|
2017-07-19 15:48:05 +00:00
|
|
|
"$_include/private/GrTypesPriv.h",
|
2021-01-06 07:35:20 +00:00
|
|
|
"$_src/gpu/GrAATriangulator.cpp",
|
|
|
|
"$_src/gpu/GrAATriangulator.h",
|
2020-03-17 14:14:48 +00:00
|
|
|
"$_src/gpu/GrAHardwareBufferImageGenerator.cpp",
|
|
|
|
"$_src/gpu/GrAHardwareBufferImageGenerator.h",
|
|
|
|
"$_src/gpu/GrAHardwareBufferUtils.cpp",
|
|
|
|
"$_src/gpu/GrAHardwareBufferUtils.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrAppliedClip.h",
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/GrAttachment.cpp",
|
|
|
|
"$_src/gpu/GrAttachment.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrAuditTrail.cpp",
|
|
|
|
"$_src/gpu/GrAuditTrail.h",
|
|
|
|
"$_src/gpu/GrAutoLocaleSetter.h",
|
2020-06-25 17:10:29 +00:00
|
|
|
"$_src/gpu/GrBackendSemaphore.cpp",
|
2017-04-18 19:52:36 +00:00
|
|
|
"$_src/gpu/GrBackendSurface.cpp",
|
2020-09-23 18:23:36 +00:00
|
|
|
"$_src/gpu/GrBackendSurfaceMutableState.cpp",
|
2020-05-29 16:11:05 +00:00
|
|
|
"$_src/gpu/GrBackendSurfaceMutableStateImpl.h",
|
2017-05-09 17:19:50 +00:00
|
|
|
"$_src/gpu/GrBackendTextureImageGenerator.cpp",
|
|
|
|
"$_src/gpu/GrBackendTextureImageGenerator.h",
|
2020-10-01 17:46:00 +00:00
|
|
|
"$_src/gpu/GrBackendUtils.cpp",
|
2020-06-12 20:58:17 +00:00
|
|
|
"$_src/gpu/GrBackendUtils.h",
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_src/gpu/GrBaseContextPriv.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrBlend.h",
|
2020-03-17 14:14:48 +00:00
|
|
|
"$_src/gpu/GrBlockAllocator.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrBlockAllocator.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrBlurUtils.cpp",
|
|
|
|
"$_src/gpu/GrBlurUtils.h",
|
2017-04-21 16:24:00 +00:00
|
|
|
"$_src/gpu/GrBuffer.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrBufferAllocPool.cpp",
|
|
|
|
"$_src/gpu/GrBufferAllocPool.h",
|
|
|
|
"$_src/gpu/GrCaps.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrCaps.h",
|
2019-10-03 17:26:54 +00:00
|
|
|
"$_src/gpu/GrClientMappedBufferManager.cpp",
|
|
|
|
"$_src/gpu/GrClientMappedBufferManager.h",
|
2017-03-09 14:03:58 +00:00
|
|
|
"$_src/gpu/GrClip.h",
|
New GrClipStack supporting only intersect/difference
Overview doc: https://docs.google.com/document/d/1ddIk74A1rL5Kj5kGcnInOYKVAXs3J2IsSgU5BLit0Ng/edit?usp=sharing
This is the new clip stack that will replace GrClipStackClip. The doc
link in the CL description has a much more detailed overview of what the
strategy of the new clip stack is, but at a very high level:
1. Add a temporary #define that lets SkGpuDevice switch between the old
stack and the new stack. For the new GrClipStack, it extends SkBaseDevice
directly and has to implement all of the device clipping virtuals.
- If you look from patchset 5 and earlier, the define defaults to on
so I can test it on the bots, etc. but the plan will be for it to
default to off when this lands so it's only running on unit tests.
Then in a follow up, I'll turn it on for our bots but keep it off in
chrome and android. If everything looks good, chrome can then be
turned on. There is a more extensive migration plan for android
because of the expanding clip ops, but that is covered at the end of
the overview doc.
2. GrClipStack manages save/restore logic of the stack and extends GrClip,
so the cpp file also includes code to apply a GrAppliedClip. At the moment
the apply strategy is as close to that in GrReducedClip and
GrClipStackClip as I could make it. Down the road, I think we can explore
other analytic coverage options and a clip atlas that replaces the unified
SW mask.
- Once GrClipStack is enabled everywhere, it means GrReducedClip and
GrClipStackClip can be deleted, so I'm not too worried about sharing
code between the two. A lot is already shared through the use of
GrSWMaskHelper and GrStencilMaskHelper.
- SkClipStack and SkClipStackDevice are still used by the PDF and SVG
backends, so they aren't necessarily deletable.
3. The GrClipStack only handles intersect and difference ops. It
represents all geometric clip operations as an element. The stack itself
is controlled by the "save record", which tracks aggregate bounds, valid
elements, and the non-geometric clip shader.
- When a new save record is pushed on the stack, older elements are
inactive. This means they cannot be modified, since they may need to
be activated again when the current save is popped off the stack.
However, they can still affect the clip during application.
- When a new element is pushed on the stack, older elements may be
invalidated. This means they don't need to be considered any more
because they are redundant with the new clip shape (e.g. nested round
rect clips only have to keep the innermost valid).
Bug: skia:10205
Change-Id: I68ccfd414033aa9014b102efaee3ad50a806f793
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308283
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-09-15 18:51:52 +00:00
|
|
|
"$_src/gpu/GrClipStack.cpp",
|
|
|
|
"$_src/gpu/GrClipStack.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrClipStackClip.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrClipStackClip.h",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrColor.h",
|
2019-09-30 19:12:27 +00:00
|
|
|
"$_src/gpu/GrColorInfo.cpp",
|
|
|
|
"$_src/gpu/GrColorInfo.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrColorSpaceXform.cpp",
|
2017-04-21 16:24:00 +00:00
|
|
|
"$_src/gpu/GrColorSpaceXform.h",
|
2019-01-29 18:14:47 +00:00
|
|
|
"$_src/gpu/GrContextThreadSafeProxy.cpp",
|
2018-05-10 16:57:17 +00:00
|
|
|
"$_src/gpu/GrContextThreadSafeProxyPriv.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrContext_Base.cpp",
|
2019-08-21 17:52:24 +00:00
|
|
|
"$_src/gpu/GrCopyRenderTask.cpp",
|
|
|
|
"$_src/gpu/GrCopyRenderTask.h",
|
2019-02-07 16:31:24 +00:00
|
|
|
"$_src/gpu/GrCpuBuffer.h",
|
2018-03-08 16:30:12 +00:00
|
|
|
"$_src/gpu/GrDDLContext.cpp",
|
2020-11-16 18:44:01 +00:00
|
|
|
"$_src/gpu/GrDDLTask.cpp",
|
|
|
|
"$_src/gpu/GrDDLTask.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrDataUtils.cpp",
|
|
|
|
"$_src/gpu/GrDataUtils.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrDefaultGeoProcFactory.cpp",
|
|
|
|
"$_src/gpu/GrDefaultGeoProcFactory.h",
|
2021-02-09 19:41:52 +00:00
|
|
|
"$_src/gpu/GrDeferredProxyUploader.h",
|
2017-10-30 13:37:55 +00:00
|
|
|
"$_src/gpu/GrDeferredUpload.h",
|
2020-06-30 13:27:52 +00:00
|
|
|
"$_src/gpu/GrDirectContext.cpp",
|
2020-10-14 15:23:11 +00:00
|
|
|
"$_src/gpu/GrDirectContextPriv.cpp",
|
|
|
|
"$_src/gpu/GrDirectContextPriv.h",
|
2017-01-10 02:39:43 +00:00
|
|
|
"$_src/gpu/GrDistanceFieldGenFromVector.cpp",
|
|
|
|
"$_src/gpu/GrDistanceFieldGenFromVector.h",
|
2021-02-08 03:56:36 +00:00
|
|
|
"$_src/gpu/GrDrawIndirectCommand.h",
|
2016-12-16 23:59:19 +00:00
|
|
|
"$_src/gpu/GrDrawOpAtlas.cpp",
|
|
|
|
"$_src/gpu/GrDrawOpAtlas.h",
|
2016-12-20 20:34:05 +00:00
|
|
|
"$_src/gpu/GrDrawOpTest.cpp",
|
|
|
|
"$_src/gpu/GrDrawOpTest.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrDrawingManager.cpp",
|
|
|
|
"$_src/gpu/GrDrawingManager.h",
|
2018-04-18 20:46:25 +00:00
|
|
|
"$_src/gpu/GrDriverBugWorkarounds.cpp",
|
2020-02-07 20:35:31 +00:00
|
|
|
"$_src/gpu/GrDynamicAtlas.cpp",
|
|
|
|
"$_src/gpu/GrDynamicAtlas.h",
|
2020-01-23 19:09:04 +00:00
|
|
|
"$_src/gpu/GrEagerVertexAllocator.h",
|
2020-04-16 18:14:13 +00:00
|
|
|
"$_src/gpu/GrFinishCallbacks.cpp",
|
|
|
|
"$_src/gpu/GrFinishCallbacks.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrFixedClip.cpp",
|
|
|
|
"$_src/gpu/GrFixedClip.h",
|
|
|
|
"$_src/gpu/GrFragmentProcessor.cpp",
|
2017-04-21 16:24:00 +00:00
|
|
|
"$_src/gpu/GrFragmentProcessor.h",
|
2021-03-22 18:48:09 +00:00
|
|
|
"$_src/gpu/GrGeometryProcessor.cpp",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrGeometryProcessor.h",
|
|
|
|
"$_src/gpu/GrGlyph.h",
|
|
|
|
"$_src/gpu/GrGpu.cpp",
|
|
|
|
"$_src/gpu/GrGpu.h",
|
2019-02-07 16:31:24 +00:00
|
|
|
"$_src/gpu/GrGpuBuffer.cpp",
|
|
|
|
"$_src/gpu/GrGpuBuffer.h",
|
2020-03-05 19:14:18 +00:00
|
|
|
"$_src/gpu/GrGpuResource.cpp",
|
|
|
|
"$_src/gpu/GrGpuResource.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrGpuResourceCacheAccess.h",
|
|
|
|
"$_src/gpu/GrGpuResourcePriv.h",
|
2020-06-29 20:04:57 +00:00
|
|
|
"$_src/gpu/GrHashMapWithCache.h",
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_src/gpu/GrImageContext.cpp",
|
|
|
|
"$_src/gpu/GrImageContextPriv.h",
|
2019-09-30 16:15:30 +00:00
|
|
|
"$_src/gpu/GrImageInfo.h",
|
2021-01-22 01:31:28 +00:00
|
|
|
"$_src/gpu/GrInnerFanTriangulator.h",
|
2020-03-10 20:23:16 +00:00
|
|
|
"$_src/gpu/GrManagedResource.cpp",
|
|
|
|
"$_src/gpu/GrManagedResource.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrMemoryPool.cpp",
|
|
|
|
"$_src/gpu/GrMemoryPool.h",
|
2019-09-05 08:30:04 +00:00
|
|
|
"$_src/gpu/GrNativeRect.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrNonAtomicRef.h",
|
2019-10-08 16:32:56 +00:00
|
|
|
"$_src/gpu/GrOnFlushResourceProvider.cpp",
|
|
|
|
"$_src/gpu/GrOnFlushResourceProvider.h",
|
2016-12-07 22:06:19 +00:00
|
|
|
"$_src/gpu/GrOpFlushState.cpp",
|
|
|
|
"$_src/gpu/GrOpFlushState.h",
|
2019-08-26 15:08:51 +00:00
|
|
|
"$_src/gpu/GrOpsRenderPass.cpp",
|
|
|
|
"$_src/gpu/GrOpsRenderPass.h",
|
2019-08-22 20:19:24 +00:00
|
|
|
"$_src/gpu/GrOpsTask.cpp",
|
|
|
|
"$_src/gpu/GrOpsTask.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrPaint.cpp",
|
2017-03-09 03:21:00 +00:00
|
|
|
"$_src/gpu/GrPaint.h",
|
2019-11-06 17:19:30 +00:00
|
|
|
"$_src/gpu/GrPathRenderer.cpp",
|
|
|
|
"$_src/gpu/GrPathRenderer.h",
|
2019-11-08 21:18:15 +00:00
|
|
|
"$_src/gpu/GrPathRendererChain.cpp",
|
|
|
|
"$_src/gpu/GrPathRendererChain.h",
|
2021-04-09 21:56:58 +00:00
|
|
|
"$_src/gpu/GrPersistentCacheUtils.cpp",
|
|
|
|
"$_src/gpu/GrPersistentCacheUtils.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrPipeline.cpp",
|
|
|
|
"$_src/gpu/GrPipeline.h",
|
2020-12-24 01:32:22 +00:00
|
|
|
"$_src/gpu/GrPixmap.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrProcessor.cpp",
|
2017-04-21 16:24:00 +00:00
|
|
|
"$_src/gpu/GrProcessor.h",
|
2017-03-30 12:21:32 +00:00
|
|
|
"$_src/gpu/GrProcessorAnalysis.cpp",
|
|
|
|
"$_src/gpu/GrProcessorAnalysis.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrProcessorSet.cpp",
|
|
|
|
"$_src/gpu/GrProcessorSet.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrProcessorUnitTest.cpp",
|
2017-04-21 16:24:00 +00:00
|
|
|
"$_src/gpu/GrProcessorUnitTest.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrProgramDesc.cpp",
|
|
|
|
"$_src/gpu/GrProgramDesc.h",
|
|
|
|
"$_src/gpu/GrProgramInfo.cpp",
|
|
|
|
"$_src/gpu/GrProgramInfo.h",
|
2018-01-08 18:40:32 +00:00
|
|
|
"$_src/gpu/GrProxyProvider.cpp",
|
|
|
|
"$_src/gpu/GrProxyProvider.h",
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_src/gpu/GrRecordingContext.cpp",
|
2020-07-15 19:11:09 +00:00
|
|
|
"$_src/gpu/GrRecordingContextPriv.cpp",
|
2019-01-30 18:08:28 +00:00
|
|
|
"$_src/gpu/GrRecordingContextPriv.h",
|
2020-05-19 17:57:53 +00:00
|
|
|
"$_src/gpu/GrRectanizer.h",
|
|
|
|
"$_src/gpu/GrRectanizerPow2.cpp",
|
|
|
|
"$_src/gpu/GrRectanizerPow2.h",
|
2020-01-22 23:09:16 +00:00
|
|
|
"$_src/gpu/GrRectanizerSkyline.cpp",
|
|
|
|
"$_src/gpu/GrRectanizerSkyline.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrReducedClip.cpp",
|
|
|
|
"$_src/gpu/GrReducedClip.h",
|
2021-01-06 16:34:15 +00:00
|
|
|
"$_src/gpu/GrRefCnt.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrRenderTarget.cpp",
|
2019-08-14 21:00:30 +00:00
|
|
|
"$_src/gpu/GrRenderTarget.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrRenderTargetProxy.cpp",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrRenderTargetProxy.h",
|
2019-08-01 20:14:52 +00:00
|
|
|
"$_src/gpu/GrRenderTask.cpp",
|
|
|
|
"$_src/gpu/GrRenderTask.h",
|
2021-01-20 22:44:15 +00:00
|
|
|
"$_src/gpu/GrRenderTaskCluster.cpp",
|
|
|
|
"$_src/gpu/GrRenderTaskCluster.h",
|
2017-07-18 18:49:38 +00:00
|
|
|
"$_src/gpu/GrResourceAllocator.cpp",
|
|
|
|
"$_src/gpu/GrResourceAllocator.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrResourceCache.cpp",
|
|
|
|
"$_src/gpu/GrResourceCache.h",
|
|
|
|
"$_src/gpu/GrResourceHandle.h",
|
|
|
|
"$_src/gpu/GrResourceProvider.cpp",
|
|
|
|
"$_src/gpu/GrResourceProvider.h",
|
2018-01-05 17:56:15 +00:00
|
|
|
"$_src/gpu/GrResourceProviderPriv.h",
|
2020-06-01 15:34:49 +00:00
|
|
|
"$_src/gpu/GrRingBuffer.cpp",
|
|
|
|
"$_src/gpu/GrRingBuffer.h",
|
2020-04-23 17:22:47 +00:00
|
|
|
"$_src/gpu/GrSPIRVUniformHandler.cpp",
|
|
|
|
"$_src/gpu/GrSPIRVUniformHandler.h",
|
|
|
|
"$_src/gpu/GrSPIRVVaryingHandler.cpp",
|
|
|
|
"$_src/gpu/GrSPIRVVaryingHandler.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrSWMaskHelper.cpp",
|
|
|
|
"$_src/gpu/GrSWMaskHelper.h",
|
2019-08-14 21:00:30 +00:00
|
|
|
"$_src/gpu/GrSamplerState.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrScissorState.h",
|
2017-03-01 22:01:09 +00:00
|
|
|
"$_src/gpu/GrSemaphore.h",
|
2016-11-29 18:43:05 +00:00
|
|
|
"$_src/gpu/GrShaderCaps.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrShaderCaps.h",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrShaderUtils.cpp",
|
|
|
|
"$_src/gpu/GrShaderUtils.h",
|
|
|
|
"$_src/gpu/GrShaderVar.cpp",
|
|
|
|
"$_src/gpu/GrShaderVar.h",
|
2020-03-16 15:25:50 +00:00
|
|
|
"$_src/gpu/GrSimpleMesh.h",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrSoftwarePathRenderer.cpp",
|
|
|
|
"$_src/gpu/GrSoftwarePathRenderer.h",
|
2020-07-15 13:17:59 +00:00
|
|
|
"$_src/gpu/GrStagingBufferManager.cpp",
|
|
|
|
"$_src/gpu/GrStagingBufferManager.h",
|
2017-11-07 20:35:22 +00:00
|
|
|
"$_src/gpu/GrStencilClip.h",
|
2020-05-12 17:15:35 +00:00
|
|
|
"$_src/gpu/GrStencilMaskHelper.cpp",
|
|
|
|
"$_src/gpu/GrStencilMaskHelper.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrStencilSettings.cpp",
|
|
|
|
"$_src/gpu/GrStencilSettings.h",
|
|
|
|
"$_src/gpu/GrStyle.cpp",
|
|
|
|
"$_src/gpu/GrStyle.h",
|
2021-04-16 13:07:24 +00:00
|
|
|
"$_src/gpu/GrSubRunAllocator.cpp",
|
|
|
|
"$_src/gpu/GrSubRunAllocator.h",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrSurface.cpp",
|
2020-03-05 19:14:18 +00:00
|
|
|
"$_src/gpu/GrSurface.h",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrSurfaceContext.cpp",
|
|
|
|
"$_src/gpu/GrSurfaceContext.h",
|
2020-12-09 21:37:04 +00:00
|
|
|
"$_src/gpu/GrSurfaceDrawContext.cpp",
|
|
|
|
"$_src/gpu/GrSurfaceDrawContext.h",
|
2020-12-16 16:44:47 +00:00
|
|
|
"$_src/gpu/GrSurfaceFillContext.cpp",
|
|
|
|
"$_src/gpu/GrSurfaceFillContext.h",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrSurfaceProxy.cpp",
|
|
|
|
"$_src/gpu/GrSurfaceProxy.h",
|
2017-01-25 20:48:30 +00:00
|
|
|
"$_src/gpu/GrSurfaceProxyPriv.h",
|
2019-10-22 13:33:25 +00:00
|
|
|
"$_src/gpu/GrSurfaceProxyView.h",
|
2019-06-11 19:55:30 +00:00
|
|
|
"$_src/gpu/GrSwizzle.cpp",
|
2019-06-17 17:54:57 +00:00
|
|
|
"$_src/gpu/GrSwizzle.h",
|
2020-07-22 20:36:49 +00:00
|
|
|
"$_src/gpu/GrTBlockList.h",
|
2020-11-16 19:58:56 +00:00
|
|
|
"$_src/gpu/GrTTopoSort.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrTestUtils.cpp",
|
2017-04-21 16:24:00 +00:00
|
|
|
"$_src/gpu/GrTestUtils.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrTexture.cpp",
|
2020-03-05 19:14:18 +00:00
|
|
|
"$_src/gpu/GrTexture.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrTextureProxy.cpp",
|
2019-06-18 13:58:02 +00:00
|
|
|
"$_src/gpu/GrTextureProxy.h",
|
|
|
|
"$_src/gpu/GrTextureProxyCacheAccess.h",
|
2021-02-09 19:41:52 +00:00
|
|
|
"$_src/gpu/GrTextureProxyPriv.h",
|
2016-11-04 15:59:10 +00:00
|
|
|
"$_src/gpu/GrTextureRenderTargetProxy.cpp",
|
2017-04-24 12:13:59 +00:00
|
|
|
"$_src/gpu/GrTextureRenderTargetProxy.h",
|
2019-08-05 22:13:47 +00:00
|
|
|
"$_src/gpu/GrTextureResolveManager.h",
|
2019-08-14 15:24:37 +00:00
|
|
|
"$_src/gpu/GrTextureResolveRenderTask.cpp",
|
|
|
|
"$_src/gpu/GrTextureResolveRenderTask.h",
|
2020-10-08 15:00:02 +00:00
|
|
|
"$_src/gpu/GrThreadSafeCache.cpp",
|
|
|
|
"$_src/gpu/GrThreadSafeCache.h",
|
2021-03-03 16:03:38 +00:00
|
|
|
"$_src/gpu/GrThreadSafePipelineBuilder.cpp",
|
|
|
|
"$_src/gpu/GrThreadSafePipelineBuilder.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/GrTracing.h",
|
|
|
|
"$_src/gpu/GrTransferFromRenderTask.cpp",
|
|
|
|
"$_src/gpu/GrTransferFromRenderTask.h",
|
|
|
|
"$_src/gpu/GrTriangulator.cpp",
|
|
|
|
"$_src/gpu/GrTriangulator.h",
|
2020-05-19 15:40:31 +00:00
|
|
|
"$_src/gpu/GrUniformDataManager.cpp",
|
|
|
|
"$_src/gpu/GrUniformDataManager.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrUserStencilSettings.h",
|
2020-08-03 14:52:54 +00:00
|
|
|
"$_src/gpu/GrUtil.cpp",
|
|
|
|
"$_src/gpu/GrUtil.h",
|
2021-03-31 16:40:29 +00:00
|
|
|
"$_src/gpu/GrVertexChunkArray.h",
|
2021-02-08 04:10:32 +00:00
|
|
|
"$_src/gpu/GrVertexWriter.h",
|
2020-11-02 17:52:26 +00:00
|
|
|
"$_src/gpu/GrVx.h",
|
2019-09-06 19:28:58 +00:00
|
|
|
"$_src/gpu/GrWaitRenderTask.cpp",
|
|
|
|
"$_src/gpu/GrWaitRenderTask.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrWindowRectangles.h",
|
|
|
|
"$_src/gpu/GrWindowRectsState.h",
|
2021-01-26 18:29:30 +00:00
|
|
|
"$_src/gpu/GrWritePixelsRenderTask.cpp",
|
|
|
|
"$_src/gpu/GrWritePixelsRenderTask.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/GrXferProcessor.cpp",
|
2017-02-21 21:32:20 +00:00
|
|
|
"$_src/gpu/GrXferProcessor.h",
|
2020-10-19 14:55:45 +00:00
|
|
|
"$_src/gpu/GrYUVABackendTextures.cpp",
|
2021-01-13 20:54:04 +00:00
|
|
|
"$_src/gpu/GrYUVATextureProxies.cpp",
|
|
|
|
"$_src/gpu/GrYUVATextureProxies.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
|
2016-12-16 14:52:16 +00:00
|
|
|
# Ops
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_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",
|
2020-07-23 15:35:08 +00:00
|
|
|
"$_src/gpu/effects/GrBlendFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/GrBlendFragmentProcessor.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_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",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/effects/GrDisableColorXP.cpp",
|
|
|
|
"$_src/gpu/effects/GrDisableColorXP.h",
|
|
|
|
"$_src/gpu/effects/GrDistanceFieldGeoProc.cpp",
|
|
|
|
"$_src/gpu/effects/GrDistanceFieldGeoProc.h",
|
2017-01-24 17:29:36 +00:00
|
|
|
"$_src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h",
|
2017-12-13 19:36:14 +00:00
|
|
|
"$_src/gpu/effects/GrMatrixConvolutionEffect.cpp",
|
|
|
|
"$_src/gpu/effects/GrMatrixConvolutionEffect.h",
|
2020-05-29 20:44:26 +00:00
|
|
|
"$_src/gpu/effects/GrMatrixEffect.cpp",
|
|
|
|
"$_src/gpu/effects/GrMatrixEffect.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/effects/GrOvalEffect.cpp",
|
|
|
|
"$_src/gpu/effects/GrOvalEffect.h",
|
|
|
|
"$_src/gpu/effects/GrPorterDuffXferProcessor.cpp",
|
2017-02-21 21:32:20 +00:00
|
|
|
"$_src/gpu/effects/GrPorterDuffXferProcessor.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/effects/GrRRectEffect.cpp",
|
|
|
|
"$_src/gpu/effects/GrRRectEffect.h",
|
2016-11-17 20:27:09 +00:00
|
|
|
"$_src/gpu/effects/GrShadowGeoProc.cpp",
|
|
|
|
"$_src/gpu/effects/GrShadowGeoProc.h",
|
2018-07-31 13:44:36 +00:00
|
|
|
"$_src/gpu/effects/GrSkSLFP.cpp",
|
|
|
|
"$_src/gpu/effects/GrSkSLFP.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/effects/GrTextureEffect.cpp",
|
|
|
|
"$_src/gpu/effects/GrTextureEffect.h",
|
2017-12-21 19:18:01 +00:00
|
|
|
"$_src/gpu/effects/GrYUVtoRGBEffect.cpp",
|
|
|
|
"$_src/gpu/effects/GrYUVtoRGBEffect.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/effects/generated/GrAARectEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrAARectEffect.h",
|
|
|
|
"$_src/gpu/effects/generated/GrAlphaThresholdFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrAlphaThresholdFragmentProcessor.h",
|
2020-07-09 21:13:13 +00:00
|
|
|
"$_src/gpu/effects/generated/GrArithmeticProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrArithmeticProcessor.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/effects/generated/GrBlurredEdgeFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrBlurredEdgeFragmentProcessor.h",
|
|
|
|
"$_src/gpu/effects/generated/GrCircleBlurFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrCircleBlurFragmentProcessor.h",
|
|
|
|
"$_src/gpu/effects/generated/GrCircleEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrCircleEffect.h",
|
2020-01-22 15:39:31 +00:00
|
|
|
"$_src/gpu/effects/generated/GrClampFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrClampFragmentProcessor.h",
|
2019-05-31 13:24:40 +00:00
|
|
|
"$_src/gpu/effects/generated/GrColorMatrixFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrColorMatrixFragmentProcessor.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/effects/generated/GrConfigConversionEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrConfigConversionEffect.h",
|
2020-02-26 18:28:42 +00:00
|
|
|
"$_src/gpu/effects/generated/GrDeviceSpaceEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrDeviceSpaceEffect.h",
|
2020-07-09 19:29:33 +00:00
|
|
|
"$_src/gpu/effects/generated/GrDitherEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrDitherEffect.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/effects/generated/GrEllipseEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrEllipseEffect.h",
|
2019-10-23 15:44:22 +00:00
|
|
|
"$_src/gpu/effects/generated/GrHSLToRGBFilterEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrHSLToRGBFilterEffect.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/effects/generated/GrMagnifierEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrMagnifierEffect.h",
|
2019-04-10 19:02:11 +00:00
|
|
|
"$_src/gpu/effects/generated/GrOverrideInputFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrOverrideInputFragmentProcessor.h",
|
2019-10-23 15:44:22 +00:00
|
|
|
"$_src/gpu/effects/generated/GrRGBToHSLFilterEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrRGBToHSLFilterEffect.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/effects/generated/GrRRectBlurEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrRRectBlurEffect.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/effects/generated/GrRectBlurEffect.cpp",
|
|
|
|
"$_src/gpu/effects/generated/GrRectBlurEffect.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",
|
2020-04-17 20:21:37 +00:00
|
|
|
"$_src/gpu/geometry/GrStyledShape.cpp",
|
|
|
|
"$_src/gpu/geometry/GrStyledShape.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/ops/GrAAConvexPathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrAAConvexPathRenderer.h",
|
|
|
|
"$_src/gpu/ops/GrAAConvexTessellator.cpp",
|
|
|
|
"$_src/gpu/ops/GrAAConvexTessellator.h",
|
|
|
|
"$_src/gpu/ops/GrAAHairLinePathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrAAHairLinePathRenderer.h",
|
|
|
|
"$_src/gpu/ops/GrAALinearizingConvexPathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrAALinearizingConvexPathRenderer.h",
|
|
|
|
"$_src/gpu/ops/GrAtlasTextOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrAtlasTextOp.h",
|
|
|
|
"$_src/gpu/ops/GrClearOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrClearOp.h",
|
|
|
|
"$_src/gpu/ops/GrDashLinePathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrDashLinePathRenderer.h",
|
|
|
|
"$_src/gpu/ops/GrDashOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrDashOp.h",
|
|
|
|
"$_src/gpu/ops/GrDefaultPathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrDefaultPathRenderer.h",
|
|
|
|
"$_src/gpu/ops/GrDrawAtlasOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrDrawAtlasOp.h",
|
|
|
|
"$_src/gpu/ops/GrDrawOp.h",
|
|
|
|
"$_src/gpu/ops/GrDrawVerticesOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrDrawVerticesOp.h",
|
|
|
|
"$_src/gpu/ops/GrDrawableOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrDrawableOp.h",
|
|
|
|
"$_src/gpu/ops/GrFillRRectOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrFillRRectOp.h",
|
|
|
|
"$_src/gpu/ops/GrFillRectOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrFillRectOp.h",
|
|
|
|
"$_src/gpu/ops/GrLatticeOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrLatticeOp.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/GrQuadPerEdgeAA.cpp",
|
|
|
|
"$_src/gpu/ops/GrQuadPerEdgeAA.h",
|
|
|
|
"$_src/gpu/ops/GrRegionOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrRegionOp.h",
|
|
|
|
"$_src/gpu/ops/GrShadowRRectOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrShadowRRectOp.h",
|
|
|
|
"$_src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp",
|
|
|
|
"$_src/gpu/ops/GrSimpleMeshDrawOpHelper.h",
|
|
|
|
"$_src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp",
|
|
|
|
"$_src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.h",
|
2020-08-10 17:08:12 +00:00
|
|
|
"$_src/gpu/ops/GrSmallPathAtlasMgr.cpp",
|
|
|
|
"$_src/gpu/ops/GrSmallPathAtlasMgr.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/ops/GrSmallPathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrSmallPathRenderer.h",
|
2020-08-10 18:46:42 +00:00
|
|
|
"$_src/gpu/ops/GrSmallPathShapeData.cpp",
|
2020-08-05 19:54:31 +00:00
|
|
|
"$_src/gpu/ops/GrSmallPathShapeData.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/ops/GrStrokeRectOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrStrokeRectOp.h",
|
|
|
|
"$_src/gpu/ops/GrTextureOp.cpp",
|
|
|
|
"$_src/gpu/ops/GrTextureOp.h",
|
|
|
|
"$_src/gpu/ops/GrTriangulatingPathRenderer.cpp",
|
|
|
|
"$_src/gpu/ops/GrTriangulatingPathRenderer.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
|
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
|
2018-09-14 13:47:21 +00:00
|
|
|
"$_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",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gradients/generated/GrClampedGradientEffect.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrClampedGradientEffect.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/gradients/generated/GrDualIntervalGradientColorizer.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrDualIntervalGradientColorizer.h",
|
|
|
|
"$_src/gpu/gradients/generated/GrLinearGradientLayout.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrLinearGradientLayout.h",
|
|
|
|
"$_src/gpu/gradients/generated/GrRadialGradientLayout.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrRadialGradientLayout.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gradients/generated/GrSingleIntervalGradientColorizer.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrSingleIntervalGradientColorizer.h",
|
2019-04-10 16:06:19 +00:00
|
|
|
"$_src/gpu/gradients/generated/GrSweepGradientLayout.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrSweepGradientLayout.h",
|
|
|
|
"$_src/gpu/gradients/generated/GrTiledGradientEffect.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrTiledGradientEffect.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gradients/generated/GrTwoPointConicalGradientLayout.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrTwoPointConicalGradientLayout.h",
|
|
|
|
"$_src/gpu/gradients/generated/GrUnrolledBinaryGradientColorizer.cpp",
|
|
|
|
"$_src/gpu/gradients/generated/GrUnrolledBinaryGradientColorizer.h",
|
2020-04-28 05:40:03 +00:00
|
|
|
|
|
|
|
# tessellate
|
2020-02-10 18:06:42 +00:00
|
|
|
"$_src/gpu/tessellate/GrDrawAtlasPathOp.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrDrawAtlasPathOp.h",
|
2020-01-29 20:16:14 +00:00
|
|
|
"$_src/gpu/tessellate/GrFillPathShader.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrFillPathShader.h",
|
2020-04-28 05:40:03 +00:00
|
|
|
"$_src/gpu/tessellate/GrMiddleOutPolygonTriangulator.h",
|
2020-04-22 22:24:43 +00:00
|
|
|
"$_src/gpu/tessellate/GrMidpointContourParser.h",
|
2021-01-28 00:59:45 +00:00
|
|
|
"$_src/gpu/tessellate/GrPathInnerTriangulateOp.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrPathInnerTriangulateOp.h",
|
2020-01-29 20:16:14 +00:00
|
|
|
"$_src/gpu/tessellate/GrPathShader.h",
|
2021-01-15 20:12:50 +00:00
|
|
|
"$_src/gpu/tessellate/GrPathTessellator.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrPathTessellator.h",
|
2020-01-21 18:19:26 +00:00
|
|
|
"$_src/gpu/tessellate/GrStencilPathShader.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrStencilPathShader.h",
|
2021-04-20 06:45:50 +00:00
|
|
|
"$_src/gpu/tessellate/GrStrokeFixedCountTessellator.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrStrokeFixedCountTessellator.h",
|
2021-02-04 16:47:40 +00:00
|
|
|
"$_src/gpu/tessellate/GrStrokeHardwareTessellator.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrStrokeHardwareTessellator.h",
|
|
|
|
"$_src/gpu/tessellate/GrStrokeIndirectTessellator.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrStrokeIndirectTessellator.h",
|
2020-12-09 23:46:22 +00:00
|
|
|
"$_src/gpu/tessellate/GrStrokeIterator.h",
|
2021-02-04 07:24:52 +00:00
|
|
|
"$_src/gpu/tessellate/GrStrokeTessellateOp.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrStrokeTessellateOp.h",
|
2020-07-31 01:50:46 +00:00
|
|
|
"$_src/gpu/tessellate/GrStrokeTessellateShader.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrStrokeTessellateShader.h",
|
2021-03-30 16:59:34 +00:00
|
|
|
"$_src/gpu/tessellate/GrStrokeTessellator.h",
|
2021-01-28 00:45:52 +00:00
|
|
|
"$_src/gpu/tessellate/GrTessellatingStencilFillOp.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrTessellatingStencilFillOp.h",
|
2020-03-26 17:52:15 +00:00
|
|
|
"$_src/gpu/tessellate/GrTessellationPathRenderer.cpp",
|
|
|
|
"$_src/gpu/tessellate/GrTessellationPathRenderer.h",
|
2020-05-14 01:18:46 +00:00
|
|
|
"$_src/gpu/tessellate/GrVectorXform.h",
|
|
|
|
"$_src/gpu/tessellate/GrWangsFormula.h",
|
2020-01-07 02:49:37 +00:00
|
|
|
|
2016-10-26 21:54:36 +00:00
|
|
|
# text
|
2018-03-01 16:36:45 +00:00
|
|
|
"$_src/gpu/text/GrAtlasManager.cpp",
|
|
|
|
"$_src/gpu/text/GrAtlasManager.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/text/GrDistanceFieldAdjustTable.cpp",
|
|
|
|
"$_src/gpu/text/GrDistanceFieldAdjustTable.h",
|
2018-05-03 14:40:30 +00:00
|
|
|
"$_src/gpu/text/GrSDFMaskFilter.cpp",
|
|
|
|
"$_src/gpu/text/GrSDFMaskFilter.h",
|
2021-03-04 15:13:22 +00:00
|
|
|
"$_src/gpu/text/GrSDFTControl.cpp",
|
|
|
|
"$_src/gpu/text/GrSDFTControl.h",
|
2019-01-16 18:46:02 +00:00
|
|
|
"$_src/gpu/text/GrStrikeCache.cpp",
|
|
|
|
"$_src/gpu/text/GrStrikeCache.h",
|
2018-05-24 20:12:31 +00:00
|
|
|
"$_src/gpu/text/GrTextBlob.cpp",
|
|
|
|
"$_src/gpu/text/GrTextBlob.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/text/GrTextBlobCache.cpp",
|
|
|
|
"$_src/gpu/text/GrTextBlobCache.h",
|
|
|
|
|
|
|
|
# GLSL
|
|
|
|
"$_src/gpu/glsl/GrGLSL.cpp",
|
2018-06-19 20:28:41 +00:00
|
|
|
"$_src/gpu/glsl/GrGLSL.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/glsl/GrGLSLBlend.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLBlend.h",
|
|
|
|
"$_src/gpu/glsl/GrGLSLColorSpaceXformHelper.h",
|
|
|
|
"$_src/gpu/glsl/GrGLSLFragmentProcessor.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLFragmentProcessor.h",
|
|
|
|
"$_src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLFragmentShaderBuilder.h",
|
|
|
|
"$_src/gpu/glsl/GrGLSLGeometryProcessor.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLGeometryProcessor.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",
|
2020-04-14 13:54:02 +00:00
|
|
|
"$_src/gpu/glsl/GrGLSLUniformHandler.cpp",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/glsl/GrGLSLUniformHandler.h",
|
|
|
|
"$_src/gpu/glsl/GrGLSLVarying.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLVarying.h",
|
2017-10-24 16:59:03 +00:00
|
|
|
"$_src/gpu/glsl/GrGLSLVertexGeoBuilder.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLVertexGeoBuilder.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/glsl/GrGLSLXferProcessor.cpp",
|
|
|
|
"$_src/gpu/glsl/GrGLSLXferProcessor.h",
|
|
|
|
|
2017-06-23 14:58:19 +00:00
|
|
|
# Mock
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/mock/GrMockAttachment.h",
|
2017-07-06 20:40:18 +00:00
|
|
|
"$_src/gpu/mock/GrMockBuffer.h",
|
2019-08-01 14:08:07 +00:00
|
|
|
"$_src/gpu/mock/GrMockCaps.cpp",
|
2017-07-06 20:40:18 +00:00
|
|
|
"$_src/gpu/mock/GrMockCaps.h",
|
|
|
|
"$_src/gpu/mock/GrMockGpu.cpp",
|
2017-06-23 14:58:19 +00:00
|
|
|
"$_src/gpu/mock/GrMockGpu.h",
|
2019-08-26 15:08:51 +00:00
|
|
|
"$_src/gpu/mock/GrMockOpsRenderPass.h",
|
2021-01-20 22:44:15 +00:00
|
|
|
"$_src/gpu/mock/GrMockRenderTask.h",
|
|
|
|
"$_src/gpu/mock/GrMockSurfaceProxy.h",
|
2017-07-06 20:40:18 +00:00
|
|
|
"$_src/gpu/mock/GrMockTexture.h",
|
2019-07-09 16:34:38 +00:00
|
|
|
"$_src/gpu/mock/GrMockTypes.cpp",
|
2017-06-23 14:58:19 +00:00
|
|
|
|
2016-10-26 21:54:36 +00:00
|
|
|
# Sk files
|
|
|
|
"$_src/gpu/SkGpuDevice.cpp",
|
|
|
|
"$_src/gpu/SkGpuDevice.h",
|
|
|
|
"$_src/gpu/SkGpuDevice_drawTexture.cpp",
|
|
|
|
"$_src/gpu/SkGr.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/SkGr.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/image/SkImage_Gpu.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/image/SkImage_Gpu.h",
|
2018-10-04 17:10:39 +00:00
|
|
|
"$_src/image/SkImage_GpuBase.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/image/SkImage_GpuBase.h",
|
2018-10-02 16:07:20 +00:00
|
|
|
"$_src/image/SkImage_GpuYUVA.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/image/SkImage_GpuYUVA.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/image/SkSurface_Gpu.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/image/SkSurface_Gpu.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
]
|
|
|
|
|
2019-11-08 21:18:15 +00:00
|
|
|
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",
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/gl/GrGLAttachment.cpp",
|
|
|
|
"$_src/gpu/gl/GrGLAttachment.h",
|
2019-11-08 21:18:15 +00:00
|
|
|
"$_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",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gl/GrGLExtensions.cpp",
|
2019-11-08 21:18:15 +00:00
|
|
|
"$_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",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gl/GrGLUtil.cpp",
|
|
|
|
"$_src/gpu/gl/GrGLUtil.h",
|
2019-11-08 21:18:15 +00:00
|
|
|
"$_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",
|
|
|
|
]
|
|
|
|
|
2018-10-10 19:54:53 +00:00
|
|
|
skia_ccpr_sources = [
|
|
|
|
# coverage counting path renderer
|
|
|
|
"$_src/gpu/ccpr/GrCCAtlas.cpp",
|
|
|
|
"$_src/gpu/ccpr/GrCCAtlas.h",
|
|
|
|
"$_src/gpu/ccpr/GrCCClipPath.cpp",
|
2019-05-17 20:29:34 +00:00
|
|
|
"$_src/gpu/ccpr/GrCCClipPath.h",
|
2018-10-10 19:54:53 +00:00
|
|
|
"$_src/gpu/ccpr/GrCCClipProcessor.cpp",
|
|
|
|
"$_src/gpu/ccpr/GrCCClipProcessor.h",
|
|
|
|
"$_src/gpu/ccpr/GrCCPerFlushResources.cpp",
|
|
|
|
"$_src/gpu/ccpr/GrCCPerFlushResources.h",
|
2019-08-22 20:19:24 +00:00
|
|
|
"$_src/gpu/ccpr/GrCCPerOpsTaskPaths.h",
|
2018-10-10 19:54:53 +00:00
|
|
|
"$_src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp",
|
|
|
|
"$_src/gpu/ccpr/GrCoverageCountingPathRenderer.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
skia_gpu_sources += skia_ccpr_sources
|
|
|
|
|
2019-11-19 21:08:21 +00:00
|
|
|
skia_null_gpu_sources = [ "$_src/gpu/gl/GrGLMakeNativeInterface_none.cpp" ]
|
2016-10-26 21:54:36 +00:00
|
|
|
|
|
|
|
skia_vk_sources = [
|
|
|
|
"$_include/gpu/vk/GrVkBackendContext.h",
|
2018-08-01 17:25:41 +00:00
|
|
|
"$_include/gpu/vk/GrVkExtensions.h",
|
2018-05-29 14:46:51 +00:00
|
|
|
"$_include/gpu/vk/GrVkMemoryAllocator.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_include/gpu/vk/GrVkTypes.h",
|
2018-12-27 21:17:06 +00:00
|
|
|
"$_include/gpu/vk/GrVkVulkan.h",
|
2018-04-10 13:34:07 +00:00
|
|
|
"$_include/private/GrVkTypesPriv.h",
|
2018-05-29 14:46:51 +00:00
|
|
|
"$_src/gpu/vk/GrVkAMDMemoryAllocator.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkAMDMemoryAllocator.h",
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/vk/GrVkAttachment.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkAttachment.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_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",
|
2018-12-12 21:22:40 +00:00
|
|
|
"$_src/gpu/vk/GrVkCommandPool.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkCommandPool.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_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",
|
2018-04-10 13:34:07 +00:00
|
|
|
"$_src/gpu/vk/GrVkImageLayout.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/vk/GrVkImageView.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkImageView.h",
|
|
|
|
"$_src/gpu/vk/GrVkInterface.cpp",
|
2018-08-01 13:19:45 +00:00
|
|
|
"$_src/gpu/vk/GrVkInterface.h",
|
2020-12-30 20:09:32 +00:00
|
|
|
"$_src/gpu/vk/GrVkMSAALoadManager.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkMSAALoadManager.h",
|
2020-03-11 20:14:51 +00:00
|
|
|
"$_src/gpu/vk/GrVkManagedResource.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/vk/GrVkMemory.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkMemory.h",
|
2019-08-26 15:08:51 +00:00
|
|
|
"$_src/gpu/vk/GrVkOpsRenderPass.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkOpsRenderPass.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_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",
|
2018-12-03 15:08:21 +00:00
|
|
|
"$_src/gpu/vk/GrVkSamplerYcbcrConversion.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkSamplerYcbcrConversion.h",
|
2019-01-02 19:51:29 +00:00
|
|
|
"$_src/gpu/vk/GrVkSecondaryCBDrawContext.cpp",
|
2019-01-02 21:39:20 +00:00
|
|
|
"$_src/gpu/vk/GrVkSecondaryCBDrawContext.h",
|
2017-03-01 22:01:09 +00:00
|
|
|
"$_src/gpu/vk/GrVkSemaphore.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkSemaphore.h",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_src/gpu/vk/GrVkTexture.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkTexture.h",
|
|
|
|
"$_src/gpu/vk/GrVkTextureRenderTarget.cpp",
|
|
|
|
"$_src/gpu/vk/GrVkTextureRenderTarget.h",
|
2018-04-10 13:34:07 +00:00
|
|
|
"$_src/gpu/vk/GrVkTypesPriv.cpp",
|
2016-10-26 21:54:36 +00:00
|
|
|
"$_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",
|
|
|
|
]
|
|
|
|
|
2020-02-18 19:34:38 +00:00
|
|
|
skia_direct3d_sources = [
|
2020-02-24 16:36:15 +00:00
|
|
|
"$_include/gpu/d3d/GrD3DBackendContext.h",
|
2020-03-20 15:23:39 +00:00
|
|
|
"$_include/gpu/d3d/GrD3DTypes.h",
|
2020-03-31 15:34:00 +00:00
|
|
|
"$_include/gpu/d3d/GrD3DTypesMinimal.h",
|
2020-03-20 15:23:39 +00:00
|
|
|
"$_include/private/GrD3DTypesPriv.h",
|
2020-09-23 20:29:51 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DAMDMemoryAllocator.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DAMDMemoryAllocator.h",
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DAttachment.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DAttachment.h",
|
2020-04-03 18:59:20 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DBuffer.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DBuffer.h",
|
2020-02-19 19:57:58 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DCaps.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DCaps.h",
|
2020-03-23 18:18:37 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DCommandList.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DCommandList.h",
|
2020-07-09 16:35:06 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DCommandSignature.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DCommandSignature.h",
|
2020-05-28 10:44:55 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DCpuDescriptorManager.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DCpuDescriptorManager.h",
|
2020-04-30 20:41:25 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DDescriptorHeap.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DDescriptorHeap.h",
|
2020-06-09 20:34:43 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DDescriptorTableManager.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DDescriptorTableManager.h",
|
2020-02-19 19:57:58 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DGpu.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DGpu.h",
|
2020-02-26 20:31:49 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DOpsRenderPass.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DOpsRenderPass.h",
|
2021-03-29 17:41:03 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DPipeline.h",
|
2020-03-27 20:21:34 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DPipelineState.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DPipelineState.h",
|
2020-04-23 14:30:23 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DPipelineStateBuilder.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DPipelineStateBuilder.h",
|
2020-05-19 15:40:31 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DPipelineStateDataManager.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DPipelineStateDataManager.h",
|
2020-03-26 19:33:02 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DRenderTarget.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DRenderTarget.h",
|
2020-03-09 14:58:09 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DResourceProvider.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DResourceProvider.h",
|
2020-03-06 16:58:07 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DResourceState.h",
|
2020-04-23 15:03:02 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DRootSignature.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DRootSignature.h",
|
2020-06-25 17:10:29 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DSemaphore.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DSemaphore.h",
|
2020-03-24 18:58:03 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DTexture.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DTexture.h",
|
2020-03-26 19:33:02 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DTextureRenderTarget.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DTextureRenderTarget.h",
|
2020-03-26 15:47:26 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DTextureResource.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DTextureResource.h",
|
2020-03-20 15:23:39 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DTypesPriv.cpp",
|
2020-02-27 20:59:23 +00:00
|
|
|
"$_src/gpu/d3d/GrD3DUtil.cpp",
|
|
|
|
"$_src/gpu/d3d/GrD3DUtil.h",
|
2020-02-18 19:34:38 +00:00
|
|
|
]
|
|
|
|
|
2019-07-18 15:43:45 +00:00
|
|
|
skia_dawn_sources = [
|
2019-08-06 15:15:41 +00:00
|
|
|
"$_include/gpu/dawn/GrDawnTypes.h",
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnAttachment.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnAttachment.h",
|
2019-07-29 21:07:44 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnBuffer.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnBuffer.h",
|
2019-07-18 15:43:45 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnCaps.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnCaps.h",
|
|
|
|
"$_src/gpu/dawn/GrDawnGpu.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnGpu.h",
|
2019-08-26 19:19:42 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnOpsRenderPass.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnOpsRenderPass.h",
|
2019-08-02 13:57:55 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnProgramBuilder.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnProgramBuilder.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnProgramDataManager.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnProgramDataManager.h",
|
2019-07-18 15:43:45 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnRenderTarget.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnRenderTarget.h",
|
2019-08-21 13:48:05 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnRingBuffer.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnRingBuffer.h",
|
2019-08-13 19:28:47 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnTexture.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnTexture.h",
|
2019-08-14 19:07:42 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnTextureRenderTarget.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnTextureRenderTarget.h",
|
2019-07-18 15:43:45 +00:00
|
|
|
"$_src/gpu/dawn/GrDawnUtil.cpp",
|
|
|
|
"$_src/gpu/dawn/GrDawnUtil.h",
|
|
|
|
]
|
|
|
|
|
2017-07-05 20:49:36 +00:00
|
|
|
skia_metal_sources = [
|
2020-11-12 20:21:11 +00:00
|
|
|
"$_include/gpu/mtl/GrMtlBackendContext.h",
|
2017-07-28 15:31:19 +00:00
|
|
|
"$_include/gpu/mtl/GrMtlTypes.h",
|
2020-10-08 18:59:00 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlAttachment.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlAttachment.mm",
|
2018-08-02 18:18:37 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlBuffer.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlBuffer.mm",
|
2017-07-31 14:45:52 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlCaps.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlCaps.mm",
|
2019-04-22 21:07:53 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlCommandBuffer.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlCommandBuffer.mm",
|
2018-12-14 14:18:50 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlCppUtil.h",
|
2019-04-26 16:23:51 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlDepthStencil.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlDepthStencil.mm",
|
2017-07-05 20:49:36 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlGpu.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlGpu.mm",
|
2019-08-26 15:08:51 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlOpsRenderPass.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlOpsRenderPass.mm",
|
2018-08-06 13:47:23 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlPipelineState.h",
|
2018-08-08 14:48:45 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlPipelineState.mm",
|
2018-08-06 13:47:23 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlPipelineStateBuilder.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlPipelineStateBuilder.mm",
|
2018-08-08 14:50:21 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlPipelineStateDataManager.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlPipelineStateDataManager.mm",
|
2017-08-18 13:34:40 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlRenderTarget.h",
|
2018-07-31 14:51:17 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlRenderTarget.mm",
|
|
|
|
"$_src/gpu/mtl/GrMtlResourceProvider.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlResourceProvider.mm",
|
2018-08-09 16:55:28 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlSampler.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlSampler.mm",
|
2019-08-28 18:35:55 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlSemaphore.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlSemaphore.mm",
|
2017-08-04 13:34:44 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlTexture.h",
|
2018-07-31 14:51:17 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlTexture.mm",
|
2018-06-27 18:58:12 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlTextureRenderTarget.h",
|
2018-07-31 14:51:17 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlTextureRenderTarget.mm",
|
2017-07-05 20:49:36 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlTrampoline.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlTrampoline.mm",
|
2018-08-08 14:48:45 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlUniformHandler.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlUniformHandler.mm",
|
2017-07-31 20:32:36 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlUtil.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlUtil.mm",
|
2018-08-08 14:48:45 +00:00
|
|
|
"$_src/gpu/mtl/GrMtlVaryingHandler.h",
|
|
|
|
"$_src/gpu/mtl/GrMtlVaryingHandler.mm",
|
2019-09-19 17:03:09 +00:00
|
|
|
"$_src/image/SkSurface_GpuMtl.mm",
|
2017-07-05 20:49:36 +00:00
|
|
|
]
|
|
|
|
|
2016-10-26 21:54:36 +00:00
|
|
|
skia_native_gpu_sources = [
|
2021-02-18 21:23:41 +00:00
|
|
|
"$_include/gpu/gl/egl/GrGLMakeEGLInterface.h",
|
|
|
|
"$_include/gpu/gl/glx/GrGLMakeGLXInterface.h",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gl/android/GrGLMakeNativeInterface_android.cpp",
|
2021-02-18 21:23:41 +00:00
|
|
|
"$_src/gpu/gl/egl/GrGLMakeEGLInterface.cpp",
|
2017-12-11 15:06:31 +00:00
|
|
|
"$_src/gpu/gl/egl/GrGLMakeNativeInterface_egl.cpp",
|
2021-02-18 21:23:41 +00:00
|
|
|
"$_src/gpu/gl/glx/GrGLMakeGLXInterface.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp",
|
2017-12-11 15:06:31 +00:00
|
|
|
"$_src/gpu/gl/iOS/GrGLMakeNativeInterface_iOS.cpp",
|
2020-04-02 22:26:41 +00:00
|
|
|
"$_src/gpu/gl/mac/GrGLMakeNativeInterface_mac.cpp",
|
|
|
|
"$_src/gpu/gl/win/GrGLMakeNativeInterface_win.cpp",
|
2016-10-26 21:54:36 +00:00
|
|
|
]
|