Questions tagged [glkview]

The GLKView class simplifies the effort required to create an OpenGL ES application by providing a default implementation of an OpenGL ES-aware view in iOS 5.0 and later.

GLKView class simplifies the effort required to create an OpenGL ES application by providing a default implementation of an OpenGL ES-aware view. A GLKView directly manages a framebuffer object on developer application’s behalf; developer's application simply needs to draw into the framebuffer when the contents need to be updated.

79 questions
8
votes
0 answers

CIImage display MTKView vs GLKView performance

I have a series of UI Images (made from incoming jpeg Data from server) that I wish to render using MTKView. Problem is it is too slow compared to GLKView. There is lot of buffering and delay when I have a series of images to display in MTKView but…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
7
votes
1 answer

GLKView is blank when drawn

I am trying to place images into a UITableViewCell using a GLKView to draw the image. I have a prototype cell in a storyboard, in which I have a GLKView. It does not have Enable setNeedsDisplay checked. The prototype cell has a custom class called…
Mark Gilchrist
  • 1,972
  • 3
  • 24
  • 44
5
votes
3 answers

GLKit's -drawRect: is not called during screen rotation

I have GLKit-based app with some simple object displayed. All works fine, except screen rotation, during which GLKView is not updated (-drawRect: is not called). So during rotation projection matrix is not updated according to dynamically changing…
kpower
  • 3,871
  • 4
  • 42
  • 62
4
votes
1 answer

what is alternative solution for GLKView Class? [deprecated in iOS 12]

Apple had been deprecated GLKView class in iOS 12. Anybody share the answer for alternative solution for existing project and new project
codercat
  • 22,873
  • 9
  • 61
  • 85
4
votes
1 answer

GLKView gives 'Failed to make complete framebuffer object 8cd6' error

I am trying to add a GLKView to a scroll view without success. At the moment, my drawing code simply colours the background red, but before it even gets to do that it throws the error 'Failed to make complete framebuffer object 8cd6' error. I have…
user2283986
  • 71
  • 1
  • 5
4
votes
1 answer

glkview drawinrect delegate method called only once

I am trying to add GLKViewController to my UserInterfaceViewController.I am using the example project from raywenderlich tutorials(http://www.raywenderlich.com/5235/beginning-opengl-es-2-0-with-glkit-part-2) Here is my code snippet #import…
Akbar
  • 1,509
  • 1
  • 16
  • 32
3
votes
2 answers

GLKView in SwiftUI?

How can I use GLKView in SwiftUI? I'm using CIFilter but would like to apply filters through GLKit / OpenGL. Any ideas? struct ContentView: View { @State private var image: Image? var body: some View { VStack { image? …
Aнгел
  • 1,361
  • 3
  • 17
  • 32
3
votes
0 answers

AVCaptureStillImageOutput and AVCaptureVideoDataOutput outputs different images

I am creating an real time camera filter app. I use AVCaptureVideoDataOutputSampleBufferDelegate to capture the output video and then I apply the filter. - (void)captureOutput:(AVCaptureOutput *)captureOutput…
AzBassir
  • 31
  • 1
3
votes
0 answers

Saving OpenGL (GLKView) as overlay to video pixelbuffer in iOS

I have a GLKView that presents movable model with texture on it. And I need to blend it into same-time-captured video. To blend other part of UI in to the video I use GPUImage framework. So, when I tried the same approach with GLKView - use…
Mike
  • 51
  • 1
  • 8
3
votes
1 answer

How to use keyboard in OpenGL es app

I have an OpenGL ES app which uses keyboard. I can make the keyboard pop-up on screen when screen is touched. If I am correct, each time I press a key, - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range…
DARKMATTER
  • 361
  • 5
  • 14
3
votes
2 answers

trying to embed a PPSSignatureView object

I am trying to implement this class so that I can capture a signature in my app: PPSSignatureView *sign = [[PPSSignatureView alloc] initWithFrame:CGRectMake(10, 10, 500, 300)]; GLKViewController *glkView = [[GLKViewController alloc]…
Halpo
  • 2,982
  • 3
  • 25
  • 54
3
votes
1 answer

GLKViewController: Setting up independent objects using GLKit

I'm working on an OpenGL project using GLKit for the iPhone and need to draw several different objects at once and rotate and translate them independently. Nearly every GLKit example I've seen places the vertex/color/texture data within the render…
Stuartsoft
  • 1,000
  • 1
  • 8
  • 20
3
votes
1 answer

Core Image with GLKView

I had a hard time finding any examples of how to properly use Core Image with GLKView in order to smoothly render Core Image "recipes" in response to user inputs. So, after reading the Core Image Programming Guide and the GLKView class reference, I…
gilby
  • 232
  • 2
  • 13
3
votes
1 answer

How to render UIImage (picked from photo library) into CIContext / GLKView?

After researching and trying many things finally I made myself to ask SO: basically I would like to pick a photo and then render it to a CIcontext, knowing that many other image rendering techniques available (eg. use UIImageView, etc), I have to…
Zsolt Normann
  • 167
  • 2
  • 5
3
votes
1 answer

add GLKViewController to subview - GLKView context causes crash

I have a pretty simple set up in mind, having a mainViewController that has a GLKViewController on top of it. The idea is having my GLKViewController in a box, that take sup 1/3 of the screen, on the mainViewController. This can be seen below: That…
John Riselvato
  • 12,854
  • 5
  • 62
  • 89
1
2 3 4 5 6