summaryrefslogtreecommitdiff
path: root/gralloc/gr_ion_alloc.h
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2017-12-01 15:33:56 -0500
committerGerrit - the friendly Code Review server <code-review@localhost>2018-02-20 12:17:01 -0800
commita422f35f04e9ec08bf7708a1dd5e61ba5ba14173 (patch)
treeac2b3a8df2a8881e2f1f96d4508fbf99a1005c24 /gralloc/gr_ion_alloc.h
parent9b937a70181dae9762365321805b5297b1d01ee9 (diff)
downloaddisplay-a422f35f04e9ec08bf7708a1dd5e61ba5ba14173.tar.gz
gralloc: Add allocator and mapper HALs
Implement the hidl .hal interfaces directly instead of using the default shims. This is required since new additions to .hal will no longer be added to the legacy gralloc1 C header. Change-Id: If577a14f75d7d13da0ff656c96ab451d21c910ce
Diffstat (limited to 'gralloc/gr_ion_alloc.h')
-rw-r--r--gralloc/gr_ion_alloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gralloc/gr_ion_alloc.h b/gralloc/gr_ion_alloc.h
index b25f509b..6a1fd7f6 100644
--- a/gralloc/gr_ion_alloc.h
+++ b/gralloc/gr_ion_alloc.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2018, 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
@@ -34,7 +34,7 @@
#define FD_INIT -1
-namespace gralloc1 {
+namespace gralloc {
enum {
CACHE_CLEAN = 0x1,
@@ -79,6 +79,6 @@ class IonAlloc {
int ion_dev_fd_;
};
-} // namespace gralloc1
+} // namespace gralloc
#endif // __GR_ION_ALLOC_H__