Remove debug statements

This commit is contained in:
Sharat M R 2019-04-24 19:57:46 +05:30
parent 97a620482c
commit 15ba6869e2
No known key found for this signature in database
GPG Key ID: E450A6E45DAE1B94
1 changed files with 0 additions and 4 deletions

View File

@ -142,15 +142,11 @@ static void OnFrameUpdate(IOMobileFramebufferRef fb, IOSurfaceRef buffer) {
VNCSetup(); VNCSetup();
initialBuffer(); initialBuffer();
} }
NSLog(@"sharat %ld, %ld, %ld, %ld, %ld", width_, height_, width, height, byte_per_pixel);
NSLog(@"sharat accerated %ld", accelerator == NULL);
if(screen == NULL) { if(screen == NULL) {
return; return;
} }
if (accelerator != NULL) { if (accelerator != NULL) {
IOSurfaceAcceleratorTransferSurface(accelerator, buffer, static_buffer, NULL, NULL, NULL, NULL); IOSurfaceAcceleratorTransferSurface(accelerator, buffer, static_buffer, NULL, NULL, NULL, NULL);
NSLog(@"sharat accerated transfer");
} else { } else {
IOSurfaceLock(buffer, kIOSurfaceLockReadOnly, NULL); IOSurfaceLock(buffer, kIOSurfaceLockReadOnly, NULL);
void *bytes = IOSurfaceGetBaseAddress(buffer); void *bytes = IOSurfaceGetBaseAddress(buffer);