/external/skia/tools/viewer/sk_app/ |
GLWindowContext.cpp | 34 SkASSERT(nullptr == fContext); 37 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fBackendContext.get(), 39 if (!fContext && fDisplayParams.fMSAASampleCount) { 45 if (fContext) { 48 fPixelConfig = fContext->caps()->srgbSupport() && fDisplayParams.fColorSpace 58 if (fContext) { 60 fContext->abandonContext(); 61 fContext->unref(); 62 fContext = nullptr; 72 if (fContext) { [all...] |
WindowContext.h | 24 : fContext(nullptr) 49 GrContext* getGrContext() const { return fContext; } 59 GrContext* fContext;
|
/external/skia/tools/gpu/gl/mac/ |
CreatePlatformGLTestContext_mac.cpp | 29 CGLContextObj fContext; 34 : fContext(nullptr) 53 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); 56 if (nullptr == fContext) { 61 CGLSetCurrentContext(fContext); 88 if (fContext) { 89 CGLReleaseContext(fContext); 90 fContext = nullptr; 98 CGLSetCurrentContext(fContext); [all...] |
/external/skia/tools/gpu/gl/mesa/ |
GLTestContext_mesa.cpp | 52 Context fContext; 57 : fContext(static_cast<Context>(0)) 60 OSMesaContext mesaShareContext = shareContext ? (OSMesaContext)(shareContext->fContext) 66 fContext = (Context)OSMesaCreateContextExt(OSMESA_BGRA, 0, 0, 0, mesaShareContext); 68 fContext = (Context) OSMesaCreateContext(OSMESA_BGRA, mesaShareContext); 70 if (!fContext) { 85 if (!OSMesaMakeCurrent((OSMesaContext) fContext, 122 if (fContext) { 123 OSMesaDestroyContext((OSMesaContext) fContext); 124 fContext = static_cast<Context>(0) [all...] |
/external/mesa3d/src/gallium/targets/haiku-softpipe/ |
GalliumContext.cpp | 54 fContext[i] = NULL; 211 if (fContext[i] == NULL) { 212 fContext[i] = context; 241 if (!fContext[contextID]) 244 if (fContext[contextID]->st) { 245 fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL); 246 fContext[contextID]->st->destroy(fContext[contextID]->st); 249 if (fContext[contextID]->postProcess [all...] |
/external/skia/src/gpu/ |
GrDrawingManager.cpp | 32 fOpLists[i]->makeClosed(*fContext->caps()); 81 fInstancingAllocator = fContext->getGpu()->createInstancedRenderingAllocator(); 87 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "internalFlush", fContext); 100 fOpLists[i]->makeClosed(*fContext->caps()); 150 opList->makeClosed(*fContext->caps()); 168 if (!fOpLists[i]->instantiate(fContext->resourceProvider())) { 193 fContext->getGpu()->finishFlush(); 198 fContext->getResourceCache()->notifyFlushOccurred(type); 216 if (!proxy->instantiate(fContext->resourceProvider())) { 222 if (fContext->getGpu() && surface->asRenderTarget()) [all...] |
GrTextureMaker.h | 44 , fContext(context) {} 77 GrContext* context() const { return fContext; } 80 GrContext* fContext;
|
GrSurfaceContext.cpp | 31 : fContext(context) 49 GrPixelConfig config = SkImageInfo2GrPixelConfig(dstInfo, *fContext->caps()); 59 return fContext->contextPriv().readSurfacePixels(this, x, y, 73 GrPixelConfig config = SkImageInfo2GrPixelConfig(srcInfo, *fContext->caps()); 81 return fContext->contextPriv().writeSurfacePixels(this, x, y, 93 return this->getOpList()->copySurface(*fContext->caps(),
|
GrSurfaceContextPriv.h | 18 GrContext* getContext() { return fSurfaceContext->fContext; }
|
GrContextPriv.h | 24 GrDrawingManager* drawingManager() { return fContext->fDrawingManager.get(); } 60 bool disableGpuYUVConversion() const { return fContext->fDisableGpuYUVConversion; } 163 GrBackend getBackend() const { return fContext->fBackend; } 166 explicit GrContextPriv(GrContext* context) : fContext(context) {} 174 GrContext* fContext;
|
GrDrawingManager.h | 56 GrContext* getContext() { return fContext; } 66 if (fContext->getResourceCache()->requestsFlush()) { 82 : fContext(context) 108 GrContext* fContext;
|
GrTextureMaker.cpp | 21 if (!fContext->caps()->mipMapSupport()) { 32 if (!fContext->getGpu()->isACopyNeededForTextureParams(original.get(), params, ©Params, 37 if (!fContext->getGpu()->isACopyNeededForTextureParams(this->width(), this->height(), 47 sk_sp<GrTextureProxy> result(fContext->resourceProvider()->findProxyByUniqueKey(copyKey)); 55 result = CopyOnGpu(fContext, std::move(original), nullptr, copyParams); 65 fContext->resourceProvider()->assignUniqueKeyToProxy(copyKey, result.get()); 131 return CopyOnGpu(fContext, std::move(original), nullptr, copyParams);
|
GrPathRenderer.h | 122 GrContext* fContext; 133 SkASSERT(fContext); 151 canArgs.fCaps = args.fContext->caps(); 181 GrContext* fContext; 190 SkASSERT(fContext); 275 DrawPathArgs drawArgs{args.fContext,
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
NamespaceSupport.java | 69 * @see #fContext
87 protected int[] fContext = new int[8];
114 fContext[fCurrentContext] = fNamespaceSize;
133 if (fCurrentContext + 1 == fContext.length) {
134 int[] contextarray = new int[fContext.length * 2];
135 System.arraycopy(fContext, 0, contextarray, 0, fContext.length);
136 fContext = contextarray;
140 fContext[++fCurrentContext] = fNamespaceSize;
149 fNamespaceSize = fContext[fCurrentContext--]; [all...] |
/external/icu/icu4c/source/i18n/ |
digitlst.cpp | 96 uprv_decContextDefault(&fContext, DEC_INIT_BASE); 97 fContext.traps = 0; 98 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); 99 fContext.digits = fStorage.getCapacity(); 131 uprv_memcpy(&fContext, &other.fContext, sizeof(decContext)); 136 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 137 // because above we copied fContext from other.fContext. 138 fContext.digits = fStorage.getCapacity() [all...] |
/external/skia/tools/gpu/gl/glx/ |
CreatePlatformGLTestContext_glx.cpp | 68 GLXContext fContext; 94 : fContext(nullptr) 100 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; 191 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); 198 fContext = CreateBestContext(true, fDisplay, bestFbc, glxShareContext); 201 fContext = CreateBestContext(false, fDisplay, bestFbc, glxShareContext); 204 if (!fContext) { 211 if (!glXIsDirect(fDisplay, fContext)) { 218 if (!glXMakeCurrent(fDisplay, fGlxPixmap, fContext)) { 250 if (fContext) { [all...] |
/external/skia/bench/ |
GrResourceCacheBench.cpp | 118 fContext.reset(GrContext::Create(kMock_GrBackend, (GrBackendContext) nullptr)); 119 if (!fContext) { 123 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); 125 GrResourceCache* cache = fContext->getResourceCache(); 131 GrGpu* gpu = fContext->getGpu(); 137 if (!fContext) { 140 GrResourceCache* cache = fContext->getResourceCache(); 153 sk_sp<GrContext> fContext;
|
/external/skia/example/ |
HelloWorld.cpp | 42 SkSafeUnref(fContext); 43 fContext = NULL; 73 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fInterface); 74 SkASSERT(NULL != fContext); 81 fGpuSurface = this->makeGpuBackedSurface(fAttachmentInfo, fInterface, fContext);
|
/external/skia/tools/gpu/gl/command_buffer/ |
GLTestContext_command_buffer.cpp | 142 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { 198 ? reinterpret_cast<EGLContext>(shareContext->fContext) : nullptr; 199 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), eglShareContext, 201 if (EGL_NO_CONTEXT == fContext) { 207 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 240 if (EGL_NO_CONTEXT != fContext) { 241 gfDestroyContext(fDisplay, fContext); 242 fContext = EGL_NO_CONTEXT; 261 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 291 return gfMakeCurrent(fDisplay, fSurface, fSurface, fContext) != EGL_FALSE [all...] |
GLTestContext_command_buffer.h | 49 void *fContext;
|
/external/skia/src/sksl/ir/ |
SkSLSwizzle.h | 79 if (fType == *irGenerator.fContext.fInt_Type) { 82 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, 85 } else if (fType == *irGenerator.fContext.fFloat_Type) { 88 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext,
|
/external/skia/tools/gpu/gl/angle/ |
GLTestContext_angle.cpp | 93 void* fContext; 112 : fContext(EGL_NO_CONTEXT) 201 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; 202 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, contextAttribs); 203 if (EGL_NO_CONTEXT == fContext) { 217 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 272 EGLCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, 325 if (EGL_NO_CONTEXT != fContext) { 326 eglDestroyContext(fDisplay, fContext); 327 fContext = EGL_NO_CONTEXT [all...] |
/external/skia/tools/gpu/gl/egl/ |
CreatePlatformGLTestContext_egl.cpp | 59 EGLContext fContext; 65 : fContext(EGL_NO_CONTEXT) 69 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; 151 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, 153 if (EGL_NO_CONTEXT == fContext) { 171 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 204 if (fContext) { 205 eglDestroyContext(fDisplay, fContext); 206 fContext = EGL_NO_CONTEXT; 227 EGLCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, attribs)) [all...] |
/external/skia/experimental/SkV8Example/ |
Global.h | 43 return v8::Local<v8::Context>::New(fIsolate, fContext); 72 v8::Persistent<v8::Context> fContext;
|
/external/skia/src/image/ |
SkImage_Gpu.h | 36 GrContext* context() const override { return fContext; } 66 GrContext* fContext;
|