Skip to content
Snippets Groups Projects
Commit 57826816 authored by Marc-Oliver Westerburg's avatar Marc-Oliver Westerburg Committed by Jenkins
Browse files

LTP tests:Added OpenGL Bouncing-Ball display test

* Merge from jethro
** linux-mx:r8393: added dummy test-app @bball@; currently just a
   modified copy of mesa-demos's @glxdemo@
** linux-mx:r8396: updated previous "dummy" @bball@ test with a static
   display using proper background and ball via OpenGL
   No animation, yet, and code still requires clean-up
** linux-mx:r8397:
*** added basic ball animation
*** added configurable frame-rate limit for smoother animation
*** added configurable ball size
*** moved static code out of main rendering loop
*** using (client) attribute array, now, instead of single attribute calls
*** Color animation, as in reference videos, is still missing
** linux-mx:r8398: added 16x9 background image (so far only 4x3 version was included)
** linux-mx:r8399: scaled background image for maximum 1920 horizontal resolution
** linux-mx:r8403
*** replaced GL_POINT-rendering for ball with GL_TRIANGLE_FAN, because GL_POINT for some reason ignored color values
*** added color-cycling of the ball color similar to the reference videos
*** some code clean-up
** linux-mx:r8404: some code clean-up
** linux-mx:r8406: Some code clean-up and performance optimization.
      In fullscreen mode on i.MX6Solo with WVGA-display now requires
*** <=10.5% CPU-load in unrestricted mode; reaching > 120 fps
*** <=3.9% CPU-load with default restriction of 40fps
** linux-mx:r8407:
    (Hopefully) fixed stability issues on start esp. on multi-core CPUs.
    Issue apparently was a synchronization problem in the setup-code between X Window initialization and OpenGL context initialization.
    Using @XFlush()@ and @XSync()@ now to ensure that X Windows initialization is finished before initializing OpenGL.
** linux-mx:r8412: ltp-tests, Bouncing-Ball display test, X11 deps
*** The bball make non X11 targets fail as x11 is needed here
*** To solve this the ltp Makefile now has two targets: all_tests and all_tests_x11
*** The receipe now calls those targets dependent on the distro features
** linux-mx:8414: most recent changes to build @bball@ conditionally only if X11
    is enabled had a syntax error in its if-clause causing @bball@ to never build. fixed.
** linux-mx:r8420: LTP guf-tests @bball@ app textures
*** replaced previous textures with new ones scaled for optimal performance
**** previously the textures were rectangluar and used non-power-of-two resulotions in both dimensions
**** while even the low-end Vivante GPUs do support this, performance is significantly
     lower (and memory bandwidth for texture look-up) significantly higher, than for
     optimized resolutions.
**** now the textures have been scaled to 1024x1024, which results in much better performance
     with lower memory bandwidth
**** This fixes issues with the GPU blocking the RAM-bus for the IPU display-refresh during
     temperature throttling.

* Fixed include path in rocko, needed because of changed ltp base version
* Fixed minor build errors and warnings

Change-Id: I2f068c7a44f52f8fe1cbb522afa6223dcbb54610
Reviewed-on: http://gfweb/gerrit/489
parent d7718839
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment