Build for emulator, then go to bin_emulator/opengles_20/texts and run texts.
I only see a gray screen, but no text.
All other examples work.
Ubuntu 14.04.
Hi cirosantilli,
Are you still experiencing this issue?
Did you had any error logs or something in the console? That would help us understand what happenend.
Also, could you send me the version of the emulator and sdk you are running?
Kind regards,
Thomas
SDK: v2.4.4
Emulator: comes inside the SDK, I don't know its version.
Console: apparently nothing interesting:
GL renderer: [NVS 5400M/PCIe/SSE2]
GL vendor:[NVIDIA Corporation]
GL version: [4.5.0 NVIDIA 361.42]
GL shading language version: [4.50 NVIDIA]
GL API Version: [0.0]
Vertex info
-----------
0(5) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(6) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(7) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(8) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(9) : warning C7555: 'varying' is deprecated, use 'in/out' instead
Fragment info
-------------
0(6) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(7) : warning C7555: 'varying' is deprecate
0(4) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(10) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(12) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(7) : warning C7555: 'varying' is depreca
I was able to reproduce this issue on our side using the Mali OpenGL ES SDK for Linux v2.2.4.
I am currently investigating this, and I will come back to you as soon as I have found a solution.
warning C7555: 'attribute' is deprecated, use 'in/out' instead
It seems that the OpenGL ES 2.x examples are being run within an OpenGL ES 3.x context, which might generate some issues.
I have been able to track this bug down to the depth function.
You can find attached a patch you might want to apply in order to fix this issue. Please, let me know if you have any trouble with this patch.