{"action":"created","issue":{"url":"https://api.github.com/repos/vispy/vispy/issues/737","labels_url":"https://api.github.com/repos/vispy/vispy/issues/737/labels{/name}","comments_url":"https://api.github.com/repos/vispy/vispy/issues/737/comments","events_url":"https://api.github.com/repos/vispy/vispy/issues/737/events","html_url":"https://github.com/vispy/vispy/pull/737","id":60222117,"number":737,"title":"Implement a 1d sampler using pyopengl","user":{"login":"bollu","id":1694861,"avatar_url":"https://avatars.githubusercontent.com/u/1694861?v=3","gravatar_id":"","url":"https://api.github.com/users/bollu","html_url":"https://github.com/bollu","followers_url":"https://api.github.com/users/bollu/followers","following_url":"https://api.github.com/users/bollu/following{/other_user}","gists_url":"https://api.github.com/users/bollu/gists{/gist_id}","starred_url":"https://api.github.com/users/bollu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bollu/subscriptions","organizations_url":"https://api.github.com/users/bollu/orgs","repos_url":"https://api.github.com/users/bollu/repos","events_url":"https://api.github.com/users/bollu/events{/privacy}","received_events_url":"https://api.github.com/users/bollu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-07T20:07:33Z","updated_at":"2015-03-09T19:58:12Z","closed_at":"2015-03-09T19:58:04Z","pull_request":{"url":"https://api.github.com/repos/vispy/vispy/pulls/737","html_url":"https://github.com/vispy/vispy/pull/737","diff_url":"https://github.com/vispy/vispy/pull/737.diff","patch_url":"https://github.com/vispy/vispy/pull/737.patch"},"body":"So, I implemented a 1d sampler similar to the already existing 3d sampler in the codebase by accessing ```pyopengl```. There a lot of layers and moving parts, so I'm not sure if I missed something in my implementation.\r\n\r\nI also had to manually extract the constants ```GL_TEXTURE_1D``` and ```GL_SAMPLER_1D```. I'm assuming that they were not listed in ```_constants.py``` since they're not ```GLES2.0```? Either way, I'm not too fond of the current __extremely__ hacky solution I came up with. Would love a nicer solution"},"comment":{"url":"https://api.github.com/repos/vispy/vispy/issues/comments/77929609","html_url":"https://github.com/vispy/vispy/pull/737#issuecomment-77929609","issue_url":"https://api.github.com/repos/vispy/vispy/issues/737","id":77929609,"user":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T19:58:12Z","updated_at":"2015-03-09T19:58:12Z","body":"Thanks for the enhancement!"}}