diff options
Diffstat (limited to 'gm')
-rw-r--r-- | gm/mixedxfermodes.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gm/mixedxfermodes.cpp b/gm/mixedxfermodes.cpp index beb5d5410e..c0045f84ae 100644 --- a/gm/mixedxfermodes.cpp +++ b/gm/mixedxfermodes.cpp @@ -45,12 +45,6 @@ protected: } virtual void onDraw(SkCanvas* canvas) { - // FIXME: Currently necessary for GPU to be able to make dst-copy in SampleApp because - // main layer is not a texture. - SkPaint layerPaint; - layerPaint.setXfermodeMode(SkXfermode::kSrc_Mode); - canvas->saveLayer(NULL, &layerPaint); - SkPaint bgPaint; bgPaint.setShader(fBG.get()); canvas->drawPaint(bgPaint); @@ -86,8 +80,6 @@ protected: areaSqrt/50, SkIntToScalar(size.fHeight / 2), txtPaint); - - canvas->restore(); } private: |