(self)
| 1956 | return name |
| 1957 | |
| 1958 | def get_cflags(self): |
| 1959 | cflags = super().get_cflags() |
| 1960 | if self.is_legacy: |
| 1961 | cflags += ['-DLEGACY_GL_EMULATION=1'] |
| 1962 | cflags += [f'-DMAX_WEBGL_VERSION={2 if self.is_webgl2 else 1}'] |
| 1963 | if self.is_ofb: |
| 1964 | cflags += ['-D__EMSCRIPTEN_OFFSCREEN_FRAMEBUFFER__'] |
| 1965 | if self.is_full_es3: |
| 1966 | cflags += ['-D__EMSCRIPTEN_FULL_ES3__'] |
| 1967 | if self.is_enable_get_proc_address: |
| 1968 | cflags += ['-DGL_ENABLE_GET_PROC_ADDRESS=1'] |
| 1969 | return cflags |
| 1970 | |
| 1971 | @classmethod |
| 1972 | def vary_on(cls): |
no outgoing calls
no test coverage detected