Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13651 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
3b98759529
commit
ade9a3485e
@ -219,7 +219,7 @@ public:
|
||||
|
||||
/** Return true if the SkStream/Buffer represents a serialized picture, and
|
||||
fills out SkPictInfo. After this function returns, the data source is not
|
||||
rewound so it will have to be manually reset before passing to
|
||||
rewound so it will have to be manually reset before passing to
|
||||
CreateFromStream or CreateFromBuffer. Note, CreateFromStream and
|
||||
CreateFromBuffer perform this check internally so these entry points are
|
||||
intended for stand alone tools.
|
||||
|
@ -89,9 +89,9 @@ bool GrPlot::addSubImage(int width, int height, const void* image,
|
||||
return true;
|
||||
}
|
||||
|
||||
void GrPlot::resetRects() {
|
||||
SkASSERT(NULL != fRects);
|
||||
fRects->reset();
|
||||
void GrPlot::resetRects() {
|
||||
SkASSERT(NULL != fRects);
|
||||
fRects->reset();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@ -134,7 +134,7 @@ void GrAtlasMgr::moveToHead(GrPlot* plot) {
|
||||
if (fPlotList.head() == plot) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
fPlotList.remove(plot);
|
||||
fPlotList.addToHead(plot);
|
||||
};
|
||||
|
@ -32,7 +32,7 @@ class GrAtlas;
|
||||
class GrPlot {
|
||||
public:
|
||||
SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrPlot);
|
||||
|
||||
|
||||
int getOffsetX() const { return fOffset.fX; }
|
||||
int getOffsetY() const { return fOffset.fY; }
|
||||
|
||||
|
@ -281,13 +281,13 @@ private:
|
||||
*/
|
||||
int fOutstandingSaveCount;
|
||||
|
||||
/**
|
||||
/**
|
||||
The active saveLayer commands at a given point in the renderering.
|
||||
Only used when "mega" visualization is enabled.
|
||||
*/
|
||||
SkTDArray<SkDrawCommand*> fActiveLayers;
|
||||
|
||||
/**
|
||||
/**
|
||||
The active cull commands at a given point in the rendering.
|
||||
Only used when "mega" visualization is enabled.
|
||||
*/
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
|
||||
// The next "active" system is only used by save, saveLayer, restore,
|
||||
// pushCull and popCull. It is used in two ways:
|
||||
// To determine which saveLayers are currently active (at a
|
||||
// To determine which saveLayers are currently active (at a
|
||||
// given point in the rendering).
|
||||
// save just return a kPushLayer action but don't track active state
|
||||
// restore just return a kPopLayer action
|
||||
|
@ -66,8 +66,8 @@ int tool_main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
if (!stream.readBool()) {
|
||||
// If we read true there's a picture playback object flattened
|
||||
// in the file; if false, there isn't a playback, so we're done
|
||||
// If we read true there's a picture playback object flattened
|
||||
// in the file; if false, there isn't a playback, so we're done
|
||||
// reading the file.
|
||||
return kSuccess;
|
||||
}
|
||||
@ -95,7 +95,7 @@ int tool_main(int argc, char** argv) {
|
||||
// fonts) instead. This forces us to early exit when those
|
||||
// chunks are encountered.
|
||||
switch (tag) {
|
||||
case SK_PICT_READER_TAG:
|
||||
case SK_PICT_READER_TAG:
|
||||
if (FLAGS_tags && !FLAGS_quiet) {
|
||||
SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user