Create a new RenderPipeline for CPU only rendering
This takes out of SkiaPipeline what relies on GPU, and puts it into SkiaGpuPipeline, making SkiaOpenGLPipeline and SkiaVulkanPipeline inherit from SkiaGpuPipeline. From the new restricted SkiaPipeline, this creates SkiaCpuPipeline that only relies on CPU for rendering. In addition, this moves references to the GrContext out of IRenderPipeline and into SkGpuPipeline as the only usage is in classes inheriting from SkGpuPipeline. Bug: 322360037 Test: build libhwui on host Change-Id: Iee70e49a3bdd5f6e85ced91c1a62a9a357eba4ce
Loading
Please register or sign in to comment