<supports-gl-texture>
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ملاحظة: تتم فلترة التطبيقات وفقًا لـ Google Play.
إلى تنسيقات ضغط البنية التي تتوافق معها حتى
لا يتم تثبيتها إلا على الأجهزة التي يمكنها التعامل مع قوامها
بشكل صحيح. يمكنك استخدام تصفية ضغط القوام
كطريقة لاستهداف أنواع معينة من الأجهزة بناءً على النظام الأساسي لوحدة معالجة الرسومات.
للحصول على معلومات مهمة حول كيفية
يستخدم Google Play عناصر <supports-gl-texture>
الأساس للتصفية، اقرأ دليل
قسم تشغيل وفلترة ضغط البنية.
- بناء الجملة:
-
<supports-gl-texture
android:name="string" />
- الواردة في:
<manifest>
- description:
- يحدد تنسيق GL لضغط بنية GL الذي يتوافق مع التطبيق.
تطبيق "يدعم" تنسيق ضغط بنية GL إذا كان
تقديم مواد عرض زخرفية مضغوطة بهذا التنسيق عند تثبيت التطبيق على الجهاز.
يوفر التطبيق
مواد العرض المضغوطة محليًا أو من داخل حزمة APK أو تنزيلها
من خادم في وقت التشغيل.
يعلن كل عنصر <supports-gl-texture>
عن عنصر واحد بالضبط
تنسيق ضغط بنية متوافق، محدد كقيمة
السمة android:name
. إذا كان تطبيقك يتيح استخدام العديد من
يمكنك الإعلان عن العديد من تنسيقات ضغط القوام،
<supports-gl-texture>
عناصر:
<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" />
<supports-gl-texture android:name="GL_OES_compressed_paletted_texture" />
تُعد عناصر <supports-gl-texture>
معلوماتية،
ما يعني أنّ نظام Android نفسه لا يفحص العناصر عند التثبيت
لضمان مطابقة الدعم على الجهاز.
ومع ذلك، فإن الخدمات الأخرى
مثل Google Play أو التطبيقات يمكنها التحقق من ملف
<supports-gl-texture>
بيانات كجزء من معالجة البيانات أو
التفاعل مع تطبيقك. لهذا السبب، من المهم جدًا أن
يمكنك تعريف جميع تنسيقات ضغط البنية من القائمة التالية
التي تتوافق مع تطبيقك.
تعرض التطبيقات والأجهزة عادةً تركيبة GL المتوافقة.
باستخدام المجموعة التالية من السلاسل المعروفة.
قد تزداد مجموعة سلاسل التنسيق بمرور الوقت، حسب الحاجة. نظرًا لأن القيم
عبارة عن سلاسل، فالتطبيقات لها حرية الإعلان عن التنسيقات الأخرى حسب الحاجة.
وبافتراض أن التطبيق تم إنشاؤه باستخدام SDK Platform Tools r3 أو الإصدارات الأحدث،
تم تفعيل الفلترة المستندة إلى العنصر <supports-gl-texture>
لجميع مستويات واجهة برمجة التطبيقات.
- :
-
android:name
- يحدد هذا الإعداد تنسيقًا واحدًا لضغط بنية GL متوافق مع التطبيق.
كسلسلة واصف. يتم سرد قيم الواصفات الشائعة في الجدول التالي.
واصف تنسيق ضغط البنية |
التعليقات |
GL_OES_compressed_ETC1_RGB8_texture |
ضغط بنية إريكسون محدد في OpenGL ES 2.0 ومتاح في جميع الأجهزة
الأجهزة التي تعمل بنظام التشغيل Android وتتوافق مع OpenGL ES 2.0 |
GL_OES_compressed_paletted_texture |
ضغط الهيئة العامّة للوحة الألوان |
GL_AMD_compressed_3DC_texture |
ضغط بنية ATI 3Dc. |
GL_AMD_compressed_ATC_texture |
ضغط بنية ATI. يتوفّر على الأجهزة التي تعمل بوحدة معالجة رسومات Adreno، بما في ذلك
HTC Nexus One وDroid Incredible وEVO وغير ذلك للحصول على أوسع توافق
الأجهزة أن تعلن أيضًا عن عنصر <supports-gl-texture> مع
الواصف GL_ATI_texture_compression_atitc . |
GL_EXT_texture_compression_latc |
ضغط نسيج ألفا للإضاءة |
GL_EXT_texture_compression_dxt1 |
ضغط بنية S3 DXT1. متوافق مع الأجهزة التي تعمل بـ Nvidia Tegra2
بما في ذلك Motorala Xoom وMotorola Atrix وDroid Bionic
آخرون. |
GL_EXT_texture_compression_s3tc |
ضغط بنية S3، وهو غير محدد لصيغة DXT. متاح على الأجهزة
تشغيل نظام Nvidia Tegra2، بما في ذلك Motorala Xoom وMotorola Atrix وDroid
وbionic وغيرها. إذا كان طلبك يتطلب صيغة محددة من DXT، يُرجى تقديم بيان
الواصف بدلاً من هذا. |
GL_IMG_texture_compression_pvrtc |
ضغط بنية PowerVR. متوفر على الأجهزة التي تعمل بـ PowerVR SGX530/540
وحدة معالجة الرسومات، مثل سلسلة Motorola DROID Samsung Galaxy S وNexus S وGalaxy Tab؛
وغير ذلك |
- راجِع أيضًا:
-
Google Play وفلترة ضغط الهيئة
يصفي Google Play التطبيقات المرئية للمستخدمين بحيث
يمكن للمستخدمين رؤية وتنزيل هذه التطبيقات المتوافقة مع
أجهزتهم. إحدى الطرق التي تستخدمها هذه الميزة في تصفية التطبيقات هي عن طريق الهيئة
التوافق مع الضغط، مما يتيح لك التحكم في مدى توفر
التطبيقات على أجهزة مختلفة بناءً على إمكانات وحدات معالجة الرسومات (GPU) الخاصة بها.
لتحديد توافق ضغط بنية تطبيق مع سمة معينة
جهاز المستخدم، يقارن Google Play ما يلي:
- تنسيقات ضغط الهيئة المتوافقة مع التطبيق، كما هو موضَّح في
عناصر
<supports-gl-texture>
في ملف البيان الخاص به.
- تنسيقات ضغط الهيئة المتوافقة مع وحدة معالجة الرسومات على الجهاز
يُبلغ الجهاز عن التنسيقات التي يتوافق معها كخصائص نظام للقراءة فقط.
في كل مرة تحمّل فيها تطبيقًا إلى Google Play Console
يفحص Google Play ملف البيان الخاص بالتطبيق ويبحث عن أي
<supports-gl-texture>
. وهي تستخرج
واصفات التنسيق من العناصر ويخزنها داخليًا
البيانات الوصفية المرتبطة بحزمة APK للتطبيق والتطبيق
.
عندما يبحث المستخدم عن تطبيقات على Google Play أو يتصفّحها،
تقارن الخدمة تنسيقات ضغط البنية التي يعتمدها التطبيق.
مع تلك التي يدعمها جهاز المستخدم. وتستند المقارنة إلى شكل الإعلان:
سلاسل واصفة، ويجب أن تكون المطابقة تامة.
إذا تم إيقاف أي من تنسيقات ضغط البنية المتوافقة للتطبيق
على الجهاز أيضًا، يتيح Google Play للمستخدم الاطّلاع على
التطبيق ومن المحتمل تنزيلها. وإذا لم يتم تحديث
على الجهاز، ويعمل Google Play على تصفية التطبيق
عدم إتاحة تنزيله.
إذا لم يعرض أحد التطبيقات أيّ عناصر <supports-gl-texture>
،
لا يُطبِّق Google Play أي فلاتر استنادًا إلى تنسيق ضغط بنية GL.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# <supports-gl-texture\u003e\n\n**Note:**Google Play filters applications according\nto the texture compression formats that they support so that\nthey install only on devices that can handle their textures\nproperly. You can use texture compression filtering\nas a way of targeting specific device types based on the GPU platform.\n\nFor important information about how\nGoogle Play uses `\u003csupports-gl-texture\u003e` elements as\nthe basis for filtering, read the [Google\nPlay and texture compression filtering](#market-texture-filtering) section.\n\nsyntax:\n:\n\n ```xml\n \u003csupports-gl-texture\n android:name=\"string\" /\u003e\n ```\n\ncontained in:\n: [\u003cmanifest\u003e](/guide/topics/manifest/manifest-element)\n\ndescription:\n\n: Declares a single GL texture compression format that the app supports. An application \"supports\" a GL texture compression format if it can\n provide texture assets compressed in that format when the application installs on a device.\n\n The application provides the\n compressed assets locally, from inside the APK, or it can download them\n from a server at runtime.\n\n Each `\u003csupports-gl-texture\u003e` element declares exactly one\n supported texture compression format, specified as the value of a\n `android:name` attribute. If your application supports multiple\n texture compression formats, you can declare multiple\n `\u003csupports-gl-texture\u003e` elements: \n\n ```xml\n \u003csupports-gl-texture android:name=\"GL_OES_compressed_ETC1_RGB8_texture\" /\u003e\n \u003csupports-gl-texture android:name=\"GL_OES_compressed_paletted_texture\" /\u003e\n ```\n\n `\u003csupports-gl-texture\u003e` elements are informational,\n meaning that the Android system itself does not examine the elements at install\n time to ensure matching support on the device.\n\n However, other services,\n such as Google Play, or applications can check your application's\n `\u003csupports-gl-texture\u003e` declarations as part of handling or\n interacting with your application. For this reason, it's very important that\n you declare all the texture compression formats from the following list that\n your application supports.\n\n Applications and devices typically declare their supported GL texture\n compression formats using the following set of well-known strings.\n The set of format strings might grow over time, as needed. Since the values\n are strings, applications are free to declare other formats as needed.\n\n Assuming that the application is built with SDK Platform Tools r3 or higher,\n filtering based on the `\u003csupports-gl-texture\u003e` element is activated\n for all API levels.\n\nattributes:\n:\n\n `android:name`\n : Specifies a single GL texture compression format supported by the application\n as a descriptor string. Common descriptor values are listed in the following table.\n\n | Texture compression format descriptor | Comments |\n |---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | `GL_OES_compressed_ETC1_RGB8_texture` | Ericsson texture compression. Specified in OpenGL ES 2.0 and available in all Android-powered devices that support OpenGL ES 2.0. |\n | `GL_OES_compressed_paletted_texture` | Generic paletted texture compression. |\n | `GL_AMD_compressed_3DC_texture` | ATI 3Dc texture compression. |\n | `GL_AMD_compressed_ATC_texture` | ATI texture compression. Available on devices running Adreno GPU, including HTC Nexus One, Droid Incredible, EVO, and others. For widest compatibility, devices may also declare a `\u003csupports-gl-texture\u003e` element with the descriptor `GL_ATI_texture_compression_atitc`. |\n | `GL_EXT_texture_compression_latc` | Luminance alpha texture compression. |\n | `GL_EXT_texture_compression_dxt1` | S3 DXT1 texture compression. Supported on devices running the Nvidia Tegra2 platform, including Motorala Xoom, Motorola Atrix, Droid Bionic, and others. |\n | `GL_EXT_texture_compression_s3tc` | S3 texture compression, nonspecific to DXT variant. Supported on devices running the Nvidia Tegra2 platform, including Motorala Xoom, Motorola Atrix, Droid Bionic, and others. If your application requires a specific DXT variant, declare that descriptor instead of this one. |\n | `GL_IMG_texture_compression_pvrtc` | PowerVR texture compression. Available on devices running the PowerVR SGX530/540 GPU, such as Motorola DROID series; Samsung Galaxy S, Nexus S, and Galaxy Tab; and others. |\n\n\nsee also:\n:\n - [Filters on Google Play](/google/play/filters)"]]