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

Unified Diff: src/gpu/GrAtlas.cpp

Issue 197663003: Remove unused zero_fill() in GrAtlas.cpp (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAtlas.cpp
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp
index 668a73a6958313430ec4ae243afc95939642d1a4..349b47f620626a22fac6c1038915cb8e008d4200 100644
--- a/src/gpu/GrAtlas.cpp
+++ b/src/gpu/GrAtlas.cpp
@@ -60,11 +60,6 @@ static inline void adjust_for_offset(GrIPoint16* loc, const GrIPoint16& offset)
loc->fY += offset.fY * GR_ATLAS_HEIGHT;
}
-static inline uint8_t* zero_fill(uint8_t* ptr, size_t count) {
- sk_bzero(ptr, count);
- return ptr + count;
-}
-
bool GrPlot::addSubImage(int width, int height, const void* image,
GrIPoint16* loc) {
if (!fRects->addRect(width, height, loc)) {
« 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