webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Functions | Variables
gen_dxgi_format_table.py File Reference

Namespaces

 gen_dxgi_format_table
 

Functions

def gen_dxgi_format_table.format_case (dxgi_format, result)
 
def gen_dxgi_format_table.undefined_case (dxgi_format)
 

Variables

string gen_dxgi_format_table.template_cpp
 
string gen_dxgi_format_table.template_format_case
 
string gen_dxgi_format_table.template_undefined_case
 
string gen_dxgi_format_table.component_cases = ""
 
string gen_dxgi_format_table.format_cases = ""
 
string gen_dxgi_format_table.input_data = 'dxgi_format_data.json'
 
 gen_dxgi_format_table.dxgi_map = angle_format.load_json(input_data)
 
dictionary gen_dxgi_format_table.types
 
 gen_dxgi_format_table.angle_to_gl = angle_format.load_inverse_table('../../angle_format_map.json')
 
 gen_dxgi_format_table.all_angle = angle_to_gl.keys()
 
list gen_dxgi_format_table.found = [ctype in dxgi_format for ctype in types.keys()]
 
 gen_dxgi_format_table.count = reduce((lambda a, b: int(a) + int(b)), found)
 
string gen_dxgi_format_table.component_type = 'GL_NONE'
 
 gen_dxgi_format_table.gltype = next(gltype for ctype, gltype in types.iteritems() if ctype in dxgi_format)
 
 gen_dxgi_format_table.angle_format = dxgi_format
 
string gen_dxgi_format_table.output_cpp