{"action":"created","issue":{"url":"https://api.github.com/repos/mellinoe/veldrid/issues/61","repository_url":"https://api.github.com/repos/mellinoe/veldrid","labels_url":"https://api.github.com/repos/mellinoe/veldrid/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/mellinoe/veldrid/issues/61/comments","events_url":"https://api.github.com/repos/mellinoe/veldrid/issues/61/events","html_url":"https://github.com/mellinoe/veldrid/issues/61","id":312635908,"number":61,"title":"Implement API calls for mipmapping.","user":{"login":"geoeo","id":1128542,"avatar_url":"https://avatars3.githubusercontent.com/u/1128542?v=4","gravatar_id":"","url":"https://api.github.com/users/geoeo","html_url":"https://github.com/geoeo","followers_url":"https://api.github.com/users/geoeo/followers","following_url":"https://api.github.com/users/geoeo/following{/other_user}","gists_url":"https://api.github.com/users/geoeo/gists{/gist_id}","starred_url":"https://api.github.com/users/geoeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoeo/subscriptions","organizations_url":"https://api.github.com/users/geoeo/orgs","repos_url":"https://api.github.com/users/geoeo/repos","events_url":"https://api.github.com/users/geoeo/events{/privacy}","received_events_url":"https://api.github.com/users/geoeo/received_events","type":"User","site_admin":false},"labels":[{"id":332110926,"url":"https://api.github.com/repos/mellinoe/veldrid/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-09T18:23:24Z","updated_at":"2018-05-14T19:55:42Z","closed_at":"2018-05-14T19:21:30Z","author_association":"NONE","body":"As per the mention on gitter, I thought it would be worthwhile making an official request for this.\r\n\r\nHaving direct access to mipmapping is not only beneficial for graphics applications but also for GPGPU apps. E.g. calculating image pyramids. \r\n\r\nThe API calls are as follows:\r\nOpenGL: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glGenerateMipmap.xhtml\r\nMetal: https://developer.apple.com/documentation/metal/mtlblitcommandencoder/1400748-generatemipmapsfortexture\r\nDirectX: https://msdn.microsoft.com/en-us/library/windows/desktop/bb206251(v=vs.85).aspx (? - not sure since it DirectX 9)\r\nVulkan : No direct mipmapping here. Would have to use a compute shader chain, as stated in the gitter chat."},"comment":{"url":"https://api.github.com/repos/mellinoe/veldrid/issues/comments/388942036","html_url":"https://github.com/mellinoe/veldrid/issues/61#issuecomment-388942036","issue_url":"https://api.github.com/repos/mellinoe/veldrid/issues/61","id":388942036,"user":{"login":"geoeo","id":1128542,"avatar_url":"https://avatars3.githubusercontent.com/u/1128542?v=4","gravatar_id":"","url":"https://api.github.com/users/geoeo","html_url":"https://github.com/geoeo","followers_url":"https://api.github.com/users/geoeo/followers","following_url":"https://api.github.com/users/geoeo/following{/other_user}","gists_url":"https://api.github.com/users/geoeo/gists{/gist_id}","starred_url":"https://api.github.com/users/geoeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoeo/subscriptions","organizations_url":"https://api.github.com/users/geoeo/orgs","repos_url":"https://api.github.com/users/geoeo/repos","events_url":"https://api.github.com/users/geoeo/events{/privacy}","received_events_url":"https://api.github.com/users/geoeo/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T19:55:42Z","updated_at":"2018-05-14T19:55:42Z","author_association":"NONE","body":"> On the other hand, this method is only really intended to be used to auto-generate mipmaps for rendered scenes, so the required usage flags reflect that.\r\n\r\nIs it possible to forego this limitation in the future? One use case I was thinking about is GPGPU programming and using mip maps without a render taget."}}
{"actor":{"display_login":"geoeo"}}