зеркало из https://github.com/mozilla/moz-skia.git
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6306 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
61729ecc6c
Коммит
1aa90cf11e
|
@ -28,7 +28,7 @@ static void stroke_rect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) {
|
|||
static void draw_donut(SkCanvas* canvas, const SkRect& r, const SkPaint& p) {
|
||||
SkRect rect;
|
||||
SkPath path;
|
||||
|
||||
|
||||
rect = r;
|
||||
rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2);
|
||||
path.addRect(rect);
|
||||
|
|
|
@ -67,7 +67,7 @@ protected:
|
|||
static EffectKey GenID() {
|
||||
GR_DEBUGCODE(static const int32_t kClassIDBits = 8 * sizeof(EffectKey) -
|
||||
kTextureKeyBits -
|
||||
kEffectKeyBits);
|
||||
kEffectKeyBits);
|
||||
// fCurrEffectClassID has been initialized to kIllegalEffectClassID. The
|
||||
// atomic inc returns the old value not the incremented value. So we add
|
||||
// 1 to the returned value.
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
fShowSkeleton = true;
|
||||
fUseGPU = false;
|
||||
fUseClip = false;
|
||||
|
||||
|
||||
fClipRect.set(2, 2, 11, 8 );
|
||||
}
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ void GrGLTextureDomainEffect::setData(const GrGLUniformManager& uman, const GrEf
|
|||
effect.getMatrix(),
|
||||
stage.getCoordChangeMatrix(),
|
||||
effect.texture(0));
|
||||
}
|
||||
}
|
||||
|
||||
GrGLEffect::EffectKey GrGLTextureDomainEffect::GenKey(const GrEffectStage& stage, const GrGLCaps&) {
|
||||
const GrTextureDomainEffect& effect =
|
||||
|
|
|
@ -167,7 +167,7 @@ static void parse_commandline(int argc, char* const argv[], SkTArray<SkString>*
|
|||
const char* heightString = NULL;
|
||||
bool isPowerOf2Mode = false;
|
||||
const char* mode = NULL;
|
||||
sk_tools::PictureRenderer::BBoxHierarchyType bbhType =
|
||||
sk_tools::PictureRenderer::BBoxHierarchyType bbhType =
|
||||
sk_tools::PictureRenderer::kNone_BBoxHierarchyType;
|
||||
for (++argv; argv < stop; ++argv) {
|
||||
if (0 == strcmp(*argv, "--repeat")) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче