Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/core/SkBitmap.cpp

Issue 17893004: fix build break, remove "RLE" from gConfigNames too (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2008 The Android Open Source Project 3 * Copyright 2008 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
(...skipping 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 } 1608 }
1609 } 1609 }
1610 #endif 1610 #endif
1611 } 1611 }
1612 #endif 1612 #endif
1613 1613
1614 #ifdef SK_DEVELOPER 1614 #ifdef SK_DEVELOPER
1615 void SkBitmap::toString(SkString* str) const { 1615 void SkBitmap::toString(SkString* str) const {
1616 1616
1617 static const char* gConfigNames[kConfigCount] = { 1617 static const char* gConfigNames[kConfigCount] = {
1618 "NONE", "A1", "A8", "INDEX8", "565", "4444", "8888", "RLE" 1618 "NONE", "A1", "A8", "INDEX8", "565", "4444", "8888"
1619 }; 1619 };
1620 1620
1621 str->appendf("bitmap: ((%d, %d) %s", this->width(), this->height(), 1621 str->appendf("bitmap: ((%d, %d) %s", this->width(), this->height(),
1622 gConfigNames[this->config()]); 1622 gConfigNames[this->config()]);
1623 1623
1624 str->append(" ("); 1624 str->append(" (");
1625 if (this->isOpaque()) { 1625 if (this->isOpaque()) {
1626 str->append("opaque"); 1626 str->append("opaque");
1627 } else { 1627 } else {
1628 str->append("transparent"); 1628 str->append("transparent");
(...skipping 14 matching lines...) Expand all
1643 if (NULL != uri) { 1643 if (NULL != uri) {
1644 str->appendf(" uri:\"%s\"", uri); 1644 str->appendf(" uri:\"%s\"", uri);
1645 } else { 1645 } else {
1646 str->appendf(" pixelref:%p", pr); 1646 str->appendf(" pixelref:%p", pr);
1647 } 1647 }
1648 } 1648 }
1649 1649
1650 str->append(")"); 1650 str->append(")");
1651 } 1651 }
1652 #endif 1652 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698