Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@chinmaygarde
Copy link
Member

Labeling will only be enabled when the GL_KHR_debug extension is present
(it usually is).

Screen Shot 2022-05-05 at 5 34 36 PM

Screen Shot 2022-05-05 at 5 35 40 PM

RenderDoc doesn't seem to show labels for buffers where an offset into a buffer is specified. The buffer itself has been labelled in the resources view though.

@zanderso
Copy link
Member

zanderso commented May 6, 2022

The test failure looks related:

[ RUN      ] Play/TypographerTest.CanCreateGlyphAtlas/OpenGLES
[ERROR:flutter/impeller/base/validation.cc(14)] Texture formats unsupported by this backend.
[ERROR:flutter/impeller/base/validation.cc(24)] Break on ImpellerValidationBreak to inspect point of failure.
../../flutter/impeller/typographer/typographer_unittests.cc:42: Failure
Expected: (atlas) != (nullptr), actual: (nullptr) vs (nullptr)
[  FAILED  ] Play/TypographerTest.CanCreateGlyphAtlas/OpenGLES, where GetParam() = 4-byte object <01-00 00-00> (15 ms)

@chinmaygarde
Copy link
Member Author

chinmaygarde commented May 6, 2022

The format issue is now fixed.

Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

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

LGTM! It's awesome that we're able to get some resource labeling in with the debug extension.


TexImage2DData(PixelFormat pixel_format,
const uint8_t* contents,
size_t length) {
Copy link
Member

Choose a reason for hiding this comment

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

So I wonder if g3 is OK with std::span yet... I recall trying to sneak it in last year but ran into problems.

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably not since its C++20.

Copy link
Member

Choose a reason for hiding this comment

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

Checked and the answer is indeed no. Still just absl::Span everywhere. FML has a dependency on abseil, but not sure if we want to make a habit of using compat shims like that.

Copy link
Member

Choose a reason for hiding this comment

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

I also suppose the only cpp20 features that really get turned on are syntax changes (like designated initializers) and not stdlib, since abseil takes care of the stdlib coverage...

@zanderso
Copy link
Member

zanderso commented May 6, 2022

Mac iOS Engine is failing due to a need for a rebase.

Labeling will only be enabled when the GL_KHR_debug extension is present
(it usually is).
@chinmaygarde chinmaygarde added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label May 6, 2022
@fluttergithubbot fluttergithubbot merged commit f65f2a1 into flutter:main May 6, 2022
@chinmaygarde chinmaygarde deleted the mores2 branch May 6, 2022 23:14
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

e: impeller waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants