{"id":18843526,"url":"https://github.com/stephenkopylov/skasyncglviewcontroller","last_synced_at":"2026-03-06T16:30:58.506Z","repository":{"id":62453854,"uuid":"57299932","full_name":"stephenkopylov/SKAsyncGLViewController","owner":"stephenkopylov","description":"SKAsyncGLViewController. Ready to use asynchronous GCD-based OpenGL stack for iOs.","archived":false,"fork":false,"pushed_at":"2021-02-11T16:41:58.000Z","size":8819,"stargazers_count":41,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T17:19:42.797Z","etag":null,"topics":["async","asynchronous","background","gcd","objective-c","opengl","render","stack"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephenkopylov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-28T12:23:24.000Z","updated_at":"2021-11-10T19:54:50.000Z","dependencies_parsed_at":"2022-11-02T00:00:52.514Z","dependency_job_id":null,"html_url":"https://github.com/stephenkopylov/SKAsyncGLViewController","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenkopylov%2FSKAsyncGLViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenkopylov%2FSKAsyncGLViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenkopylov%2FSKAsyncGLViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenkopylov%2FSKAsyncGLViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephenkopylov","download_url":"https://codeload.github.com/stephenkopylov/SKAsyncGLViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248839536,"owners_count":21169827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","asynchronous","background","gcd","objective-c","opengl","render","stack"],"created_at":"2024-11-08T02:58:05.874Z","updated_at":"2026-03-06T16:30:58.471Z","avatar_url":"https://github.com/stephenkopylov.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"misc/logo.png\"/\u003e\n\u003c/p\u003e\n\n\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://travis-ci.org/stephenkopylov/SKAsyncGLViewController\"\u003e\u003cimg src=\"https://travis-ci.org/stephenkopylov/SKAsyncGLViewController.svg\" alt=\"Build Status\"/\u003e\u003c/a\u003e\n\u003ca href=\"http://cocoapods.org/pods/SKAsyncGLViewController\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/v/SKAsyncGLViewController.svg?style=flat\" alt=\"Version\"/\u003e\u003c/a\u003e\n\u003ca href=\"http://cocoapods.org/pods/SKAsyncGLViewController\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/l/SKAsyncGLViewController.svg?style=flat\" alt=\"License\"/\u003e\u003c/a\u003e  \n\u003ca href=\"http://cocoapods.org/pods/SKAsyncGLViewController\"\u003e\u003cimg src=\"https://img.shields.io/badge/platform-ios-brightgreen.svg?style=flat\" alt=\"Platform\"/\u003e\u003c/a\u003e  \n\u003c/p\u003e\n\nSKAsyncGLViewController - replacement for classical GLKit stack (GLKView + GLKViewController). \n\nIt renders all your stuff in background GCD-thread and shows result on main thread.\n\n**OpenGLES2/OpenGLES3**\n\n![Screenshot](misc/demo.gif)\n\n\n### Install\n#### CocoaPods\n```ruby\npod \"SKAsyncGLViewController\"\n```\n\n#### Manual\nDownload this repo and drop this files into your project\n\n![Screenshot](misc/screen1.png)\n\n### Usage\nAfter installation, inherit your viewController from SKAsyncGLViewController and implement these methods:\n\n:wrench: Select your API version by returning EAGLRenderingAPI value here (default is kEAGLRenderingAPIOpenGLES3)\n- **- (EAGLRenderingAPI)getApi**\n\n- **- (void)setupGL** \n\n:wrench: This one for setup your GL - create buffers/load shaders/etc here.\n- **- (void)drawGL:(CGRect)rect**\n\n:black_nib: :pencil2: Here you draws all your stuff!\n- **- (void)clearGL**\n\n:x: This method calls when your vc's view removes from superview. So here you have to clear all your gl stuff (delete buffers .etc)\n\n\nYou can access framebuffer, renderbuffer and background queue through view's properties.\n\n\n\n### License\nThe MIT License (MIT)\n\nCopyright (c) 2016-2019 Stephen Kopylov, newonxp@gmail.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenkopylov%2Fskasyncglviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenkopylov%2Fskasyncglviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenkopylov%2Fskasyncglviewcontroller/lists"}