Skip to content

Conversation

@al-noori
Copy link

@al-noori al-noori commented Oct 31, 2025

This PR takes over a part to change all occurences of the image(device, int, int) constructor with the image(device, gc, int, int) constructor.

All usages of the stated constructor are now replaced by an ImageGcDrawer and the Image(device, gc int, int) constructor afterwards, for almost all the snippets. This replacement has/could not be made for the snippets {387, 215, 292, 95, 139}. The details for them are commented here: vi-eclipse/Eclipse-Platform#310 (comment).

@al-noori al-noori force-pushed the al-noori/ReplaceWithImageGcDrawer branch 2 times, most recently from 587903b to 8b57522 Compare October 31, 2025 11:56
@al-noori al-noori marked this pull request as ready for review October 31, 2025 11:57
@al-noori al-noori force-pushed the al-noori/ReplaceWithImageGcDrawer branch from 8b57522 to c65368a Compare October 31, 2025 14:13
@al-noori al-noori force-pushed the al-noori/ReplaceWithImageGcDrawer branch 7 times, most recently from 2a42ddd to 33ac9ae Compare November 14, 2025 07:43
@github-actions
Copy link
Contributor

github-actions bot commented Nov 14, 2025

Test Results

  118 files  ±0    118 suites  ±0   16m 36s ⏱️ - 1m 35s
4 652 tests ±0  4 634 ✅ +1  18 💤  - 1  0 ❌ ±0 
  338 runs  ±0    334 ✅ ±0   4 💤 ±0  0 ❌ ±0 

Results for commit aaab0b5. ± Comparison against base commit 0b21ff2.

♻️ This comment has been updated with latest results.

Almost all usages of the stated constructor with an additional GC initialization are now replaced by an ImageGcDrawer and the Image(device, gc int, int) constructor afterwards for the snippets. This replacement has/could not be made for the snippets {387, 215, 292, 95, 139} .
@al-noori al-noori force-pushed the al-noori/ReplaceWithImageGcDrawer branch from 33ac9ae to aaab0b5 Compare November 14, 2025 10:17
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.

Replace Image(device,int,int) constructor for Snippets Replace usage of new Image(device, width, height)

1 participant