diff options
author | 2017-03-06 11:29:48 -0500 | |
---|---|---|
committer | 2017-03-06 17:10:10 +0000 | |
commit | 42c456fd20bd45dd02f6d5eb0af7acf04341b1ee (patch) | |
tree | 8ef8bc1815f2725a7d40822c78d12b1ae6f10db6 /src/gpu/gl/GrGLGpu.h | |
parent | 0bb6f38e511365670b9917ad76ece6f0bee9e282 (diff) |
Remove PLS path renderer
Change-Id: Ib727b0749a5a7da95832970e79804417e8b6a247
Reviewed-on: https://skia-review.googlesource.com/9300
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 57068fb916..564ed7629a 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -144,8 +144,6 @@ public: void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override; - void finishOpList() override; - GrFence SK_WARN_UNUSED_RESULT insertFence() override; bool waitFence(GrFence, uint64_t timeout) override; void deleteFence(GrFence) const override; @@ -273,10 +271,6 @@ private: const SkIPoint& dstPoint); bool generateMipmap(GrGLTexture* texture, bool gammaCorrect); - void stampPLSSetupRect(const SkRect& bounds); - - void setupPixelLocalStorage(const GrPipeline&, const GrPrimitiveProcessor&); - static bool BlendCoeffReferencesConstant(GrBlendCoeff coeff); class ProgramCache : public ::SkNoncopyable { @@ -404,7 +398,6 @@ private: bool createCopyProgram(GrTexture* srcTexture); bool createMipmapProgram(int progIdx); bool createWireRectProgram(); - bool createPLSSetupProgram(); // GL program-related state ProgramCache* fProgramCache; @@ -647,15 +640,6 @@ private: return (wide ? 0x2 : 0x0) | (tall ? 0x1 : 0x0); } - struct { - GrGLuint fProgram; - GrGLint fPosXformUniform; - sk_sp<GrGLBuffer> fArrayBuffer; - } fPLSSetupProgram; - - bool fHWPLSEnabled; - bool fPLSHasBeenUsed; - float fHWMinSampleShading; typedef GrGpu INHERITED; |