/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 107 fSurface = SkSafeRef(surface->asTexture()); in SkGrPixelRef() 108 if (NULL == fSurface) { in SkGrPixelRef() 109 fSurface = SkSafeRef(surface); in SkGrPixelRef() 112 if (fSurface) { in SkGrPixelRef() 113 SkASSERT(info.width() <= fSurface->width()); in SkGrPixelRef() 114 SkASSERT(info.height() <= fSurface->height()); in SkGrPixelRef() 119 SkSafeUnref(fSurface); in ~SkGrPixelRef() 123 if (fSurface) { in getTexture() 124 return fSurface->asTexture(); in getTexture() 131 if (NULL == fSurface) { in deepCopy() [all …]
|
D | GrSurfacePriv.h | 24 SkImageInfo info() const { return fSurface->info(); } in info() 30 bool savePixels(const char* filename) { return fSurface->savePixels(filename); } in savePixels() 32 bool hasPendingRead() const { return fSurface->hasPendingRead(); } in hasPendingRead() 33 bool hasPendingWrite() const { return fSurface->hasPendingWrite(); } in hasPendingWrite() 34 bool hasPendingIO() const { return fSurface->hasPendingIO(); } in hasPendingIO() 37 explicit GrSurfacePriv(GrSurface* surface) : fSurface(surface) {} in GrSurfacePriv() 45 GrSurface* fSurface; variable
|
/external/skia/src/gpu/gl/angle/ |
D | SkANGLEGLContext.cpp | 56 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext() 95 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in SkANGLEGLContext() 97 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); in SkANGLEGLContext() 126 if (fSurface) { in destroyGLContext() 127 eglDestroySurface(fDisplay, fSurface); in destroyGLContext() 128 fSurface = EGL_NO_SURFACE; in destroyGLContext() 137 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent() 143 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 27 EGLSurface fSurface; member in __anon9f33dc9a0111::EGLGLContext 33 , fSurface(EGL_NO_SURFACE) { in EGLGLContext() 124 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, kSurfaceAttribs); in EGLGLContext() 125 if (EGL_NO_SURFACE == fSurface) { in EGLGLContext() 131 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLContext() 166 if (fSurface) { in destroyGLContext() 167 eglDestroySurface(fDisplay, fSurface); in destroyGLContext() 168 fSurface = EGL_NO_SURFACE; in destroyGLContext() 178 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent() 184 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()
|
/external/skia/debugger/QT/ |
D | SkDrawCommandGeometryWidget.cpp | 26 fSurface.reset(NULL); in resizeEvent() 29 fSurface.reset(SkSurface::NewRaster(info)); in resizeEvent() 37 if (!fSurface) { in paintEvent() 46 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) { in paintEvent() 76 if (!fSurface) { in updateImage() 85 didRender = command->render(fSurface->getCanvas()); in updateImage() 89 fSurface->getCanvas()->clear(SK_ColorTRANSPARENT); in updateImage() 92 fSurface->getCanvas()->flush(); in updateImage()
|
D | SkRasterWidget.cpp | 25 fSurface.reset(NULL); in resizeEvent() 28 fSurface.reset(SkSurface::NewRaster(info)); in resizeEvent() 40 if (!fSurface) { in paintEvent() 45 fDebugger->draw(fSurface->getCanvas()); in paintEvent() 46 fSurface->getCanvas()->flush(); in paintEvent() 53 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) { in paintEvent() 68 if (!fSurface) { in updateImage()
|
D | SkRasterWidget.h | 35 SkAutoTUnref<SkSurface> fSurface; variable
|
D | SkDrawCommandGeometryWidget.h | 32 SkAutoTUnref<SkSurface> fSurface; variable
|
/external/skia/src/views/sdl/ |
D | SkOSWindow_SDL.cpp | 55 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/win/ |
D | SkOSWindow_win.cpp | 53 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() 488 &fSurface, in attachANGLE() 502 if (eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in attachANGLE() 524 eglDestroySurface(fDisplay, fSurface); in detachANGLE() 525 fSurface = EGL_NO_SURFACE; in detachANGLE() 538 eglSwapBuffers(fDisplay, fSurface); in presentANGLE()
|
/external/icu/icu4c/source/samples/layout/ |
D | GDIFontMap.cpp | 19 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface) in GDIFontMap() 31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status); in openFont()
|
D | GDIFontInstance.cpp | 105 : 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()
|
D | GDIFontMap.h | 35 GDISurface *fSurface;
|
D | GDIFontInstance.h | 54 GDISurface *fSurface;
|
/external/skia/example/ |
D | HelloWorld.h | 43 return fSurface = SkSurface::NewRaster(info); in createSurface() 63 SkSurface* fSurface; variable
|
D | HelloWorld.cpp | 160 SkImage* snap = fSurface->newImageSnapshot(); in draw()
|
/external/skia/src/utils/ |
D | SkDeferredCanvas.cpp | 279 SkSurface* fSurface; member in SkDeferredDevice 292 fSurface = NULL; in SkDeferredDevice() 299 SkRefCnt_SafeAssign(fSurface, surface); in setSurface() 317 SkSafeUnref(fSurface); in ~SkDeferredDevice() 362 if (fSurface) { in aboutToDraw() 363 fSurface->notifyContentWillChange(SkSurface::kDiscard_ContentChangeMode); in aboutToDraw() 434 return fSurface ? fSurface->newImageSnapshot() : NULL; in newImageSnapshot() 456 fSurface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); in prepareForImmediatePixelWrite()
|
/external/skia/include/gpu/gl/angle/ |
D | SkANGLEGLContext.h | 42 void* fSurface; variable
|
/external/skia/include/views/ |
D | SkOSWindow_SDL.h | 36 SDL_Surface* fSurface; variable
|
D | SkOSWindow_Win.h | 72 EGLSurface fSurface; variable
|
/external/skia/include/gpu/ |
D | SkGrPixelRef.h | 59 GrSurface* fSurface;
|