{"id":103871,"date":"2022-04-26T03:36:47","date_gmt":"2022-04-26T01:36:47","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22"},"modified":"2022-04-26T03:36:47","modified_gmt":"2022-04-26T01:36:47","slug":"vypusk-multimedijnoj-biblioteki-sdl-2-0-22","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22","title":{"rendered":"M\u00ebnyra e lirimit t\u00eb bibliotek\u00ebs multimedia SDL 2.0.22","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Lansohet biblioteka SDL 2.0.22 (Simple DirectMedia Layer), e cila ka p\u00ebr q\u00ebllim t\u00eb thjeshtoj\u00eb shkrimin e loj\u00ebrave dhe aplikacioneve multimediale. Biblioteka SDL ofron mjete si nxjerrja e ngarkuar nga hardueri p\u00ebr grafik\u00ebn 2D dhe 3D, p\u00ebrpunimi i hyrjeve, riprodhimi i z\u00ebrit, dalja e 3D p\u00ebrmes OpenGL\/OpenGL ES\/Vulkan dhe shum\u00eb operacione t\u00eb tjera p\u00ebrkat\u00ebse. Biblioteka \u00ebsht\u00eb shkruar n\u00eb gjuh\u00ebn C dhe shp\u00ebrndahet n\u00ebn licenc\u00ebn Zlib. P\u00ebr t\u00eb p\u00ebrdorur mund\u00ebsit\u00eb e SDL n\u00eb projekte n\u00eb gjuh\u00eb t\u00eb ndryshme programuese, ofrohen lidhjet e nevojshme.     <\/p>\n<p>N\u00eb versionin e ri:   <\/p>\n<ul>\n<li class=\"l\"> P\u00ebrmir\u00ebsuar mb\u00ebshtetja p\u00ebr protokollin Wayland. Fillimisht ishte planifikuar q\u00eb t\u00eb kalonte n\u00eb p\u00ebrdorimin e protokollit Wayland si standard n\u00eb mjediset q\u00eb ofrojn\u00eb mb\u00ebshtetje t\u00eb nj\u00ebkohshme p\u00ebr Wayland dhe X11, por p\u00ebr shkak t\u00eb problemeve t\u00eb lidhura me Wayland n\u00eb loj\u00ebra dhe n\u00eb drejtor\u00ebt e NVIDIA, u vendos q\u00eb t\u00eb pritet me kalimin (n\u00eb mjediset Wayland me komponentin XWayland, si m\u00eb par\u00eb, p\u00ebrdoret dalja me protokollin X11). P\u00ebr t\u00eb p\u00ebrdorur Wayland, mund t\u00eb caktoni para nisjes s\u00eb aplikacionit variablin e ambientit \"SDL_VIDEODRIVER=wayland\" ose t\u00eb shtoni n\u00eb kod funksionin 'SDL_SetHint(SDL_HINT_VIDEODRIVER, \"wayland,x11\")' para thirrjes s\u00eb SDL_Init(). P\u00ebr kompilimin me Wayland k\u00ebrkohet t\u00eb pakt\u00ebn versioni libwayland-client 1.18.0.\n<li class=\"l\"> \u00cbsht\u00eb shtuar funksioni SDL_RenderGetWindow() p\u00ebr t\u00eb marr\u00eb dritaren e lidhur me SDL Renderer.\n<li class=\"l\"> \u00cbsht\u00eb shtuar nj\u00eb grup funksionesh p\u00ebr manipulimin e zonave katrore (p\u00ebrcaktimi i p\u00ebrfshirjes s\u00eb pikave, pastrimi, krahasimi, bashkimi etj.), duke operuar me koordinatat dhe madh\u00ebsit\u00eb bazuar n\u00eb numra me pik\u00eb fluturuese: SDL_PointInFRect(), SDL_FRectEmpty(), SDL_FRectEquals(), SDL_FRectEqualsEpsilon(), SDL_HasIntersectionF(), SDL_IntersectFRect(), SDL_UnionFRect(), SDL_EncloseFPoints() dhe SDL_IntersectFRectAndLine().\n<li class=\"l\"> \u00cbsht\u00eb shtuar funksioni SDL_IsTextInputShown() p\u00ebr t\u00eb verifikuar n\u00ebse \u00ebsht\u00eb e dukshme zona e hyrjes s\u00eb tekstit.\n<li class=\"l\"> \u00cbsht\u00eb shtuar funksioni SDL_ClearComposition() p\u00ebr t\u00eb pastruar zon\u00ebn e hyrjes s\u00eb tekstit pa \u00e7aktivizuar metod\u00ebn e hyrjes (IME).\n<li class=\"l\"> \u00cbsht\u00eb shtuar ngjarja SDL_TEXTEDITING_EXT p\u00ebr t\u00eb p\u00ebrpunuar zonat e gjata t\u00eb hyrjes s\u00eb tekstit dhe karakteristika SDL_HINT_IME_SUPPORT_EXTENDED_TEXT p\u00ebr aktivizimin e k\u00ebsaj ngjarjeje.\n<li class=\"l\"> \u00cbsht\u00eb shtuar karakteristika SDL_HINT_MOUSE_RELATIVE_MODE_CENTER p\u00ebr t\u00eb kufizuar miun vet\u00ebm n\u00eb qend\u00ebr t\u00eb dritares n\u00eb vend t\u00eb gjith\u00eb dritares kur aktivizohet moda relative.\n<li class=\"l\"> \u00cbsht\u00eb aktivizuar kapja automatikisht e miut kur shtypen butonat e miut. P\u00ebr t\u00eb \u00e7aktivizuar, \u00ebsht\u00eb propozuar karakteristika SDL_HINT_MOUSE_AUTO_CAPTURE.\n<li class=\"l\"> Jan\u00eb shtuar shenjat SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL dhe SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN p\u00ebr t\u00eb d\u00ebrguar informacion rreth p\u00ebrdorimit nga nj\u00eb dritare e jashtme OpenGL ose Vulkan.\n<li class=\"l\"> \u00cbsht\u00eb shtuar shenja SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE p\u00ebr t\u00eb aktivizuar d\u00ebrgimin e ngjarjes SDL_QUIT kur mbyllet dritarja e fundit t\u00eb aplikacionit.\n<li class=\"l\"> \u00cbsht\u00eb shtuar shenja SDL_HINT_JOYSTICK_ROG_CHAKRAM p\u00ebr t\u00eb trajtuar kat\u00ebr aktor\u00ebt e ROG Chakram si nj\u00eb lojtar.\n<li class=\"l\"> P\u00ebr Linux \u00ebsht\u00eb shtuar shenja SDL_HINT_X11_WINDOW_TYPE p\u00ebr t\u00eb caktuar dritareve parametrin _NET_WM_WINDOW_TYPE.\n<li class=\"l\"> P\u00ebr Linux \u00ebsht\u00eb shtuar shenja SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR p\u00ebr t\u00eb p\u00ebrdorur libdecor me kompozitor\u00eb <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/sq\/server\/dts-dusseldorf\/\"   title=\"server\u00eb\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"3433\">server\u00eb<\/a>, q\u00eb mb\u00ebshtesin xdg-decoration.\n<li class=\"l\"> P\u00ebr Android \u00ebsht\u00eb realizuar funksioni SDL_AndroidSendMessage() p\u00ebr t\u00eb d\u00ebrguar nj\u00eb komand\u00eb t\u00eb rast\u00ebsishme n\u00eb trajtuesin Java SDL.      <\/ul>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=57083\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 SDL 2.0.22 (Simple DirectMedia Layer), \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u0433\u0440 \u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0439\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 SDL \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u043a\u0438\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043a\u0430\u043a \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e-\u0443\u0441\u043a\u043e\u0440\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 2D- \u0438 3D-\u0433\u0440\u0430\u0444\u0438\u043a\u0438, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0432\u043e\u0434\u0430, \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0437\u0432\u0443\u043a\u0430, \u0432\u044b\u0432\u043e\u0434 3D \u0447\u0435\u0440\u0435\u0437 OpenGL\/OpenGL ES\/Vulkan \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u044b\u0445 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 Zlib. \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 SDL [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-103871","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 SDL 2.0.22 (Simple DirectMedia Layer), \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u0433\u0440 \u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0439\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0439\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 SDL 2.0.22 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 SDL 2.0.22 (Simple DirectMedia Layer), \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u0433\u0440 \u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0439\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-04-26T01:36:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-04-26T01:36:47+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47L\u00ebshimi i bibliotek\u00ebs multimediale SDL 2.0.22 | ProHoster","description":"Doli n\u00eb drit\u00eb biblioteka SDL 2.0.22 (Simple DirectMedia Layer), e orientuar p\u00ebr t\u00eb leht\u00ebsuar shkputjen e loj\u00ebrave dhe aplikacioneve multimediale.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0439\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 SDL 2.0.22 | ProHoster","og:description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 SDL 2.0.22 (Simple DirectMedia Layer), \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u0433\u0440 \u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0439\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","og:url":"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2022-04-26T01:36:47+00:00","article:modified_time":"2022-04-26T01:36:47+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"103871","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-19 09:18:27","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2022-04-26 01:37:25","updated":"2026-02-19 09:18:27","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/103871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=103871"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/103871\/revisions"}],"predecessor-version":[{"id":161808,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/103871\/revisions\/161808"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=103871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=103871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=103871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}