skia2/src/gpu
Brian Salomon 993e7e2521 Make mock GrContext unit testable.
Bug: skia:
Change-Id: I959122f1f2c390832ab1033bcdbdd2ca6cfc0419
Reviewed-on: https://skia-review.googlesource.com/20699
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2017-07-06 15:25:35 +00:00
..
effects GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
gl header cleanup 2017-07-05 15:18:52 +00:00
glsl implemented mustImplementGSInvocationsWithLoop workaround in sksl 2017-06-21 15:55:06 +00:00
instanced Rename GrDrawOp::xpRequiresDstTexture to finalize and change return type to an enum 2017-06-16 14:24:34 +00:00
mock Make mock GrContext unit testable. 2017-07-06 15:25:35 +00:00
mtl Add basic metal build files for backend 2017-07-05 21:12:40 +00:00
ops GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
text Enable SDF text when using a perspective matrix. 2017-06-27 20:17:23 +00:00
vk Revert "Indicate texel buffer support in Vulkan" 2017-07-05 17:23:35 +00:00
GrAHardwareBufferImageGenerator.cpp Cache GrTexture in GrAHardwareBufferImageGenerator 2017-06-28 17:56:46 +00:00
GrAHardwareBufferImageGenerator.h Cache GrTexture in GrAHardwareBufferImageGenerator 2017-06-28 17:56:46 +00:00
GrAllocator.h Add test for processor->resource ref/io counts 2017-01-11 16:01:07 +00:00
GrAppliedClip.h Improve handling of clip stack ID 2017-06-28 21:20:32 +00:00
GrAuditTrail.cpp Remove RenderTarget pointer from GrRenderTargetOpList::RecordedOp 2017-05-17 14:19:40 +00:00
GrAutoLocaleSetter.h Pass LC_ALL_MASK to newlocale 2017-04-17 20:04:47 +00:00
GrBackendSurface.cpp Revert "Revert "Update skia to use ifdefs for Vulkan code instead of dummy header"" 2017-06-14 01:43:38 +00:00
GrBackendTextureImageGenerator.cpp use #ifdef instead of #if for SK_VULKAN 2017-06-14 10:23:07 +00:00
GrBackendTextureImageGenerator.h Add support for SkImageGenerator creating external textures 2017-06-08 20:23:05 +00:00
GrBitmapTextureMaker.cpp Add support for SkImageGenerator creating external textures 2017-06-08 20:23:05 +00:00
GrBitmapTextureMaker.h Add support for SkImageGenerator creating external textures 2017-06-08 20:23:05 +00:00
GrBlend.cpp Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
GrBlurUtils.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrBlurUtils.h Make GrPaints move their GrProcessor ownership into GrPipelineBuilder. 2017-01-11 19:56:48 +00:00
GrBuffer.cpp Don't reuse failed buffers as scratch 2017-06-08 20:46:47 +00:00
GrBuffer.h Remove more headers from include/gpu 2017-04-21 17:12:17 +00:00
GrBufferAllocPool.cpp Handle too many (or too large) paths in GrDefaultPathRenderer 2017-06-20 19:15:58 +00:00
GrBufferAllocPool.h Handle too many (or too large) paths in GrDefaultPathRenderer 2017-06-20 19:15:58 +00:00
GrCaps.cpp Revert "Revert "Expand partial render target write pixels workaround."" 2017-06-12 19:31:53 +00:00
GrClip.h Fix GrReducedClip.cpp: assertion failure surrounding tiny query bounds 2017-06-05 19:53:06 +00:00
GrClipStackClip.cpp Improve handling of clip stack ID 2017-06-28 21:20:32 +00:00
GrClipStackClip.h Compute clipped draw bounds outside GrAppliedClip. 2017-03-14 18:51:49 +00:00
GrColorSpaceXform.cpp Add const to GrColorSpaceXform member arguments 2017-03-14 15:05:45 +00:00
GrColorSpaceXform.h Remove more headers from include/gpu 2017-04-21 17:12:17 +00:00
GrContext.cpp Speculative "fix" for crash in analyzeProcessors 2017-06-30 15:29:50 +00:00
GrContextPriv.h Remove GrSurface-based surfaceContext factories from GrContextPriv 2017-06-01 14:47:31 +00:00
GrCoordTransform.h Fix MDB regression 2017-06-19 16:40:43 +00:00
GrDefaultGeoProcFactory.cpp GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
GrDefaultGeoProcFactory.h GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
GrDistanceFieldGenFromVector.cpp SkScalarMul is deprecated 2017-02-14 14:43:47 +00:00
GrDistanceFieldGenFromVector.h Generate Signed Distance Field directly from vector path 2017-01-09 18:39:43 -08:00
GrDrawingManager.cpp Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrDrawingManager.h Restrict max levels for D3D Angle on GLPrograms test as well 2017-06-19 21:03:34 +00:00
GrDrawOpAtlas.cpp Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
GrDrawOpAtlas.h Make SkImage_Gpu be deferred (take 2) 2017-03-22 11:52:16 +00:00
GrDrawOpTest.cpp Include non-legacy GrMeshDrawOps in GLPrograms test. 2017-05-12 19:08:32 +00:00
GrDrawOpTest.h Include non-legacy GrMeshDrawOps in GLPrograms test. 2017-05-12 19:08:32 +00:00
GrFixedClip.cpp Compute clipped draw bounds outside GrAppliedClip. 2017-03-14 18:51:49 +00:00
GrFixedClip.h Compute clipped draw bounds outside GrAppliedClip. 2017-03-14 18:51:49 +00:00
GrFragmentProcessor.cpp Speculative "fix" for crash in analyzeProcessors 2017-06-30 15:29:50 +00:00
GrFragmentProcessor.h Remove support in GPU backend for distance vector field. 2017-06-02 19:44:18 +00:00
GrGeometryProcessor.h Add support for instanced draws 2017-05-31 20:40:20 +00:00
GrGlyph.h Rename GrBatchAtlas -> GrDrawOpAtlas. 2016-12-17 00:35:39 +00:00
GrGpu.cpp Restrict acceptable bounds for uploading data to mip levels on GPU 2017-06-26 19:49:50 +00:00
GrGpu.h Revert "Revert "Clean up onTransferPixels"" 2017-06-22 13:14:01 +00:00
GrGpuCommandBuffer.cpp Fix failing dm with GrPrimitiveType::kLinesAdjacency 2017-06-14 19:15:09 +00:00
GrGpuCommandBuffer.h Introduce dynamic pipeline state 2017-06-07 18:26:11 +00:00
GrGpuFactory.cpp Add basic metal build files for backend 2017-07-05 21:12:40 +00:00
GrGpuFactory.h Store context options on caps. 2015-05-22 14:01:46 -07:00
GrGpuResource.cpp Setup for another attempt to split up opLists 2017-05-11 19:44:39 +00:00
GrGpuResourceCacheAccess.h Revert "Revert "Add a new GrResourceCache purging mechanism for purging unused resources."" 2017-03-22 20:08:21 +00:00
GrGpuResourcePriv.h Allow wrapped resources to have unique keys 2017-05-08 15:48:44 +00:00
GrGpuResourceRef.cpp Drop the ref on the GrOpList's target in makeClosed (take 2) 2017-06-14 20:11:51 +00:00
GrGpuResourceRef.h Hide GrGpuResourceRef from prying eyes 2017-06-16 12:17:18 +00:00
GrImageTextureMaker.cpp Add support for SkImageGenerator creating external textures 2017-06-08 20:23:05 +00:00
GrImageTextureMaker.h Add support for SkImageGenerator creating external textures 2017-06-08 20:23:05 +00:00
GrMemoryPool.cpp Add debug helper for finding leaks in GrMemoryPool.h 2017-03-28 22:51:34 +00:00
GrMemoryPool.h Add debug helper for finding leaks in GrMemoryPool.h 2017-03-28 22:51:34 +00:00
GrMesh.h header cleanup 2017-07-05 15:18:52 +00:00
GrNonAtomicRef.h Implement difference clip rects with window rectangles 2016-08-17 10:00:22 -07:00
GrOnFlushResourceProvider.cpp Add makeBuffer and caps to GrOnFlushResourceProvider 2017-06-20 19:08:19 +00:00
GrOnFlushResourceProvider.h Add makeBuffer and caps to GrOnFlushResourceProvider 2017-06-20 19:08:19 +00:00
GrOpFlushState.cpp Handle too many (or too large) paths in GrDefaultPathRenderer 2017-06-20 19:15:58 +00:00
GrOpFlushState.h Handle too many (or too large) paths in GrDefaultPathRenderer 2017-06-20 19:15:58 +00:00
GrOpList.cpp Drop the ref on the GrOpList's target in makeClosed (take 2) 2017-06-14 20:11:51 +00:00
GrOpList.h Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrPaint.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrPaint.h Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrPath.cpp Make GrShape compute keys for short paths from path data instead of using the gen id. 2016-09-21 08:26:57 -07:00
GrPath.h Fix key computation for GrPaths 2016-09-15 13:55:33 -07:00
GrPathProcessor.cpp Cleanup ops that are storing GrPipelineOptimizations. 2017-01-05 20:01:26 +00:00
GrPathProcessor.h Cleanup ops that are storing GrPipelineOptimizations. 2017-01-05 20:01:26 +00:00
GrPathRange.cpp Refactor to separate backend object lifecycle and GpuResource budget decision 2016-04-22 01:48:29 -07:00
GrPathRange.h src/gpu: s/SkAutoTUnref/sk_sp/g 2016-11-07 23:36:46 +00:00
GrPathRenderer.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrPathRenderer.h Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrPathRendererChain.cpp Update minimum non-ES OpenGL spec to 2.0. 2017-05-08 16:52:14 +00:00
GrPathRendererChain.h Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
GrPathRendering.cpp Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
GrPathRendering.h Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
GrPathRenderingRenderTargetContext.cpp Delay SkPaint->GrPaint conversion in text rendering. 2017-01-13 17:38:10 +00:00
GrPathRenderingRenderTargetContext.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
GrPathUtils.cpp Handle too many (or too large) paths in GrDefaultPathRenderer 2017-06-20 19:15:58 +00:00
GrPathUtils.h Handle too many (or too large) paths in GrDefaultPathRenderer 2017-06-20 19:15:58 +00:00
GrPendingProgramElement.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
GrPipeline.cpp Re-enable opList dependency tracking 2017-06-26 16:52:31 +00:00
GrPipeline.h Re-enable opList dependency tracking 2017-06-26 16:52:31 +00:00
GrPipelineBuilder.h Hide GrGpuResourceRef from prying eyes 2017-06-16 12:17:18 +00:00
GrPrimitiveProcessor.cpp Fully remove coord transform precision code 2017-04-04 13:19:18 +00:00
GrPrimitiveProcessor.h Remove support in GPU backend for distance vector field. 2017-06-02 19:44:18 +00:00
GrProcessor.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrProcessor.h GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
GrProcessorAnalysis.cpp Make GrSimpleMeshDrawOpHelper record whether coverage can be implemented as alpha 2017-06-05 16:47:45 +00:00
GrProcessorAnalysis.h Make GrSimpleMeshDrawOpHelper record whether coverage can be implemented as alpha 2017-06-05 16:47:45 +00:00
GrProcessorSet.cpp Fix logic error when drawing path as nested rects 2017-06-16 21:55:57 +00:00
GrProcessorSet.h Add processor info dumping to non-legacy mesh draw ops 2017-06-15 19:10:28 +00:00
GrProcessorUnitTest.cpp make GR_TEST_UTILS=0 work 2017-02-02 12:49:17 +00:00
GrProcessorUnitTest.h GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
GrProgramDesc.cpp Convert DstTexture to DstProxy (take 2) 2017-05-29 19:26:26 +00:00
GrProgramDesc.h Replaced all calls to fragmentPosition() with sk_FragCoord 2017-02-13 14:49:09 +00:00
GrProgramElement.h Hide GrGpuResourceRef from prying eyes 2017-06-16 12:17:18 +00:00
GrQuad.h combine setRectFan and mapRect 2016-08-24 04:22:08 -07:00
GrRect.h allow inf/nan in GrRect isect utility functions. 2017-05-10 12:53:32 +00:00
GrRectanizer_pow2.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrRectanizer_pow2.h Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
GrRectanizer_skyline.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrRectanizer_skyline.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrRectanizer.h
GrReducedClip.cpp Improve handling of clip stack ID 2017-06-28 21:20:32 +00:00
GrReducedClip.h Improve handling of clip stack ID 2017-06-28 21:20:32 +00:00
GrRenderTarget.cpp Move Flags from GrRenderTarget to GrTypesPriv.h & rename 2017-06-13 13:12:17 +00:00
GrRenderTargetContext.cpp Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrRenderTargetContext.h Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrRenderTargetContextPriv.h Improve handling of clip stack ID 2017-06-28 21:20:32 +00:00
GrRenderTargetOpList.cpp Finish a few MDB TODOs 2017-06-23 18:53:56 +00:00
GrRenderTargetOpList.h Improve handling of clip stack ID 2017-06-28 21:20:32 +00:00
GrRenderTargetPriv.h Move Flags from GrRenderTarget to GrTypesPriv.h & rename 2017-06-13 13:12:17 +00:00
GrRenderTargetProxy.cpp Move Flags from GrRenderTarget to GrTypesPriv.h & rename 2017-06-13 13:12:17 +00:00
GrResourceCache.cpp Remove ImmediateFlush mode 2017-06-02 17:35:18 +00:00
GrResourceCache.h Remove ImmediateFlush mode 2017-06-02 17:35:18 +00:00
GrResourceHandle.h Allow gpu ResourceHandle class to be shared for multiple purposes 2016-05-09 11:03:48 -07:00
GrResourceProvider.cpp Revert "Revert "Add API for flushing surfaces with gpu semaphores"" 2017-06-16 14:22:34 +00:00
GrResourceProvider.h Revert "Revert "Add API for flushing surfaces with gpu semaphores"" 2017-06-16 14:22:34 +00:00
GrScissorState.h Improve usage of window rectangles 2016-09-06 10:01:07 -07:00
GrSemaphore.h Revert "Revert "Add API for flushing surfaces with gpu semaphores"" 2017-06-16 14:22:34 +00:00
GrShaderCaps.cpp Add support for instanced draws 2017-05-31 20:40:20 +00:00
GrShaderVar.cpp Rename vars and functions from 'glslcaps'->'shadercaps' 2016-11-29 20:17:48 +00:00
GrShaderVar.h Remove two more gpu headers from include/* 2017-04-24 12:57:31 +00:00
GrShape.cpp Don't compute path keys for volatile paths in GrShape. 2016-09-23 12:09:16 -07:00
GrShape.h Make GrShape compute keys for short paths from path data instead of using the gen id. 2016-09-21 08:26:57 -07:00
GrSKSLPrettyPrint.cpp Attempt to work around iOS varying limit in GLPrograms test 2017-05-15 15:41:01 +00:00
GrSKSLPrettyPrint.h Attempt to work around iOS varying limit in GLPrograms test 2017-05-15 15:41:01 +00:00
GrSoftwarePathRenderer.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +00:00
GrSoftwarePathRenderer.h Rebase and fix chromium 2017-03-04 13:49:47 +00:00
GrStencilAttachment.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrStencilAttachment.h TEMPORARY: track stencil clip state in GrRenderTargetOpList 2016-11-01 07:03:03 -07:00
GrStencilSettings.cpp Revert "Revert "Workaround Adreno driver issue with stencil clears."" 2017-06-06 23:32:28 +00:00
GrStencilSettings.h Revert "Revert "Workaround Adreno driver issue with stencil clears."" 2017-06-06 23:32:28 +00:00
GrStyle.cpp Try out new refFoo pattern on GrStyle 2017-01-13 16:50:25 +00:00
GrStyle.h Try out new refFoo pattern on GrStyle 2017-01-13 16:50:25 +00:00
GrSurface.cpp Move Flags from GrRenderTarget to GrTypesPriv.h & rename 2017-06-13 13:12:17 +00:00
GrSurfaceContext.cpp Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrSurfaceContext.h Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrSurfaceContextPriv.h Partially defer GrSWMaskHelper 2016-12-14 19:04:02 +00:00
GrSurfacePriv.h Omnibus: Push instantiation of GrTextures later (post TextureSampler) 2017-06-02 11:46:40 +00:00
GrSurfaceProxy.cpp Re-enable deferred proxies in Chrome 2017-06-12 15:59:47 +00:00
GrSurfaceProxyPriv.h Make instantiate return a Boolean 2017-06-05 14:03:10 +00:00
GrSWMaskHelper.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrSWMaskHelper.h Retract GrContext from src/gpu/effects 2017-03-15 15:20:40 +00:00
GrTessellator.cpp GrTessellator: fix two NaN issues. 2017-06-12 17:44:23 +00:00
GrTessellator.h Screenspace AA tessellated GPU path rendering. 2016-08-31 10:36:19 -07:00
GrTestUtils.cpp Remove GrProcessorTestData's GrTextures 2017-02-21 16:34:11 +00:00
GrTestUtils.h Reland of SkShaderBase 2017-05-25 14:59:07 +00:00
GrTexture.cpp Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
GrTextureAdjuster.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +00:00
GrTextureAdjuster.h headers: fix 2017-05-03 19:44:52 +00:00
GrTextureContext.cpp Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrTextureContext.h Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrTextureMaker.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrTextureMaker.h Add support for SkImageGenerator creating external textures 2017-06-08 20:23:05 +00:00
GrTextureOpList.cpp Finish a few MDB TODOs 2017-06-23 18:53:56 +00:00
GrTextureOpList.h Move copy operation from GrRenderTargetContext/GrTextureContext to GrSurfaceContext 2017-06-28 16:44:36 +00:00
GrTexturePriv.h Make mock GrContext unit testable. 2017-07-06 15:25:35 +00:00
GrTextureProducer.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrTextureProducer.h Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrTextureProxy.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrTextureRenderTargetProxy.cpp Move Flags from GrRenderTarget to GrTypesPriv.h & rename 2017-06-13 13:12:17 +00:00
GrTextureRenderTargetProxy.h Make instantiate return a Boolean 2017-06-05 14:03:10 +00:00
GrTextureStripAtlas.h check-headers-self-sufficient: update 2017-03-21 15:28:12 +00:00
GrTraceMarker.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrTraceMarker.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
GrTracing.h Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
GrTRecorder.h Consolidate SK_CRASH and sk_throw into SK_ABORT 2016-01-29 08:51:04 -08:00
GrUserStencilSettings.h Remove XP override color. 2017-03-06 13:39:09 +00:00
GrWindowRectangles.h Remove origin from GrClipStackClip and GrWindowRectsState. 2017-03-13 22:01:06 +00:00
GrWindowRectsState.h Remove origin from GrClipStackClip and GrWindowRectsState. 2017-03-13 22:01:06 +00:00
GrXferProcessor.cpp Fix gpu lcd blending to semi-correctly handle alpha coverage 2017-05-19 17:20:33 +00:00
GrXferProcessor.h Retract GrTexture.h a bit 2017-06-09 17:29:09 +00:00
GrYUVProvider.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrYUVProvider.h Fix spelling of SkImageGenerator in comment 2017-04-24 13:31:32 +00:00
SkGpuDevice_drawTexture.cpp Make GrRenderTarget[(Proxy)|(Context)]? advertise a "full scene aa type". 2017-05-12 16:32:57 +00:00
SkGpuDevice.cpp Speculative "fix" for crash in analyzeProcessors 2017-06-30 15:29:50 +00:00
SkGpuDevice.h SkDevice::drawBitmap takes x,y, not matrix 2017-06-27 15:33:35 +00:00
SkGr.cpp Speculative "fix" for crash in analyzeProcessors 2017-06-30 15:29:50 +00:00
SkGr.h Add GrPrimitiveType::kLinesAdjacency 2017-06-13 18:18:23 +00:00