/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11opengl.c | 153 if (_this->gl_data) { in X11_GL_LoadLibrary() 164 _this->gl_config.dll_handle = GL_LoadObject(path); in X11_GL_LoadLibrary() 165 if (!_this->gl_config.dll_handle) { in X11_GL_LoadLibrary() 171 SDL_strlcpy(_this->gl_config.driver_path, path, in X11_GL_LoadLibrary() 172 SDL_arraysize(_this->gl_config.driver_path)); in X11_GL_LoadLibrary() 175 _this->gl_data = in X11_GL_LoadLibrary() 179 if (!_this->gl_data) { in X11_GL_LoadLibrary() 184 handle = _this->gl_config.dll_handle; in X11_GL_LoadLibrary() 185 _this->gl_data->glXQueryExtension = in X11_GL_LoadLibrary() 188 _this->gl_data->glXGetProcAddress = in X11_GL_LoadLibrary() [all …]
|
D | SDL_x11opengles.c | 34 SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; in X11_GLES_LoadLibrary() 37 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in X11_GLES_LoadLibrary() 39 X11_GLES_UnloadLibrary(_this); in X11_GLES_LoadLibrary() 40 _this->GL_LoadLibrary = X11_GL_LoadLibrary; in X11_GLES_LoadLibrary() 41 _this->GL_GetProcAddress = X11_GL_GetProcAddress; in X11_GLES_LoadLibrary() 42 _this->GL_UnloadLibrary = X11_GL_UnloadLibrary; in X11_GLES_LoadLibrary() 43 _this->GL_CreateContext = X11_GL_CreateContext; in X11_GLES_LoadLibrary() 44 _this->GL_MakeCurrent = X11_GL_MakeCurrent; in X11_GLES_LoadLibrary() 45 _this->GL_SetSwapInterval = X11_GL_SetSwapInterval; in X11_GLES_LoadLibrary() 46 _this->GL_GetSwapInterval = X11_GL_GetSwapInterval; in X11_GLES_LoadLibrary() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsopengl.c | 101 _this->gl_config.dll_handle = SDL_LoadObject(path); in WIN_GL_LoadLibrary() 102 if (!_this->gl_config.dll_handle) { in WIN_GL_LoadLibrary() 105 SDL_strlcpy(_this->gl_config.driver_path, path, in WIN_GL_LoadLibrary() 106 SDL_arraysize(_this->gl_config.driver_path)); in WIN_GL_LoadLibrary() 109 _this->gl_data = (struct SDL_GLDriverData *) SDL_calloc(1, sizeof(struct SDL_GLDriverData)); in WIN_GL_LoadLibrary() 110 if (!_this->gl_data) { in WIN_GL_LoadLibrary() 115 handle = _this->gl_config.dll_handle; in WIN_GL_LoadLibrary() 116 _this->gl_data->wglGetProcAddress = (void *(WINAPI *) (const char *)) in WIN_GL_LoadLibrary() 118 _this->gl_data->wglCreateContext = (HGLRC(WINAPI *) (HDC)) in WIN_GL_LoadLibrary() 120 _this->gl_data->wglDeleteContext = (BOOL(WINAPI *) (HGLRC)) in WIN_GL_LoadLibrary() [all …]
|
D | SDL_windowsopengles.c | 36 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in WIN_GLES_LoadLibrary() 38 WIN_GLES_UnloadLibrary(_this); in WIN_GLES_LoadLibrary() 39 _this->GL_LoadLibrary = WIN_GL_LoadLibrary; in WIN_GLES_LoadLibrary() 40 _this->GL_GetProcAddress = WIN_GL_GetProcAddress; in WIN_GLES_LoadLibrary() 41 _this->GL_UnloadLibrary = WIN_GL_UnloadLibrary; in WIN_GLES_LoadLibrary() 42 _this->GL_CreateContext = WIN_GL_CreateContext; in WIN_GLES_LoadLibrary() 43 _this->GL_MakeCurrent = WIN_GL_MakeCurrent; in WIN_GLES_LoadLibrary() 44 _this->GL_SetSwapInterval = WIN_GL_SetSwapInterval; in WIN_GLES_LoadLibrary() 45 _this->GL_GetSwapInterval = WIN_GL_GetSwapInterval; in WIN_GLES_LoadLibrary() 46 _this->GL_SwapWindow = WIN_GL_SwapWindow; in WIN_GLES_LoadLibrary() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_egl.c | 72 _this->egl_data->NAME = SDL_LoadFunction(_this->egl_data->dll_handle, #NAME); \ 73 if (!_this->egl_data->NAME) \ 89 exts = _this->egl_data->eglQueryString(_this->egl_data->egl_display, EGL_EXTENSIONS); in SDL_EGL_HasExtension() 120 if (_this->egl_data->eglGetProcAddress) { in SDL_EGL_GetProcAddress() 121 retval = _this->egl_data->eglGetProcAddress(proc); in SDL_EGL_GetProcAddress() 128 retval = SDL_LoadFunction(_this->egl_data->egl_dll_handle, proc); in SDL_EGL_GetProcAddress() 132 retval = SDL_LoadFunction(_this->egl_data->egl_dll_handle, procname); in SDL_EGL_GetProcAddress() 140 if (_this->egl_data) { in SDL_EGL_UnloadLibrary() 141 if (_this->egl_data->egl_display) { in SDL_EGL_UnloadLibrary() 142 _this->egl_data->eglTerminate(_this->egl_data->egl_display); in SDL_EGL_UnloadLibrary() [all …]
|
D | SDL_video.c | 118 static SDL_VideoDevice *_this = NULL; variable 121 if (!_this) { \ 125 if (!window || window->magic != &_this->window_magic) { \ 131 if (!_this) { \ 135 SDL_assert(_this->displays != NULL); \ 136 if (displayIndex < 0 || displayIndex >= _this->num_displays) { \ 138 _this->num_displays - 1); \ 169 if (!_this->CreateWindowFramebuffer) { in ShouldUseTextureFramebuffer() 456 if (_this != NULL) { in SDL_VideoInit() 503 _this = video; in SDL_VideoInit() [all …]
|
D | SDL_clipboard.c | 30 SDL_VideoDevice *_this = SDL_GetVideoDevice(); in SDL_SetClipboardText() local 32 if (!_this) { in SDL_SetClipboardText() 39 if (_this->SetClipboardText) { in SDL_SetClipboardText() 40 return _this->SetClipboardText(_this, text); in SDL_SetClipboardText() 42 SDL_free(_this->clipboard_text); in SDL_SetClipboardText() 43 _this->clipboard_text = SDL_strdup(text); in SDL_SetClipboardText() 51 SDL_VideoDevice *_this = SDL_GetVideoDevice(); in SDL_GetClipboardText() local 53 if (!_this) { in SDL_GetClipboardText() 58 if (_this->GetClipboardText) { in SDL_GetClipboardText() 59 return _this->GetClipboardText(_this); in SDL_GetClipboardText() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | collisionThisExpressionAndParameter.types | 8 var _this = 10; // Local var. No this capture in x(), so no conflict. 9 >_this : number 12 function inner(_this: number) { // Error 13 >inner : (_this: number) => (x: any) => any 14 >_this : number 16 … return x => this; // New scope. So should inject new _this capture into function inner 25 var lamda = (_this: number) => { // Error 26 >lamda : (_this: number) => (x: any) => this 27 >(_this: number) => { // Error return x => this; // New scope. So should inject new … 28 >_this : number [all …]
|
D | collisionThisExpressionAndParameter.js | 4 var _this = 10; // Local var. No this capture in x(), so no conflict. 5 function inner(_this: number) { // Error 10 var lamda = (_this: number) => { // Error 14 z(_this: number) { // Error 21 var _this = 10; // Local var. No this capture in x(), so no conflict. 22 function inner(_this: number) { // No Error 26 var lamda = (_this: number) => { // No Error 29 z1(_this: number) { // No Error 35 constructor(_this: number) { // Error 47 function f1(_this: number) { [all …]
|
D | derivedClassParameterProperties.js | 122 var _this = this; 124 _this = _super.call(this) || this; // ok 125 return _this; 132 var _this = this; 134 _this = _super.call(this) || this; // error 135 _this.y = y; 136 return _this; 143 var _this = _super.call(this) || this; 144 _this.y = y; 146 return _this; [all …]
|
D | noCollisionThisExpressionAndLocalVarInAccessors.types | 10 … doStuff: (callback) => () => { var _this = 2; return callback(_th… 14 >(callback) => () => { var _this = 2; return callback(_this); … 16 >() => { var _this = 2; return callback(_this); } : () => … 18 var _this = 2; 19 >_this : number 22 return callback(_this); 23 >callback(_this) : any 25 >_this : number 38 … doStuff: (callback) => () => { var _this = 2; return callback(_th… 42 >(callback) => () => { var _this = 2; return callback(_this); … [all …]
|
D | collisionThisExpressionAndParameter.symbols | 8 var _this = 10; // Local var. No this capture in x(), so no conflict. 9 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 2, 11)) 11 function inner(_this: number) { // Error 13 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 3, 23)) 15 … return x => this; // New scope. So should inject new _this capture into function inner 22 var lamda = (_this: number) => { // Error 24 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 8, 21)) 26 return x => this; // New scope. So should inject new _this capture 31 z(_this: number) { // Error 33 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 12, 6)) [all …]
|
D | resolvingClassDeclarationWhenInBaseTypeResolution.js | 1046 var _this = this; 1048 (function () { var y = _this; }); 1052 var _this = this; 1054 (function () { var y = _this; }); 1058 var _this = this; 1060 (function () { var y = _this; }); 1064 var _this = this; 1066 (function () { var y = _this; }); 1070 var _this = this; 1072 (function () { var y = _this; }); [all …]
|
D | noCollisionThisExpressionAndLocalVarInMethod.types | 2 var _this = 2; 3 >_this : number 13 … doStuff: (callback) => () => { var _this = 2; return callback(_th… 17 >(callback) => () => { var _this = 2; return callback(_this); … 19 >() => { var _this = 2; return callback(_this); } : () => … 21 var _this = 2; 22 >_this : number 25 return callback(_this); 26 >callback(_this) : any 28 >_this : number [all …]
|
D | collisionThisExpressionAndPropertyNameAsConstuctorParameter.symbols | 5 constructor(_this: number) { //Error 6 >_this : Symbol(_this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 1, 16)) 11 return x => this; // New scope. So should inject new _this capture 21 constructor(private _this: number) { // Error 22 >_this : Symbol(Foo3._this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 9,… 27 return x => this; // New scope. So should inject new _this capture 37 constructor(_this: number); // No code gen - no error 38 >_this : Symbol(_this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 17, 16)) 40 constructor(_this: string); // No code gen - no error 41 >_this : Symbol(_this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 18, 16)) [all …]
|
D | noCollisionThisExpressionAndLocalVarInConstructor.types | 8 … doStuff: (callback) => () => { var _this = 2; return callback(_th… 12 >(callback) => () => { var _this = 2; return callback(_this); … 14 >() => { var _this = 2; return callback(_this); } : () => … 16 var _this = 2; 17 >_this : number 20 return callback(_this); 21 >callback(_this) : any 23 >_this : number 33 var _this = 2; 34 >_this : number [all …]
|
D | collisionThisExpressionAndPropertyNameAsConstuctorParameter.js | 3 constructor(_this: number) { //Error 11 constructor(private _this: number) { // Error 19 constructor(_this: number); // No code gen - no error 20 constructor(_this: string); // No code gen - no error 21 constructor(_this: any) { // Error 29 constructor(_this: number); // No code gen - no error 30 constructor(_this: string); // No code gen - no error 31 constructor(private _this: any) { // Error 40 function Foo2(_this) { argument 49 function Foo3(_this) { argument [all …]
|
D | collisionThisExpressionAndPropertyNameAsConstuctorParameter.types | 5 constructor(_this: number) { //Error 6 >_this : number 10 >() => { return x => this; // New scope. So should inject new _this capture } … 12 return x => this; // New scope. So should inject new _this capture 23 constructor(private _this: number) { // Error 24 >_this : number 28 >() => { return x => this; // New scope. So should inject new _this capture } … 30 return x => this; // New scope. So should inject new _this capture 41 constructor(_this: number); // No code gen - no error 42 >_this : number [all …]
|
D | noCollisionThisExpressionAndLocalVarInAccessors.js | 6 var _this = 2; variable in class1 7 return callback(_this); 16 var _this = 2; variable 17 return callback(_this); 26 var _this = 2; field in class2 29 return callback(_this); 36 var _this = 2; variable 39 return callback(_this); 54 var _this = 2; 55 return callback(_this); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_udev.c | 38 #define _THIS SDL_UDEV_PrivateData *_this 49 *addr = SDL_LoadFunction(_this->udev_handle, fn); in SDL_UDEV_load_sym() 63 if (!SDL_UDEV_load_sym(#x, (void **) (char *) & _this->x)) return -1 in SDL_UDEV_load_syms() 99 if (_this->udev_mon != NULL) { in SDL_UDEV_hotplug_update_available() 100 const int fd = _this->udev_monitor_get_fd(_this->udev_mon); in SDL_UDEV_hotplug_update_available() 121 if (_this == NULL) { in SDL_UDEV_Init() 122 _this = (SDL_UDEV_PrivateData *) SDL_calloc(1, sizeof(*_this)); in SDL_UDEV_Init() 123 if(_this == NULL) { in SDL_UDEV_Init() 137 _this->udev = _this->udev_new(); in SDL_UDEV_Init() 138 if (_this->udev == NULL) { in SDL_UDEV_Init() [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | collisionThisExpressionAndParameter.ts | 4 var _this = 10; // Local var. No this capture in x(), so no conflict. 5 function inner(_this: number) { // Error 10 var lamda = (_this: number) => { // Error 14 z(_this: number) { // Error 21 var _this = 10; // Local var. No this capture in x(), so no conflict. 22 function inner(_this: number) { // No Error 26 var lamda = (_this: number) => { // No Error 29 z1(_this: number) { // No Error 35 constructor(_this: number) { // Error 47 function f1(_this: number) { [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/ |
D | SDL_DirectFB_opengl.c | 66 if (_this->gl_data) { in DirectFB_GL_Initialize() 70 _this->gl_data = in DirectFB_GL_Initialize() 74 if (!_this->gl_data) { in DirectFB_GL_Initialize() 77 _this->gl_data->initialized = 0; in DirectFB_GL_Initialize() 79 ++_this->gl_data->initialized; in DirectFB_GL_Initialize() 80 _this->gl_data->firstgl = NULL; in DirectFB_GL_Initialize() 82 if (DirectFB_GL_LoadLibrary(_this, NULL) < 0) { in DirectFB_GL_Initialize() 97 if (!_this->gl_data || (--_this->gl_data->initialized > 0)) { in DirectFB_GL_Shutdown() 101 DirectFB_GL_UnloadLibrary(_this); in DirectFB_GL_Shutdown() 103 SDL_free(_this->gl_data); in DirectFB_GL_Shutdown() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/nacl/ |
D | SDL_naclaudio.c | 49 SDL_AudioDevice* _this = (SDL_AudioDevice*) data; in nacl_audio_callback() local 53 if (SDL_AtomicGet(&_this->enabled) && !SDL_AtomicGet(&_this->paused)) { in nacl_audio_callback() 54 if (_this->convert.needed) { in nacl_audio_callback() 55 SDL_LockMutex(_this->mixer_lock); in nacl_audio_callback() 56 (*_this->spec.callback) (_this->spec.userdata, in nacl_audio_callback() 57 (Uint8 *) _this->convert.buf, in nacl_audio_callback() 58 _this->convert.len); in nacl_audio_callback() 59 SDL_UnlockMutex(_this->mixer_lock); in nacl_audio_callback() 60 SDL_ConvertAudio(&_this->convert); in nacl_audio_callback() 61 SDL_memcpy(samples, _this->convert.buf, _this->convert.len_cvt); in nacl_audio_callback() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/ |
D | SDL_winrtopengles.cpp | 58 SDL_VideoData *video_data = (SDL_VideoData *)_this->driverdata; in WINRT_GLES_LoadLibrary() 60 if (SDL_EGL_LoadLibrary(_this, path, EGL_DEFAULT_DISPLAY) != 0) { in WINRT_GLES_LoadLibrary() 65 …eateWinrtEglWindow = (CreateWinrtEglWindow_Old_Function) SDL_LoadFunction(_this->egl_data->egl_dll… in WINRT_GLES_LoadLibrary() 88 …_this->egl_data->egl_display = ((eglGetDisplay_Old_Function)_this->egl_data->eglGetDisplay)(cpp_di… in WINRT_GLES_LoadLibrary() 89 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary() 93 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) { in WINRT_GLES_LoadLibrary() 133 …XT_Function eglGetPlatformDisplayEXT = (eglGetPlatformDisplayEXT_Function)_this->egl_data->eglGetP… in WINRT_GLES_LoadLibrary() 142 …_this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISP… in WINRT_GLES_LoadLibrary() 143 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary() 147 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) in WINRT_GLES_LoadLibrary() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/ |
D | SDL_pspgl.c | 50 if (!_this->gl_config.driver_loaded) { in PSP_GL_LoadLibrary() 51 _this->gl_config.driver_loaded = 1; in PSP_GL_LoadLibrary() 72 eglTerminate(_this->gl_data->display); in PSP_GL_UnloadLibrary() 102 attribs[i++] = _this->gl_config.red_size; in PSP_GL_CreateContext() 104 attribs[i++] = _this->gl_config.green_size; in PSP_GL_CreateContext() 106 attribs[i++] = _this->gl_config.blue_size; in PSP_GL_CreateContext() 108 attribs[i++] = _this->gl_config.depth_size; in PSP_GL_CreateContext() 110 if (_this->gl_config.alpha_size) in PSP_GL_CreateContext() 113 attribs[i++] = _this->gl_config.alpha_size; in PSP_GL_CreateContext() 115 if (_this->gl_config.stencil_size) in PSP_GL_CreateContext() [all …]
|