-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add an example showing how to use textures #122779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7a37146 to
d227d19
Compare
|
The example shows building a texture using |
580bac9 to
e5294e1
Compare
d798b6a to
2807a96
Compare
|
@cbracken Do you know how we decide what examples to support here? This seems like a reasonable thing to have an example of, but I don't know if there are specific criteria. (If we do want to do this, we should definitely have a plan for filling in the other platforms.) |
|
We discussed a bit in yesterday's meeting. Now that https://github.com/flutter/samples exists, we should probably decide what to do with this directory altogether. These fall into two main categories:
@redbrogdon @domesticmouse now that we have the flutter/samples repo, should the flutter/flutter examples directory even exist anymore? Do any of the samples in here make sense to move to flutter/samples? If not, perhaps we should move these to the devicelab integration tests directory? |
|
There is at least one level on which this directory is different to the I'm just in the process of starting to tidy up the samples repo, looking to delete old cruft and think about what needs to be added. I'm unsure about taking on a bunch of new sample code while I'm paying down current tech debt. |
|
The flutter @robert-ancell What is the intent of this sample: is it intended to be an example for how to use external textures, or is it meant to be more of a manual test for code in the repo? If it's the latter, we have a place for that in (Desktop Triage) |
|
The intent is to be an example of how to use external textures. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
IMO, putting it in the examples directory is fine. We can always move it out later if we change our minds: it's not part of the API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm modulo one nit.
c0cdde0 to
9ae00f5
Compare
|
Second PR is showing the same failures. |
|
I think I've fixed the dependencies again as pointed out by @godofredoc. These constantly get out of sync with master. But the remaining build failures I can't see the issue - @godofredoc can you look again? |
|
@reidbaker It looks like these CI failures might be caused by changes in: #125323 I'm not sure why this pull request is running into these issues, but it looks like there may be Gradle settings issues and |
|
I see The pr you linked I dont think can be rolled back. It was needed to support the latest google shipped tooling and I dont think these tests are failing on master. |
|
It is possible that more tests need to be migrated to java 17. That pr was an attempt to get at least some testing migrated. I am not opposed to more (maybe even all?) of our testing migrated to java 17. |
|
A guess at what might be happening here: This change made it so that some of the shards use jdk 17, while the rest use 11. This interacts with the tests in two ways:
If this is what is happening, it would be fixable by changing all the shards to use jdk 17, and upgrading all AGP versions in |
The PR to do this was just merged, so if this was the cause updating the branch should hopefully fix the test failures! |
9900efa to
55e9faf
Compare
|
It worked!! :) |
flutter/flutter@aa5f4a2...590ef2d 2023-07-04 [email protected] Roll Packages from cdae854 to a03b900 (1 revision) (flutter/flutter#129957) 2023-07-03 [email protected] Roll Packages from 53ed5a0 to cdae854 (9 revisions) (flutter/flutter#129918) 2023-07-03 [email protected] Roll Flutter Engine from e6b8292705a8 to 987b621eac4e (1 revision) (flutter/flutter#129863) 2023-07-03 [email protected] Add an example showing how to use textures (flutter/flutter#122779) 2023-07-01 [email protected] Update links to old linter site to dart.dev (flutter/flutter#129866) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

There didn't seem to be any examples on how to do this.
I've only shown the Linux implementation, others may want to follow this PR up with support for other platforms.