summaryrefslogtreecommitdiffstats
path: root/minui/graphics_adf.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-15 19:58:56 +0200
committerElliott Hughes <enh@google.com>2015-04-15 19:58:56 +0200
commit0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9 (patch)
tree625c21a7688ed613dd22fc9fc9e6c68cec7c44bc /minui/graphics_adf.cpp
parentMerge "Move the menu header out of the menu." (diff)
downloadandroid_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar
android_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.gz
android_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.bz2
android_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.lz
android_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.xz
android_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.zst
android_bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.zip
Diffstat (limited to 'minui/graphics_adf.cpp')
-rw-r--r--minui/graphics_adf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/minui/graphics_adf.cpp b/minui/graphics_adf.cpp
index ea7c0abe1..5d0867f58 100644
--- a/minui/graphics_adf.cpp
+++ b/minui/graphics_adf.cpp
@@ -47,7 +47,7 @@ struct adf_pdata {
adf_surface_pdata surfaces[2];
};
-static gr_surface adf_flip(minui_backend *backend);
+static GRSurface* adf_flip(minui_backend *backend);
static void adf_blank(minui_backend *backend, bool blank);
static int adf_surface_init(adf_pdata *pdata, drm_mode_modeinfo *mode, adf_surface_pdata *surf) {
@@ -134,12 +134,12 @@ static int adf_device_init(adf_pdata *pdata, adf_device *dev)
return err;
}
-static gr_surface adf_init(minui_backend *backend)
+static GRSurface* adf_init(minui_backend *backend)
{
adf_pdata *pdata = (adf_pdata *)backend;
adf_id_t *dev_ids = NULL;
ssize_t n_dev_ids, i;
- gr_surface ret;
+ GRSurface* ret;
#if defined(RECOVERY_ABGR)
pdata->format = DRM_FORMAT_ABGR8888;
@@ -193,7 +193,7 @@ static gr_surface adf_init(minui_backend *backend)
return ret;
}
-static gr_surface adf_flip(minui_backend *backend)
+static GRSurface* adf_flip(minui_backend *backend)
{
adf_pdata *pdata = (adf_pdata *)backend;
adf_surface_pdata *surf = &pdata->surfaces[pdata->current_surface];