Skip to content

Conversation

@amartya4256
Copy link
Contributor

There are many places in several ImageProviders where we want to create a new ImageHandle or ImageData and use getImageData or create permanent ImageHandle to obtain just ImageData respectively. This PR replaces such usage with directly calling newImageData instead of getImageData and creating a temporary ImageHandle when calling newImageData.

Needed for #2905

@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 2026

Test Results (win32)

   34 files  ±0     34 suites  ±0   4m 6s ⏱️ -37s
4 633 tests ±0  4 560 ✅ ±0  73 💤 ±0  0 ❌ ±0 
  167 runs  ±0    164 ✅ ±0   3 💤 ±0  0 ❌ ±0 

Results for commit 9d46b3b. ± Comparison against base commit 62ea4f4.

♻️ This comment has been updated with latest results.

@amartya4256 amartya4256 force-pushed the amartya4256/fix_image_get_imageData_usage branch from 6dfd395 to 080bf7f Compare January 14, 2026 14:46
@amartya4256 amartya4256 force-pushed the amartya4256/fix_image_get_imageData_usage branch from 080bf7f to b434fac Compare January 14, 2026 15:29
@HeikoKlare HeikoKlare force-pushed the amartya4256/fix_image_get_imageData_usage branch from b434fac to 160ceb3 Compare January 14, 2026 19:04
There are many places in several ImageProviders where we want to create
a new ImageHandle or ImageData and use getImageData or create permanent
ImageHandle to obtain just ImageData respectively. This commit replaces
such usage with directly calling newImageData instead of getImageData
and creating a temporary ImageHandle when calling newImageData.
@HeikoKlare HeikoKlare force-pushed the amartya4256/fix_image_get_imageData_usage branch from 160ceb3 to 9d46b3b Compare January 14, 2026 19:05
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

The change is sound and I did not find any regression when testing.

@HeikoKlare HeikoKlare merged commit 640c747 into eclipse-platform:master Jan 14, 2026
17 checks passed
@HeikoKlare HeikoKlare deleted the amartya4256/fix_image_get_imageData_usage branch January 14, 2026 19:30
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.

2 participants