Home
last modified time | relevance | path

Searched refs:fWindow (Results 1 – 9 of 9) sorted by relevance

/external/skia/platform_tools/android/apps/visualbench/src/main/jni/
DSkOSWindow_AndroidNative.cpp13 fWindow.fDisplay = EGL_NO_DISPLAY; in SkOSWindow()
14 fWindow.fContext = EGL_NO_CONTEXT; in SkOSWindow()
15 fWindow.fSurface = EGL_NO_SURFACE; in SkOSWindow()
128 fWindow.fDisplay = display; in attach()
129 fWindow.fContext = context; in attach()
130 fWindow.fSurface = surface; in attach()
134 if (fWindow.fDisplay && fWindow.fContext && fWindow.fSurface) { in attach()
136 eglQuerySurface(fWindow.fDisplay, fWindow.fSurface, EGL_WIDTH, &w); in attach()
137 eglQuerySurface(fWindow.fDisplay, fWindow.fSurface, EGL_HEIGHT, &h); in attach()
153 if (fWindow.fDisplay != EGL_NO_DISPLAY) { in detach()
[all …]
Dmain.cpp25 VisualBenchState() : fApp(nullptr), fWindow(nullptr), fState(kInit_State) {} in VisualBenchState()
27 SkOSWindow* fWindow; member
51 state->fWindow = create_sk_window((void*)state->fApp->window, in handle_cmd()
54 state->fWindow->forceInvalAll(); in handle_cmd()
118 if (visualBenchState.fWindow) { in android_main()
119 if (visualBenchState.fWindow->destroyRequested()) { in android_main()
122 visualBenchState.fWindow->update(nullptr); in android_main()
127 delete visualBenchState.fWindow; in android_main()
128 visualBenchState.fWindow = nullptr; in android_main()
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp29 : fWindow(nullptr) in SkOSWindow()
46 gCurrentWindow->fWindow && in GetInstanceForWindowID()
47 SDL_GetWindowID(gCurrentWindow->fWindow) == windowID) { in GetInstanceForWindowID()
62 if (!fWindow) { in attach()
66 fGLContext = SDL_GL_CreateContext(fWindow); in attach()
77 if (SDL_GL_MakeCurrent(fWindow, fGLContext) != 0) { in attach()
91 if (!fWindow) { in present()
94 SDL_GL_SwapWindow(fWindow); in present()
98 if (!fWindow) { in makeFullscreen()
101 SDL_SetWindowFullscreen(fWindow, SDL_WINDOW_FULLSCREEN_DESKTOP); in makeFullscreen()
[all …]
/external/skia/src/gpu/gl/win/
DSkCreatePlatformGLContext_win.cpp32 HWND fWindow; member in __anon5e775af20111::WinGLContext
42 : fWindow(nullptr) in WinGLContext()
68 if (!(fWindow = CreateWindow(TEXT("Griffin"), in WinGLContext()
78 if (!(fDeviceContext = GetDC(fWindow))) { in WinGLContext()
103 ReleaseDC(fWindow, fDeviceContext); in WinGLContext()
105 DestroyWindow(fWindow); in WinGLContext()
106 fWindow = 0; in WinGLContext()
144 if (fWindow && fDeviceContext) { in destroyGLContext()
145 ReleaseDC(fWindow, fDeviceContext); in destroyGLContext()
148 if (fWindow) { in destroyGLContext()
[all …]
/external/skia/example/mac/
DHelloWorldDelegate.mm6 @synthesize fWindow, fView, fOptions;
12 [fWindow setAcceptsMouseMovedEvents:YES];
17 NSRect frame = NSMakeRect(fWindow.frame.origin.x, fWindow.frame.origin.y, 768, 1024);
18 [fWindow setFrame:frame display:YES animate:YES];
DHelloWorldDelegate.h14 NSWindow* fWindow; variable
19 @property (assign) IBOutlet NSWindow* fWindow;
/external/skia/experimental/SkV8Example/
DGlobal.h31 , fWindow(NULL) in Global()
51 fWindow = win; in setWindow()
54 return fWindow; in getWindow()
74 SkOSWindow* fWindow; variable
/external/skia/include/views/
DSkOSWindow_Android.h45 SkAndroidWindow fWindow;
DSkOSWindow_SDL.h51 SDL_Window* fWindow; variable