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
Showing
- images/itu-r-bt1729-colorbar-16x9.tga 0 additions, 0 deletionsimages/itu-r-bt1729-colorbar-16x9.tga
- images/itu-r-bt1729-colorbar-4x3.tga 0 additions, 0 deletionsimages/itu-r-bt1729-colorbar-4x3.tga
- testcases/Makefile 7 additions, 2 deletionstestcases/Makefile
- testcases/bball/Makefile 28 additions, 0 deletionstestcases/bball/Makefile
- testcases/bball/bball.c 550 additions, 0 deletionstestcases/bball/bball.c
- testcases/bball/tga_reader.c 573 additions, 0 deletionstestcases/bball/tga_reader.c
- testcases/bball/tga_reader.h 47 additions, 0 deletionstestcases/bball/tga_reader.h
Loading
Please register or sign in to comment