1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
TRAITS = [
# ref: https://en.wikipedia.org/wiki/DirectX
'DIRECTX_V10',
'DIRECTX_V11',
'DIRECTX_V12',
# ref: https://en.wikipedia.org/wiki/Direct2D
'DIRECT2D',
# ref: https://en.wikipedia.org/wiki/Direct3D
'DIRECT3D_V6_0',
'DIRECT3D_V7_0',
'DIRECT3D_V8_0',
'DIRECT3D_V8_1',
'DIRECT3D_V9_0',
'DIRECT3D_V9_0B',
'DIRECT3D_V9_0C',
'DIRECT3D_V9_0L',
'DIRECT3D_V10_0',
'DIRECT3D_V10_1',
'DIRECT3D_V11_0',
'DIRECT3D_V11_1',
'DIRECT3D_V11_2',
'DIRECT3D_V11_3',
'DIRECT3D_V12_0',
# ref: https://en.wikipedia.org/wiki/Vulkan_(API)
'VULKAN',
# ref: https://en.wikipedia.org/wiki/DirectX_Video_Acceleration
'DXVA',
# ref: https://en.wikipedia.org/wiki/OpenCL
'OPENCL_V1_0',
'OPENCL_V1_1',
'OPENCL_V1_2',
'OPENCL_V2_0',
'OPENCL_V2_1',
'OPENCL_V2_2',
# ref: https://en.wikipedia.org/wiki/OpenGL
'OPENGL_V1_1',
'OPENGL_V1_2',
'OPENGL_V1_3',
'OPENGL_V1_4',
'OPENGL_V1_5',
'OPENGL_V2_0',
'OPENGL_V2_1',
'OPENGL_V3_0',
'OPENGL_V3_1',
'OPENGL_V3_2',
'OPENGL_V3_3',
'OPENGL_V4_0',
'OPENGL_V4_1',
'OPENGL_V4_2',
'OPENGL_V4_3',
'OPENGL_V4_4',
'OPENGL_V4_5',
]
|