Running on my OpenGL ES 2.0 app on the emulator, I'm getting weird vertical artififacts on my textures, see screenshot below:
Here the artifacts occur in the middle of the screen background texture as well as on its right edge. Several other textures in the app get a similar artifact on one of their edges. This app is portable C++ and the same exact code & texture data work perfectly on other platforms with no artifacts, so perhaps there is something the matter with the way I am setting things up on TIzen..? My app failed the store review process because of other kind of artifacts on the device. I do not have the device myself so I am dependant on the emulator working well enough to make a submission..
I have defined the following Features in my app's manifest:
http://tizen.org/feature/opengles http://tizen.org/feature/opengles.version.2_0 http://tizen.org/feature/screen.size.all
And I'm using the following code for the OpenGL setup:
bool MMark13App::OnAppInitialized(void) { // TODO: // Add code to do after initialization here. // Create a Frame MMark13Frame* pMMark13Frame = new MMark13Frame(); pMMark13Frame->Construct(); pMMark13Frame->SetName(L"MMark13"); AddFrame(*pMMark13Frame); pMMark13Frame->SetOrientation(ORIENTATION_LANDSCAPE); { __player = new Tizen::Graphics::Opengl::GlPlayer; __player->Construct(Tizen::Graphics::Opengl::EGL_CONTEXT_CLIENT_VERSION_2_X, pMMark13Frame); __player->SetFps(-1); // As fast as possible //__player->SetEglAttributePreset(Tizen::Graphics::Opengl::EGL_ATTRIBUTES_PRESET_RGB565); __player->SetEglAttributePreset(Tizen::Graphics::Opengl::EGL_ATTRIBUTES_PRESET_ARGB8888); __player->Start(); } MMarkTizenController* controller = new MMarkTizenController(); __renderer = controller; //new GlRendererTemplate(); pMMark13Frame->AddTouchEventListener(*controller); __player->SetIGlRenderer(__renderer); return true; }
Any ideas about what could be going wrong here?
- Matti