[EvasGL] Fix the bug as EvasGL can not find the config. 36/117436/2
authorWonsik, Jung <sidein@samsung.com>
Mon, 6 Mar 2017 05:56:06 +0000 (14:56 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 6 Mar 2017 07:03:22 +0000 (23:03 -0800)
commitd19de2bcb7b0c63450c608ca997b04f1fcf029de
treef9a3b5de44584a44d68b93778160c6b9aa55c750
parent08c45aa4a87fba4c1b32ecc14a09acdf2dcaa280
[EvasGL] Fix the bug as EvasGL can not find the config.

If the EvasGL's capability values are as the below, evas gl can not find the cfg.
Because depth, stencil and msaa values are reset by window's cfg unlimited.
So, this patch is that the reset work runs only once.

[Index] [Color Format]  [------Depth Bits------]      [----Stencil Bits---]     [---Depth_Stencil---]  [Samples]
  0      GL_RGB                            0                          0                          0      0
  1      GL_RGB                            0          GL_STENCIL_INDEX8                          0      0
  2      GL_RGB                            0                          0       GL_DEPTH_STENCIL_OES      0
  3      GL_RGB         GL_DEPTH_COMPONENT16                          0                          0      0
  4      GL_RGB     GL_DEPTH_COMPONENT24_OES                          0                          0      0
  5     GL_RGBA                            0                          0                          0      0
  6     GL_RGBA                            0          GL_STENCIL_INDEX8                          0      0
  7     GL_RGBA                            0                          0       GL_DEPTH_STENCIL_OES      0
  8     GL_RGBA         GL_DEPTH_COMPONENT16                          0                          0      0
  9     GL_RGBA     GL_DEPTH_COMPONENT24_OES                          0                          0      0
 10      GL_RGB                            0                          0                          0      2
 11     GL_RGBA                            0                          0                          0      2
 12      GL_RGB                            0                          0                          0      4
 13     GL_RGBA                            0                          0                          0      4
 14      GL_RGB                            0                          0                          0      8
 15     GL_RGBA                            0                          0                          0      8

Change-Id: I0cbbc6d7b5167884246f88eeef0958f163552c08
src/modules/evas/engines/gl_common/evas_gl_core.c