Project

General

Profile

Statistics
| Branch: | Revision:

examples / src / main / java / org / distorted / examples / fbo @ 1f9a52f1

Name Size
FBOActivity.java 4.6 KB
FBORenderer.java 7.96 KB
FBOSurfaceView.java 2.58 KB

Latest revisions

# Date Author Comment
1f9a52f1 05/13/2017 12:16 AM Leszek Koltunski

Simplify setting up DistortedScreen.

4b676b3f 05/09/2017 01:29 PM Leszek Koltunski

Minor bugfix.

5f2a53b6 05/04/2017 12:13 AM Leszek Koltunski

Progress with VBOs - this time abstract out a new class, DistortedObject - i.e. everything that uploads something to GPU and thus needs to be auto re-created upon loss of the context.

630703d1 04/25/2017 11:08 PM Leszek Koltunski

Revert "Major refactoring: convert the Matrix Effects to be independent of the resolution of the surface we render to."

This reverts commit d79a56d3bc6cc7a22b21abeb180353a1818bd6ad.

d79a56d3 04/24/2017 04:28 PM Leszek Koltunski

Major refactoring: convert the Matrix Effects to be independent of the resolution of the surface we render to.

Re-write the first 15 apps to work with this.

59540ba2 04/18/2017 03:07 PM Leszek Koltunski

Convert (almost) all remaining Apps to the new API which avoids memory leaks with Surfaces.

Remaining problematic Apps: 15. FBO 16. Star Wars (both leak Tree FBOs) 22. SurfaceView (does not work at all after going to background)

b0ebdf5e 04/18/2017 02:30 PM Leszek Koltunski

Major:

1) in the Library, fix the fact that some applications (those that were creating their DistortedSurface objects outside of onSurfaceCreated or onSurfaceChanged) would not render after the activity went to background (press POWER to see that).
2) in the Apps, call the new 'Distorted.onPause()' API to fix the above problem...

b5636dbf 04/03/2017 09:50 PM Leszek Koltunski

Improve Dynamic and FBO apps.

6f3a9b2a 03/29/2017 12:41 PM Leszek Koltunski

It now automatically chooses OpenGL ES 2.0 and GLSL 100 or OpenGL ES 3.0 and GLSL 300.

Postprocessing effects will not work on OpenGL ES 2.0 contexts.

653d09dc 03/15/2017 11:01 PM Leszek Koltunski

as clearing Depth has been fixed in 580f7d10, we can now use this API in the 'FBO' app.

View revisions

Also available in: Atom