Languages

Menu
Sites
Language
Some gl textures disappear when switching forms

Case study

1) We have some initial form which is a target control for GLPlayer (see Form Based GL Application template).

__player = new Tizen::Graphics::Opengl::GlPlayer;
__player->Construct(Tizen::Graphics::Opengl::EGL_CONTEXT_CLIENT_VERSION_2_X, pMainForm);

2) We add new form which becomes active form of the app frame.

Frame* pFrame = UiApp::GetInstance()->GetAppFrame()->GetFrame();
Form* pForm = new Form();
r = pForm->Construct(FORM_STYLE_NORMAL);
pFrame->AddControl(pForm);

3) New form contains the Web control displaying html page with input fields.

Web* pWeb = new Web();
pWeb->Construct(pForm->GetClientAreaBounds());
pForm->AddControl(pWeb);

4) After switching back to the initial form some random textures disappear. Seems something bad hapenned to gl context.

pFrame->SetCurrentForm(pMainForm);
pFrame->Invalidate(true);


What is the reason? Is it a kind of low memory issue or something else? App doesn't receive any low memory events.

remark: I noticed that this bug mostly happens after typing something in the html input field in the second form.

Responses

3 Replies
Alex Dem

Hi
We have faced with similar bug in OpenGL app where the texture is corrupted after come back from Web control.
As I know appropriate bug to fix the problem has been created.
Alexey.

Alex Ashirov

Hi,

As mentioned above this is a known issue. It has been already fixed. The fix will be included into the next Tizen release.

Konstantin Yurichev

Hi, Alex.

Glad to know it. Could you please let me know about the expected release date?