Project

General

Profile

Revision:

Revisions

# Date Author Comment
2d732361 04/09/2021 03:00 PM Leszek Koltunski

Face cubit creation: progress, a cube renders correctly :)

eff6e3d3 03/14/2021 10:04 AM Leszek Koltunski

Properly solve the issue with Qualcomm driver V@331 having buggy UBO size.

073e5a7a 03/12/2021 10:33 PM Leszek Koltunski

Another attempt at fixing tthings on early Qualcomm OpenGL ES 3.0 drivers.

The previous version does not work on Adreno 405 driver V@100, present for example in a Asus ZenPad 8.
Revert the packed 'ivec2' UBO in the vertex shader back to a 'std140' ivec4. This comes at a price if bumping into the bug on Qualcomm driver version 331 on Adreno 308 - i.e. Samsung Galaxy J4+ again....

fc3b9f16 03/07/2021 10:53 PM Leszek Koltunski

Correct a comment for Javadoc.

ccb4c899 03/07/2021 10:51 PM Leszek Koltunski

Add new comments for Javadoc.

11c187c0 03/07/2021 10:46 PM Leszek Koltunski

Correct comments; hide stuff from Javadoc.

f79c9f57 03/07/2021 10:31 PM Leszek Koltunski

Correct comments.

80961fc1 02/24/2021 11:12 PM Leszek Koltunski

Make the 'Component Associations' UBO (on most devices) twice smaller -
use the 'packed' layout and 'ivec2' in place of 'ivec4'.

This forces us to dynamically probe the 'Stride' - number of 4-byte entities that the UBO's 'ivec4' takes - and correct the already-constructed UniformBlockAssociation objects in case this turns out to be different than the expected 2, i.e. tightly-packed....

6c3a8db8 02/24/2021 01:34 PM Leszek Koltunski

Add a new API DistortedEffects.exists(long id)

46d463a4 02/24/2021 09:40 AM Leszek Koltunski

Make per-component centers optional, controlled by API MeshBase.setUseCenters()

97b6c85e 02/23/2021 09:54 PM Leszek Koltunski

Bugfixes as a result of the Samsung Galaxy J4+ investigation:

1) By default, switch off transform feedback in the main program.
Create a new API 'needTransformFeedback()' to call if someone still needs TF in the main program.
2) lower the default max number of vertex effects to 30....

2acab35b 01/27/2021 01:56 PM Leszek Koltunski

Progress with Megaminx.

2b7d2abb 01/13/2021 12:21 PM Leszek Koltunski

Remove UBO from the fragment shader and come back to the default of only 5 concurrent fragment effects. All because UBOs in fragment shader crash on Adreno 510 and Adreno 506.

43b28f5b 01/10/2021 11:26 PM Leszek Koltunski

Minor.

3ac42a4c 01/10/2021 01:01 PM Leszek Koltunski

Properly initialize DynamicQuat.

8f011621 01/10/2021 12:05 AM Leszek Koltunski

Remove all the calls to DistortedLibrary.setMax() (except for app 'Check', which explictly checks this API)

de77a6c5 01/09/2021 11:49 PM Leszek Koltunski

Introduce another Uniform Block Object. Now we can have much more vertex and fragment effects - up their default number to 100.

fb001aff 01/08/2021 04:08 PM Leszek Koltunski

Plug two more memory leaks. It should be fine now.

8b36dabf 01/08/2021 01:18 AM Leszek Koltunski

Plug a major memory leak.
Still one more leak remains - a similar UniformBuffer has to be markedForDeletion in the EffectQueues.

78ff6ea9 01/07/2021 04:08 PM Leszek Koltunski

Convert the Integer part (i.e. effect names and the two associations) of vertex and fragment shaders to Uniform Buffer Objects.
Next: convert the last part, i.e. the float effect parameters.

72ef21f7 12/16/2020 09:15 PM Leszek Koltunski

Cleanups

c8484d73 12/11/2020 09:25 PM Leszek Koltunski

Fixes for the Rex Cube (mostly works now)

c02f32f7 12/03/2020 01:51 PM Leszek Koltunski

Bugfix: fix a long-standing bug where switching on normal vector drawing would interfere with transparency.

457bd08e 12/02/2020 02:27 PM Leszek Koltunski

Bugfix: always normalize the normal vector after modifying it, otherwise the next effect might not work correctly (Distort!)

0c8e26ea 12/01/2020 10:46 PM Leszek Koltunski

Bugfix: we initially need to set the maxTextureSize to MAX_INT, because otherwise early (i.e. before a call to onSurfaceCreated) calls to setTexture() will fail.

3bbe4d67 11/29/2020 09:55 PM Leszek Koltunski

Put new things to the StackFrame.

3543a3cf 11/28/2020 11:37 PM Leszek Koltunski

Put new things to the StackFrame.

d4d1958a 11/26/2020 11:03 AM Leszek Koltunski

Minor.

43814a57 11/26/2020 10:29 AM Leszek Koltunski

Fix the fact that the static DistortedEffects.mAllQueues was global, shared between all Activities.
Completely replace this mechanism with a non-static list of links from a VertexEffect to all VertexEffectQueues this effect is a member of.

728a7820 11/25/2020 09:19 AM Leszek Koltunski

Fix the fact that we would keep adding new InternalBuffers to the 'Done' list - split 'invalidate()' and 'recreate()' to two separate actions!

c046f62c 11/17/2020 03:07 PM Leszek Koltunski

Start creating the Tutorial Activity.

30094332 11/16/2020 06:41 PM Leszek Koltunski

More support for using the library from more than one activity. Should be working now!

9ec374e8 11/16/2020 12:04 PM Leszek Koltunski

More support for using the library from more than one activity

9519d1b1 11/11/2020 02:26 PM Leszek Koltunski

1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.

c8dbce40 11/07/2020 08:37 PM Leszek Koltunski

Minor.

87a48d8e 10/16/2020 11:23 PM Leszek Koltunski

Improve the Skewb; set max components to 110 in MeshBase so that all of Professor Skewb's components fit.

2bd3d0fb 10/16/2020 03:35 PM Leszek Koltunski

Detect if the texture we are trying to upload is too large and return an error.

92403ff8 10/14/2020 08:24 AM Leszek Koltunski

Do not crash if we try to map a texture component out of range.

c92c163c 10/06/2020 10:08 PM Leszek Koltunski

New API for the library: add an empty texture component to a Mesh.
Use this in thr Magic Cube to add empty texture components to some types of cubits.

943b2e18 10/04/2020 11:35 PM Leszek Koltunski

Comments.

8b082b9f 09/14/2020 10:10 AM Leszek Koltunski

Comment.

45b08c37 09/13/2020 12:35 AM Leszek Koltunski

Minor.

d456b075 09/08/2020 06:03 PM Leszek Koltunski

Add an extra option to MeshPolygon: making triangles located around the vertices of the polygon smaller.

eeb5d115 08/29/2020 01:25 PM Leszek Koltunski

Progress with MeshPolygon.

ac6a08e7 08/28/2020 02:56 PM Leszek Koltunski

Progress with MeshPolygon.

b948df7a 08/28/2020 12:37 AM Leszek Koltunski

Rename Meshes.

808ef3aa 08/28/2020 12:36 AM Leszek Koltunski

First attempt at new mesh - Polygon. Unfinished (normal vector!), untested

9f9924f8 08/26/2020 03:36 PM Leszek Koltunski

Remove the 'binding' parameter from the UBO in the vertex shader - this is not part of OpenGL ES 3.0, only introduced in 3.1, and we want to be compatible with 3.0.
Now we need to dynamically detect the UBO index and form a BlockBinding ourselves.

7a9edb92 08/26/2020 12:24 AM Leszek Koltunski

Add component centers to dmesh version 2.

45d530fc 08/25/2020 05:48 PM Leszek Koltunski

Update all the dmeshes to versions 2. Add the Dino dmesh.

(201-250/1068) Per page: 25, 50, 100

Also available in: Atom