Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Draw fill extrusions directly into the main framebuffer - #14526

Merged
kkaefer merged 1 commit into
masterfrom
extrusions-refactor
May 8, 2019
Merged

kkaefer merged 1 commit into
masterfrom
extrusions-refactor

Conversation

@kkaefer

@kkaefer kkaefer commented Apr 26, 2019

Copy link
Copy Markdown
Member

PR for #13984

@kkaefer kkaefer added the Core The cross-platform C++ core, aka mbgl label Apr 26, 2019
@kkaefer
kkaefer requested a review from ansis April 26, 2019 16:33
@kkaefer
kkaefer force-pushed the extrusions-refactor branch from e5d5dc2 to 2c40208 Compare April 29, 2019 10:17
@kkaefer
kkaefer requested a review from 1ec5 as a code owner April 29, 2019 10:17
@kkaefer
kkaefer requested a review from a team April 29, 2019 10:17
@julianrex
julianrex removed request for a team and 1ec5 April 29, 2019 14:21

@alexshalamov alexshalamov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

few minor comments

evaluated.get<FillExtrusionTranslateAnchor>(),
parameters.state),
parameters.state,
evaluated.get<FillExtrusionOpacity>(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

opacity

crossfade,
tile.id,
parameters.state,
evaluated.get<FillExtrusionOpacity>(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: opacity


FillExtrusionProgram::LayoutUniformValues FillExtrusionProgram::layoutUniformValues(
mat4 matrix, const TransformState& state, const EvaluatedLight& light) {
mat4 matrix, const TransformState& state, const float opacity, const EvaluatedLight& light) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: const float => float

Comment thread src/mbgl/renderer/paint_parameters.cpp Resolved
@kkaefer
kkaefer force-pushed the extrusions-refactor branch from 2c40208 to 873fb6a Compare May 2, 2019 13:57

@ansis ansis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me! Sorry about the delay

@kkaefer
kkaefer merged commit 20a807f into master May 8, 2019
@kkaefer
kkaefer deleted the extrusions-refactor branch May 8, 2019 10:25
@1ec5

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants