/external/skia/tools/sk_app/ |
GLWindowContext.cpp | 31 SkASSERT(!fContext); 34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); 35 if (!fContext && fDisplayParams.fMSAASampleCount > 1) { 45 if (fContext) { 47 fContext->abandonContext(); 48 fContext.reset(); 58 if (fContext) { 64 fbInfo.fFormat = fContext->caps()->srgbSupport() && fDisplayParams.fColorSpace 73 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT,
|
WindowContext.h | 24 : fContext(nullptr) 49 GrContext* getGrContext() const { return fContext.get(); } 59 sk_sp<GrContext> fContext;
|
/external/skqp/tools/sk_app/ |
GLWindowContext.cpp | 31 SkASSERT(!fContext); 34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); 35 if (!fContext && fDisplayParams.fMSAASampleCount > 1) { 45 if (fContext) { 47 fContext->abandonContext(); 48 fContext.reset(); 58 if (fContext) { 64 fbInfo.fFormat = fContext->caps()->srgbSupport() && fDisplayParams.fColorSpace 73 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT,
|
WindowContext.h | 24 : fContext(nullptr) 49 GrContext* getGrContext() const { return fContext.get(); } 59 sk_sp<GrContext> fContext;
|
/external/skqp/src/gpu/ |
GrContextPriv.h | 32 GrDrawingManager* drawingManager() { return fContext->fDrawingManager.get(); } 67 bool disableGpuYUVConversion() const { return fContext->fDisableGpuYUVConversion; } 170 GrBackend getBackend() const { return fContext->fBackend; } 172 SkTaskGroup* getTaskGroup() { return fContext->fTaskGroup.get(); } 174 GrProxyProvider* proxyProvider() { return fContext->fProxyProvider; } 175 const GrProxyProvider* proxyProvider() const { return fContext->fProxyProvider; } 177 GrResourceProvider* resourceProvider() { return fContext->fResourceProvider; } 178 const GrResourceProvider* resourceProvider() const { return fContext->fResourceProvider; } 180 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } 182 GrGpu* getGpu() { return fContext->fGpu.get(); [all...] |
GrFPArgs.h | 23 : fContext(context) 33 : fContext(context) 39 GrContext* fContext;
|
GrTextureMaker.h | 44 , fContext(context) {} 77 GrContext* context() const { return fContext; } 80 GrContext* fContext;
|
GrDrawingManager.cpp | 39 fOpLists[i]->makeClosed(*fContext->caps()); 88 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "internalFlush", fContext); 100 fOpLists[i]->makeClosed(*fContext->caps()); 126 GrGpu* gpu = fContext->contextPriv().getGpu(); 128 GrOpFlushState flushState(gpu, fContext->contextPriv().resourceProvider(), 159 onFlushOpList->makeClosed(*fContext->caps()); 178 GrResourceAllocator alloc(fContext->contextPriv().resourceProvider()); 211 fContext->contextPriv().getResourceCache()->notifyFlushOccurred(type); 234 if (!fOpLists[i]->instantiate(fContext->contextPriv().resourceProvider())) { 245 fOpLists[i]->instantiateDeferredProxies(fContext->contextPriv().resourceProvider()) [all...] |
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; }
|
/external/skia/tools/gpu/gl/mac/ |
CreatePlatformGLTestContext_mac.cpp | 36 CGLContextObj fContext; 41 : fContext(nullptr) 60 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); 63 if (nullptr == fContext) { 69 CGLSetCurrentContext(fContext); 96 if (fContext) { 97 if (CGLGetCurrentContext() == fContext) { 101 CGLReleaseContext(fContext); 102 fContext = nullptr [all...] |
/external/skqp/tools/gpu/gl/mac/ |
CreatePlatformGLTestContext_mac.cpp | 36 CGLContextObj fContext; 41 : fContext(nullptr) 60 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); 63 if (nullptr == fContext) { 69 CGLSetCurrentContext(fContext); 96 if (fContext) { 97 if (CGLGetCurrentContext() == fContext) { 101 CGLReleaseContext(fContext); 102 fContext = nullptr [all...] |
/external/skia/src/gpu/ |
GrContextPriv.h | 33 GrDrawingManager* drawingManager() { return fContext->fDrawingManager.get(); } 70 bool disableGpuYUVConversion() const { return fContext->fDisableGpuYUVConversion; } 71 bool sharpenMipmappedTextures() const { return fContext->fSharpenMipmappedTextures; } 176 GrBackend getBackend() const { return fContext->fBackend; } 178 SkTaskGroup* getTaskGroup() { return fContext->fTaskGroup.get(); } 180 GrProxyProvider* proxyProvider() { return fContext->fProxyProvider; } 181 const GrProxyProvider* proxyProvider() const { return fContext->fProxyProvider; } 183 GrResourceProvider* resourceProvider() { return fContext->fResourceProvider; } 184 const GrResourceProvider* resourceProvider() const { return fContext->fResourceProvider; } 186 GrResourceCache* getResourceCache() { return fContext->fResourceCache; [all...] |
GrFPArgs.h | 23 : fContext(context) 33 : fContext(context) 39 GrContext* fContext;
|
GrTextureMaker.h | 32 , fContext(context) {} 65 GrContext* context() const { return fContext; } 73 GrContext* fContext;
|
GrDrawingManager.cpp | 50 : fContext(context) 72 fOpLists[i]->makeClosed(*fContext->caps()); 121 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "internalFlush", fContext); 133 fOpLists[i]->makeClosed(*fContext->caps()); 158 GrGpu* gpu = fContext->contextPriv().getGpu(); 160 GrOpFlushState flushState(gpu, fContext->contextPriv().resourceProvider(), 191 onFlushOpList->makeClosed(*fContext->caps()); 210 GrResourceAllocator alloc(fContext->contextPriv().resourceProvider()); 236 fContext->contextPriv().getResourceCache()->notifyFlushOccurred(type); 251 GrResourceProvider* resourceProvider = fContext->contextPriv().resourceProvider() [all...] |
GrSurfaceContextPriv.h | 18 GrContext* getContext() { return fSurfaceContext->fContext; }
|
/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/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/skia/src/core/ |
SkDeferredDisplayListRecorder.cpp | 32 auto proxyProvider = fContext->contextPriv().proxyProvider(); 60 if (!fContext) { 61 fContext = GrContextPriv::MakeDDL(fCharacterization.refContextInfo()); 62 if (!fContext) { 70 auto proxyProvider = fContext->contextPriv().proxyProvider(); 104 sk_sp<GrSurfaceContext> c = fContext->contextPriv().makeWrappedSurfaceContext( 108 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get(), 143 fContext->contextPriv().moveOpListsToDDL(ddl.get());
|
/external/skqp/src/core/ |
SkDeferredDisplayListRecorder.cpp | 32 auto proxyProvider = fContext->contextPriv().proxyProvider(); 56 if (!fContext) { 57 fContext = GrContextPriv::MakeDDL(fCharacterization.contextInfo()); 58 if (!fContext) { 66 auto proxyProvider = fContext->contextPriv().proxyProvider(); 96 sk_sp<GrSurfaceContext> c = fContext->contextPriv().makeWrappedSurfaceContext( 100 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get(), 135 fContext->contextPriv().moveOpListsToDDL(ddl.get());
|
/external/icu/icu4c/source/i18n/ |
digitlst.cpp | 97 uprv_decContextDefault(&fContext, DEC_INIT_BASE); 98 fContext.traps = 0; 99 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); 100 fContext.digits = fStorage.getCapacity(); 132 uprv_memcpy(&fContext, &other.fContext, sizeof(decContext)); 137 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 138 // because above we copied fContext from other.fContext. 139 fContext.digits = fStorage.getCapacity() [all...] |
/external/skia/tools/gpu/gl/glx/ |
CreatePlatformGLTestContext_glx.cpp | 69 GLXContext fContext; 106 : fContext(nullptr) 117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; 208 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); 215 fContext = CreateBestContext(true, fDisplay, bestFbc, glxShareContext); 218 fContext = CreateBestContext(false, fDisplay, bestFbc, glxShareContext); 221 if (!fContext) { 228 if (!glXIsDirect(fDisplay, fContext)) { 236 if (!glXMakeCurrent(fDisplay, fGlxPixmap, fContext)) { 266 if (fContext) { [all...] |
/external/skqp/tools/gpu/gl/glx/ |
CreatePlatformGLTestContext_glx.cpp | 69 GLXContext fContext; 106 : fContext(nullptr) 117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; 208 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); 215 fContext = CreateBestContext(true, fDisplay, bestFbc, glxShareContext); 218 fContext = CreateBestContext(false, fDisplay, bestFbc, glxShareContext); 221 if (!fContext) { 228 if (!glXIsDirect(fDisplay, fContext)) { 236 if (!glXMakeCurrent(fDisplay, fGlxPixmap, fContext)) { 266 if (fContext) { [all...] |
/external/skia/bench/ |
GrResourceCacheBench.cpp | 120 fContext = GrContext::MakeMock(nullptr); 121 if (!fContext) { 125 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); 127 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); 133 GrGpu* gpu = fContext->contextPriv().getGpu(); 139 if (!fContext) { 142 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); 155 sk_sp<GrContext> fContext;
|