TinyGL: #223

Merged
mxlgv merged 1 commits from tinygl-optimize into main 2025-05-04 20:00:08 +02:00
Member

TinyGL:

  • Fixed setting of GL_FRONT_AND_BACK mode;
  • Fixed setting of GL_SPOT_DIRECTION angle;
  • Optimization of drawing triangles and lines;
  • Input parameters are adjusted to the OpenGL standard in gluCylinder and gluSphere functions;
  • Added gluDisk function (The gluDisk function draws a disk-shaped quadric figure. Essentially, a disk is the same cylinder with zero height, but its texture coordinates do not coincide with the cylinder, so a separate function is needed);
  • Optimize function calc_buf;
  • Clean code.

Flag:

  • Added lighting.

info3ds, info3ds_u, test_glu0, test_glu1, test_glu2,
textures0, textures1, textures2:

  • Updated programs using gluCylinder and gluSphere.
TinyGL: - Fixed setting of `GL_FRONT_AND_BACK` mode; - Fixed setting of `GL_SPOT_DIRECTION` angle; - Optimization of drawing triangles and lines; - Input parameters are adjusted to the OpenGL standard in `gluCylinder` and `gluSphere` functions; - Added `gluDisk` function (The gluDisk function draws a disk-shaped quadric figure. Essentially, a disk is the same cylinder with zero height, but its texture coordinates do not coincide with the cylinder, so a separate function is needed); - Optimize function `calc_buf`; - Clean code. Flag: - Added lighting. info3ds, info3ds_u, test_glu0, test_glu1, test_glu2, textures0, textures1, textures2: - Updated programs using `gluCylinder` and `gluSphere`.
IgorA added 1 commit 2025-04-29 21:02:51 +02:00
TinyGL:
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 36s
Build system / Build (pull_request) Successful in 8m44s
1756212605
- fixed setting of 'GL_FRONT_AND_BACK' mode
- fixed setting of 'GL_SPOT_DIRECTION' angle
- optimization of drawing triangles and lines
- fixes in 'gluCylinder' and 'gluSphere' functions
- 'gluDisk' function added
- updated programs using 'gluCylinder' and 'gluSphere'
- optimize function 'calc_buf'
- clean code
Flag: add lighting
dunkaist approved these changes 2025-04-29 23:08:42 +02:00
Dismissed
mxlgv requested changes 2025-04-30 02:50:20 +02:00
Dismissed
mxlgv left a comment
Owner

For now, the question is: is there a versioning of the library and do these changes violate the ABI?

I have no complaints about the changes themselves. The patch is huge, but the changes are related. However, the description seems a bit vague to me. Could you clarify some things. Exactly what was fixed and why it was added. And what programs were the changes made to and why.

Look at the commit. It would be nice if it looked something like this: 03cfdeb50f

Ignore things like

Reviewed-on: #210
Reviewed-by: Max Logaev <maxlogaev@proton.me>
Co-authored-by: IgorA <aie85playm@gmail.com>
Co-committed-by: IgorA <aie85playm@gmail.com>

and (#210)

This is generated by gitea on merge.

For now, the question is: is there a versioning of the library and do these changes violate the ABI? I have no complaints about the changes themselves. The patch is huge, but the changes are related. However, the description seems a bit vague to me. Could you clarify some things. Exactly what was fixed and why it was added. And what programs were the changes made to and why. Look at the commit. It would be nice if it looked something like this: https://git.kolibrios.org/KolibriOS/kolibrios/commit/03cfdeb50fcb8d21cc851ad594029bd378b90903 Ignore things like ``` Reviewed-on: #210 Reviewed-by: Max Logaev <maxlogaev@proton.me> Co-authored-by: IgorA <aie85playm@gmail.com> Co-committed-by: IgorA <aie85playm@gmail.com> ``` and `(#210)` This is generated by gitea on merge.
mxlgv added the
PR
Request changes
label 2025-04-30 02:51:39 +02:00
Author
Member

changed the description according to the sample

changed the description according to the sample
IgorA force-pushed tinygl-optimize from 1756212605 to f44f6c982b 2025-04-30 13:02:23 +02:00 Compare
IgorA dismissed dunkaist’s review 2025-04-30 13:02:24 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Author
Member

For now, the question is: is there a versioning of the library and do these changes violate the ABI?

There are no versions in the library. Determined by revision.
Binary compatibility with programs is broken. 'gluCylinder' and 'gluSphere' functions took incorrect parameters:
gluCylinder ;(GLUquadricObj, double*, double*, double*, int, int)
gluSphere ;(GLUquadricObj, float, int, int)

It is correct to accept such parameters:
gluCylinder ;(GLUquadricObj, double, double, double, int, int)
gluSphere ;(GLUquadricObj, double, int, int)

> For now, the question is: is there a versioning of the library and do these changes violate the ABI? There are no versions in the library. Determined by revision. Binary compatibility with programs is broken. 'gluCylinder' and 'gluSphere' functions took incorrect parameters: gluCylinder ;(GLUquadricObj, double*, double*, double*, int, int) gluSphere ;(GLUquadricObj, float, int, int) It is correct to accept such parameters: gluCylinder ;(GLUquadricObj, double, double, double, int, int) gluSphere ;(GLUquadricObj, double, int, int)
IgorA force-pushed tinygl-optimize from f44f6c982b to f42e35f19a 2025-05-01 21:56:22 +02:00 Compare
IgorA force-pushed tinygl-optimize from f42e35f19a to ce66c14c59 2025-05-02 21:14:00 +02:00 Compare
IgorA force-pushed tinygl-optimize from ce66c14c59 to 0c6fca2d92 2025-05-04 16:32:54 +02:00 Compare
mxlgv approved these changes 2025-05-04 19:39:48 +02:00
mxlgv scheduled this pull request to auto merge when all checks succeed 2025-05-04 19:49:44 +02:00
mxlgv force-pushed tinygl-optimize from 0c6fca2d92 to 062aa527fb 2025-05-04 19:50:05 +02:00 Compare
mxlgv canceled auto merging this pull request when all checks succeed 2025-05-04 19:51:02 +02:00
mxlgv added
PR
Ready to merge
and removed
PR
Request changes
labels 2025-05-04 19:53:04 +02:00
mxlgv scheduled this pull request to auto merge when all checks succeed 2025-05-04 19:56:40 +02:00
mxlgv canceled auto merging this pull request when all checks succeed 2025-05-04 19:56:46 +02:00
mxlgv merged commit c18da5afae into main 2025-05-04 20:00:08 +02:00
mxlgv deleted branch tinygl-optimize 2025-05-04 20:00:08 +02:00
Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#223
No description provided.