Skip to content

Conversation

@IOTRFAFH
Copy link
Contributor

No description provided.

open class TriangleShaderProgram : AbstractShaderProgram() {
override var programSources = arrayOf(
"""
#version 300 es
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add ES 3.0 declaration in Android manifest also? Or we already have it there?

Copy link
Contributor Author

@IOTRFAFH IOTRFAFH Oct 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just use it for this file. We will need to rewrite all other shaders if this will be added to manifest, probably should be done in separate pr if ever

var maximumIntermediatePoints = 10
protected lateinit var activeAttributes: ShapeAttributes
protected var isSurfaceShape = false
lateinit var activeAttributes: ShapeAttributes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need to have it public?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, still used in PathSet to get attributes

protected var isSurfaceShape = false
lateinit var activeAttributes: ShapeAttributes
protected set
var isSurfaceShape = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smae here. Do we still need to hava it public?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, still used in PathSet to get attributes

var lastRequestedFrameIndex = 0L

open fun addToBatch(rc : RenderContext) : Boolean {
return rc.currentLayer is RenderableLayer && allowBatching && !isHighlighted
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case of Graticule it will not b a renderable layer. Can we remove this cast check?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added TODO comment, better to address that in another PR with more testing

Copy link
Member

@EMaksymenko EMaksymenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review my comments.

@EMaksymenko EMaksymenko force-pushed the develop branch 5 times, most recently from 5811728 to cfa9e03 Compare November 21, 2024 19:45
@IOTRFAFH IOTRFAFH force-pushed the lines_batching_attempt branch 3 times, most recently from dde82c9 to f2e153a Compare December 1, 2024 10:57
@EMaksymenko EMaksymenko force-pushed the develop branch 2 times, most recently from 4bfbf07 to eeaba99 Compare December 28, 2024 23:14
@IOTRFAFH IOTRFAFH force-pushed the lines_batching_attempt branch 3 times, most recently from 90542bd to a8af57c Compare January 16, 2025 09:18
@EMaksymenko EMaksymenko force-pushed the develop branch 5 times, most recently from c5c8815 to c28aed6 Compare September 13, 2025 21:50
@EMaksymenko EMaksymenko force-pushed the develop branch 11 times, most recently from 0bf3c5c to 093d2e8 Compare September 21, 2025 17:14
@EMaksymenko EMaksymenko force-pushed the develop branch 3 times, most recently from eaf9fef to 66dbbe8 Compare September 29, 2025 01:30
@EMaksymenko EMaksymenko force-pushed the develop branch 3 times, most recently from addc715 to d8bd268 Compare October 12, 2025 19:06
@EMaksymenko EMaksymenko force-pushed the develop branch 6 times, most recently from af5af3d to b82af69 Compare October 26, 2025 22:09
@EMaksymenko EMaksymenko force-pushed the develop branch 2 times, most recently from 0c0b8bd to ddf6b9b Compare November 7, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants