Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7730 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ba98f95aa5
commit
3d18d063f0
@ -121,7 +121,7 @@ void SkCanvasWidget::resetWidgetTransform() {
|
||||
void SkCanvasWidget::setWidgetVisibility(WidgetType type, bool isHidden) {
|
||||
if (type == kRaster_8888_WidgetType) {
|
||||
fRasterWidget.setHidden(isHidden);
|
||||
}
|
||||
}
|
||||
#if SK_SUPPORT_GPU
|
||||
else if (type == kGPU_WidgetType) {
|
||||
fGLWidget.setHidden(isHidden);
|
||||
|
@ -58,7 +58,7 @@ static bool check_0(const SkTDArray<SkDrawCommand*>& commands, int curCommand) {
|
||||
const SkPaint* saveLayerPaint = saveLayer->paint();
|
||||
SkPaint* dbmrPaint = dbmr->paint();
|
||||
|
||||
// For this optimization we only fold the saveLayer and drawBitmapRect
|
||||
// For this optimization we only fold the saveLayer and drawBitmapRect
|
||||
// together if the saveLayer's draw is simple (i.e., no fancy effects) and
|
||||
// and the only difference in the colors is that the saveLayer's can have
|
||||
// an alpha while the drawBitmapRect's is opaque.
|
||||
@ -123,7 +123,7 @@ static bool check_1(const SkTDArray<SkDrawCommand*>& commands, int curCommand) {
|
||||
const SkPaint* saveLayerPaint = saveLayer->paint();
|
||||
SkPaint* dbmrPaint = dbmr->paint();
|
||||
|
||||
// For this optimization we only fold the saveLayer and drawBitmapRect
|
||||
// For this optimization we only fold the saveLayer and drawBitmapRect
|
||||
// together if the saveLayer's draw is simple (i.e., no fancy effects) and
|
||||
// and the only difference in the colors is that the saveLayer's can have
|
||||
// an alpha while the drawBitmapRect's is opaque.
|
||||
|
Loading…
Reference in New Issue
Block a user