sde: resource manager: rotator resource allocation

Only mark dedicate block for rotator allocation. Use
rotate array other than left_rotate and right_rotate.
Use bit mask to indicate rotation usage because rotation
can be shared by multi displays.

Change-Id: I70bd03250080a24dcf7f38c39dbd6391c0bba97c
diff --git a/displayengine/include/utils/constants.h b/displayengine/include/utils/constants.h
index a0f2bfb..a7b9f0f 100644
--- a/displayengine/include/utils/constants.h
+++ b/displayengine/include/utils/constants.h
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2014, The Linux Foundation. All rights reserved.
+* Copyright (c) 2014 - 2015, The Linux Foundation. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification, are permitted
 * provided that the following conditions are met:
@@ -52,6 +52,7 @@
 namespace sde {
 
   const int kThreadPriorityUrgent = -9;
+  const int kMaxRotatePerLayer = 2;
 
   typedef void * Handle;