Revert "Try to set use_hw_ctx in advance for Android"

This reverts commit c010c5b2586a05bcc60ca941250073b8ce95ce39.
This commit is contained in:
twinaphex 2017-06-18 17:09:27 +02:00
parent c010c5b258
commit 4850af8eac
3 changed files with 0 additions and 7 deletions

View File

@ -136,9 +136,6 @@ static void *android_gfx_ctx_init(video_frame_info_t *video_info, void *video_dr
attribs[1] = EGL_OPENGL_ES3_BIT_KHR; attribs[1] = EGL_OPENGL_ES3_BIT_KHR;
#endif #endif
and->egl.use_hw_ctx = video_info->shared_context
&& video_info->hw_render_ctx;
switch (android_api) switch (android_api)
{ {
case GFX_CTX_OPENGL_API: case GFX_CTX_OPENGL_API:

View File

@ -2465,7 +2465,6 @@ void video_driver_build_info(video_frame_info_t *video_info)
video_driver_threaded_lock(is_threaded); video_driver_threaded_lock(is_threaded);
#endif #endif
settings = config_get_ptr(); settings = config_get_ptr();
video_info->hw_render_ctx = false; /* TODO/FIXME - might eventually do something here */
video_info->refresh_rate = settings->floats.video_refresh_rate; video_info->refresh_rate = settings->floats.video_refresh_rate;
video_info->black_frame_insertion = video_info->black_frame_insertion =
settings->bools.video_black_frame_insertion; settings->bools.video_black_frame_insertion;
@ -2727,8 +2726,6 @@ static const gfx_ctx_driver_t *video_context_driver_init(
video_driver_build_info(&video_info); video_driver_build_info(&video_info);
video_info.hw_render_ctx = hw_render_ctx;
ctx_data = ctx->init(&video_info, data); ctx_data = ctx->init(&video_info, data);
if (!ctx_data) if (!ctx_data)

View File

@ -427,7 +427,6 @@ typedef struct video_frame_info
bool runloop_is_paused; bool runloop_is_paused;
bool is_perfcnt_enable; bool is_perfcnt_enable;
bool menu_is_alive; bool menu_is_alive;
bool hw_render_ctx;
int custom_vp_x; int custom_vp_x;
int custom_vp_y; int custom_vp_y;