I write a demo to diaplay 3D model and image mosaicking
The demo contains 130000 trianlges which uses 63-84 ms per frame
===================================================================
The question is:
Is it reasonable for sgx544 to render so slowly with 130000 triangles?
===================================================================
To find out the answer of the problem, I write a simple demo using glDrawarray only once,
and get a table below
-------------------------------------------------------------------------------------------------------------------------
Triangle Num | Simple shader | Texture shader | Complex shader
---------------------------------------------------------------------------------------------------------------------------
100 | 16ms | 16ms | 16ms
------------------------------------------------------------------------------------------------------------------------------
1000 | 16ms | 16ms | 16ms
------------------------------------------------------------------------------------------------------------------------------
10000 | 16ms | 16ms | 16ms
------------------------------------------------------------------------------------------------------------------------------
40000 | 33ms | 33ms | 33ms
------------------------------------------------------------------------------------------------------------------------------
80000 | 33ms | 50ms | 50ms
------------------------------------------------------------------------------------------------------------------------------
100000 | 50ms | 50ms | 66ms
------------------------------------------------------------------------------------------------------------------------------
160000 | 83ms | 100ms | 116ms
------------------------------------------------------------------------------------------------------------------------------
200000 | 100ms | 116ms | 133ms
------------------------------------------------------------------------------------------------------------------------------
Unlike GPU on PC, the rendering time is linear with the num of triangle on sgx544
If the efficiency shown by the table above is reasonable, what i can do is to reduce the num of triangle,
if it is unreasonable, I want to konw why?
==============================================================================
Does it has more Efficient api except glDrawArrary ?
How can I use sgx544 properly and explore the full potential of it?
Thank you!