diff options
author | Emil Velikov <[email protected]> | 2017-10-16 17:10:42 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-11-08 14:42:12 +0000 |
commit | 61e99ce2673fae989baa59143b48c30f64b6a082 (patch) | |
tree | 4b2be6afbaedba5a9fe3d686a622b32b637dff06 | |
parent | c7b65c330fd6ede0c82d3e2f2907e5a3ae864788 (diff) |
egl/android: add a note about .swap_buffers_with_damage
Android implements the API and does the native damage handling itself.
At the same time it
a) does call the vendor's eglSwapBuffersWithDamageKHR
b) does not implement eglSetDamageRegionKHR
There's something strange happening here. For now simply note about the
'lack' of eglSwapBuffersWithDamageKHR support.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r-- | src/egl/drivers/dri2/platform_android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index e390365b8bb..63223e9a69f 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -1088,7 +1088,7 @@ static const struct dri2_egl_display_vtbl droid_display_vtbl = { .destroy_surface = droid_destroy_surface, .create_image = droid_create_image_khr, .swap_buffers = droid_swap_buffers, - .swap_buffers_with_damage = dri2_fallback_swap_buffers_with_damage, + .swap_buffers_with_damage = dri2_fallback_swap_buffers_with_damage, /* Android implements the function */ .swap_buffers_region = dri2_fallback_swap_buffers_region, #if ANDROID_API_LEVEL >= 23 .set_damage_region = droid_set_damage_region, |