summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLRenderer.cpp
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-11-21 15:51:04 -0800
committer Andreas Gampe <agampe@google.com> 2014-11-21 15:51:04 -0800
commit8a902d9f24e83c87b054adb5836b4a5b8a257be9 (patch)
tree7a1842dd8f8b9b8e1880df7a3fe0fc7f5d103d48 /libs/hwui/OpenGLRenderer.cpp
parentfa6547f6c0aad15c308a4ba946955087081ae1eb (diff)
parent220c3f4f48b53b6010093a1ef437f4197a382ebf (diff)
resolved conflicts for merge of 220c3f4f to master
Change-Id: I37ecce8fddecdff82b0eace16f1ee75152f7171e
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
-rwxr-xr-xlibs/hwui/OpenGLRenderer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp
index 96a69f7e5cb5..866d82d6a8a6 100755
--- a/libs/hwui/OpenGLRenderer.cpp
+++ b/libs/hwui/OpenGLRenderer.cpp
@@ -349,7 +349,7 @@ void OpenGLRenderer::resumeAfterLayer() {
dirtyClip();
}
-void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) {
+void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& /* dirty */) {
if (mState.currentlyIgnored()) return;
Rect clip(*mState.currentClipRect());
@@ -402,6 +402,8 @@ void OpenGLRenderer::eventMarkDEBUG(const char* fmt, ...) const {
va_end(ap);
eventMark(buf);
+#else
+ (void)fmt;
#endif
}
@@ -1048,7 +1050,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.");
}