Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkBlurTypes.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColorFilter.h"
#include "include/core/SkMaskFilter.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkScalar.h"
Go to the source code of this file.
Functions | |
DEF_SIMPLE_GM_BG (skbug1719, canvas, 300, 100, 0xFF303030) | |
DEF_SIMPLE_GM_BG | ( | skbug1719 | , |
canvas | , | ||
300 | , | ||
100 | , | ||
0xFF303030 | |||
) |
This test exercises bug 1719. An anti-aliased blurred path is rendered through a soft clip. On the GPU a scratch texture was used to hold the original path mask as well as the blurred path result. The same texture is then incorrectly used to generate the soft clip mask for the draw. Thus the same texture is used for both the blur mask and soft mask in a single draw.
The correct image should look like a thin stroked round rect.
Definition at line 26 of file skbug1719.cpp.