{"id":15717931,"url":"https://github.com/daar/glpt","last_synced_at":"2025-10-13T07:32:28.841Z","repository":{"id":33769417,"uuid":"149982459","full_name":"daar/GLPT","owner":"daar","description":"GLPT :: OpenGL Pascal Toolkit. A multi-platform library for OpenGL and OpenGL ES","archived":false,"fork":false,"pushed_at":"2022-06-01T21:51:49.000Z","size":210,"stargazers_count":33,"open_issues_count":6,"forks_count":8,"subscribers_count":5,"default_branch":"GL-version","last_synced_at":"2025-05-07T14:12:13.049Z","etag":null,"topics":["freepascal","linux","macosx","opengl","opengles","pascal","toolkit","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"Pascal","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/daar.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":"2018-09-23T12:30:27.000Z","updated_at":"2025-01-05T15:26:21.000Z","dependencies_parsed_at":"2022-08-17T20:51:06.520Z","dependency_job_id":null,"html_url":"https://github.com/daar/GLPT","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daar/GLPT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daar%2FGLPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daar%2FGLPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daar%2FGLPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daar%2FGLPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daar","download_url":"https://codeload.github.com/daar/GLPT/tar.gz/refs/heads/GL-version","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daar%2FGLPT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014119,"owners_count":26085463,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["freepascal","linux","macosx","opengl","opengles","pascal","toolkit","unix","windows"],"created_at":"2024-10-03T21:51:40.658Z","updated_at":"2025-10-13T07:32:28.818Z","avatar_url":"https://github.com/daar.png","language":"Pascal","readme":"[![Build Status](https://travis-ci.org/daar/GLPT.svg?branch=GL-version)](https://travis-ci.org/daar/GLPT)\n\n# GLPT :: OpenGL Pascal Toolkit\n\nAn easy to use native pascal toolkit that allows to create and manage OpenGL contexts in a platform independent way. GLPT is available under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).\n\nSome screenshots on different platforms. \n\n\u003ca href=\"image/simple.png\"\u003e\u003cimg src=\"https://github.com/daar/GLPT/blob/master/image/simple.png\" align=\"left\" height=\"128\" \u003e\u003c/a\u003e\n\u003ca href=\"image/linux.png\"\u003e\u003cimg src=\"https://github.com/daar/GLPT/blob/master/image/linux.png\" align=\"left\" height=\"128\" \u003e\u003c/a\u003e\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\nFeel free to submit new screenshots by creating a pull request.\n\n## Usage\nUsing GLPT is easy, you only need to include the GLPT unit and create a window. Then run the event loop and do all your application stuff there. There are numerous examples included to help you to make a jump start.\n\n    uses\n      GLPT;\n\n      ...\n\n      GLPT_Init;\n      window := GLPT_CreateWindow(0, 0, width, height, 'Simple example', GLPT_GetDefaultContext);\n\n      while not GLPT_WindowShouldClose(window) do\n      begin\n        //do your application and OpenGL magic here\n\n        GLPT_SwapBuffers(window);\n        GLPT_PollEvents;\n      end;\n\n      GLPT_DestroyWindow(window);\n      GLPT_Terminate;\n\n\u003c!-- API-SUPPORT-LIST:START --\u003e\n## API (v0.1.2) support\n| API function              | Linux (X11)     | Mac OSX (Cocoa) | Windows (GDI)   |\n|---------------------------|-----------------|-----------------|-----------------|\n| GLPT_CreateWindow | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_DestroyWindow | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetBasePath | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetDefaultContext | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetDisplayCoords | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetFrameBufferSize | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetLastError | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetPrefPath | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetProcAddress | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetScancodeName | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetTicks | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetTime | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_GetVersionString | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_Init | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_MakeCurrent | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/red.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_PollEvents | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_SetCursor | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/red.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_SetErrorCallback | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_SetVSync | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/red.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/red.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_SetWindowShouldClose | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_SwapBuffers | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_Terminate | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n| GLPT_WindowShouldClose | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \u003cimg src=\"https://github.com/daar/GLPT/blob/master/doc/green.svg\"\u003e | \n\u003c!-- API-SUPPORT-LIST:END --\u003e\n\n## Design considerations\nGLPT is planned to be a simple and easy to use library. When working on the code please consider the following;\n\n* flat API, so no classes and no objects\n* no external dependencies are allowed, also adding FPC units should be considered carefully\n* only OpenGL context handling, no audio, font or UI included to name a few\n\n## Contributors\nGLPT is made possible thanks to people that are willing to spend their time and lend their skills, helping to code and submit new ideas. The following persons (in alphabetical order) have committed to this project. \n\u003c!-- CONTRIBUTOR-LIST:START --\u003e\n* Darius Blaszyk (daar)\n* Ryan Joseph (genericptr)\n\u003c!-- CONTRIBUTOR-LIST:END --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaar%2Fglpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaar%2Fglpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaar%2Fglpt/lists"}