Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5504 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2012-09-12 02:00:57 +00:00
parent c2dd3d4109
commit a9279f0749
5 changed files with 24 additions and 24 deletions

View File

@ -1,12 +1,12 @@
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBBoxHierarchy.h"
SK_DEFINE_INST_COUNT(SkBBoxHierarchy)
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBBoxHierarchy.h"
SK_DEFINE_INST_COUNT(SkBBoxHierarchy)

View File

@ -22,13 +22,13 @@ public:
virtual void handleBBox(const SkRect& bounds) SK_OVERRIDE;
virtual int save(SaveFlags flags = kMatrixClip_SaveFlag) SK_OVERRIDE;
virtual int save(SaveFlags flags = kMatrixClip_SaveFlag) SK_OVERRIDE;
virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
SaveFlags flags = kARGB_ClipLayer_SaveFlag) SK_OVERRIDE;
virtual void restore() SK_OVERRIDE;
SaveFlags flags = kARGB_ClipLayer_SaveFlag) SK_OVERRIDE;
virtual void restore() SK_OVERRIDE;
virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE;
virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE;
virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE;
virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE;
virtual bool rotate(SkScalar degrees) SK_OVERRIDE;
virtual bool skew(SkScalar sx, SkScalar sy) SK_OVERRIDE;
virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE;
@ -36,12 +36,12 @@ public:
virtual bool clipRect(const SkRect& rect,
SkRegion::Op op = SkRegion::kIntersect_Op,
bool doAntiAlias = false) SK_OVERRIDE;
bool doAntiAlias = false) SK_OVERRIDE;
virtual bool clipRegion(const SkRegion& region,
SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRIDE;
SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRIDE;
virtual bool clipPath(const SkPath& path,
SkRegion::Op op = SkRegion::kIntersect_Op,
bool doAntiAlias = false) SK_OVERRIDE;
bool doAntiAlias = false) SK_OVERRIDE;
private:
typedef SkBBoxRecord INHERITED;

View File

@ -177,7 +177,7 @@ SK_DEFINE_INST_COUNT_TEMPLATE(
* SkTMaskPreBlend is a tear-off of SkTMaskGamma. It provides the tables to
* convert a linear alpha value for a given channel to a gamma correcting alpha
* value for that channel. This class is immutable.
*
*
* If fR, fG, or fB is NULL, all of them will be. This indicates that no mask
* pre blend should be applied.
*/

View File

@ -64,7 +64,7 @@ void SkPictureStateTree::appendClip(uint32_t offset) {
this->appendNode(offset);
}
SkPictureStateTree::Iterator SkPictureStateTree::getIterator(const SkTDArray<void*>& draws,
SkPictureStateTree::Iterator SkPictureStateTree::getIterator(const SkTDArray<void*>& draws,
SkCanvas* canvas) {
return Iterator(draws, canvas, fRoot);
}

View File

@ -44,7 +44,7 @@ public:
SkPictureStateTree();
~SkPictureStateTree();
/**
/**
* Creates and returns a struct representing a draw at the given offset.
*/
Draw* appendDraw(uint32_t offset);
@ -108,7 +108,7 @@ private:
// A stack of states for tracking save/restores
SkDeque fStateStack;
// Represents a notable piece of state that requires an offset into the command buffer,
// Represents a notable piece of state that requires an offset into the command buffer,
// corresponding to a clip/saveLayer/etc call, to apply.
struct Node {
Node* fParent;