skia2/experimental/graphite/src
Michael Ludwig 35553cd3a7 Pull back PatchWriter from Tessellator APIs
This is pretty much just refactoring, condensing the virtual APIs of
PathTessellator and StrokeTessellator to not require exposing
PatchWriter. Once landed, this makes it easier to move PatchWriter to
a template where each Tessellator subclass has a different instantation.

Bug: skia:13012
Change-Id: I1211a707f3e6ac6b3543cf17a3d3af0372221ce4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/517978
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2022-03-09 17:13:27 +00:00
..
geom [bazel] Support Vulkan 2022-03-08 21:21:17 +00:00
mtl [graphite] Plumb PaintParamsKey's data payload down to glue code generators 2022-03-09 15:26:46 +00:00
render [bazel] Regenerate files and build with c++17 2022-02-01 13:15:22 +00:00
Attribute.h [graphite] Move SLType, Uniform, and UniformData to src/core 2022-01-21 16:40:31 +00:00
BackendTexture.cpp [graphite] Add Context create/deleteBackendTexture calls. 2021-11-30 21:36:23 +00:00
Buffer.cpp [graphite] Add Buffer and MtlBuffer classes. 2021-10-13 18:28:12 +00:00
Buffer.h [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
BUILD.bazel [bazel] Support Vulkan 2022-03-08 21:21:17 +00:00
Caps.cpp [graphite] Add support for creating wrapped SkSurfaces. 2021-12-15 20:22:25 +00:00
Caps.h [graphite] Add calcuating of graphtie resource key for Textures in Caps 2022-02-11 16:03:46 +00:00
CommandBuffer.cpp [graphite] Add buffer to texture copy support 2022-02-03 22:25:11 +00:00
CommandBuffer.h [graphite] Add UploadList and UploadTask. 2022-02-08 18:25:29 +00:00
Context.cpp [graphite] Make CreateKey work more like ExtractPaintData 2022-03-09 14:07:53 +00:00
ContextPriv.cpp [graphite] Switch PaintParamsKey over to a builder/result model 2022-02-17 17:48:01 +00:00
ContextPriv.h [graphite] Switch PaintParamsKey over to a builder/result model 2022-02-17 17:48:01 +00:00
ContextUtils.cpp [graphite] Plumb through the BlendInfo 2022-03-09 14:39:12 +00:00
ContextUtils.h [graphite] Rename SkUniformBlock to SkPipelineData 2022-03-02 17:01:07 +00:00
CopyTask.cpp [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
CopyTask.h [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
Device.cpp [graphite] Hook up Surface::writePixels 2022-02-11 16:37:41 +00:00
Device.h [graphite] Hook up Surface::writePixels 2022-02-11 16:37:41 +00:00
DrawBufferManager.cpp [Graphite] Support caching of buffers. 2022-03-08 18:14:47 +00:00
DrawBufferManager.h [graphite] Remove use of GraphiteTypesPriv and move to *Types in src. 2021-11-15 20:57:23 +00:00
DrawContext.cpp [graphite] Hook up Surface::writePixels 2022-02-11 16:37:41 +00:00
DrawContext.h [graphite] Hook up Surface::writePixels 2022-02-11 16:37:41 +00:00
DrawList.cpp [graphite] Break PaintParams out into its own header 2022-01-07 18:02:49 +00:00
DrawList.h Remove references to skstd::optional in Skia. 2022-02-04 15:03:16 +00:00
DrawOrder.h [graphite] Fix link error in DrawOrder.h 2021-10-26 16:54:10 +00:00
DrawPass.cpp [graphite] Make CreateKey work more like ExtractPaintData 2022-03-09 14:07:53 +00:00
DrawPass.h [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
DrawTypes.h [graphite] Move SLType, Uniform, and UniformData to src/core 2022-01-21 16:40:31 +00:00
DrawWriter.cpp [graphite] Use RAII helper structs to configure append modes in DrawWriter 2022-01-26 21:52:45 +00:00
DrawWriter.h [graphite] Use RAII helper structs to configure append modes in DrawWriter 2022-01-26 21:52:45 +00:00
EnumBitMask.h [graphite] Remove use of GraphiteTypesPriv and move to *Types in src. 2021-11-15 20:57:23 +00:00
GlobalCache.cpp [graphite] Rearrange headers 2022-02-08 19:07:34 +00:00
GlobalCache.h [graphite] Add GlobalCache class to hold objects that can be accesed by all Recorders. 2022-02-01 21:55:14 +00:00
Gpu.cpp [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
Gpu.h [graphite] Add basic stubs for ResourceCache. 2022-02-04 19:25:11 +00:00
GpuWorkSubmission.h [graphite] Add command buffer submission and tracking 2021-10-12 20:04:29 +00:00
GraphicsPipeline.cpp [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
GraphicsPipeline.h [graphite] Add Resource class to be base class for cached objects. 2022-01-06 20:39:20 +00:00
GraphicsPipelineDesc.cpp [graphite] Rename RenderPipeline[Desc] to GraphicsPipeline[Desc] 2021-11-05 18:58:15 +00:00
GraphicsPipelineDesc.h [graphite] Add a means of accumulating multiple code snippets 2022-02-08 16:46:50 +00:00
GraphiteResourceKey.cpp [graphite] Add GraphiteResourceKey class. 2022-02-08 18:28:43 +00:00
GraphiteResourceKey.h [graphite] Fill out ResourceCache functions. 2022-02-24 20:16:01 +00:00
Image_Graphite.cpp [graphite] Add isGaneshBacked and isGraphiteBacked 2022-03-02 23:35:16 +00:00
Image_Graphite.h [graphite] Add isGaneshBacked and isGraphiteBacked 2022-03-02 23:35:16 +00:00
Log.h [graphite] Wrap log macros in do-while to avoid semicolon warnings 2022-01-18 19:46:18 +00:00
PaintParams.cpp [graphite] Rename SkUniformBlock to SkPipelineData 2022-03-02 17:01:07 +00:00
PaintParams.h [graphite] Rename SkUniformBlock to SkPipelineData 2022-03-02 17:01:07 +00:00
PipelineDataCache.cpp [graphite] Split SkPipelineData out into its own file(s) 2022-03-08 16:04:35 +00:00
PipelineDataCache.h [graphite] Rename SkUniformBlock to SkPipelineData 2022-03-02 17:01:07 +00:00
ProgramCache.cpp Add ShaderType::kSolidColor and make Combinations work w/ PaintParams 2021-11-16 16:31:09 +00:00
Recorder.cpp [graphite] Split SkPipelineData out into its own file(s) 2022-03-08 16:04:35 +00:00
RecorderPriv.cpp [graphite] Rename SkUniformBlock to SkPipelineData 2022-03-02 17:01:07 +00:00
RecorderPriv.h [graphite] Rename SkUniformBlock to SkPipelineData 2022-03-02 17:01:07 +00:00
Recording.cpp [graphite] Move Recorder and Recording to public include. 2021-12-02 16:49:12 +00:00
Renderer.h [graphite] Move SLType, Uniform, and UniformData to src/core 2022-01-21 16:40:31 +00:00
RenderPassTask.cpp [graphite] Use ResourceCache for stencil attachments. 2022-03-04 15:44:45 +00:00
RenderPassTask.h [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
Resource.cpp [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
Resource.h [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
ResourceCache.cpp Pull back PatchWriter from Tessellator APIs 2022-03-09 17:13:27 +00:00
ResourceCache.h [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
ResourceProvider.cpp [Graphite] Support caching of buffers. 2022-03-08 18:14:47 +00:00
ResourceProvider.h [graphite] Add support for caching scratch textures. 2022-03-07 23:27:47 +00:00
ResourceTypes.h [graphite] Fix ResourceCache thread safety when purging resources. 2022-03-02 19:21:47 +00:00
Sampler.cpp [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
Sampler.h [graphite] Add skgpu::Sampler and skgpu::mtl::Sampler classes 2022-01-24 16:41:10 +00:00
SkStuff.cpp [graphite] Rename skgpu::Surface_Graphite to skgpu::Surface 2022-02-10 21:50:41 +00:00
Surface_Graphite.cpp [graphite] Add SkImage::makeTextureImage for Graphite. 2022-03-02 21:30:10 +00:00
Surface_Graphite.h [graphite] Rename skgpu::Surface_Graphite to skgpu::Surface 2022-02-10 21:50:41 +00:00
Task.cpp Add more stub classes 2021-09-22 15:59:54 +00:00
Task.h [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
TaskGraph.cpp [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
TaskGraph.h [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
Texture.cpp [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
Texture.h [graphite] Add validation checks to ResourceCache 2022-03-03 14:59:11 +00:00
TextureInfo.cpp [graphite] Use renderpassdesc to setup graphics pipelines 2022-01-11 16:49:48 +00:00
TextureProxy.cpp [graphite] Add support for caching scratch textures. 2022-03-07 23:27:47 +00:00
TextureProxy.h [graphite] Add support for creating wrapped SkSurfaces. 2021-12-15 20:22:25 +00:00
TextureProxyView.h [graphite] Add TextureProxyView class. 2022-02-17 15:22:40 +00:00
UniformManager.cpp [graphite] Fix two bugs wrt uniform uploading 2022-02-10 14:01:41 +00:00
UniformManager.h [graphite] Fix two bugs wrt uniform uploading 2022-02-10 14:01:41 +00:00
UploadTask.cpp [graphite] Hook up Surface::writePixels 2022-02-11 16:37:41 +00:00
UploadTask.h [graphite] Add buffer setup for texture uploads 2022-02-09 19:58:44 +00:00