Home
last modified time | relevance | path

Searched refs:fSurface (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/
DSkGrPixelRef.cpp114 fSurface = surface->asTexture(); in SkGrPixelRef()
116 fSurface = NULL; in SkGrPixelRef()
118 if (NULL == fSurface) { in SkGrPixelRef()
119 fSurface = surface; in SkGrPixelRef()
124 if (fSurface) { in SkGrPixelRef()
125 SkASSERT(info.fWidth <= fSurface->width()); in SkGrPixelRef()
126 SkASSERT(info.fHeight <= fSurface->height()); in SkGrPixelRef()
132 GrContext* context = fSurface->getContext(); in ~SkGrPixelRef()
133 GrTexture* texture = fSurface->asTexture(); in ~SkGrPixelRef()
138 SkSafeUnref(fSurface); in ~SkGrPixelRef()
[all …]
/external/skia/src/gpu/
DSkGrPixelRef.cpp114 fSurface = surface->asTexture(); in SkGrPixelRef()
116 fSurface = NULL; in SkGrPixelRef()
118 if (NULL == fSurface) { in SkGrPixelRef()
119 fSurface = surface; in SkGrPixelRef()
124 if (fSurface) { in SkGrPixelRef()
125 SkASSERT(info.fWidth <= fSurface->width()); in SkGrPixelRef()
126 SkASSERT(info.fHeight <= fSurface->height()); in SkGrPixelRef()
132 GrContext* context = fSurface->getContext(); in ~SkGrPixelRef()
133 GrTexture* texture = fSurface->asTexture(); in ~SkGrPixelRef()
138 SkSafeUnref(fSurface); in ~SkGrPixelRef()
[all …]
/external/skia/src/gpu/gl/angle/
DSkANGLEGLContext.cpp29 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext()
45 if (fSurface) { in destroyGLContext()
46 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
47 fSurface = EGL_NO_SURFACE; in destroyGLContext()
89 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in createGLContext()
91 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); in createGLContext()
104 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent()
110 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()
/external/chromium_org/third_party/skia/src/gpu/gl/angle/
DSkANGLEGLContext.cpp29 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext()
45 if (fSurface) { in destroyGLContext()
46 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
47 fSurface = EGL_NO_SURFACE; in destroyGLContext()
89 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in createGLContext()
91 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); in createGLContext()
104 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent()
110 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()
/external/chromium_org/third_party/skia/src/gpu/gl/android/
DSkNativeGLContext_android.cpp28 , fSurface(EGL_NO_SURFACE) { in SkNativeGLContext()
44 if (fSurface) { in destroyGLContext()
45 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
46 fSurface = EGL_NO_SURFACE; in destroyGLContext()
133 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, kSurfaceAttribs); in createGLContext()
134 if (EGL_NO_SURFACE == fSurface) { in createGLContext()
140 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in createGLContext()
164 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent()
170 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()
/external/skia/src/gpu/gl/android/
DSkNativeGLContext_android.cpp28 , fSurface(EGL_NO_SURFACE) { in SkNativeGLContext()
44 if (fSurface) { in destroyGLContext()
45 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
46 fSurface = EGL_NO_SURFACE; in destroyGLContext()
133 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, kSurfaceAttribs); in createGLContext()
134 if (EGL_NO_SURFACE == fSurface) { in createGLContext()
140 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in createGLContext()
164 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent()
170 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()
/external/chromium_org/third_party/skia/src/views/sdl/
DSkOSWindow_SDL.cpp55 fSurface = NULL; in SkOSWindow()
60 fSurface = SDL_CreateRGBSurface(SDL_SWSURFACE, fScreen->w, fScreen->h, in SkOSWindow()
67 if (fSurface) { in ~SkOSWindow()
68 SDL_FreeSurface(fSurface); in ~SkOSWindow()
88 if ( SDL_MUSTLOCK(fSurface) ) { in doDraw()
89 if ( SDL_LockSurface(fSurface) < 0 ) { in doDraw()
96 if (skia_setBitmapFromSurface(&bitmap, fSurface)) { in doDraw()
101 if ( SDL_MUSTLOCK(fSurface) ) { in doDraw()
102 SDL_UnlockSurface(fSurface); in doDraw()
105 int result = SDL_BlitSurface(fSurface, NULL, fScreen, NULL); in doDraw()
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp55 fSurface = NULL; in SkOSWindow()
60 fSurface = SDL_CreateRGBSurface(SDL_SWSURFACE, fScreen->w, fScreen->h, in SkOSWindow()
67 if (fSurface) { in ~SkOSWindow()
68 SDL_FreeSurface(fSurface); in ~SkOSWindow()
88 if ( SDL_MUSTLOCK(fSurface) ) { in doDraw()
89 if ( SDL_LockSurface(fSurface) < 0 ) { in doDraw()
96 if (skia_setBitmapFromSurface(&bitmap, fSurface)) { in doDraw()
101 if ( SDL_MUSTLOCK(fSurface) ) { in doDraw()
102 SDL_UnlockSurface(fSurface); in doDraw()
105 int result = SDL_BlitSurface(fSurface, NULL, fScreen, NULL); in doDraw()
/external/chromium_org/third_party/skia/src/views/win/
DSkOSWindow_win.cpp53 fSurface = EGL_NO_SURFACE; in SkOSWindow()
72 if (EGL_NO_SURFACE != fSurface) { in ~SkOSWindow()
73 eglDestroySurface(fDisplay, fSurface); in ~SkOSWindow()
74 fSurface = EGL_NO_SURFACE; in ~SkOSWindow()
484 &fSurface, in attachANGLE()
498 if (eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in attachANGLE()
520 eglDestroySurface(fDisplay, fSurface); in detachANGLE()
521 fSurface = EGL_NO_SURFACE; in detachANGLE()
534 eglSwapBuffers(fDisplay, fSurface); in presentANGLE()
/external/skia/src/views/win/
DSkOSWindow_win.cpp53 fSurface = EGL_NO_SURFACE; in SkOSWindow()
72 if (EGL_NO_SURFACE != fSurface) { in ~SkOSWindow()
73 eglDestroySurface(fDisplay, fSurface); in ~SkOSWindow()
74 fSurface = EGL_NO_SURFACE; in ~SkOSWindow()
484 &fSurface, in attachANGLE()
498 if (eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in attachANGLE()
520 eglDestroySurface(fDisplay, fSurface); in detachANGLE()
521 fSurface = EGL_NO_SURFACE; in detachANGLE()
534 eglSwapBuffers(fDisplay, fSurface); in presentANGLE()
/external/skia/debugger/QT/
DSkImageWidget.h24 fSurface->unref(); in ~SkImageWidget()
43 SkSurface* fSurface; variable
DSkImageWidget.cpp25 fSurface = SkSurface::NewRasterDirect(info, fPixels, 4 * kImageWidgetWidth); in SkImageWidget()
43 if (command->render(fSurface->getCanvas())) { in paintEvent()
/external/chromium_org/third_party/skia/debugger/QT/
DSkImageWidget.h24 fSurface->unref(); in ~SkImageWidget()
43 SkSurface* fSurface; variable
DSkImageWidget.cpp25 fSurface = SkSurface::NewRasterDirect(info, fPixels, 4 * kImageWidgetWidth); in SkImageWidget()
43 if (command->render(fSurface->getCanvas())) { in paintEvent()
/external/icu/icu4c/source/samples/layout/
DGDIFontMap.cpp19 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface) in GDIFontMap()
31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status); in openFont()
DGDIFontInstance.cpp105 : FontTableCache(), fSurface(surface), fFont(NULL), in GDIFontInstance()
190 : FontTableCache(), fSurface(surface), fFont(NULL), in GDIFontInstance()
342 fSurface->setFont(this); in readFontTable()
344 HDC hdc = fSurface->getHDC(); in readFontTable()
370 HDC hdc = fSurface->getHDC(); in getGlyphAdvance()
372 fSurface->setFont(this); in getGlyphAdvance()
DGDIFontMap.h35 GDISurface *fSurface;
/external/skia/src/utils/
DSkDeferredCanvas.cpp260 SkSurface* fSurface; member in SkDeferredDevice
273 fSurface = NULL; in SkDeferredDevice()
280 SkRefCnt_SafeAssign(fSurface, surface); in setSurface()
298 SkSafeUnref(fSurface); in ~SkDeferredDevice()
343 if (NULL != fSurface) { in aboutToDraw()
344 fSurface->notifyContentWillChange(SkSurface::kDiscard_ContentChangeMode); in aboutToDraw()
423 return fSurface ? fSurface->newImageSnapshot() : NULL; in newImageSnapshot()
445 fSurface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); in prepareForImmediatePixelWrite()
/external/chromium_org/third_party/skia/src/utils/
DSkDeferredCanvas.cpp260 SkSurface* fSurface; member in SkDeferredDevice
273 fSurface = NULL; in SkDeferredDevice()
280 SkRefCnt_SafeAssign(fSurface, surface); in setSurface()
298 SkSafeUnref(fSurface); in ~SkDeferredDevice()
343 if (NULL != fSurface) { in aboutToDraw()
344 fSurface->notifyContentWillChange(SkSurface::kDiscard_ContentChangeMode); in aboutToDraw()
423 return fSurface ? fSurface->newImageSnapshot() : NULL; in newImageSnapshot()
445 fSurface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); in prepareForImmediatePixelWrite()
/external/chromium_org/third_party/skia/include/views/
DSkOSWindow_SDL.h36 SDL_Surface* fSurface; variable
/external/skia/include/views/
DSkOSWindow_SDL.h36 SDL_Surface* fSurface; variable
/external/chromium_org/third_party/skia/include/gpu/gl/
DSkANGLEGLContext.h45 EGLSurface fSurface; variable
/external/skia/include/gpu/gl/
DSkANGLEGLContext.h45 EGLSurface fSurface; variable
/external/chromium_org/third_party/skia/include/gpu/
DSkGrPixelRef.h62 GrSurface* fSurface;
/external/skia/include/gpu/
DSkGrPixelRef.h62 GrSurface* fSurface;

12