HomeSort by relevance Sort by last modified time
    Searched refs:fWindow (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/skia/example/
HelloWorld.cpp 26 fWindow = Window::CreateNativeWindow(platformData);
27 fWindow->setRequestedDisplayParams(DisplayParams());
30 fWindow->pushLayer(this);
32 fWindow->attach(fBackendType);
36 fWindow->detach();
37 delete fWindow;
41 if (!fWindow || fWindow->sampleCount() <= 1) {
47 fWindow->setTitle(title.c_str());
52 fWindow->show()
    [all...]
  /external/skqp/example/
HelloWorld.cpp 26 fWindow = Window::CreateNativeWindow(platformData);
27 fWindow->setRequestedDisplayParams(DisplayParams());
30 fWindow->pushLayer(this);
32 fWindow->attach(fBackendType);
36 fWindow->detach();
37 delete fWindow;
41 if (!fWindow || fWindow->sampleCount() <= 1) {
47 fWindow->setTitle(title.c_str());
52 fWindow->show()
    [all...]
  /external/skqp/tools/sk_app/ios/
GLWindowContext_ios.cpp 33 SDL_Window* fWindow;
41 , fWindow(info.fWindow)
54 SkASSERT(fWindow);
56 fGLContext = SDL_GL_CreateContext(fWindow);
62 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
72 SDL_GL_GetDrawableSize(fWindow, &fWidth, &fHeight);
81 if (!fWindow || !fGLContext) {
90 if (fWindow && fGLContext) {
91 SDL_GL_SwapWindow(fWindow);
    [all...]
RasterWindowContext_ios.cpp 43 SDL_Window* fWindow;
53 , fWindow(info.fWindow)
66 SkASSERT(fWindow);
68 fGLContext = SDL_GL_CreateContext(fWindow);
74 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
84 SDL_GL_GetDrawableSize(fWindow, &fWidth, &fHeight);
98 if (!fWindow || !fGLContext) {
109 if (fWindow && fGLContext) {
118 SDL_GL_SwapWindow(fWindow);
    [all...]
Window_ios.h 21 Window_ios() : INHERITED(), fWindow(nullptr), fWindowID(0), fMSAASampleCount(1) {}
50 SDL_Window* fWindow;
WindowContextFactory_ios.h 22 SDL_Window* fWindow;
  /external/skqp/tools/sk_app/mac/
GLWindowContext_mac.cpp 33 SDL_Window* fWindow;
41 , fWindow(info.fWindow)
54 SkASSERT(fWindow);
56 fGLContext = SDL_GL_CreateContext(fWindow);
62 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
72 SDL_GetWindowSize(fWindow, &fWidth, &fHeight);
81 if (!fWindow || !fGLContext) {
90 if (fWindow && fGLContext) {
91 SDL_GL_SwapWindow(fWindow);
    [all...]
RasterWindowContext_mac.cpp 43 SDL_Window* fWindow;
53 , fWindow(info.fWindow)
66 SkASSERT(fWindow);
68 fGLContext = SDL_GL_CreateContext(fWindow);
74 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
84 SDL_GetWindowSize(fWindow, &fWidth, &fHeight);
98 if (!fWindow || !fGLContext) {
109 if (fWindow && fGLContext) {
118 SDL_GL_SwapWindow(fWindow);
    [all...]
Window_mac.h 21 Window_mac() : INHERITED(), fWindow(nullptr), fWindowID(0), fMSAASampleCount(1) {}
50 SDL_Window* fWindow;
WindowContextFactory_mac.h 22 SDL_Window* fWindow;
  /external/skia/tools/sk_app/ios/
GLWindowContext_ios.cpp 33 SDL_Window* fWindow;
41 , fWindow(info.fWindow)
54 SkASSERT(fWindow);
57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
67 SDL_GL_GetDrawableSize(fWindow, &fWidth, &fHeight);
76 if (fWindow && fGLContext) {
77 SDL_GL_SwapWindow(fWindow);
RasterWindowContext_ios.cpp 43 SDL_Window* fWindow;
53 , fWindow(info.fWindow)
66 SkASSERT(fWindow);
69 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
79 SDL_GL_GetDrawableSize(fWindow, &fWidth, &fHeight);
99 if (fWindow && fGLContext) {
108 SDL_GL_SwapWindow(fWindow);
WindowContextFactory_ios.h 22 SDL_Window* fWindow;
Window_ios.h 23 , fWindow(nullptr)
55 SDL_Window* fWindow;
  /external/skia/tools/sk_app/mac/
GLWindowContext_mac.cpp 33 SDL_Window* fWindow;
41 , fWindow(info.fWindow)
54 SkASSERT(fWindow);
57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
67 SDL_GetWindowSize(fWindow, &fWidth, &fHeight);
76 if (fWindow && fGLContext) {
77 SDL_GL_SwapWindow(fWindow);
RasterWindowContext_mac.cpp 43 SDL_Window* fWindow;
53 , fWindow(info.fWindow)
66 SkASSERT(fWindow);
69 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
79 SDL_GetWindowSize(fWindow, &fWidth, &fHeight);
99 if (fWindow && fGLContext) {
108 SDL_GL_SwapWindow(fWindow);
WindowContextFactory_mac.h 22 SDL_Window* fWindow;
Window_mac.h 23 , fWindow(nullptr)
55 SDL_Window* fWindow;
  /external/skia/tools/gpu/gl/win/
CreatePlatformGLTestContext_win.cpp 38 HWND fWindow;
48 : fWindow(nullptr)
74 if (!(fWindow = CreateWindow(TEXT("Griffin"),
84 if (!(fDeviceContext = GetDC(fWindow))) {
114 ReleaseDC(fWindow, fDeviceContext);
116 DestroyWindow(fWindow);
117 fWindow = 0;
157 if (fWindow && fDeviceContext) {
158 ReleaseDC(fWindow, fDeviceContext);
161 if (fWindow) {
    [all...]
  /external/skqp/tools/gpu/gl/win/
CreatePlatformGLTestContext_win.cpp 38 HWND fWindow;
48 : fWindow(nullptr)
74 if (!(fWindow = CreateWindow(TEXT("Griffin"),
84 if (!(fDeviceContext = GetDC(fWindow))) {
114 ReleaseDC(fWindow, fDeviceContext);
116 DestroyWindow(fWindow);
117 fWindow = 0;
157 if (fWindow && fDeviceContext) {
158 ReleaseDC(fWindow, fDeviceContext);
161 if (fWindow) {
    [all...]
  /external/skia/tools/sk_app/unix/
RasterWindowContext_unix.cpp 23 bool isValid() override { return SkToBool(fWindow); }
30 XWindow fWindow;
40 , fWindow(window) {
41 fGC = XCreateGC(fDisplay, fWindow, 0, nullptr);
50 XGetWindowAttributes(fDisplay, fWindow, &attrs);
85 XPutImage(fDisplay, fWindow, fGC, &image, 0, 0, 0, 0, pm.width(), pm.height());
94 WindowContext* ctx = new RasterWindowContext_xlib(info.fDisplay, info.fWindow, info.fWidth,
GLWindowContext_unix.cpp 36 XWindow fWindow;
47 , fWindow(winInfo.fWindow)
92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) {
107 XGetGeometry(fDisplay, fWindow, &root, &x, &y, (unsigned int*)&fWidth, (unsigned int*)&fHeight,
129 glXSwapBuffers(fDisplay, fWindow);
  /external/skqp/tools/sk_app/unix/
RasterWindowContext_unix.cpp 23 bool isValid() override { return SkToBool(fWindow); }
30 XWindow fWindow;
40 , fWindow(window) {
41 fGC = XCreateGC(fDisplay, fWindow, 0, nullptr);
50 XGetWindowAttributes(fDisplay, fWindow, &attrs);
85 XPutImage(fDisplay, fWindow, fGC, &image, 0, 0, 0, 0, pm.width(), pm.height());
94 WindowContext* ctx = new RasterWindowContext_xlib(info.fDisplay, info.fWindow, info.fWidth,
GLWindowContext_unix.cpp 36 XWindow fWindow;
47 , fWindow(winInfo.fWindow)
92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) {
107 XGetGeometry(fDisplay, fWindow, &root, &x, &y, (unsigned int*)&fWidth, (unsigned int*)&fHeight,
129 glXSwapBuffers(fDisplay, fWindow);
  /external/skqp/tools/viewer/
Viewer.cpp 221 fWindow = Window::CreateNativeWindow(platformData);
226 fWindow->setRequestedDisplayParams(displayParams);
235 fCommands.attach(fWindow);
236 fWindow->pushLayer(this);
237 fWindow->pushLayer(&fStatsLayer);
238 fWindow->pushLayer(&fImGuiLayer);
243 fWindow->inval();
249 fWindow->inval();
255 fWindow->inval();
259 fWindow->inval()
    [all...]

Completed in 240 milliseconds

1 2 3