Add x86 server support.
Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
diff --git a/driver/rsdAllocation.h b/driver/rsdAllocation.h
index d8f46c5..c209203 100644
--- a/driver/rsdAllocation.h
+++ b/driver/rsdAllocation.h
@@ -22,11 +22,13 @@
#include <rsAllocation.h>
#include "../cpu_ref/rsd_cpu.h"
+
+#ifndef RS_SERVER
#include "gui/CpuConsumer.h"
#include "gui/GLConsumer.h"
-
#include <GLES/gl.h>
#include <GLES2/gl2.h>
+#endif
class RsdFrameBufferObj;
struct ANativeWindow;
@@ -65,8 +67,10 @@
ANativeWindow *wnd;
ANativeWindowBuffer *wndBuffer;
+#ifndef RS_SERVER
android::sp< android::CpuConsumer > cpuConsumer;
android::CpuConsumer::LockedBuffer lb;
+#endif
};
#ifndef RS_COMPATIBILITY_LIB