Project

General

Profile

Statistics
| Branch: | Revision:

examples / src @ 0fb42347

# Date Author Comment
0fb42347 04/25/2017 11:07 PM Leszek Koltunski

Revert "Convert a few more APPs to the new resolution-independent Matrix Effects."

This reverts commit 19938eb7e76e004b164589f0ca6eec2894935e08.

477fc548 04/25/2017 11:07 PM Leszek Koltunski

Revert "Minor."

This reverts commit 1a23144587625d973a62c479cf0aef57e2958de1.

8c1caf83 04/25/2017 11:07 PM Leszek Koltunski

Revert "Convert next 4 APPs to the new Matrix effects."

This reverts commit 39a0d81b7482f2925808d661e526aeaa980fb079.

1da3c7db 04/25/2017 11:07 PM Leszek Koltunski

Revert "One more APP converted. Only 2 remain."

This reverts commit 00d86f0fc5d827d8d6d30db9a69f18df56d63428.

fce25d04 04/25/2017 11:06 PM Leszek Koltunski

Revert "Progress with the last 2 Apps: Effects3D and Wind (not done yet)"

This reverts commit 752c6b57bb227292e6c28438b955fcb892f7acc6.

752c6b57 04/25/2017 04:21 PM Leszek Koltunski

Progress with the last 2 Apps: Effects3D and Wind (not done yet)

00d86f0f 04/25/2017 02:16 PM Leszek Koltunski

One more APP converted. Only 2 remain.

39a0d81b 04/25/2017 01:22 PM Leszek Koltunski

Convert next 4 APPs to the new Matrix effects.

1a231445 04/24/2017 10:59 PM Leszek Koltunski

Minor.

19938eb7 04/24/2017 10:53 PM Leszek Koltunski

Convert a few more APPs to the new resolution-independent Matrix Effects.

51554e47 04/24/2017 09:51 PM Leszek Koltunski

Convert a few more APPs to the new resolution-independent Matrix Effects.

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.

d3c2d1ef 04/21/2017 09:50 PM Leszek Koltunski

Minor.

629120e4 04/21/2017 09:46 PM Leszek Koltunski

Minor.

86e9b10a 04/21/2017 10:12 AM Leszek Koltunski

Minor.

c126aa85 04/18/2017 11:07 PM Leszek Koltunski

Fix PlainMonaLisa's Activity lifecycle (it wouldn't work after a POWER button press, i.e. after a brief time in the background - surfaceCreated is not called in this case)

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...

28fe91ae 04/16/2017 10:25 PM Leszek Koltunski

Multiblur: add FPS

895d2f4f 04/12/2017 11:55 PM Leszek Koltunski

Separate the Postprocessing Effects to their own DistortedEffectsPostprocess queue.
This partly breaks Multiblur (to be debugged)

603ed5d0 04/04/2017 03:00 PM Leszek Koltunski

Remove debug prints.

c90f5dbb 04/03/2017 11:02 PM Leszek Koltunski

Improve Olimpic part 2 (still buggy!)

411fca0c 04/03/2017 10:39 PM Leszek Koltunski

Improve Olimpic (still buggy!)

643844c9 04/03/2017 10:16 PM Leszek Koltunski

Improve Around the World.

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

Improve Dynamic and FBO apps.

baeda47e 04/03/2017 05:14 PM Leszek Koltunski

Improve Deform.

18174881 04/03/2017 03:46 PM Leszek Koltunski

Improve Projection.

dea953f4 03/31/2017 08:33 PM Leszek Koltunski

Improvements for Multiblur.

46ab4363 03/31/2017 03:52 PM Leszek Koltunski

1st attempt to restore internal variables in Multiblur.

febb61ba 03/31/2017 01:59 PM Leszek Koltunski

Still several problems, but the core of Multiblur works now.

fc6f1299 03/31/2017 12:11 PM Leszek Koltunski

Improve the Multiblur app. Things seem to work now!

3e673c74 03/30/2017 01:49 PM Leszek Koltunski

Enrich the Multiblur app.

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.

855ba24e 03/15/2017 10:56 PM Leszek Koltunski

New 'glClearColor' and 'glClearDepthf' APIs in OutputSurface. This fixes the 'transparency' regressions from last commit.

f6654822 03/08/2017 03:36 PM Leszek Koltunski

Now there's a single place one can have a look at all the Meshes being rendered to a OutputSurface: OutputSurface.renderChildren().
This will need to get modified for per-object post-processing.

89c3e2bf 03/07/2017 03:07 PM Leszek Koltunski

Minor

6637d0f2 03/01/2017 12:06 PM Leszek Koltunski

Speed up shaders (both compilation and execution) by explicitly enabling only the needed effects.

2f7afccf 02/28/2017 04:22 PM Leszek Koltunski

Fix Crawl transparency in StarWars.

ee82510e 02/27/2017 11:58 PM Leszek Koltunski

Small improvements for StarWars, but the main issue - non-working transparency of the Crawl - not solved.

af662543 02/27/2017 11:06 PM Leszek Koltunski

Fixes for z-fighting.

fc695380 02/23/2017 11:41 PM Leszek Koltunski

Make it possible to render each DistortedNode with adjustable OpeGL state (writeing to Color, Depth,Stencil buffers, DEPTH, STENCIL, BLENDING on.off, etc)

3c44dcc7 02/21/2017 11:03 PM Leszek Koltunski

The only operation which is now enabled 'statically' in render() is blending.

71759555 02/21/2017 10:10 PM Leszek Koltunski

1) stop culling back face
2) reset OpenGL state beore each render (and not in onCreate)
3) Improve Matrix3D so that we can test negative Scales

6eb5eec2 02/16/2017 04:30 PM Leszek Koltunski

A Lot of fixes for the issues uncovered by Olimpic.

Still at least 1 known issue: sometimes, when we re-add a Surface, some garbage pops up on the screen for a brief split second. Visible in Olimpic.

db581fd8 02/15/2017 10:51 PM Leszek Koltunski

a few lame fixes for the issues uncovered by Olimpic but it is still wrong

44771819 02/15/2017 04:23 PM Leszek Koltunski

Further improve Olimpic. This seems to expose some Node bugs.

6ab5da9a 02/15/2017 03:32 PM Leszek Koltunski

Improve Olimpic.

722c6ed3 02/15/2017 02:37 PM Leszek Koltunski

Improve Olimpic.

2878c554 02/14/2017 10:36 PM Leszek Koltunski

- workaround for the issue with flashing in StarWars
- return number of objects rendered from OutputSurface.render() and use this in Olympic
- rework tree isomorphism so that it now works even if we don't render the whole tree (and also we don't have to reset() the Tree anymore!)...

f8634085 02/14/2017 09:12 PM Leszek Koltunski

Fix issue with Blur / Multiblur apps

d2aee6cc 02/14/2017 04:51 PM Leszek Koltunski

1. Make it possible to enable/disable DEPTH test when rendering to a Screen
2. Using this, remove the 'Root' Node from StarWars.

76f2d645 02/14/2017 03:28 PM Leszek Koltunski

A lot of different fixes.

A lot of issues still there:

1) if we only render part of the tree, tree isomorphism will sometimes not work correctly
2) when we change Effects that are inside Trees mid-render, even if we detach() the affected parts of the Tree first, for the last frame the new Effects will be used...

3f5b2cb3 02/13/2017 12:02 AM Leszek Koltunski

New, cleaner way to create/destroy DistortedSurfaces.

Serious regression in StarWars (crashes!). Looks like the Node's internal FBO is being deleted and not re-created in time.

aac5c562 02/11/2017 11:07 PM Leszek Koltunski

Minor.

98c04ab8 02/11/2017 11:02 PM Leszek Koltunski

Fix the Effects3D regression.

f338550a 02/10/2017 11:01 PM Leszek Koltunski

Some progress with fixing the efects3D regression. Not done yet.

fe59d375 02/10/2017 04:11 PM Leszek Koltunski

Change the the render() API!

THis introduces some regressions with the Effects3D app.

8744aa41 02/10/2017 01:26 PM Leszek Koltunski

Preparation for change of the render API.

a828e18e 02/10/2017 11:20 AM Leszek Koltunski

Minor

d218d64e 02/10/2017 01:15 AM Leszek Koltunski

Major: change of API.

Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.

772dee14 02/08/2017 06:09 PM Leszek Koltunski

Introduce Renderable to the Tree.

9bea2f59 01/28/2017 12:50 AM Leszek Koltunski

Some fixes for issues discovered by the Multiblur app.

e11b37f4 01/27/2017 09:49 PM Leszek Koltunski

Beginnings of the 'Multiblur' app.

58059374 01/27/2017 09:42 PM Leszek Koltunski

Beginnings of the 'Multiblur' app.

3365725b 01/26/2017 05:11 PM Leszek Koltunski

Separable Gaussian Blur with linear sampling done.

Linear sampling implemented - i.e. blurring by a (2N+1)x(2N+1) gaussian kernel (centeral pixel + N pixels in each direction) requires exactly 2N + (N%2==1 ? 4:2) texture fetches.

1b8b55a9 01/24/2017 02:07 PM Leszek Koltunski

Separable Box blur (almost) works.

2e755580 01/20/2017 11:57 PM Leszek Koltunski

Correct a bug in Effects3D.

41a81a14 01/20/2017 11:50 PM Leszek Koltunski

Try using OpenGL ES 3.0 everywhere (but if device does not support it, try creating 2.0 context - this is important because of the emulator!)

e5443762 01/19/2017 11:49 PM Leszek Koltunski

Manifest: require OpenGL ES 3.0.

bfcf419a 01/19/2017 01:37 PM Leszek Koltunski

Improvements for the 'Cubes' and 'Effects3D' apps.

ff31e865 01/19/2017 11:01 AM Leszek Koltunski

Small bugfix

a6da86cc 01/19/2017 12:28 AM Leszek Koltunski

improve Postprocessing; new icon; minor things.

2d90d8a7 01/18/2017 11:10 PM Leszek Koltunski

Postprocessing effects: remove support for Center

f4f3a440 01/11/2017 04:05 PM Leszek Koltunski

Correct 'Deform'

6b9f9441 01/10/2017 11:53 PM Leszek Koltunski

Progress with multi-program rendering.

43bda3db 01/07/2017 12:49 AM Leszek Koltunski

New 'Blur' App. Actual BLUR effect, of course, does not work.

596714ec 01/05/2017 02:23 AM Leszek Koltunski

progress with Postprocessing.

1746198f 01/04/2017 11:28 PM Leszek Koltunski

FBO APP: add dynamic adding/removing the DEPTH attachment.

843646bd 01/04/2017 05:57 PM Leszek Koltunski

First attempt at making it possible to dynamically add and remove DEPTH attachments from an FBO.

371d99fa 01/04/2017 12:18 PM Leszek Koltunski

Minor

7fca6741 01/03/2017 09:59 PM Leszek Koltunski

rename all the 'grid' variables to 'mesh'.

b01acdaf 01/03/2017 12:01 PM Leszek Koltunski

Rename Grid to Mesh

bf0d1908 12/20/2016 12:01 AM Leszek Koltunski

Correction for the 'Girl' app.

76f9798b 12/19/2016 02:41 PM Leszek Koltunski

New DistortedProgram class.

88048c61 12/17/2016 01:20 AM Leszek Koltunski

Beginnings of support for postprocessing Effects.

3873e8e6 12/16/2016 05:26 PM Leszek Koltunski

Minor

13155c68 12/16/2016 04:14 PM Leszek Koltunski

Improve the Sink app (funny?)

2c2616f1 12/16/2016 03:58 PM Leszek Koltunski

Mirror: replace the Head bitmap.

76c9dd1d 12/16/2016 03:33 PM Leszek Koltunski

Slight improvement for the Mirror app.

7f9d5a91 12/16/2016 03:30 PM Leszek Koltunski

Mirror app finished (well, we still need to get some better bitmap for the girl)

03a2fd30 12/16/2016 02:12 PM Leszek Koltunski

First attempt at the 'Mirror' app.

9d12dd4a 12/15/2016 11:37 PM Leszek Koltunski

Fix Lint warnings, correct a lot of comments, adjust EffectListener interface.

6f3024ae 12/15/2016 10:50 PM Leszek Koltunski

Fix a lot of Lint warnings in the apps.

bc29e409 12/15/2016 04:28 PM Leszek Koltunski

Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'

d04a4886 12/15/2016 04:02 PM Leszek Koltunski

Change of names.

392e16fd 12/15/2016 03:31 PM Leszek Koltunski

Change in the API: we always have to create a DistortedFramebuffer to render to.

6fd3af4d 12/15/2016 01:54 PM Leszek Koltunski

onPause(): fix the Save app. All apps should behave correctly now.

c4f5a8db 12/15/2016 01:39 PM Leszek Koltunski

onPause(): fix StarWars

b4cc083b 12/15/2016 12:29 PM Leszek Koltunski

Some improvements for StarWars's behaviour after onPause(), but it doesn't really work yet.

Remaining 'onPause-buggy' apps: StarWars, Save.