| Index: src/pipe/SkGPipeRead.cpp
|
| diff --git a/src/pipe/SkGPipeRead.cpp b/src/pipe/SkGPipeRead.cpp
|
| index 513a34d6394c6c1eded70d64b999a4b4f5a7c294..8827adc73f393e6ecf58c8c6b09a4e107c4ab607 100644
|
| --- a/src/pipe/SkGPipeRead.cpp
|
| +++ b/src/pipe/SkGPipeRead.cpp
|
| @@ -396,6 +396,16 @@ static void drawRRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32,
|
| }
|
| }
|
|
|
| +static void drawDRRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32,
|
| + SkGPipeState* state) {
|
| + SkRRect outer, inner;
|
| + reader->readRRect(&outer);
|
| + reader->readRRect(&inner);
|
| + if (state->shouldDraw()) {
|
| + canvas->drawDRRect(outer, inner, state->paint());
|
| + }
|
| +}
|
| +
|
| static void drawPath_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32,
|
| SkGPipeState* state) {
|
| SkPath path;
|
| @@ -763,6 +773,7 @@ static const ReadProc gReadTable[] = {
|
| drawBitmapRect_rp,
|
| drawClear_rp,
|
| drawData_rp,
|
| + drawDRRect_rp,
|
| drawOval_rp,
|
| drawPaint_rp,
|
| drawPath_rp,
|
|
|