Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae72f62025 | |||
| 22f3e44ad9 | |||
| b88f0b7151 | |||
| 07296e74cb |
@@ -67,8 +67,7 @@
|
|||||||
[self stopFrameLoop];
|
[self stopFrameLoop];
|
||||||
_updatingFrames = YES;
|
_updatingFrames = YES;
|
||||||
dispatch_async(dispatch_get_main_queue(), ^(void){
|
dispatch_async(dispatch_get_main_queue(), ^(void){
|
||||||
// TODO: can we make VSync happen here?
|
_updateFrameTimer = [NSTimer scheduledTimerWithTimeInterval:1/400 target:self selector:@selector(_updateFrame) userInfo:nil repeats:YES];
|
||||||
_updateFrameTimer = [NSTimer scheduledTimerWithTimeInterval:1/500 target:self selector:@selector(_updateFrame) userInfo:nil repeats:YES];
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
|
|
||||||
_staticBuffer = IOSurfaceCreate((CFDictionaryRef) [NSDictionary dictionaryWithObjectsAndKeys:
|
_staticBuffer = IOSurfaceCreate((CFDictionaryRef) [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
@"PurpleEDRAM", kIOSurfaceMemoryRegion,
|
@"PurpleEDRAM", kIOSurfaceMemoryRegion,
|
||||||
[NSNumber numberWithBool:YES], kIOSurfaceIsGlobal,
|
// [NSNumber numberWithBool:YES], kIOSurfaceIsGlobal,
|
||||||
[NSNumber numberWithInt:bytesPerPixel*_width], kIOSurfaceBytesPerRow,
|
[NSNumber numberWithInt:bytesPerPixel*_width], kIOSurfaceBytesPerRow,
|
||||||
[NSNumber numberWithInt:bytesPerPixel], kIOSurfaceBytesPerElement,
|
[NSNumber numberWithInt:bytesPerPixel], kIOSurfaceBytesPerElement,
|
||||||
[NSNumber numberWithInt:_width], kIOSurfaceWidth,
|
[NSNumber numberWithInt:_width], kIOSurfaceWidth,
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ Section: Tweaks
|
|||||||
Conflicts: ru.mostmodest.screendump.lowframe
|
Conflicts: ru.mostmodest.screendump.lowframe
|
||||||
Depends: mobilesubstrate, preferenceloader
|
Depends: mobilesubstrate, preferenceloader
|
||||||
Icon: file:///Library/PreferenceLoader/Preferences/screendump/ScreenDump@2x.png
|
Icon: file:///Library/PreferenceLoader/Preferences/screendump/ScreenDump@2x.png
|
||||||
Version: 0.1.0
|
Version: 0.1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user