{"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\/es\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22","title":{"rendered":"Lanzamiento de la biblioteca multimedia SDL 2.0.22","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Se ha lanzado la biblioteca SDL 2.0.22 (Simple DirectMedia Layer), destinada a simplificar la escritura de juegos y aplicaciones multimedia. La biblioteca SDL proporciona herramientas como la salida 2D y 3D acelerada por hardware, gesti\u00f3n de entradas, reproducci\u00f3n de sonido, salida 3D a trav\u00e9s de OpenGL\/OpenGL ES\/Vulkan y muchas otras operaciones complementarias. La biblioteca est\u00e1 escrita en C y se distribuye bajo la licencia Zlib. Para utilizar las capacidades de SDL en proyectos en diferentes lenguajes de programaci\u00f3n, se proporcionan los enlaces necesarios.     <\/p>\n<p>En esta nueva versi\u00f3n:   <\/p>\n<ul>\n<li class=\"l\"> Se ha mejorado el soporte del protocolo Wayland. Inicialmente se planific\u00f3 adoptar Wayland como el protocolo por defecto en entornos que brindan soporte concurrente para Wayland y X11, pero debido a los problemas relacionados con Wayland en los juegos y controladores NVIDIA, se decidi\u00f3 posponer la transici\u00f3n (en entornos de Wayland con el componente XWayland, la salida a\u00fan utiliza el protocolo X11). Para utilizar Wayland, se puede establecer la variable de entorno 'SDL_VIDEODRIVER=wayland' antes de ejecutar la aplicaci\u00f3n o agregar en el c\u00f3digo la funci\u00f3n 'SDL_SetHint(SDL_HINT_VIDEODRIVER, \"wayland,x11\")' antes de llamar a SDL_Init(). Para compilar con Wayland se requiere como m\u00ednimo la versi\u00f3n libwayland-client 1.18.0.\n<li class=\"l\"> Se ha a\u00f1adido la funci\u00f3n SDL_RenderGetWindow() para obtener la ventana asociada al SDL Renderer.\n<li class=\"l\"> Se ha a\u00f1adido un conjunto de funciones para manipular \u00e1reas rectangulares (determinar la inclusi\u00f3n de puntos, limpieza, comparaci\u00f3n, uni\u00f3n, etc.), operando con coordenadas y tama\u00f1os basados en n\u00fameros de punto flotante: SDL_PointInFRect(), SDL_FRectEmpty(), SDL_FRectEquals(), SDL_FRectEqualsEpsilon(), SDL_HasIntersectionF(), SDL_IntersectFRect(), SDL_UnionFRect(), SDL_EncloseFPoints() y SDL_IntersectFRectAndLine().\n<li class=\"l\"> Se ha a\u00f1adido la funci\u00f3n SDL_IsTextInputShown() para comprobar la visibilidad del \u00e1rea de entrada de texto.\n<li class=\"l\"> Se ha a\u00f1adido la funci\u00f3n SDL_ClearComposition() para limpiar el \u00e1rea de entrada de texto sin desactivar el m\u00e9todo de entrada (IME).\n<li class=\"l\"> Se ha a\u00f1adido el evento SDL_TEXTEDITING_EXT para manejar \u00e1reas largas de entrada de texto y la indicaci\u00f3n SDL_HINT_IME_SUPPORT_EXTENDED_TEXT para habilitar este evento.\n<li class=\"l\"> Se ha a\u00f1adido la indicaci\u00f3n SDL_HINT_MOUSE_RELATIVE_MODE_CENTER para permitir que el rat\u00f3n se limite solo al centro de la ventana en lugar de toda la ventana al activar el modo relativo.\n<li class=\"l\"> Se ha habilitado la captura autom\u00e1tica del rat\u00f3n al pulsar los botones del rat\u00f3n. Para desactivarlo, se ha propuesto la indicaci\u00f3n SDL_HINT_MOUSE_AUTO_CAPTURE.\n<li class=\"l\"> Se a\u00f1adieron los indicadores SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL y SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN para proporcionar informaci\u00f3n sobre el uso de ventanas externas de OpenGL o Vulkan.\n<li class=\"l\"> Se a\u00f1adi\u00f3 el indicador SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE para activar la entrega del evento SDL_QUIT al cerrar la \u00faltima ventana de la aplicaci\u00f3n.\n<li class=\"l\"> Se a\u00f1adi\u00f3 el indicador SDL_HINT_JOYSTICK_ROG_CHAKRAM para tratar el mouse ROG Chakram como un joystick.\n<li class=\"l\"> Para Linux se a\u00f1adi\u00f3 el indicador SDL_HINT_X11_WINDOW_TYPE para establecer el par\u00e1metro _NET_WM_WINDOW_TYPE en las ventanas.\n<li class=\"l\"> Para Linux se a\u00f1adi\u00f3 el indicador SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR para utilizar libdecor con los compositores que soportan xdg-decoration. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/es\/server\/dts-dusseldorf\/\"   title=\"servidores\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"3433\">servidores<\/a>, que soportan xdg-decoration.\n<li class=\"l\"> Para Android se implement\u00f3 la funci\u00f3n SDL_AndroidSendMessage() para enviar un comando arbitrario al manejador Java de SDL.      <\/ul>\n<p>Fuente: <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\/es\/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=\"es_ES\" \/>\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\/es\/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\udd47Lanzamiento de la biblioteca multimedia SDL 2.0.22 | ProHoster","description":"Se lanz\u00f3 la biblioteca SDL 2.0.22 (Simple DirectMedia Layer), dise\u00f1ada para facilitar la escritura de juegos y aplicaciones multimedia.","canonical_url":"https:\/\/prohoster.info\/es\/blog\/news\/vypusk-multimedijnoj-biblioteki-sdl-2-0-22","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"es_ES","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\/es\/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\/es\/wp-json\/wp\/v2\/posts\/103871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/comments?post=103871"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts\/103871\/revisions"}],"predecessor-version":[{"id":161808,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts\/103871\/revisions\/161808"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/media?parent=103871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/categories?post=103871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/tags?post=103871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}