14.28: Camera Raw's preview 5 to 20 times faster
This commit is contained in:
15 files changed
+807
-222
No files matched your search
@@ -412,11 +412,11 @@ void CameraRawPanelTests::everyRowCarriesSwiftsTitleHelpAndClipping()
|
||||
void CameraRawPanelTests::theScopeDrawsItsRibbonsAndItsCells()
|
||||
{
|
||||
Panel panel;
|
||||
// A gray ramp fills every bin: three full-height ribbons.
|
||||
QImage ramp = BrushRaster::context(256, 4, false);
|
||||
// A gray ramp, two pixels a level, fills each bin.
|
||||
QImage ramp = BrushRaster::context(512, 4, false);
|
||||
for (int y = 0; y < 4; ++y)
|
||||
for (int x = 0; x < 256; ++x)
|
||||
ramp.setPixelColor(x, y, QColor(x, x, x));
|
||||
for (int x = 0; x < 512; ++x)
|
||||
ramp.setPixelColor(x, y, QColor(x / 2, x / 2, x / 2));
|
||||
panel.session.cancelFilter();
|
||||
panel.session.insert(ImportedImage(ramp, ramp, QStringLiteral("Ramp")));
|
||||
panel.session.beginFilter(FilterKind::cameraRaw);
|
||||
|
||||
Reference in new issue
Block a user