OpenGL® Analysis
The OpenGL (Open Graphics Library) page of the dynamic analyzer displays information about OpenGL® 2.0 and EvasGL.
The tab consists of the following views:
- OpenGL® chart shows the elapsed time of the frame.
- Statistics view displays statistics of APIs related to EvasGL and OpenGL.
- API List view shows the OpenGL® APIs that are associated with the values selected in the OpenGL® chart.
- Redundant list displays the API that is called repeatedly with the same parameters.
- Context list displays the render state of the API context selected in the API List view.
- Program list shows all the shader program information.
- Texture list shows texture information.
Figure: OpenGL® analysis
OpenGL® Chart
The OpenGL® chart displays the elapsed frame time with 2 charts:
-
The frame time chart shows the elapsed frame time. The x-axis value of the frame time chart means the frame index number. A small chart value means a good status frame. Only the frames smaller than the value specified by the user and changed to yellow are visible.
Figure: Frame time chart
-
The frame rate chart shows the FPS. The x-axis value of the frame rate chart means the analysis time. A larger chart value means a good status frame.
Figure: Frame rate chart
The Details view shows the details of the selected chart.
Figure: OpenGL® Chart Details view
Statistics
The Statistics view displays the API statistics related to EvasGL and OpenGL® 2.0.
Figure: OpenGL® Statistics List view
The view has the following columns:
- API (text) is the API name.
- Time rate (long) is the rate of the API that was called.
- Count (integer) is the sum of the API that was called.
- API type (text) defines what the API operates on and how.
API List
The API List view displays the APIs associated with the values selected in the chart.
Figure: OpenGL® API List view
The view consists of the following columns:
- # (integer) shows the unique log index.
- Frame defines the frame index number.
- Time (time) defines the time when the API was called.
- API (text) is the API name.
- Parameter shows the input parameter of the API.
- Elapsed time (time) defines the time to return after the call.
- Error (text) shows the error description of the API. Normal end return is the GL_SUCCESS.
- PID (integer) is the API process ID.
- TID (integer) is the API thread ID.
The OpenGL® Details view displays the detail information associated with the API selected in the API List view. The detailed information shows the uniform data and the error value.
Figure: OpenGL® Details view
Redundant List
The Redundant view displays the APIs that are called repeatedly with the same parameters.
Figure: OpenGL® Redundant view
The view has the following columns:
- Count (integer) is the sum of the API that was called.
- Elapsed time (time) is the sum of the time to return after the called API.
- API (text) is the name of the API.
- Parameter shows the input parameters of the API.
Context List
The Context view displays the context rendering state associated with the item selected in the API List view. The title of the table refers to the context number of the selected API.
Figure: OpenGL® Context view
The view has the following columns:
- Name (text) shows the state name.
- Default state (text) shows the initial state value when the program is started.
- Current state (text) shows the current state value.
Compare the Default state and Current state to see changes in any value. Yellow represents a changed state. If you click the filter icon (marked with a red box in the following figure), only the changed state is shown in the list. You can also view the API that changed the value of the state.
Figure: OpenGL® Context view (changed state)
Program List
The Program view displays the program information associated with the items selected in the API List view.
Figure: OpenGL® Program view
The view has the following columns:
- Context id (text) defines the context name.
- Id (text) defines the program ID of the context.
- Vertex shader (text) defines the vertex shader ID of the program.
- Fragment shader (text) defines the fragment shader ID of the program.
The same ID cannot be replicated in a context.
The Details view displays the source of the selected program.
Figure: OpenGL® Details view
Texture List
The Texture view displays the textures associated with the item selected in the API List view.
Figure: OpenGL® Texture view
The view has the following columns:
- Context id (text) defines the context name.
- Id (text) defines the texture ID of the context.
- Type (text) shows the render state value of the texture type.
- WRAP_S (text) shows the render state value of the WRAP_S texture.
- WRAP_T (text) shows the render state value of the WRAP_T texture.
- MIN_FILTER (text) shows the render state value of the MIN_FILTER texture.
- MAG_FILTER (text) shows the render state value of the MAG_FILTER texture.