Project

General

Profile

Statistics
| Branch: | Revision:

library / src / main @ 9cd1f9b3

# Date Author Comment
9cd1f9b3 05/09/2017 09:30 AM Leszek Koltunski

Revert "This version appears to be fully working on Nexus 5X (it transfers back all the vertices and, if there are no vertex effects, the vertices transferred back are identical to the ones passed)."

This reverts commit 7cf57d72e238092806b3f833d85d16c1a38ac78d.

135be991 05/09/2017 09:30 AM Leszek Koltunski

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

This reverts commit 21304c55380460c5882b789ea13eb00ffd9a686c.

dd7a5c7d 05/09/2017 09:30 AM Leszek Koltunski

Revert "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)"

This reverts commit 5ba19814852de1762e452662a13c4944792014a9.

1aedf874 05/09/2017 09:30 AM Leszek Koltunski

Revert "Beginnings of support for DistortedEffects.drawPrivFeedback()"

This reverts commit a22c66287b616833b0ad72d81d40cc321e4bc920.

f80337b5 05/09/2017 09:30 AM Leszek Koltunski

Revert "Some progress with Transform Feedback. Still many bugs all over."

This reverts commit 79921db22e4ff5a3b2e6e3466a39445f5607a695.

79921db2 05/05/2017 11:30 PM Leszek Koltunski

Some progress with Transform Feedback. Still many bugs all over.

a22c6628 05/05/2017 03:48 PM Leszek Koltunski

Beginnings of support for DistortedEffects.drawPrivFeedback()

5ba19814 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)

21304c55 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'.

7cf57d72 05/04/2017 10:36 PM Leszek Koltunski

This version appears to be fully working on Nexus 5X (it transfers back all the vertices and, if there are no vertex effects, the vertices transferred back are identical to the ones passed).

This however crashes with GL_INVALID_OPERATION during glDrawArrays() when run on Nexus 4.

e78a30fd 05/04/2017 02:21 PM Leszek Koltunski

Progress with Transform Feedback.

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

42571056 05/03/2017 04:22 PM Leszek Koltunski

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

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

Minimize differences from master branch.

4782b4e6 05/02/2017 03:22 PM Leszek Koltunski

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

f75acb8c 05/02/2017 01:00 PM Leszek Koltunski

Remember the URL with Transform Feedback example.

7c6d11c8 04/28/2017 03:41 PM Leszek Koltunski

Do not change postprocessing Quality mid-render but go through the Master.

885d424a 04/27/2017 10:47 PM Leszek Koltunski

Minor.

472e51e1 04/27/2017 04:06 PM Leszek Koltunski

Minor.

0ef8fafc 04/27/2017 02:26 PM Leszek Koltunski

1) Bugfix for an issue introduced with previous commit
2) scale up the BLUR effect radius with MIPMAP levels.

8426bd6a 04/27/2017 01:56 PM Leszek Koltunski

Mipmap levels!

638b5b5c 04/26/2017 10:37 PM Leszek Koltunski

More MIPMAP work.

78db8663 04/26/2017 04:07 PM Leszek Koltunski

Beginning of work on Mipmap levels.

eb80a7e8 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)

6e7c8721 04/26/2017 10:08 AM Leszek Koltunski

Simplifications.

a2594090 04/25/2017 11:01 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 ec231614152da2cfdb65c3450cd47da83ee05a6f.

revert the recenr matrix Effects work.

eacd5df5 04/25/2017 11:01 PM Leszek Koltunski

Revert "Minor."

This reverts commit 5fecbdb9d145354d84f0168b434a74d84c192c56.

revert the recent Matrix Effects work.

34f52b8a 04/25/2017 11:00 PM Leszek Koltunski

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

This reverts commit d28acefad49451b502424dae12ec8a985007de86.

revert the recent Marix Effects work.

d28acefa 04/25/2017 01:22 PM Leszek Koltunski

Convert next 4 APPs to the new Matrix effects.

5fecbdb9 04/24/2017 10:59 PM Leszek Koltunski

Minor.

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

c374e9c3 04/23/2017 10:05 PM Leszek Koltunski

Minor

893e008d 04/21/2017 10:33 PM Leszek Koltunski

Bugfix: create the Postprocessing buffer immediately.

fd2db957 04/21/2017 02:15 PM Leszek Koltunski

1) bugfix computing Gaussian BLUR kernel (for odd radii, the last offset was incorrectly computed)
2) introduce more advanced method of detecting BLUR halo (compute depths in a new way)

b7dba709 04/21/2017 10:04 AM Leszek Koltunski

Roll back the recent MIPMAP work.

f89f791a 04/19/2017 04:38 PM Leszek Koltunski

Preliminary support for MIPMAP levels of the postprocessing buffers. (doesn't work yet)

c9f953c2 04/19/2017 10:38 AM Leszek Koltunski

Node: Sort children IDs when generating their list for the Map of (List<Children IDs>,NodeData).
This makes two internal nodes with the same children always isomorphic, no matter what is their order.

0c303a2c 04/18/2017 04:05 PM Leszek Koltunski

Release all TREE FBOs in Distorted.onPause().

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

0afc143a 04/16/2017 09:30 PM Leszek Koltunski

Reset EffectsPostprocess' ID back in 0 on Destroy.

be60d4ff 04/16/2017 09:23 PM Leszek Koltunski

Children now properly sorted into Postprocessing Buckets.

efe3d8fe 04/15/2017 10:58 PM Leszek Koltunski

Messing around with the AttachDaemon (from now on a more generic DistortedMaster).

In preparation for thr SORT job that will let us sort the children Nodes into postprocessing Buckets.

27f42cd6 04/13/2017 09:38 PM Leszek Koltunski

Actually implement proper postprocessing Buckets.

e02264ff 04/13/2017 09:18 PM Leszek Koltunski

Bugfix (before we couldn't call postprocess() more than once per frame)

13687207 04/12/2017 11:55 PM Leszek Koltunski

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

e137d4f5 04/11/2017 01:23 PM Leszek Koltunski

Minor.

60c1c622 04/10/2017 11:02 PM Leszek Koltunski

Move the Postprocessing buffers to OutputSurface.

8baa1fe6 04/04/2017 02:57 PM Leszek Koltunski

When detaching Nodes, do make sure we also cancel any ATTACH jobs that might be pending.

02ab6f9d 04/03/2017 09:51 PM Leszek Koltunski

Minor.

8069e806 04/03/2017 03:46 PM Leszek Koltunski

Improve Projection.

0a4361b5 03/31/2017 09:30 PM Leszek Koltunski

Bugfix - POSTPROCESSING FBOs weren't properly released!

ed5bf324 03/31/2017 11:52 AM Leszek Koltunski

Merging blurred surfaces mostly ok now (blurred image still appears a bit shifted down for some reason)

a93931da 03/30/2017 11:07 AM Leszek Koltunski

Bugfix (samplers need to be sent to shaders as INTEGER Uniform

1cbf4103 03/29/2017 12:55 PM Leszek Koltunski

Simplify shaders.

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

94f6d472 03/29/2017 11:05 AM Leszek Koltunski

Make it more flexible; now it can run almost all apps on OpenGL 2.0 contexts; OpenGL 3.0 ( with GLSL 3.00) required for POSTPROCESSING.

f2367b75 03/28/2017 12:26 PM Leszek Koltunski

Upgrade from GLSL 1.00 to GLSL 3.00 ES
Introduce separate BLUR1 and BLUR2 shaders, the second one marging (writing to gl_FragDepth still does not work)

a1b36fc8 03/16/2017 10:10 PM Leszek Koltunski

Simplify BLUR shader.

a9f41fa3 03/15/2017 10:56 PM Leszek Koltunski

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

95c441a2 03/14/2017 11:49 PM Leszek Koltunski

Progress with Multiblur.

This introduces some regressions with transparency (see: 'Different Bitmaps' and 'Around the world' )

3e95b421 03/14/2017 04:54 PM Leszek Koltunski

Minor.

580f7d10 03/14/2017 04:51 PM Leszek Koltunski

Bugfix: we need to have DepthMask and ColorMask both fully on when clearing the FBO in Nodes!

48d0867a 03/13/2017 11:10 PM Leszek Koltunski

Important bugfix in Dynamic - sometimes it would never stop interpolating and never send a FINISHED message!

b9798977 03/12/2017 11:02 PM Leszek Koltunski

Advances in Multiblur - breaks BLUR for now.

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

86782a25 03/07/2017 03:07 PM Leszek Koltunski

Minor

39086ebb 03/06/2017 10:29 PM Leszek Koltunski

New method of rendering.
Advantage: now there's one (well, ATM two, but I hope soon really in one) place where we can have a look at all the Meshes that are being rendered to a OutputSurface.
This should help with proper per-object POSTPROCESSING effects like Multiblur.

d61fd515 03/05/2017 11:46 PM Leszek Koltunski

1. Move to Gradle 25.0.0
2. Bugfix in DistortedNode

50642a86 03/03/2017 03:50 PM Leszek Koltunski

Simplify drawRecursive

c2c08950 03/02/2017 12:04 AM Leszek Koltunski

simplify blitPriv()

c1e24646 03/01/2017 11:02 PM Leszek Koltunski

Introduce Effects.blitPriv() (faster than previous drawNoEffectsPriv)

ad33f883 03/01/2017 05:48 PM Leszek Koltunski

Minor

03cb451d 03/01/2017 12:06 PM Leszek Koltunski

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

81a0b906 02/28/2017 11:51 PM Leszek Koltunski

Preparation for shader optimization

54fe333a 02/27/2017 11:06 PM Leszek Koltunski

Fixes for z-fighting.

d582c116 02/27/2017 12:15 PM Leszek Koltunski

Bug fix in RenderState.

c834348d 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)

9dba4df1 02/23/2017 10:21 PM Leszek Koltunski

New 'RenderState' class which will be used to change OpenGL state when rendering Nodes.

30548891 02/21/2017 11:03 PM Leszek Koltunski

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

2ed1c692 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

d3725071 02/20/2017 02:31 PM Leszek Koltunski

Exclude still more methods from public documentation.

26e18334 02/19/2017 10:05 PM Leszek Koltunski

Exclude certain public methods from Javadoc API.

43fbf0dd 02/19/2017 09:58 PM Leszek Koltunski

Exclude certain public methods from Javadoc API.

889cce10 02/17/2017 02:04 PM Leszek Koltunski

Minor.

eadf0859 02/17/2017 12:05 AM Leszek Koltunski

Things seem to be working - switch off all debugs.

3a70bd6d 02/16/2017 11:21 PM Leszek Koltunski

Bugfix in EffectQueues: if we interpolate something, then stop and again start interpolating, it used to use the old position (position from the moment when we stopped interpolating!) during the first run after the resume. Fix that.

cc2979e3 02/16/2017 04:43 PM Leszek Koltunski

Minor

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

07037b8a 02/15/2017 10:51 PM Leszek Koltunski

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

d03782c0 02/15/2017 05:45 PM Leszek Koltunski

fix for the first issue uncovered by the new Olimpic.

09ab7524 02/15/2017 01:11 PM Leszek Koltunski

Introduce 3 types of Surfaces: System, Tree, User

8d52a49c 02/15/2017 10:55 AM Leszek Koltunski

Do not add Screen to the Surface lists.

c7da4e65 02/15/2017 12:30 AM Leszek Koltunski

Fix OutputSurface.resize(): before it couldn't be called mid-render.

7691a39f 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!)...

63b6561a 02/14/2017 09:12 PM Leszek Koltunski

Fix issue with Blur / Multiblur apps

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

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

c204c69d 02/14/2017 12:26 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.

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

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

Change the the render() API!

THis introduces some regressions with the Effects3D app.