diff options
author | 2014-11-21 09:49:08 -0800 | |
---|---|---|
committer | 2014-11-21 10:39:21 -0800 | |
commit | 42ddc18d108f789705ad4eb697ce9599ad322507 (patch) | |
tree | 53ed2c03a53112f6bfd515a6d03b02dfed0cc9e9 /libs/hwui/OpenGLRenderer.cpp | |
parent | f926d71b8ef2790da067550144860705c1a61fe5 (diff) |
Frameworks/base: Unused parameters in hwui
Remove Clang cutout for unused parameters. Fix warnings.
Remove Clang cutout for deprecated Skia function usage. Has been
fixed in the L push.
Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
-rwxr-xr-x | libs/hwui/OpenGLRenderer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 40a58f290619..488ae91297a6 100755 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -348,7 +348,7 @@ void OpenGLRenderer::resumeAfterLayer() { dirtyClip(); } -status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { +status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& /* dirty */) { if (currentSnapshot()->isIgnored()) return DrawGlInfo::kStatusDone; Rect clip(*currentClipRect()); @@ -401,6 +401,8 @@ void OpenGLRenderer::eventMarkDEBUG(const char* fmt, ...) const { va_end(ap); eventMark(buf); +#else + (void)fmt; #endif } @@ -1087,7 +1089,7 @@ public: } protected: - virtual void shadeSpan(int x, int y, SkPMColor[], int count) { + virtual void shadeSpan(int /* x */, int /* y */, SkPMColor[], int /* count */) { LOG_ALWAYS_FATAL("LayerShader should never be drawn with raster backend."); } |