summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
authorI-Jui (Ray) Sung <ijsung@google.com>2017-03-13 18:27:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-13 18:27:54 +0000
commite9e262feb728cd639ebb178c27b185a22b62c349 (patch)
treeeab077278b439fc8f4d07334f3f2abe7f1634910 /rs_hal.h
parentee2aeb32af1bba3da2dc97d203a36e1c91c1edd6 (diff)
parent700e68883c4324c15b380ff6724249f39d4f498c (diff)
downloadrs-e9e262feb728cd639ebb178c27b185a22b62c349.tar.gz
Merge "Rename unused fields of RS base object handle in 64-bits"
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rs_hal.h b/rs_hal.h
index 5d87a507..cfa646e5 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -101,9 +101,7 @@ class FBOCache;
* correctly.
*
* p = pointer to internal object implementation
- * r = reserved by libRS runtime
- * v1 = Mirror of p->mHal.drv
- * v2 = reserved for use by vendor drivers
+ * unused1, unused2, unused3 = reserved for ABI compatibility
*/
// RS_BASE_OBJ must have the same layout as _RS_OBJECT_DECL defined in
@@ -113,7 +111,7 @@ class FBOCache;
#define RS_BASE_OBJ(_t_) typedef struct { const _t_* p; } __attribute__((packed, aligned(4)))
#define RS_BASE_NULL_OBJ {0}
#else
-#define RS_BASE_OBJ(_t_) typedef struct { const _t_* p; const void* r; const void* v1; const void* v2; }
+#define RS_BASE_OBJ(_t_) typedef struct { const _t_* p; const void* unused1; const void* unused2; const void* unused3; }
#define RS_BASE_NULL_OBJ {0, 0, 0, 0}
#endif