summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderstate/Scissor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/renderstate/Scissor.cpp')
-rw-r--r--libs/hwui/renderstate/Scissor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/hwui/renderstate/Scissor.cpp b/libs/hwui/renderstate/Scissor.cpp
index 66c31a2..95dcd18 100644
--- a/libs/hwui/renderstate/Scissor.cpp
+++ b/libs/hwui/renderstate/Scissor.cpp
@@ -15,6 +15,8 @@
*/
#include "renderstate/Scissor.h"
+#include <utils/Log.h>
+
namespace android {
namespace uirenderer {
@@ -79,6 +81,11 @@ void Scissor::invalidate() {
reset();
}
+void Scissor::dump() {
+ ALOGD("Scissor: enabled %d, %d %d %d %d",
+ mEnabled, mScissorX, mScissorY, mScissorWidth, mScissorHeight);
+}
+
} /* namespace uirenderer */
} /* namespace android */