Set up a RenderState for the host version of RenderThread
CanvasContext expects the render thread to have a non-null render state
associated with it. This adds a render state to the host render thread.
Bug: 322360037
Test: build libhwui on host
Change-Id: Ied07d4bc86eec21ddbb1bfb6cfd45418c70edce0
diff --git a/libs/hwui/renderstate/RenderState.h b/libs/hwui/renderstate/RenderState.h
index e08d32a..60657cf 100644
--- a/libs/hwui/renderstate/RenderState.h
+++ b/libs/hwui/renderstate/RenderState.h
@@ -16,11 +16,13 @@
#ifndef RENDERSTATE_H
#define RENDERSTATE_H
-#include "utils/Macros.h"
-
+#include <pthread.h>
#include <utils/RefBase.h>
+
#include <set>
+#include "utils/Macros.h"
+
namespace android {
namespace uirenderer {