Skip to content
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

Remove the deferred functions queue #138

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

bmschmidt
Copy link
Collaborator

@bmschmidt bmschmidt commented Sep 9, 2024

This is dead code, and is a pretty finicky thing that we could implement better.


🚀 This description was created by 6a2a804

refactor: remove unused deferred functions from rendering classes

Summary:

This pull request removes unused deferred functions from rendering classes to simplify the rendering process.

Key points:

  • Remove unused deferred_functions array from Renderer class in src/rendering.ts.
  • Remove pop_deferred_functions function from ReglRenderer class in src/regl_rendering.ts.
  • Delete comments related to deferred functions in both files.
  • Simplify rendering process by removing unused code.

Generated with ❤️ by ellipsis.dev

Copy link
Collaborator Author

bmschmidt commented Sep 9, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bmschmidt and the rest of your teammates on Graphite Graphite

@bmschmidt bmschmidt force-pushed the 09-07-longer_.gitignore branch from 6493407 to a8e1293 Compare September 19, 2024 18:59
@bmschmidt bmschmidt force-pushed the remove_deferred_functions_queue branch from 3f1e0d5 to bc0cfea Compare September 19, 2024 18:59
Copy link
Collaborator Author

bmschmidt commented Sep 19, 2024

Merge activity

@bmschmidt bmschmidt force-pushed the 09-07-longer_.gitignore branch 2 times, most recently from a5167e4 to 70e959a Compare September 20, 2024 02:54
@bmschmidt bmschmidt force-pushed the remove_deferred_functions_queue branch from bc0cfea to 552887a Compare September 20, 2024 02:54
@bmschmidt bmschmidt changed the base branch from 09-07-longer_.gitignore to graphite-base/138 September 20, 2024 03:03
@bmschmidt bmschmidt changed the base branch from graphite-base/138 to main September 20, 2024 03:03
@bmschmidt bmschmidt force-pushed the remove_deferred_functions_queue branch from 552887a to 6a2a804 Compare September 20, 2024 03:05
@@ -296,25 +294,6 @@ export class ReglRenderer extends Renderer {

const start = Date.now();
Copy link

Choose a reason for hiding this comment

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

The call to pop_deferred_functions is now redundant and should be removed since the function and related code have been deleted.

@bmschmidt bmschmidt merged commit 0958348 into main Sep 20, 2024
1 check passed
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.

3 participants