libgrallocutils: Support defaults in AdrenoMemInfo
Support defaults in AdrenoMemInfo for cases where libadreno_utils.so
is unavailable.
Change-Id: I0e671f15ec4671488cdeb421f662efa66bc25738
CRs-fixed: 2082006
diff --git a/libgralloc1/gr_adreno_info.h b/libgralloc1/gr_adreno_info.h
index 75ba507..b19256a 100644
--- a/libgralloc1/gr_adreno_info.h
+++ b/libgralloc1/gr_adreno_info.h
@@ -71,8 +71,6 @@
class AdrenoMemInfo {
public:
- bool Init();
-
/*
* Function to compute aligned width and aligned height based on
* width, height, format and usage flags.
@@ -123,6 +121,7 @@
static AdrenoMemInfo *GetInstance();
private:
+ AdrenoMemInfo();
~AdrenoMemInfo();
// link(s)to adreno surface padding library.
int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height,