diff options
-rw-r--r-- | gn/gpu.gni | 541 | ||||
-rw-r--r-- | gn/shared_sources.gni | 14 | ||||
-rw-r--r-- | gyp/gpu.gyp | 12 | ||||
-rw-r--r-- | gyp/gpu.gypi | 545 |
4 files changed, 546 insertions, 566 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni new file mode 100644 index 0000000000..12e3b498a0 --- /dev/null +++ b/gn/gpu.gni @@ -0,0 +1,541 @@ +# 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/GrBlend.h", + "$_include/gpu/GrBuffer.h", + "$_include/gpu/GrBufferAccess.h", + "$_include/gpu/GrCaps.h", + "$_include/gpu/GrClip.h", + "$_include/gpu/GrColor.h", + "$_include/gpu/GrColorSpaceXform.h", + "$_include/gpu/GrConfig.h", + "$_include/gpu/GrContextOptions.h", + "$_include/gpu/GrContext.h", + "$_include/gpu/GrCoordTransform.h", + "$_include/gpu/GrDrawContext.h", + "$_include/gpu/GrFragmentProcessor.h", + "$_include/gpu/GrGpuResource.h", + "$_include/gpu/GrInvariantOutput.h", + "$_include/gpu/GrPaint.h", + "$_include/gpu/GrProcessor.h", + "$_include/gpu/GrProcessorUnitTest.h", + "$_include/gpu/GrProgramElement.h", + "$_include/gpu/GrGpuResourceRef.h", + "$_include/gpu/GrRenderTarget.h", + "$_include/gpu/GrResourceKey.h", + "$_include/gpu/GrShaderVar.h", + "$_include/gpu/GrSurface.h", + "$_include/gpu/GrTexture.h", + "$_include/gpu/GrTextureParams.h", + "$_include/gpu/GrTextureProvider.h", + "$_include/gpu/GrTextureAccess.h", + "$_include/gpu/GrTestUtils.h", + "$_include/gpu/GrTypes.h", + "$_include/gpu/GrTypesPriv.h", + "$_include/gpu/GrXferProcessor.h", + + "$_include/gpu/effects/GrConstColorProcessor.h", + "$_include/gpu/effects/GrCoverageSetOpXP.h", + "$_include/gpu/effects/GrCustomXfermode.h", + "$_include/gpu/effects/GrPorterDuffXferProcessor.h", + "$_include/gpu/effects/GrXfermodeFragmentProcessor.h", + + "$_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/GrGLSLPrettyPrint.h", + "$_include/gpu/gl/GrGLTypes.h", + + # Private includes + "$_include/private/GrAuditTrail.h", + "$_include/private/GrInstancedPipelineInfo.h", + "$_include/private/GrSingleOwner.h", + "$_include/private/GrRenderTargetProxy.h", + "$_include/private/GrSurfaceProxy.h", + "$_include/private/GrTextureProxy.h", + "$_include/private/GrTextureStripAtlas.h", + + "$_src/gpu/GrAppliedClip.h", + "$_src/gpu/GrAuditTrail.cpp", + "$_src/gpu/GrAutoLocaleSetter.h", + "$_src/gpu/GrAllocator.h", + "$_src/gpu/GrBatchAtlas.cpp", + "$_src/gpu/GrBatchAtlas.h", + "$_src/gpu/GrBatchFlushState.cpp", + "$_src/gpu/GrBatchFlushState.h", + "$_src/gpu/GrBatchTest.cpp", + "$_src/gpu/GrBatchTest.h", + "$_src/gpu/GrBlend.cpp", + "$_src/gpu/GrBlurUtils.cpp", + "$_src/gpu/GrBlurUtils.h", + "$_src/gpu/GrBuffer.cpp", + "$_src/gpu/GrBufferAllocPool.cpp", + "$_src/gpu/GrBufferAllocPool.h", + "$_src/gpu/GrCaps.cpp", + "$_src/gpu/GrClipStackClip.h", + "$_src/gpu/GrClipStackClip.cpp", + "$_src/gpu/GrColorSpaceXform.cpp", + "$_src/gpu/GrContext.cpp", + "$_src/gpu/GrContextPriv.h", + "$_src/gpu/GrCoordTransform.cpp", + "$_src/gpu/GrDefaultGeoProcFactory.cpp", + "$_src/gpu/GrDefaultGeoProcFactory.h", + "$_src/gpu/GrDrawContext.cpp", + "$_src/gpu/GrDrawContextPriv.h", + "$_src/gpu/GrPathRenderingDrawContext.cpp", + "$_src/gpu/GrPathRenderingDrawContext.h", + "$_src/gpu/GrDrawingManager.cpp", + "$_src/gpu/GrDrawingManager.h", + "$_src/gpu/GrFixedClip.cpp", + "$_src/gpu/GrFixedClip.h", + "$_src/gpu/GrFragmentProcessor.cpp", + "$_src/gpu/GrGeometryProcessor.h", + "$_src/gpu/GrGlyph.h", + "$_src/gpu/GrGpu.cpp", + "$_src/gpu/GrGpu.h", + "$_src/gpu/GrGpuResourceCacheAccess.h", + "$_src/gpu/GrGpuCommandBuffer.cpp", + "$_src/gpu/GrGpuCommandBuffer.h", + "$_src/gpu/GrGpuResourcePriv.h", + "$_src/gpu/GrGpuResource.cpp", + "$_src/gpu/GrGpuFactory.cpp", + "$_src/gpu/GrGpuFactory.h", + "$_src/gpu/GrImageIDTextureAdjuster.cpp", + "$_src/gpu/GrImageIDTextureAdjuster.h", + "$_src/gpu/GrInvariantOutput.cpp", + "$_src/gpu/GrMemoryPool.cpp", + "$_src/gpu/GrMemoryPool.h", + "$_src/gpu/GrMesh.h", + "$_src/gpu/GrNonAtomicRef.h", + "$_src/gpu/GrOpList.cpp", + "$_src/gpu/GrOpList.h", + "$_src/gpu/GrOvalRenderer.cpp", + "$_src/gpu/GrOvalRenderer.h", + "$_src/gpu/GrPaint.cpp", + "$_src/gpu/GrPath.cpp", + "$_src/gpu/GrPath.h", + "$_src/gpu/GrPathProcessor.cpp", + "$_src/gpu/GrPathProcessor.h", + "$_src/gpu/GrPathRange.cpp", + "$_src/gpu/GrPathRange.h", + "$_src/gpu/GrPathRendererChain.cpp", + "$_src/gpu/GrPathRendererChain.h", + "$_src/gpu/GrPathRenderer.cpp", + "$_src/gpu/GrPathRenderer.h", + "$_src/gpu/GrPathRendering.cpp", + "$_src/gpu/GrPathRendering.h", + "$_src/gpu/GrPathUtils.cpp", + "$_src/gpu/GrPathUtils.h", + "$_src/gpu/GrPendingProgramElement.h", + "$_src/gpu/GrPipeline.cpp", + "$_src/gpu/GrPipeline.h", + "$_src/gpu/GrPipelineBuilder.cpp", + "$_src/gpu/GrPipelineBuilder.h", + "$_src/gpu/GrPrimitiveProcessor.cpp", + "$_src/gpu/GrPrimitiveProcessor.h", + "$_src/gpu/GrProgramDesc.cpp", + "$_src/gpu/GrProgramDesc.h", + "$_src/gpu/GrProgramElement.cpp", + "$_src/gpu/GrProcessor.cpp", + "$_src/gpu/GrProcessorUnitTest.cpp", + "$_src/gpu/GrProcOptInfo.cpp", + "$_src/gpu/GrProcOptInfo.h", + "$_src/gpu/GrGpuResourceRef.cpp", + "$_src/gpu/GrQuad.h", + "$_src/gpu/GrRect.h", + "$_src/gpu/GrRectanizer.h", + "$_src/gpu/GrRectanizer_pow2.cpp", + "$_src/gpu/GrRectanizer_pow2.h", + "$_src/gpu/GrRectanizer_skyline.cpp", + "$_src/gpu/GrRectanizer_skyline.h", + "$_src/gpu/GrRenderTarget.cpp", + "$_src/gpu/GrRenderTargetPriv.h", + "$_src/gpu/GrRenderTargetProxy.cpp", + "$_src/gpu/GrReducedClip.cpp", + "$_src/gpu/GrReducedClip.h", + "$_src/gpu/GrRenderTargetOpList.cpp", + "$_src/gpu/GrRenderTargetOpList.h", + "$_src/gpu/GrResourceCache.cpp", + "$_src/gpu/GrResourceCache.h", + "$_src/gpu/GrResourceHandle.h", + "$_src/gpu/GrResourceProvider.cpp", + "$_src/gpu/GrResourceProvider.h", + "$_src/gpu/GrScissorState.h", + "$_src/gpu/GrShape.cpp", + "$_src/gpu/GrShape.h", + "$_src/gpu/GrStencilAttachment.cpp", + "$_src/gpu/GrStencilAttachment.h", + "$_src/gpu/GrStencilSettings.cpp", + "$_src/gpu/GrStencilSettings.h", + "$_src/gpu/GrStyle.cpp", + "$_src/gpu/GrStyle.h", + "$_src/gpu/GrTessellator.cpp", + "$_src/gpu/GrTessellator.h", + "$_src/gpu/GrTextureOpList.cpp", + "$_src/gpu/GrTextureOpList.h", + "$_src/gpu/GrTraceMarker.cpp", + "$_src/gpu/GrTraceMarker.h", + "$_src/gpu/GrTracing.h", + "$_src/gpu/GrTestUtils.cpp", + "$_src/gpu/GrSWMaskHelper.cpp", + "$_src/gpu/GrSWMaskHelper.h", + "$_src/gpu/GrSoftwarePathRenderer.cpp", + "$_src/gpu/GrSoftwarePathRenderer.h", + "$_src/gpu/GrSurfacePriv.h", + "$_src/gpu/GrSurface.cpp", + "$_src/gpu/GrSurfaceProxy.cpp", + "$_src/gpu/GrSwizzle.h", + "$_src/gpu/GrTexture.cpp", + "$_src/gpu/GrTextureParamsAdjuster.h", + "$_src/gpu/GrTextureParamsAdjuster.cpp", + "$_src/gpu/GrTexturePriv.h", + "$_src/gpu/GrTextureProvider.cpp", + "$_src/gpu/GrTextureProxy.cpp", + "$_src/gpu/GrTextureToYUVPlanes.cpp", + "$_src/gpu/GrTextureToYUVPlanes.h", + "$_src/gpu/GrTextureAccess.cpp", + "$_src/gpu/GrTRecorder.h", + "$_src/gpu/GrUserStencilSettings.h", + "$_src/gpu/GrWindowRectangles.h", + "$_src/gpu/GrWindowRectsState.h", + "$_src/gpu/GrXferProcessor.cpp", + "$_src/gpu/GrYUVProvider.cpp", + "$_src/gpu/GrYUVProvider.h", + + # Batches + "$_src/gpu/batches/GrAAHairLinePathRenderer.cpp", + "$_src/gpu/batches/GrAAHairLinePathRenderer.h", + "$_src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp", + "$_src/gpu/batches/GrAALinearizingConvexPathRenderer.h", + "$_src/gpu/batches/GrAAConvexTessellator.cpp", + "$_src/gpu/batches/GrAAConvexTessellator.h", + "$_src/gpu/batches/GrAADistanceFieldPathRenderer.cpp", + "$_src/gpu/batches/GrAADistanceFieldPathRenderer.h", + "$_src/gpu/batches/GrAAConvexPathRenderer.cpp", + "$_src/gpu/batches/GrAAConvexPathRenderer.h", + "$_src/gpu/batches/GrAAFillRectBatch.cpp", + "$_src/gpu/batches/GrAAFillRectBatch.h", + "$_src/gpu/batches/GrAAStrokeRectBatch.cpp", + "$_src/gpu/batches/GrAAStrokeRectBatch.h", + "$_src/gpu/batches/GrAnalyticRectBatch.cpp", + "$_src/gpu/batches/GrAnalyticRectBatch.h", + "$_src/gpu/batches/GrAtlasTextBatch.cpp", + "$_src/gpu/batches/GrAtlasTextBatch.h", + "$_src/gpu/batches/GrBatch.cpp", + "$_src/gpu/batches/GrBatch.h", + "$_src/gpu/batches/GrClearBatch.h", + "$_src/gpu/batches/GrClearStencilClipBatch.h", + "$_src/gpu/batches/GrCopySurfaceBatch.cpp", + "$_src/gpu/batches/GrCopySurfaceBatch.h", + "$_src/gpu/batches/GrDashLinePathRenderer.cpp", + "$_src/gpu/batches/GrDashLinePathRenderer.h", + "$_src/gpu/batches/GrDefaultPathRenderer.cpp", + "$_src/gpu/batches/GrDefaultPathRenderer.h", + "$_src/gpu/batches/GrDiscardBatch.h", + "$_src/gpu/batches/GrDrawBatch.cpp", + "$_src/gpu/batches/GrDrawBatch.h", + "$_src/gpu/batches/GrDrawAtlasBatch.cpp", + "$_src/gpu/batches/GrDrawAtlasBatch.h", + "$_src/gpu/batches/GrDrawPathBatch.cpp", + "$_src/gpu/batches/GrDrawPathBatch.h", + "$_src/gpu/batches/GrDrawVerticesBatch.cpp", + "$_src/gpu/batches/GrDrawVerticesBatch.h", + "$_src/gpu/batches/GrMSAAPathRenderer.cpp", + "$_src/gpu/batches/GrMSAAPathRenderer.h", + "$_src/gpu/batches/GrNonAAFillRectBatch.h", + "$_src/gpu/batches/GrNonAAFillRectBatch.cpp", + "$_src/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp", + "$_src/gpu/batches/GrNonAAStrokeRectBatch.cpp", + "$_src/gpu/batches/GrNonAAStrokeRectBatch.h", + "$_src/gpu/batches/GrNinePatch.cpp", + "$_src/gpu/batches/GrNinePatch.h", + "$_src/gpu/batches/GrPLSPathRenderer.cpp", + "$_src/gpu/batches/GrPLSPathRenderer.h", + "$_src/gpu/batches/GrRectBatchFactory.h", + "$_src/gpu/batches/GrRectBatchFactory.cpp", + "$_src/gpu/batches/GrRegionBatch.cpp", + "$_src/gpu/batches/GrRegionBatch.h", + "$_src/gpu/batches/GrStencilAndCoverPathRenderer.cpp", + "$_src/gpu/batches/GrStencilAndCoverPathRenderer.h", + "$_src/gpu/batches/GrStencilPathBatch.h", + "$_src/gpu/batches/GrTessellatingPathRenderer.cpp", + "$_src/gpu/batches/GrTessellatingPathRenderer.h", + "$_src/gpu/batches/GrVertexBatch.cpp", + "$_src/gpu/batches/GrVertexBatch.h", + + "$_src/gpu/effects/Gr1DKernelEffect.h", + "$_src/gpu/effects/GrConfigConversionEffect.cpp", + "$_src/gpu/effects/GrConfigConversionEffect.h", + "$_src/gpu/effects/GrConstColorProcessor.cpp", + "$_src/gpu/effects/GrCoverageSetOpXP.cpp", + "$_src/gpu/effects/GrCustomXfermode.cpp", + "$_src/gpu/effects/GrBezierEffect.cpp", + "$_src/gpu/effects/GrBezierEffect.h", + "$_src/gpu/effects/GrConvolutionEffect.cpp", + "$_src/gpu/effects/GrConvolutionEffect.h", + "$_src/gpu/effects/GrConvexPolyEffect.cpp", + "$_src/gpu/effects/GrConvexPolyEffect.h", + "$_src/gpu/effects/GrBicubicEffect.cpp", + "$_src/gpu/effects/GrBicubicEffect.h", + "$_src/gpu/effects/GrBitmapTextGeoProc.cpp", + "$_src/gpu/effects/GrBitmapTextGeoProc.h", + "$_src/gpu/effects/GrDashingEffect.cpp", + "$_src/gpu/effects/GrDashingEffect.h", + "$_src/gpu/effects/GrDisableColorXP.cpp", + "$_src/gpu/effects/GrDisableColorXP.h", + "$_src/gpu/effects/GrDistanceFieldGeoProc.cpp", + "$_src/gpu/effects/GrDistanceFieldGeoProc.h", + "$_src/gpu/effects/GrDitherEffect.cpp", + "$_src/gpu/effects/GrDitherEffect.h", + "$_src/gpu/effects/GrGammaEffect.cpp", + "$_src/gpu/effects/GrGammaEffect.h", + "$_src/gpu/effects/GrMatrixConvolutionEffect.cpp", + "$_src/gpu/effects/GrMatrixConvolutionEffect.h", + "$_src/gpu/effects/GrOvalEffect.cpp", + "$_src/gpu/effects/GrOvalEffect.h", + "$_src/gpu/effects/GrPorterDuffXferProcessor.cpp", + "$_src/gpu/effects/GrRRectEffect.cpp", + "$_src/gpu/effects/GrRRectEffect.h", + "$_src/gpu/effects/GrSimpleTextureEffect.cpp", + "$_src/gpu/effects/GrSimpleTextureEffect.h", + "$_src/gpu/effects/GrSingleTextureEffect.cpp", + "$_src/gpu/effects/GrSingleTextureEffect.h", + "$_src/gpu/effects/GrTextureDomain.cpp", + "$_src/gpu/effects/GrTextureDomain.h", + "$_src/gpu/effects/GrTextureStripAtlas.cpp", + "$_src/gpu/effects/GrXfermodeFragmentProcessor.cpp", + "$_src/gpu/effects/GrYUVEffect.cpp", + "$_src/gpu/effects/GrYUVEffect.h", + + "$_src/gpu/instanced/InstancedRendering.cpp", + "$_src/gpu/instanced/InstancedRendering.h", + "$_src/gpu/instanced/InstancedRenderingTypes.h", + "$_src/gpu/instanced/InstanceProcessor.cpp", + "$_src/gpu/instanced/InstanceProcessor.h", + "$_src/gpu/instanced/GLInstancedRendering.cpp", + "$_src/gpu/instanced/GLInstancedRendering.h", + + # text + "$_src/gpu/text/GrAtlasTextBlob.cpp", + "$_src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp", + "$_src/gpu/text/GrAtlasTextBlob.h", + "$_src/gpu/text/GrAtlasTextContext.cpp", + "$_src/gpu/text/GrAtlasTextContext.h", + "$_src/gpu/text/GrBatchFontCache.cpp", + "$_src/gpu/text/GrBatchFontCache.h", + "$_src/gpu/text/GrDistanceFieldAdjustTable.cpp", + "$_src/gpu/text/GrDistanceFieldAdjustTable.h", + "$_src/gpu/text/GrStencilAndCoverTextContext.cpp", + "$_src/gpu/text/GrStencilAndCoverTextContext.h", + "$_src/gpu/text/GrTextBlobCache.cpp", + "$_src/gpu/text/GrTextBlobCache.h", + "$_src/gpu/text/GrTextUtils.cpp", + "$_src/gpu/text/GrTextUtils.h", + + "$_src/gpu/gl/GrGLAssembleInterface.cpp", + "$_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/GrGLCreateNativeInterface_none.cpp", + "$_src/gpu/gl/GrGLCreateNullInterface.cpp", + "$_src/gpu/gl/GrGLDefaultInterface_none.cpp", + "$_src/gpu/gl/GrGLDefines.h", + "$_src/gpu/gl/GrGLGLSL.cpp", + "$_src/gpu/gl/GrGLGLSL.h", + "$_src/gpu/gl/GrGLGpu.cpp", + "$_src/gpu/gl/GrGLGpu.h", + "$_src/gpu/gl/GrGLGpuCommandBuffer.h", + "$_src/gpu/gl/GrGLGpuProgramCache.cpp", + "$_src/gpu/gl/GrGLExtensions.cpp", + "$_src/gpu/gl/GrGLInterface.cpp", + "$_src/gpu/gl/GrGLIRect.h", + "$_src/gpu/gl/GrGLPath.cpp", + "$_src/gpu/gl/GrGLPath.h", + "$_src/gpu/gl/GrGLPathRange.cpp", + "$_src/gpu/gl/GrGLPathRange.h", + "$_src/gpu/gl/GrGLPathRendering.cpp", + "$_src/gpu/gl/GrGLPathRendering.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/GrGLSampler.h", + "$_src/gpu/gl/GrGLStencilAttachment.cpp", + "$_src/gpu/gl/GrGLStencilAttachment.h", + "$_src/gpu/gl/GrGLTestInterface.cpp", + "$_src/gpu/gl/GrGLTestInterface.h", + "$_src/gpu/gl/GrGLTexture.cpp", + "$_src/gpu/gl/GrGLTexture.h", + "$_src/gpu/gl/GrGLTextureRenderTarget.cpp", + "$_src/gpu/gl/GrGLTextureRenderTarget.h", + "$_src/gpu/gl/GrGLUtil.cpp", + "$_src/gpu/gl/GrGLUtil.h", + "$_src/gpu/gl/GrGLUniformHandler.cpp", + "$_src/gpu/gl/GrGLUniformHandler.h", + "$_src/gpu/gl/GrGLVaryingHandler.cpp", + "$_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", + "$_src/gpu/gl/builders/GrGLSLPrettyPrint.cpp", + + # GLSL + "$_src/gpu/glsl/GrGLSL.cpp", + "$_src/gpu/glsl/GrGLSL.h", + "$_src/gpu/glsl/GrGLSL_impl.h", + "$_src/gpu/glsl/GrGLSLBlend.cpp", + "$_src/gpu/glsl/GrGLSLBlend.h", + "$_src/gpu/glsl/GrGLSLCaps.cpp", + "$_src/gpu/glsl/GrGLSLCaps.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/GrGLSLGeometryShaderBuilder.cpp", + "$_src/gpu/glsl/GrGLSLGeometryShaderBuilder.h", + "$_src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp", + "$_src/gpu/glsl/GrGLSLPrimitiveProcessor.h", + "$_src/gpu/glsl/GrGLSLProgramBuilder.cpp", + "$_src/gpu/glsl/GrGLSLProgramBuilder.h", + "$_src/gpu/glsl/GrGLSLProgramDataManager.cpp", + "$_src/gpu/glsl/GrGLSLProgramDataManager.h", + "$_src/gpu/glsl/GrGLSLSampler.h", + "$_src/gpu/glsl/GrGLSLShaderBuilder.cpp", + "$_src/gpu/glsl/GrGLSLShaderBuilder.h", + "$_src/gpu/glsl/GrGLSLShaderVar.h", + "$_src/gpu/glsl/GrGLSLUniformHandler.h", + "$_src/gpu/glsl/GrGLSLUtil.cpp", + "$_src/gpu/glsl/GrGLSLUtil.h", + "$_src/gpu/glsl/GrGLSLVarying.cpp", + "$_src/gpu/glsl/GrGLSLVarying.h", + "$_src/gpu/glsl/GrGLSLVertexShaderBuilder.cpp", + "$_src/gpu/glsl/GrGLSLVertexShaderBuilder.h", + "$_src/gpu/glsl/GrGLSLXferProcessor.cpp", + "$_src/gpu/glsl/GrGLSLXferProcessor.h", + + # Sk files + "$_include/gpu/SkGr.h", + + "$_src/gpu/SkGpuDevice.cpp", + "$_src/gpu/SkGpuDevice.h", + "$_src/gpu/SkGpuDevice_drawTexture.cpp", + "$_src/gpu/SkGr.cpp", + "$_src/gpu/SkGrPriv.h", + + "$_src/image/SkImage_Gpu.h", + "$_src/image/SkImage_Gpu.cpp", + "$_src/image/SkSurface_Gpu.h", + "$_src/image/SkSurface_Gpu.cpp", +] + +skia_null_gpu_sources = [] + +skia_vk_sources = [ + "$_include/gpu/vk/GrVkBackendContext.h", + "$_include/gpu/vk/GrVkDefines.h", + "$_include/gpu/vk/GrVkInterface.h", + "$_include/gpu/vk/GrVkTypes.h", + "$_src/gpu/vk/GrVkBackendContext.cpp", + "$_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/GrVkCopyManager.cpp", + "$_src/gpu/vk/GrVkCopyManager.h", + "$_src/gpu/vk/GrVkCopyPipeline.cpp", + "$_src/gpu/vk/GrVkCopyPipeline.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/GrVkExtensions.h", + "$_src/gpu/vk/GrVkFramebuffer.cpp", + "$_src/gpu/vk/GrVkFramebuffer.h", + "$_src/gpu/vk/GrVkGLSLSampler.h", + "$_src/gpu/vk/GrVkGpu.cpp", + "$_src/gpu/vk/GrVkGpu.h", + "$_src/gpu/vk/GrVkGpuCommandBuffer.cpp", + "$_src/gpu/vk/GrVkGpuCommandBuffer.h", + "$_src/gpu/vk/GrVkImage.cpp", + "$_src/gpu/vk/GrVkImage.h", + "$_src/gpu/vk/GrVkImageView.cpp", + "$_src/gpu/vk/GrVkImageView.h", + "$_src/gpu/vk/GrVkIndexBuffer.cpp", + "$_src/gpu/vk/GrVkIndexBuffer.h", + "$_src/gpu/vk/GrVkInterface.cpp", + "$_src/gpu/vk/GrVkMemory.cpp", + "$_src/gpu/vk/GrVkMemory.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/GrVkResource.h", + "$_src/gpu/vk/GrVkResourceProvider.cpp", + "$_src/gpu/vk/GrVkResourceProvider.h", + "$_src/gpu/vk/GrVkSampler.cpp", + "$_src/gpu/vk/GrVkSampler.h", + "$_src/gpu/vk/GrVkStencilAttachment.cpp", + "$_src/gpu/vk/GrVkStencilAttachment.h", + "$_src/gpu/vk/GrVkTexture.cpp", + "$_src/gpu/vk/GrVkTexture.h", + "$_src/gpu/vk/GrVkTextureRenderTarget.cpp", + "$_src/gpu/vk/GrVkTextureRenderTarget.h", + "$_src/gpu/vk/GrVkTransferBuffer.cpp", + "$_src/gpu/vk/GrVkTransferBuffer.h", + "$_src/gpu/vk/GrVkUniformBuffer.cpp", + "$_src/gpu/vk/GrVkUniformBuffer.h", + "$_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", + "$_src/gpu/vk/GrVkVertexBuffer.cpp", + "$_src/gpu/vk/GrVkVertexBuffer.h", +] + +skia_native_gpu_sources = [ + "$_src/gpu/gl/GrGLDefaultInterface_native.cpp", + "$_src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp", + "$_src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp", + "$_src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp", + "$_src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp", + "$_src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", + "$_src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp", +] diff --git a/gn/shared_sources.gni b/gn/shared_sources.gni index 0796095212..50367c3a94 100644 --- a/gn/shared_sources.gni +++ b/gn/shared_sources.gni @@ -10,19 +10,6 @@ _path_to_include = get_path_info("../include", "abspath") _path_to_src = get_path_info("../src", "abspath") -# GPU. -_gpu_gypi = exec_script("gypi_to_gn.py", - [ - rebase_path("../gyp/gpu.gypi"), - "--replace=<(skia_include_path)=$_path_to_include", - "--replace=<(skia_src_path)=$_path_to_src", - ], - "scope", - [ "../gyp/gpu.gypi" ]) -skia_gpu_sources = _gpu_gypi.skgpu_sources -skia_null_gpu_sources = _gpu_gypi.skgpu_null_gl_sources -skia_vk_sources = _gpu_gypi.skgpu_vk_sources - # Opts. # # Unlike the other variables here, this is a "scope" consisting of many @@ -37,6 +24,7 @@ skia_opts = exec_script("gypi_to_gn.py", [ "../gyp/opts.gypi" ]) import("core.gni") import("effects.gni") +import("gpu.gni") import("pdf.gni") import("sksl.gni") import("utils.gni") diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index c548e28f24..0c09aa8719 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -83,9 +83,6 @@ 'ktx.gyp:libSkKTX', 'sksl.gyp:sksl', ], - 'includes': [ - 'gpu.gypi', - ], 'include_dirs': [ '../include/gpu', '../include/private', @@ -95,10 +92,9 @@ '../src/sksl', ], 'sources': [ - '<@(skgpu_sources)', - '<@(skgpu_native_gl_sources)', - '<@(skgpu_vk_sources)', - 'gpu.gypi', # Makes the gypi appear in IDEs (but does not modify the build). + '<!@(python read_gni.py ../gn/gpu.gni skia_gpu_sources)', + '<!@(python read_gni.py ../gn/gpu.gni skia_native_gpu_sources)', + '<!@(python read_gni.py ../gn/gpu.gni skia_vk_sources)', ], 'conditions': [ [ 'skia_gpu_extra_dependency_path', { @@ -252,7 +248,7 @@ ], }, { 'sources!': [ - '<@(skgpu_vk_sources)', + '<!@(python read_gni.py ../gn/gpu.gni skia_vk_sources)', ], }], ], diff --git a/gyp/gpu.gypi b/gyp/gpu.gypi deleted file mode 100644 index 7b3c7c4eb7..0000000000 --- a/gyp/gpu.gypi +++ /dev/null @@ -1,545 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -# Include this gypi to include all 'gpu' files -# The parent gyp/gypi file must define -# 'skia_src_path' e.g. skia/trunk/src -# 'skia_include_path' e.g. skia/trunk/include -# -# The skia build defines these in common_variables.gypi -# -{ - 'variables': { - 'skgpu_sources': [ - '<(skia_include_path)/gpu/GrBlend.h', - '<(skia_include_path)/gpu/GrBuffer.h', - '<(skia_include_path)/gpu/GrBufferAccess.h', - '<(skia_include_path)/gpu/GrCaps.h', - '<(skia_include_path)/gpu/GrClip.h', - '<(skia_include_path)/gpu/GrColor.h', - '<(skia_include_path)/gpu/GrColorSpaceXform.h', - '<(skia_include_path)/gpu/GrConfig.h', - '<(skia_include_path)/gpu/GrContextOptions.h', - '<(skia_include_path)/gpu/GrContext.h', - '<(skia_include_path)/gpu/GrCoordTransform.h', - '<(skia_include_path)/gpu/GrDrawContext.h', - '<(skia_include_path)/gpu/GrFragmentProcessor.h', - '<(skia_include_path)/gpu/GrGpuResource.h', - '<(skia_include_path)/gpu/GrInvariantOutput.h', - '<(skia_include_path)/gpu/GrPaint.h', - '<(skia_include_path)/gpu/GrProcessor.h', - '<(skia_include_path)/gpu/GrProcessorUnitTest.h', - '<(skia_include_path)/gpu/GrProgramElement.h', - '<(skia_include_path)/gpu/GrGpuResourceRef.h', - '<(skia_include_path)/gpu/GrRenderTarget.h', - '<(skia_include_path)/gpu/GrResourceKey.h', - '<(skia_include_path)/gpu/GrShaderVar.h', - '<(skia_include_path)/gpu/GrSurface.h', - '<(skia_include_path)/gpu/GrTexture.h', - '<(skia_include_path)/gpu/GrTextureParams.h', - '<(skia_include_path)/gpu/GrTextureProvider.h', - '<(skia_include_path)/gpu/GrTextureAccess.h', - '<(skia_include_path)/gpu/GrTestUtils.h', - '<(skia_include_path)/gpu/GrTypes.h', - '<(skia_include_path)/gpu/GrTypesPriv.h', - '<(skia_include_path)/gpu/GrXferProcessor.h', - - '<(skia_include_path)/gpu/effects/GrConstColorProcessor.h', - '<(skia_include_path)/gpu/effects/GrCoverageSetOpXP.h', - '<(skia_include_path)/gpu/effects/GrCustomXfermode.h', - '<(skia_include_path)/gpu/effects/GrPorterDuffXferProcessor.h', - '<(skia_include_path)/gpu/effects/GrXfermodeFragmentProcessor.h', - - '<(skia_include_path)/gpu/gl/GrGLAssembleInterface.h', - '<(skia_include_path)/gpu/gl/GrGLConfig.h', - '<(skia_include_path)/gpu/gl/GrGLExtensions.h', - '<(skia_include_path)/gpu/gl/GrGLFunctions.h', - '<(skia_include_path)/gpu/gl/GrGLInterface.h', - '<(skia_include_path)/gpu/gl/GrGLSLPrettyPrint.h', - '<(skia_include_path)/gpu/gl/GrGLTypes.h', - - # Private includes - '<(skia_include_path)/private/GrAuditTrail.h', - '<(skia_include_path)/private/GrInstancedPipelineInfo.h', - '<(skia_include_path)/private/GrSingleOwner.h', - '<(skia_include_path)/private/GrRenderTargetProxy.h', - '<(skia_include_path)/private/GrSurfaceProxy.h', - '<(skia_include_path)/private/GrTextureProxy.h', - '<(skia_include_path)/private/GrTextureStripAtlas.h', - - '<(skia_src_path)/gpu/GrAppliedClip.h', - '<(skia_src_path)/gpu/GrAuditTrail.cpp', - '<(skia_src_path)/gpu/GrAutoLocaleSetter.h', - '<(skia_src_path)/gpu/GrAllocator.h', - '<(skia_src_path)/gpu/GrBatchAtlas.cpp', - '<(skia_src_path)/gpu/GrBatchAtlas.h', - '<(skia_src_path)/gpu/GrBatchFlushState.cpp', - '<(skia_src_path)/gpu/GrBatchFlushState.h', - '<(skia_src_path)/gpu/GrBatchTest.cpp', - '<(skia_src_path)/gpu/GrBatchTest.h', - '<(skia_src_path)/gpu/GrBlend.cpp', - '<(skia_src_path)/gpu/GrBlurUtils.cpp', - '<(skia_src_path)/gpu/GrBlurUtils.h', - '<(skia_src_path)/gpu/GrBuffer.cpp', - '<(skia_src_path)/gpu/GrBufferAllocPool.cpp', - '<(skia_src_path)/gpu/GrBufferAllocPool.h', - '<(skia_src_path)/gpu/GrCaps.cpp', - '<(skia_src_path)/gpu/GrClipStackClip.h', - '<(skia_src_path)/gpu/GrClipStackClip.cpp', - '<(skia_src_path)/gpu/GrColorSpaceXform.cpp', - '<(skia_src_path)/gpu/GrContext.cpp', - '<(skia_src_path)/gpu/GrContextPriv.h', - '<(skia_src_path)/gpu/GrCoordTransform.cpp', - '<(skia_src_path)/gpu/GrDefaultGeoProcFactory.cpp', - '<(skia_src_path)/gpu/GrDefaultGeoProcFactory.h', - '<(skia_src_path)/gpu/GrDrawContext.cpp', - '<(skia_src_path)/gpu/GrDrawContextPriv.h', - '<(skia_src_path)/gpu/GrPathRenderingDrawContext.cpp', - '<(skia_src_path)/gpu/GrPathRenderingDrawContext.h', - '<(skia_src_path)/gpu/GrDrawingManager.cpp', - '<(skia_src_path)/gpu/GrDrawingManager.h', - '<(skia_src_path)/gpu/GrFixedClip.cpp', - '<(skia_src_path)/gpu/GrFixedClip.h', - '<(skia_src_path)/gpu/GrFragmentProcessor.cpp', - '<(skia_src_path)/gpu/GrGeometryProcessor.h', - '<(skia_src_path)/gpu/GrGlyph.h', - '<(skia_src_path)/gpu/GrGpu.cpp', - '<(skia_src_path)/gpu/GrGpu.h', - '<(skia_src_path)/gpu/GrGpuResourceCacheAccess.h', - '<(skia_src_path)/gpu/GrGpuCommandBuffer.cpp', - '<(skia_src_path)/gpu/GrGpuCommandBuffer.h', - '<(skia_src_path)/gpu/GrGpuResourcePriv.h', - '<(skia_src_path)/gpu/GrGpuResource.cpp', - '<(skia_src_path)/gpu/GrGpuFactory.cpp', - '<(skia_src_path)/gpu/GrGpuFactory.h', - '<(skia_src_path)/gpu/GrImageIDTextureAdjuster.cpp', - '<(skia_src_path)/gpu/GrImageIDTextureAdjuster.h', - '<(skia_src_path)/gpu/GrInvariantOutput.cpp', - '<(skia_src_path)/gpu/GrMemoryPool.cpp', - '<(skia_src_path)/gpu/GrMemoryPool.h', - '<(skia_src_path)/gpu/GrMesh.h', - '<(skia_src_path)/gpu/GrNonAtomicRef.h', - '<(skia_src_path)/gpu/GrOpList.cpp', - '<(skia_src_path)/gpu/GrOpList.h', - '<(skia_src_path)/gpu/GrOvalRenderer.cpp', - '<(skia_src_path)/gpu/GrOvalRenderer.h', - '<(skia_src_path)/gpu/GrPaint.cpp', - '<(skia_src_path)/gpu/GrPath.cpp', - '<(skia_src_path)/gpu/GrPath.h', - '<(skia_src_path)/gpu/GrPathProcessor.cpp', - '<(skia_src_path)/gpu/GrPathProcessor.h', - '<(skia_src_path)/gpu/GrPathRange.cpp', - '<(skia_src_path)/gpu/GrPathRange.h', - '<(skia_src_path)/gpu/GrPathRendererChain.cpp', - '<(skia_src_path)/gpu/GrPathRendererChain.h', - '<(skia_src_path)/gpu/GrPathRenderer.cpp', - '<(skia_src_path)/gpu/GrPathRenderer.h', - '<(skia_src_path)/gpu/GrPathRendering.cpp', - '<(skia_src_path)/gpu/GrPathRendering.h', - '<(skia_src_path)/gpu/GrPathUtils.cpp', - '<(skia_src_path)/gpu/GrPathUtils.h', - '<(skia_src_path)/gpu/GrPendingProgramElement.h', - '<(skia_src_path)/gpu/GrPipeline.cpp', - '<(skia_src_path)/gpu/GrPipeline.h', - '<(skia_src_path)/gpu/GrPipelineBuilder.cpp', - '<(skia_src_path)/gpu/GrPipelineBuilder.h', - '<(skia_src_path)/gpu/GrPrimitiveProcessor.cpp', - '<(skia_src_path)/gpu/GrPrimitiveProcessor.h', - '<(skia_src_path)/gpu/GrProgramDesc.cpp', - '<(skia_src_path)/gpu/GrProgramDesc.h', - '<(skia_src_path)/gpu/GrProgramElement.cpp', - '<(skia_src_path)/gpu/GrProcessor.cpp', - '<(skia_src_path)/gpu/GrProcessorUnitTest.cpp', - '<(skia_src_path)/gpu/GrProcOptInfo.cpp', - '<(skia_src_path)/gpu/GrProcOptInfo.h', - '<(skia_src_path)/gpu/GrGpuResourceRef.cpp', - '<(skia_src_path)/gpu/GrQuad.h', - '<(skia_src_path)/gpu/GrRect.h', - '<(skia_src_path)/gpu/GrRectanizer.h', - '<(skia_src_path)/gpu/GrRectanizer_pow2.cpp', - '<(skia_src_path)/gpu/GrRectanizer_pow2.h', - '<(skia_src_path)/gpu/GrRectanizer_skyline.cpp', - '<(skia_src_path)/gpu/GrRectanizer_skyline.h', - '<(skia_src_path)/gpu/GrRenderTarget.cpp', - '<(skia_src_path)/gpu/GrRenderTargetPriv.h', - '<(skia_src_path)/gpu/GrRenderTargetProxy.cpp', - '<(skia_src_path)/gpu/GrReducedClip.cpp', - '<(skia_src_path)/gpu/GrReducedClip.h', - '<(skia_src_path)/gpu/GrRenderTargetOpList.cpp', - '<(skia_src_path)/gpu/GrRenderTargetOpList.h', - '<(skia_src_path)/gpu/GrResourceCache.cpp', - '<(skia_src_path)/gpu/GrResourceCache.h', - '<(skia_src_path)/gpu/GrResourceHandle.h', - '<(skia_src_path)/gpu/GrResourceProvider.cpp', - '<(skia_src_path)/gpu/GrResourceProvider.h', - '<(skia_src_path)/gpu/GrScissorState.h', - '<(skia_src_path)/gpu/GrShape.cpp', - '<(skia_src_path)/gpu/GrShape.h', - '<(skia_src_path)/gpu/GrStencilAttachment.cpp', - '<(skia_src_path)/gpu/GrStencilAttachment.h', - '<(skia_src_path)/gpu/GrStencilSettings.cpp', - '<(skia_src_path)/gpu/GrStencilSettings.h', - '<(skia_src_path)/gpu/GrStyle.cpp', - '<(skia_src_path)/gpu/GrStyle.h', - '<(skia_src_path)/gpu/GrTessellator.cpp', - '<(skia_src_path)/gpu/GrTessellator.h', - '<(skia_src_path)/gpu/GrTextureOpList.cpp', - '<(skia_src_path)/gpu/GrTextureOpList.h', - '<(skia_src_path)/gpu/GrTraceMarker.cpp', - '<(skia_src_path)/gpu/GrTraceMarker.h', - '<(skia_src_path)/gpu/GrTracing.h', - '<(skia_src_path)/gpu/GrTestUtils.cpp', - '<(skia_src_path)/gpu/GrSWMaskHelper.cpp', - '<(skia_src_path)/gpu/GrSWMaskHelper.h', - '<(skia_src_path)/gpu/GrSoftwarePathRenderer.cpp', - '<(skia_src_path)/gpu/GrSoftwarePathRenderer.h', - '<(skia_src_path)/gpu/GrSurfacePriv.h', - '<(skia_src_path)/gpu/GrSurface.cpp', - '<(skia_src_path)/gpu/GrSurfaceProxy.cpp', - '<(skia_src_path)/gpu/GrSwizzle.h', - '<(skia_src_path)/gpu/GrTexture.cpp', - '<(skia_src_path)/gpu/GrTextureParamsAdjuster.h', - '<(skia_src_path)/gpu/GrTextureParamsAdjuster.cpp', - '<(skia_src_path)/gpu/GrTexturePriv.h', - '<(skia_src_path)/gpu/GrTextureProvider.cpp', - '<(skia_src_path)/gpu/GrTextureProxy.cpp', - '<(skia_src_path)/gpu/GrTextureToYUVPlanes.cpp', - '<(skia_src_path)/gpu/GrTextureToYUVPlanes.h', - '<(skia_src_path)/gpu/GrTextureAccess.cpp', - '<(skia_src_path)/gpu/GrTRecorder.h', - '<(skia_src_path)/gpu/GrUserStencilSettings.h', - '<(skia_src_path)/gpu/GrWindowRectangles.h', - '<(skia_src_path)/gpu/GrWindowRectsState.h', - '<(skia_src_path)/gpu/GrXferProcessor.cpp', - '<(skia_src_path)/gpu/GrYUVProvider.cpp', - '<(skia_src_path)/gpu/GrYUVProvider.h', - - # Batches - '<(skia_src_path)/gpu/batches/GrAAHairLinePathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrAAHairLinePathRenderer.h', - '<(skia_src_path)/gpu/batches/GrAALinearizingConvexPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrAALinearizingConvexPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrAAConvexTessellator.cpp', - '<(skia_src_path)/gpu/batches/GrAAConvexTessellator.h', - '<(skia_src_path)/gpu/batches/GrAADistanceFieldPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrAADistanceFieldPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrAAConvexPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrAAConvexPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrAAFillRectBatch.cpp', - '<(skia_src_path)/gpu/batches/GrAAFillRectBatch.h', - '<(skia_src_path)/gpu/batches/GrAAStrokeRectBatch.cpp', - '<(skia_src_path)/gpu/batches/GrAAStrokeRectBatch.h', - '<(skia_src_path)/gpu/batches/GrAnalyticRectBatch.cpp', - '<(skia_src_path)/gpu/batches/GrAnalyticRectBatch.h', - '<(skia_src_path)/gpu/batches/GrAtlasTextBatch.cpp', - '<(skia_src_path)/gpu/batches/GrAtlasTextBatch.h', - '<(skia_src_path)/gpu/batches/GrBatch.cpp', - '<(skia_src_path)/gpu/batches/GrBatch.h', - '<(skia_src_path)/gpu/batches/GrClearBatch.h', - '<(skia_src_path)/gpu/batches/GrClearStencilClipBatch.h', - '<(skia_src_path)/gpu/batches/GrCopySurfaceBatch.cpp', - '<(skia_src_path)/gpu/batches/GrCopySurfaceBatch.h', - '<(skia_src_path)/gpu/batches/GrDashLinePathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrDashLinePathRenderer.h', - '<(skia_src_path)/gpu/batches/GrDefaultPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrDefaultPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrDiscardBatch.h', - '<(skia_src_path)/gpu/batches/GrDrawBatch.cpp', - '<(skia_src_path)/gpu/batches/GrDrawBatch.h', - '<(skia_src_path)/gpu/batches/GrDrawAtlasBatch.cpp', - '<(skia_src_path)/gpu/batches/GrDrawAtlasBatch.h', - '<(skia_src_path)/gpu/batches/GrDrawPathBatch.cpp', - '<(skia_src_path)/gpu/batches/GrDrawPathBatch.h', - '<(skia_src_path)/gpu/batches/GrDrawVerticesBatch.cpp', - '<(skia_src_path)/gpu/batches/GrDrawVerticesBatch.h', - '<(skia_src_path)/gpu/batches/GrMSAAPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrMSAAPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrNonAAFillRectBatch.h', - '<(skia_src_path)/gpu/batches/GrNonAAFillRectBatch.cpp', - '<(skia_src_path)/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp', - '<(skia_src_path)/gpu/batches/GrNonAAStrokeRectBatch.cpp', - '<(skia_src_path)/gpu/batches/GrNonAAStrokeRectBatch.h', - '<(skia_src_path)/gpu/batches/GrNinePatch.cpp', - '<(skia_src_path)/gpu/batches/GrNinePatch.h', - '<(skia_src_path)/gpu/batches/GrPLSPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrPLSPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrRectBatchFactory.h', - '<(skia_src_path)/gpu/batches/GrRectBatchFactory.cpp', - '<(skia_src_path)/gpu/batches/GrRegionBatch.cpp', - '<(skia_src_path)/gpu/batches/GrRegionBatch.h', - '<(skia_src_path)/gpu/batches/GrStencilAndCoverPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrStencilAndCoverPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrStencilPathBatch.h', - '<(skia_src_path)/gpu/batches/GrTessellatingPathRenderer.cpp', - '<(skia_src_path)/gpu/batches/GrTessellatingPathRenderer.h', - '<(skia_src_path)/gpu/batches/GrVertexBatch.cpp', - '<(skia_src_path)/gpu/batches/GrVertexBatch.h', - - '<(skia_src_path)/gpu/effects/Gr1DKernelEffect.h', - '<(skia_src_path)/gpu/effects/GrConfigConversionEffect.cpp', - '<(skia_src_path)/gpu/effects/GrConfigConversionEffect.h', - '<(skia_src_path)/gpu/effects/GrConstColorProcessor.cpp', - '<(skia_src_path)/gpu/effects/GrCoverageSetOpXP.cpp', - '<(skia_src_path)/gpu/effects/GrCustomXfermode.cpp', - '<(skia_src_path)/gpu/effects/GrBezierEffect.cpp', - '<(skia_src_path)/gpu/effects/GrBezierEffect.h', - '<(skia_src_path)/gpu/effects/GrConvolutionEffect.cpp', - '<(skia_src_path)/gpu/effects/GrConvolutionEffect.h', - '<(skia_src_path)/gpu/effects/GrConvexPolyEffect.cpp', - '<(skia_src_path)/gpu/effects/GrConvexPolyEffect.h', - '<(skia_src_path)/gpu/effects/GrBicubicEffect.cpp', - '<(skia_src_path)/gpu/effects/GrBicubicEffect.h', - '<(skia_src_path)/gpu/effects/GrBitmapTextGeoProc.cpp', - '<(skia_src_path)/gpu/effects/GrBitmapTextGeoProc.h', - '<(skia_src_path)/gpu/effects/GrDashingEffect.cpp', - '<(skia_src_path)/gpu/effects/GrDashingEffect.h', - '<(skia_src_path)/gpu/effects/GrDisableColorXP.cpp', - '<(skia_src_path)/gpu/effects/GrDisableColorXP.h', - '<(skia_src_path)/gpu/effects/GrDistanceFieldGeoProc.cpp', - '<(skia_src_path)/gpu/effects/GrDistanceFieldGeoProc.h', - '<(skia_src_path)/gpu/effects/GrDitherEffect.cpp', - '<(skia_src_path)/gpu/effects/GrDitherEffect.h', - '<(skia_src_path)/gpu/effects/GrGammaEffect.cpp', - '<(skia_src_path)/gpu/effects/GrGammaEffect.h', - '<(skia_src_path)/gpu/effects/GrMatrixConvolutionEffect.cpp', - '<(skia_src_path)/gpu/effects/GrMatrixConvolutionEffect.h', - '<(skia_src_path)/gpu/effects/GrOvalEffect.cpp', - '<(skia_src_path)/gpu/effects/GrOvalEffect.h', - '<(skia_src_path)/gpu/effects/GrPorterDuffXferProcessor.cpp', - '<(skia_src_path)/gpu/effects/GrRRectEffect.cpp', - '<(skia_src_path)/gpu/effects/GrRRectEffect.h', - '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.cpp', - '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.h', - '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.cpp', - '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.h', - '<(skia_src_path)/gpu/effects/GrTextureDomain.cpp', - '<(skia_src_path)/gpu/effects/GrTextureDomain.h', - '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.cpp', - '<(skia_src_path)/gpu/effects/GrXfermodeFragmentProcessor.cpp', - '<(skia_src_path)/gpu/effects/GrYUVEffect.cpp', - '<(skia_src_path)/gpu/effects/GrYUVEffect.h', - - '<(skia_src_path)/gpu/instanced/InstancedRendering.cpp', - '<(skia_src_path)/gpu/instanced/InstancedRendering.h', - '<(skia_src_path)/gpu/instanced/InstancedRenderingTypes.h', - '<(skia_src_path)/gpu/instanced/InstanceProcessor.cpp', - '<(skia_src_path)/gpu/instanced/InstanceProcessor.h', - '<(skia_src_path)/gpu/instanced/GLInstancedRendering.cpp', - '<(skia_src_path)/gpu/instanced/GLInstancedRendering.h', - - # text - '<(skia_src_path)/gpu/text/GrAtlasTextBlob.cpp', - '<(skia_src_path)/gpu/text/GrAtlasTextBlob_regenInBatch.cpp', - '<(skia_src_path)/gpu/text/GrAtlasTextBlob.h', - '<(skia_src_path)/gpu/text/GrAtlasTextContext.cpp', - '<(skia_src_path)/gpu/text/GrAtlasTextContext.h', - '<(skia_src_path)/gpu/text/GrBatchFontCache.cpp', - '<(skia_src_path)/gpu/text/GrBatchFontCache.h', - '<(skia_src_path)/gpu/text/GrDistanceFieldAdjustTable.cpp', - '<(skia_src_path)/gpu/text/GrDistanceFieldAdjustTable.h', - '<(skia_src_path)/gpu/text/GrStencilAndCoverTextContext.cpp', - '<(skia_src_path)/gpu/text/GrStencilAndCoverTextContext.h', - '<(skia_src_path)/gpu/text/GrTextBlobCache.cpp', - '<(skia_src_path)/gpu/text/GrTextBlobCache.h', - '<(skia_src_path)/gpu/text/GrTextUtils.cpp', - '<(skia_src_path)/gpu/text/GrTextUtils.h', - - '<(skia_src_path)/gpu/gl/GrGLAssembleInterface.cpp', - '<(skia_src_path)/gpu/gl/GrGLBuffer.cpp', - '<(skia_src_path)/gpu/gl/GrGLBuffer.h', - '<(skia_src_path)/gpu/gl/GrGLCaps.cpp', - '<(skia_src_path)/gpu/gl/GrGLCaps.h', - '<(skia_src_path)/gpu/gl/GrGLContext.cpp', - '<(skia_src_path)/gpu/gl/GrGLContext.h', - '<(skia_src_path)/gpu/gl/GrGLCreateNativeInterface_none.cpp', - '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp', - '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_none.cpp', - '<(skia_src_path)/gpu/gl/GrGLDefines.h', - '<(skia_src_path)/gpu/gl/GrGLGLSL.cpp', - '<(skia_src_path)/gpu/gl/GrGLGLSL.h', - '<(skia_src_path)/gpu/gl/GrGLGpu.cpp', - '<(skia_src_path)/gpu/gl/GrGLGpu.h', - '<(skia_src_path)/gpu/gl/GrGLGpuCommandBuffer.h', - '<(skia_src_path)/gpu/gl/GrGLGpuProgramCache.cpp', - '<(skia_src_path)/gpu/gl/GrGLExtensions.cpp', - '<(skia_src_path)/gpu/gl/GrGLInterface.cpp', - '<(skia_src_path)/gpu/gl/GrGLIRect.h', - '<(skia_src_path)/gpu/gl/GrGLPath.cpp', - '<(skia_src_path)/gpu/gl/GrGLPath.h', - '<(skia_src_path)/gpu/gl/GrGLPathRange.cpp', - '<(skia_src_path)/gpu/gl/GrGLPathRange.h', - '<(skia_src_path)/gpu/gl/GrGLPathRendering.cpp', - '<(skia_src_path)/gpu/gl/GrGLPathRendering.h', - '<(skia_src_path)/gpu/gl/GrGLProgram.cpp', - '<(skia_src_path)/gpu/gl/GrGLProgram.h', - '<(skia_src_path)/gpu/gl/GrGLProgramDataManager.cpp', - '<(skia_src_path)/gpu/gl/GrGLProgramDataManager.h', - '<(skia_src_path)/gpu/gl/GrGLRenderTarget.cpp', - '<(skia_src_path)/gpu/gl/GrGLRenderTarget.h', - '<(skia_src_path)/gpu/gl/GrGLSampler.h', - '<(skia_src_path)/gpu/gl/GrGLStencilAttachment.cpp', - '<(skia_src_path)/gpu/gl/GrGLStencilAttachment.h', - '<(skia_src_path)/gpu/gl/GrGLTestInterface.cpp', - '<(skia_src_path)/gpu/gl/GrGLTestInterface.h', - '<(skia_src_path)/gpu/gl/GrGLTexture.cpp', - '<(skia_src_path)/gpu/gl/GrGLTexture.h', - '<(skia_src_path)/gpu/gl/GrGLTextureRenderTarget.cpp', - '<(skia_src_path)/gpu/gl/GrGLTextureRenderTarget.h', - '<(skia_src_path)/gpu/gl/GrGLUtil.cpp', - '<(skia_src_path)/gpu/gl/GrGLUtil.h', - '<(skia_src_path)/gpu/gl/GrGLUniformHandler.cpp', - '<(skia_src_path)/gpu/gl/GrGLUniformHandler.h', - '<(skia_src_path)/gpu/gl/GrGLVaryingHandler.cpp', - '<(skia_src_path)/gpu/gl/GrGLVaryingHandler.h', - '<(skia_src_path)/gpu/gl/GrGLVertexArray.cpp', - '<(skia_src_path)/gpu/gl/GrGLVertexArray.h', - - # Files for building GLSL shaders - '<(skia_src_path)/gpu/gl/builders/GrGLProgramBuilder.cpp', - '<(skia_src_path)/gpu/gl/builders/GrGLProgramBuilder.h', - '<(skia_src_path)/gpu/gl/builders/GrGLShaderStringBuilder.cpp', - '<(skia_src_path)/gpu/gl/builders/GrGLShaderStringBuilder.h', - '<(skia_src_path)/gpu/gl/builders/GrGLSLPrettyPrint.cpp', - - # GLSL - '<(skia_src_path)/gpu/glsl/GrGLSL.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSL.h', - '<(skia_src_path)/gpu/glsl/GrGLSL_impl.h', - '<(skia_src_path)/gpu/glsl/GrGLSLBlend.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLBlend.h', - '<(skia_src_path)/gpu/glsl/GrGLSLCaps.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLCaps.h', - '<(skia_src_path)/gpu/glsl/GrGLSLColorSpaceXformHelper.h', - '<(skia_src_path)/gpu/glsl/GrGLSLFragmentProcessor.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLFragmentProcessor.h', - '<(skia_src_path)/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLFragmentShaderBuilder.h', - '<(skia_src_path)/gpu/glsl/GrGLSLGeometryProcessor.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLGeometryProcessor.h', - '<(skia_src_path)/gpu/glsl/GrGLSLGeometryShaderBuilder.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLGeometryShaderBuilder.h', - '<(skia_src_path)/gpu/glsl/GrGLSLPrimitiveProcessor.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLPrimitiveProcessor.h', - '<(skia_src_path)/gpu/glsl/GrGLSLProgramBuilder.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLProgramBuilder.h', - '<(skia_src_path)/gpu/glsl/GrGLSLProgramDataManager.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLProgramDataManager.h', - '<(skia_src_path)/gpu/glsl/GrGLSLSampler.h', - '<(skia_src_path)/gpu/glsl/GrGLSLShaderBuilder.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLShaderBuilder.h', - '<(skia_src_path)/gpu/glsl/GrGLSLShaderVar.h', - '<(skia_src_path)/gpu/glsl/GrGLSLUniformHandler.h', - '<(skia_src_path)/gpu/glsl/GrGLSLUtil.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLUtil.h', - '<(skia_src_path)/gpu/glsl/GrGLSLVarying.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLVarying.h', - '<(skia_src_path)/gpu/glsl/GrGLSLVertexShaderBuilder.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLVertexShaderBuilder.h', - '<(skia_src_path)/gpu/glsl/GrGLSLXferProcessor.cpp', - '<(skia_src_path)/gpu/glsl/GrGLSLXferProcessor.h', - - # Sk files - '<(skia_include_path)/gpu/SkGr.h', - - '<(skia_src_path)/gpu/SkGpuDevice.cpp', - '<(skia_src_path)/gpu/SkGpuDevice.h', - '<(skia_src_path)/gpu/SkGpuDevice_drawTexture.cpp', - '<(skia_src_path)/gpu/SkGr.cpp', - '<(skia_src_path)/gpu/SkGrPriv.h', - - '<(skia_src_path)/image/SkImage_Gpu.h', - '<(skia_src_path)/image/SkImage_Gpu.cpp', - '<(skia_src_path)/image/SkSurface_Gpu.h', - '<(skia_src_path)/image/SkSurface_Gpu.cpp', - ], - 'skgpu_vk_sources': [ - '<(skia_include_path)/gpu/vk/GrVkBackendContext.h', - '<(skia_include_path)/gpu/vk/GrVkDefines.h', - '<(skia_include_path)/gpu/vk/GrVkInterface.h', - '<(skia_include_path)/gpu/vk/GrVkTypes.h', - '<(skia_src_path)/gpu/vk/GrVkBackendContext.cpp', - '<(skia_src_path)/gpu/vk/GrVkBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkBuffer.h', - '<(skia_src_path)/gpu/vk/GrVkCaps.cpp', - '<(skia_src_path)/gpu/vk/GrVkCaps.h', - '<(skia_src_path)/gpu/vk/GrVkCommandBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkCommandBuffer.h', - '<(skia_src_path)/gpu/vk/GrVkCopyManager.cpp', - '<(skia_src_path)/gpu/vk/GrVkCopyManager.h', - '<(skia_src_path)/gpu/vk/GrVkCopyPipeline.cpp', - '<(skia_src_path)/gpu/vk/GrVkCopyPipeline.h', - '<(skia_src_path)/gpu/vk/GrVkDescriptorPool.cpp', - '<(skia_src_path)/gpu/vk/GrVkDescriptorPool.h', - '<(skia_src_path)/gpu/vk/GrVkDescriptorSet.cpp', - '<(skia_src_path)/gpu/vk/GrVkDescriptorSet.h', - '<(skia_src_path)/gpu/vk/GrVkDescriptorSetManager.cpp', - '<(skia_src_path)/gpu/vk/GrVkDescriptorSetManager.h', - '<(skia_src_path)/gpu/vk/GrVkExtensions.cpp', - '<(skia_src_path)/gpu/vk/GrVkExtensions.h', - '<(skia_src_path)/gpu/vk/GrVkFramebuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkFramebuffer.h', - '<(skia_src_path)/gpu/vk/GrVkGLSLSampler.h', - '<(skia_src_path)/gpu/vk/GrVkGpu.cpp', - '<(skia_src_path)/gpu/vk/GrVkGpu.h', - '<(skia_src_path)/gpu/vk/GrVkGpuCommandBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkGpuCommandBuffer.h', - '<(skia_src_path)/gpu/vk/GrVkImage.cpp', - '<(skia_src_path)/gpu/vk/GrVkImage.h', - '<(skia_src_path)/gpu/vk/GrVkImageView.cpp', - '<(skia_src_path)/gpu/vk/GrVkImageView.h', - '<(skia_src_path)/gpu/vk/GrVkIndexBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkIndexBuffer.h', - '<(skia_src_path)/gpu/vk/GrVkInterface.cpp', - '<(skia_src_path)/gpu/vk/GrVkMemory.cpp', - '<(skia_src_path)/gpu/vk/GrVkMemory.h', - '<(skia_src_path)/gpu/vk/GrVkPipeline.cpp', - '<(skia_src_path)/gpu/vk/GrVkPipeline.h', - '<(skia_src_path)/gpu/vk/GrVkPipelineState.cpp', - '<(skia_src_path)/gpu/vk/GrVkPipelineState.h', - '<(skia_src_path)/gpu/vk/GrVkPipelineStateBuilder.cpp', - '<(skia_src_path)/gpu/vk/GrVkPipelineStateBuilder.h', - '<(skia_src_path)/gpu/vk/GrVkPipelineStateCache.cpp', - '<(skia_src_path)/gpu/vk/GrVkPipelineStateDataManager.cpp', - '<(skia_src_path)/gpu/vk/GrVkPipelineStateDataManager.h', - '<(skia_src_path)/gpu/vk/GrVkRenderPass.cpp', - '<(skia_src_path)/gpu/vk/GrVkRenderPass.h', - '<(skia_src_path)/gpu/vk/GrVkRenderTarget.cpp', - '<(skia_src_path)/gpu/vk/GrVkRenderTarget.h', - '<(skia_src_path)/gpu/vk/GrVkResource.h', - '<(skia_src_path)/gpu/vk/GrVkResourceProvider.cpp', - '<(skia_src_path)/gpu/vk/GrVkResourceProvider.h', - '<(skia_src_path)/gpu/vk/GrVkSampler.cpp', - '<(skia_src_path)/gpu/vk/GrVkSampler.h', - '<(skia_src_path)/gpu/vk/GrVkStencilAttachment.cpp', - '<(skia_src_path)/gpu/vk/GrVkStencilAttachment.h', - '<(skia_src_path)/gpu/vk/GrVkTexture.cpp', - '<(skia_src_path)/gpu/vk/GrVkTexture.h', - '<(skia_src_path)/gpu/vk/GrVkTextureRenderTarget.cpp', - '<(skia_src_path)/gpu/vk/GrVkTextureRenderTarget.h', - '<(skia_src_path)/gpu/vk/GrVkTransferBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkTransferBuffer.h', - '<(skia_src_path)/gpu/vk/GrVkUniformBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkUniformBuffer.h', - '<(skia_src_path)/gpu/vk/GrVkUniformHandler.cpp', - '<(skia_src_path)/gpu/vk/GrVkUniformHandler.h', - '<(skia_src_path)/gpu/vk/GrVkUtil.cpp', - '<(skia_src_path)/gpu/vk/GrVkUtil.h', - '<(skia_src_path)/gpu/vk/GrVkVaryingHandler.cpp', - '<(skia_src_path)/gpu/vk/GrVkVaryingHandler.h', - '<(skia_src_path)/gpu/vk/GrVkVertexBuffer.cpp', - '<(skia_src_path)/gpu/vk/GrVkVertexBuffer.h', - ], - 'skgpu_native_gl_sources': [ - '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp', - '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp', - '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp', - '<(skia_src_path)/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp', - '<(skia_src_path)/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp', - '<(skia_src_path)/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp', - '<(skia_src_path)/gpu/gl/android/GrGLCreateNativeInterface_android.cpp', - ], - 'skgpu_null_gl_sources': [ - ], - }, -} |