/external/skia/src/gpu/ |
GrBaseContextPriv.h | 19 uint32_t contextID() const { return fContext->contextID(); } 21 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } 23 const GrContextOptions& options() const { return fContext->options(); } 26 return fContext->explicitlyAllocateGPUResources(); 29 const GrCaps* caps() const { return fContext->caps(); } 34 GrImageContext* asImageContext() { return fContext->asImageContext(); } 35 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } 36 GrContext* asDirectContext() { return fContext->asDirectContext(); } 39 explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {} 47 GrContext_Base* fContext; [all...] |
GrImageContextPriv.h | 19 uint32_t contextID() const { return fContext->contextID(); } 21 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } 23 const GrContextOptions& options() const { return fContext->options(); } 26 return fContext->explicitlyAllocateGPUResources(); 29 const GrCaps* caps() const { return fContext->caps(); } 34 GrImageContext* asImageContext() { return fContext->asImageContext(); } 35 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } 36 GrContext* asDirectContext() { return fContext->asDirectContext(); } 39 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } 40 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); [all...] |
GrRecordingContextPriv.h | 19 uint32_t contextID() const { return fContext->contextID(); } 21 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } 23 const GrContextOptions& options() const { return fContext->options(); } 26 return fContext->explicitlyAllocateGPUResources(); 29 const GrCaps* caps() const { return fContext->caps(); } 34 GrImageContext* asImageContext() { return fContext->asImageContext(); } 35 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } 36 GrContext* asDirectContext() { return fContext->asDirectContext(); } 39 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } 40 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); [all...] |
GrContextPriv.h | 35 uint32_t contextID() const { return fContext->contextID(); } 37 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } 39 const GrContextOptions& options() const { return fContext->options(); } 42 return fContext->explicitlyAllocateGPUResources(); 45 const GrCaps* caps() const { return fContext->caps(); } 50 GrImageContext* asImageContext() { return fContext->asImageContext(); } 51 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } 52 GrContext* asDirectContext() { return fContext->asDirectContext(); } 55 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } 56 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); [all...] |
GrSurfaceContext.cpp | 19 #define RETURN_FALSE_IF_ABANDONED if (this->fContext->priv().abandoned()) { return false; } 28 : fContext(context) 33 return fContext->priv().auditTrail(); 37 return fContext->priv().drawingManager(); 41 return fContext->priv().drawingManager(); 46 return fContext->priv().singleOwner(); 67 auto direct = fContext->priv().asDirectContext(); 92 auto direct = fContext->priv().asDirectContext(); 108 if (!fContext->priv().caps()->canCopySurface(this->asSurfaceProxy(), src, srcRect, 113 return this->getOpList()->copySurface(fContext, this->asSurfaceProxy() [all...] |
GrImageContext.cpp | 42 return fContext->refCaps(); 46 return fContext->fpFactoryCache();
|
GrSurfaceContextPriv.h | 18 GrRecordingContext* getContext() { return fSurfaceContext->fContext; }
|
/external/skqp/src/gpu/ |
GrBaseContextPriv.h | 19 uint32_t contextID() const { return fContext->contextID(); } 22 explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {} 30 GrContext_Base* fContext;
|
GrImageContextPriv.h | 19 uint32_t contextID() const { return fContext->contextID(); } 24 explicit GrImageContextPriv(GrImageContext* context) : fContext(context) {} 32 GrImageContext* fContext;
|
GrRecordingContextPriv.h | 19 uint32_t contextID() const { return fContext->contextID(); } 26 explicit GrRecordingContextPriv(GrRecordingContext* context) : fContext(context) {} 34 GrRecordingContext* fContext;
|
GrContextPriv.h | 33 uint32_t contextID() const { return fContext->contextID(); } 44 const GrCaps* caps() const { return fContext->fCaps.get(); } 49 GrDrawingManager* drawingManager() { return fContext->fDrawingManager.get(); } 91 bool disableGpuYUVConversion() const { return fContext->fDisableGpuYUVConversion; } 92 bool sharpenMipmappedTextures() const { return fContext->fSharpenMipmappedTextures; } 193 SkTaskGroup* getTaskGroup() { return fContext->fTaskGroup.get(); } 195 GrProxyProvider* proxyProvider() { return fContext->fProxyProvider; } 196 const GrProxyProvider* proxyProvider() const { return fContext->fProxyProvider; } 198 GrResourceProvider* resourceProvider() { return fContext->fResourceProvider; } 199 const GrResourceProvider* resourceProvider() const { return fContext->fResourceProvider; [all...] |
GrSurfaceContextPriv.h | 18 GrContext* getContext() { return fSurfaceContext->fContext; }
|
GrSurfaceContext.cpp | 29 : fContext(context) 55 return fContext->contextPriv().readSurfacePixels(this, x, y, dstInfo.width(), dstInfo.height(), 74 return fContext->contextPriv().writeSurfacePixels(this, x, y, srcInfo.width(), srcInfo.height(), 85 if (!fContext->contextPriv().caps()->canCopySurface(this->asSurfaceProxy(), src, srcRect, 90 return this->getOpList()->copySurface(fContext, this->asSurfaceProxy(),
|
/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) { 72 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT,
|
WindowContext.h | 24 : fContext(nullptr) 42 GrContext* getGrContext() const { return fContext.get(); } 52 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) { 72 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT,
|
WindowContext.h | 24 : fContext(nullptr) 42 GrContext* getGrContext() const { return fContext.get(); } 52 sk_sp<GrContext> 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/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/icu/icu4c/source/i18n/ |
number_utils.cpp | 96 uprv_decContextDefault(&fContext, DEC_INIT_BASE); 97 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); 98 fContext.traps = 0; // no traps, thank you (what does this even mean?) 102 : fContext(other.fContext) { 104 U_ASSERT(fContext.digits == other.fData.getCapacity()); 105 if (fContext.digits > kDefaultDigits) { 106 void* p = fData.resize(fContext.digits, 0); 166 fContext.digits = maxDigits; 168 fContext.digits = kDefaultDigits [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 | 74 fContext = GrContextPriv::MakeDDL(fCharacterization.refContextInfo()); 79 if (fContext) { 80 auto proxyProvider = fContext->priv().proxyProvider(); 97 SkASSERT(fContext); 108 auto proxyProvider = fContext->priv().proxyProvider(); 112 if (GrBackendApi::kOpenGL != fContext->backend() || 144 if (fContext->priv().caps()->usesMixedSamples() && desc.fSampleCnt > 1 && !usesGLFBO0) { 158 const GrBackendFormat format = fContext->priv().caps()->getBackendFormatFromColorType( 181 sk_sp<GrSurfaceContext> c = fContext->priv().makeWrappedSurfaceContext( 185 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get() [all...] |
/external/skqp/src/core/ |
SkDeferredDisplayListRecorder.cpp | 76 fContext = GrContextPriv::MakeDDL(fCharacterization.refContextInfo()); 81 if (fContext) { 82 auto proxyProvider = fContext->contextPriv().proxyProvider(); 99 SkASSERT(fContext); 110 auto proxyProvider = fContext->contextPriv().proxyProvider(); 114 if (GrBackendApi::kOpenGL != fContext->backend() || 134 if (fContext->contextPriv().caps()->usesMixedSamples() && desc.fSampleCnt > 1 && !usesGLFBO0) { 148 const GrBackendFormat format = fContext->contextPriv().caps()->getBackendFormatFromColorType( 170 sk_sp<GrSurfaceContext> c = fContext->contextPriv().makeWrappedSurfaceContext( 174 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get() [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...] |