Project

General

Profile

Statistics
| Branch: | Revision:

examples / src @ 4b676b3f

# Date Author Comment
4b676b3f 05/09/2017 01:29 PM Leszek Koltunski

Minor bugfix.

5c604561 05/05/2017 03:48 PM Leszek Koltunski

Beginnings of support for DistortedEffects.drawPrivFeedback()

6ce08079 05/05/2017 02:26 PM Leszek Koltunski

This commit (and reading the OpenGL ES 3.0 spec) pretty conclusively proves that, sadly, Nexus 4's Transform Feedback implementation is incomplete (doesn't work with GL_TRIANGLES primitiveMode)

bbf09f75 05/05/2017 12:17 AM Leszek Koltunski

Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'.

On Nexus5X, it works with 'true' and 'false'. On Nexus 4, it works with 'true', but returns GL_INVALID_OPERATION with 'false'.

96fba026 05/04/2017 03:23 PM Leszek Koltunski

Bugfix (the thing was drawing too many GL_POINTS, this worked on Nexus 5X but not on Nexus 4)

e8211d82 05/04/2017 02:22 PM Leszek Koltunski

Progress with Transform Feedback.

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.

70a3f657 05/03/2017 04:22 PM Leszek Koltunski

Preparation for Transfer Feedback: Convert the meshes from client-side to VBOs.

d21254e8 05/02/2017 09:59 PM Leszek Koltunski

Minimize differences from master branch.

bdb80fb0 05/02/2017 09:50 PM Leszek Koltunski

Stride should be 0 (but for some reason it worked even with the incorrect 4)

6acc6481 05/02/2017 09:32 PM Leszek Koltunski

Simplify Transform Feedback App.

23ee8a18 05/02/2017 09:22 PM Leszek Koltunski

Simplify Transform Feedback App.

a5973e7d 05/02/2017 09:13 PM Leszek Koltunski

Progress with moving Transform Feedback into library.

8beaa293 05/02/2017 03:22 PM Leszek Koltunski

Progress with moving the Transform Feedback functionality from the APP to the library.

baa47ae9 05/02/2017 02:12 PM Leszek Koltunski

Transform Feedback Example.

334cec2a 04/27/2017 04:29 PM Leszek Koltunski

Minor.

bf0bc90f 04/27/2017 01:56 PM Leszek Koltunski

Mipmap levels!

8a99c681 04/26/2017 03:21 PM Leszek Koltunski

Make a MeshCubes object rendered with no effects have its front wall at the screen's surface (so that when we just replace MeshFlat with MeshCubes, it looks more similar)

886800be 04/25/2017 11:14 PM Leszek Koltunski

Minor.

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.

67c3a83b 04/25/2017 11:07 PM Leszek Koltunski

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

This reverts commit 51554e4700774b72e18e97c7cc72ef887dfbf551.

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.