{"id":26057796,"url":"https://github.com/feenkcom/gtoolkit-gleam","last_synced_at":"2026-01-29T05:43:33.249Z","repository":{"id":110078729,"uuid":"226295780","full_name":"feenkcom/gtoolkit-gleam","owner":"feenkcom","description":"C wrapper around OpenGL bindings for Servo","archived":false,"fork":false,"pushed_at":"2023-12-12T18:26:00.000Z","size":352,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2023-12-13T19:15:35.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/feenkcom.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-12-06T09:45:37.000Z","updated_at":"2023-12-20T16:08:05.432Z","dependencies_parsed_at":"2023-12-20T16:18:09.577Z","dependency_job_id":null,"html_url":"https://github.com/feenkcom/gtoolkit-gleam","commit_stats":null,"previous_names":[],"tags_count":112,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fgtoolkit-gleam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fgtoolkit-gleam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fgtoolkit-gleam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fgtoolkit-gleam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feenkcom","download_url":"https://codeload.github.com/feenkcom/gtoolkit-gleam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242546038,"owners_count":20147096,"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":[],"created_at":"2025-03-08T11:59:01.584Z","updated_at":"2026-01-29T05:43:33.221Z","avatar_url":"https://github.com/feenkcom.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GToolkit-Gleam\nPharo bindings for [Gleam](https://github.com/servo/gleam) - OpenGL bindings and wrapper for Servo.\n\n## Installation\n\n```smalltalk \nEpMonitor current disable.\n[ \n  Metacello new\n    baseline: 'GToolkitGleam';\n    repository: 'github://feenkcom/gtoolkit-gleam/src';\n    load\n] ensure: [ EpMonitor current enable ].  \n```\n\n## Getting started\n\n`Gleam` is not responsible for OpenGL context creation. Instead, it is a wrapper that unifies OpenGL and OpenGles APIs.\nUsers are expected to use other libraries to create an OpenGL context and then wrap with `Gleam`.\nLet's see an example:\n\n```smalltalk\n\"users creates a context as she wishes\"\ncontext := self createContext.\n\"a context must be valid and be made current\"\ncontext makeCurrent.\n\n\"Gleam wraps OpenGL functions by loading OpenGL functions by their name\"\ngl := GtGleamGL loadGl: [ :aSymbol | context getProcAddress: aSymbol ].\n\n\"Now we are ready to draw\"\ngl clear_color: Color red.\ngl clear: gl GL_COLOR_BUFFER_BIT.\n\n\"once rendering is completed swap buffers to display on the screen\"\ncontext swapBuffers.\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenkcom%2Fgtoolkit-gleam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeenkcom%2Fgtoolkit-gleam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenkcom%2Fgtoolkit-gleam/lists"}