Add support for non AA lines.
Change-Id: Id5200e94815404d62760437d0d2dbb0a9276c700
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index cd7963f..eba0f41 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -189,6 +189,12 @@
int color, SkXfermode::Mode mode, bool ignoreTransform = false);
/**
+ * Setups shaders to draw a colored rect.
+ */
+ void setupColorRect(float left, float top, float right, float bottom,
+ float r, float g, float b, float a, SkXfermode::Mode mode, bool ignoreTransform);
+
+ /**
* Draws a textured rectangle with the specified texture. The specified coordinates
* are transformed by the current snapshot's transform matrix.
*