Home
last modified time | relevance | path

Searched refs:fContext (Results 1 – 25 of 206) sorted by relevance

123456789

/external/skia/src/gpu/
DGrRecordingContextPriv.h19 uint32_t contextID() const { return fContext->contextID(); } in contextID()
21 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } in matches()
23 const GrContextOptions& options() const { return fContext->options(); } in options()
25 const GrCaps* caps() const { return fContext->caps(); } in caps()
28 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext()
29 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext()
30 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext()
33 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider()
34 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider()
36 bool abandoned() const { return fContext->abandoned(); } in abandoned()
[all …]
DGrContextPriv.h32 uint32_t contextID() const { return fContext->contextID(); } in contextID()
34 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } in matches()
36 const GrContextOptions& options() const { return fContext->options(); } in options()
38 const GrCaps* caps() const { return fContext->caps(); } in caps()
41 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext()
42 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext()
43 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext()
46 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider()
47 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider()
49 bool abandoned() const { return fContext->abandoned(); } in abandoned()
[all …]
DGrContextPriv.cpp29 SkASSERT(!(P) || !((P)->peekTexture()) || (P)->peekTexture()->getContext() == fContext)
31 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fContext->singleOwner());)
32 #define RETURN_VALUE_IF_ABANDONED(value) if (fContext->abandoned()) { return (value); }
36 return fContext->refCaps(); in refCaps()
40 fContext->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject()
47 GR_CREATE_TRACE_MARKER_CONTEXT("GrContextPriv", "flushSurfaces", fContext); in flushSurfaces()
54 return fContext->drawingManager()->flushSurfaces( in flushSurfaces()
63 fContext->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
68 fContext->drawingManager()->copyRenderTasksFromDDL(ddl, newDest); in copyRenderTasksFromDDL()
86 fContext->fGpu->stats()->reset(); in resetGpuStats()
[all …]
DGrImageContextPriv.h19 uint32_t contextID() const { return fContext->contextID(); } in contextID()
21 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } in matches()
23 const GrContextOptions& options() const { return fContext->options(); } in options()
25 const GrCaps* caps() const { return fContext->caps(); } in caps()
28 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext()
29 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext()
30 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext()
33 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider()
34 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider()
36 bool abandoned() const { return fContext->abandoned(); } in abandoned()
[all …]
DGrBaseContextPriv.h19 uint32_t contextID() const { return fContext->contextID(); } in contextID()
21 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } in matches()
23 const GrContextOptions& options() const { return fContext->options(); } in options()
25 const GrCaps* caps() const { return fContext->caps(); } in caps()
28 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext()
29 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext()
30 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext()
33 explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {} in GrBaseContextPriv()
41 GrContext_Base* fContext; variable
DGrDrawingManager.cpp176 : fContext(context) in GrDrawingManager()
188 fDAG.cleanup(fContext->priv().caps()); in cleanup()
201 return fContext->priv().abandoned(); in wasAbandoned()
223 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "flush", fContext); in flush()
245 auto direct = fContext->priv().asDirectContext(); in flush()
271 fDAG.closeAll(fContext->priv().caps()); in flush()
279 int maxCachedBuffers = fContext->priv().caps()->preferClientSideDynamicBuffers() ? 2 : 6; in flush()
298 onFlushRenderTask->makeClosed(*fContext->priv().caps()); in flush()
387 GrOpMemoryPool* opMemoryPool = fContext->priv().opMemoryPool(); in flush()
507 auto direct = fContext->priv().asDirectContext(); in flushSurfaces()
[all …]
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DGalliumContext.cpp55 fContext[i] = NULL; in GalliumContext()
212 if (fContext[i] == NULL) { in CreateContext()
213 fContext[i] = context; in CreateContext()
242 if (!fContext[contextID]) in DestroyContext()
245 if (fContext[contextID]->st) { in DestroyContext()
246 fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL, NULL, NULL); in DestroyContext()
247 fContext[contextID]->st->destroy(fContext[contextID]->st); in DestroyContext()
250 if (fContext[contextID]->postProcess) in DestroyContext()
251 pp_free(fContext[contextID]->postProcess); in DestroyContext()
254 if (fContext[contextID]->read) in DestroyContext()
[all …]
/external/skqp/src/gpu/
DGrContextPriv.h33 uint32_t contextID() const { return fContext->contextID(); } in contextID()
44 const GrCaps* caps() const { return fContext->fCaps.get(); } in caps()
49 GrDrawingManager* drawingManager() { return fContext->fDrawingManager.get(); } in drawingManager()
91 bool disableGpuYUVConversion() const { return fContext->fDisableGpuYUVConversion; } in disableGpuYUVConversion()
92 bool sharpenMipmappedTextures() const { return fContext->fSharpenMipmappedTextures; } in sharpenMipmappedTextures()
193 SkTaskGroup* getTaskGroup() { return fContext->fTaskGroup.get(); } in getTaskGroup()
195 GrProxyProvider* proxyProvider() { return fContext->fProxyProvider; } in proxyProvider()
196 const GrProxyProvider* proxyProvider() const { return fContext->fProxyProvider; } in proxyProvider()
198 GrResourceProvider* resourceProvider() { return fContext->fResourceProvider; } in resourceProvider()
199 const GrResourceProvider* resourceProvider() const { return fContext->fResourceProvider; } in resourceProvider()
[all …]
DGrDrawingManager.cpp155 : fContext(context) in GrDrawingManager()
177 fDAG.cleanup(fContext->contextPriv().caps()); in cleanup()
211 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "flush", fContext); in flush()
218 GrGpu* gpu = fContext->contextPriv().getGpu(); in flush()
228 fDAG.closeAll(fContext->contextPriv().caps()); in flush()
238 GrOpFlushState flushState(gpu, fContext->contextPriv().resourceProvider(), &fTokenTracker, in flush()
267 onFlushOpList->makeClosed(*fContext->contextPriv().caps()); in flush()
286 GrResourceAllocator alloc(fContext->contextPriv().resourceProvider(), in flush()
331 GrOpMemoryPool* opMemoryPool = fContext->contextPriv().opMemoryPool(); in flush()
341 fContext->contextPriv().getResourceCache()->purgeAsNeeded(); in flush()
[all …]
DGrRenderTargetContext.cpp75 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
81 GrContext* context = fRenderTargetContext->fContext; in makeGrPaint()
91 return fRenderTargetContext->fContext; in getContext()
190 fRenderTargetProxy->validate(fContext); in validate()
242 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawGlyphRunList", fContext); in drawGlyphRunList()
252 atlasTextContext->drawGlyphRunList(fContext, fTextTarget.get(), clip, viewMatrix, in drawGlyphRunList()
260 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "discard", fContext); in discard()
273 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "clear", fContext); in clear()
287 fRenderTargetContext->fContext); in clear()
335 GrFillRectOp::Make(fContext, std::move(paint), in internalClear()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_utils.cpp96 uprv_decContextDefault(&fContext, DEC_INIT_BASE); in DecNum()
97 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); in DecNum()
98 fContext.traps = 0; // no traps, thank you (what does this even mean?) in DecNum()
102 : fContext(other.fContext) { in DecNum()
104 U_ASSERT(fContext.digits == other.fData.getCapacity()); in DecNum()
105 if (fContext.digits > kDefaultDigits) { in DecNum()
106 void* p = fData.resize(fContext.digits, 0); in DecNum()
166 fContext.digits = maxDigits; in _setTo()
168 fContext.digits = kDefaultDigits; in _setTo()
172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo()
[all …]
/external/skqp/tools/gpu/gl/mac/
DCreatePlatformGLTestContext_mac.cpp36 CGLContextObj fContext; member in __anon13360cf90111::MacGLTestContext
41 : fContext(nullptr) in MacGLTestContext()
60 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); in MacGLTestContext()
63 if (nullptr == fContext) { in MacGLTestContext()
69 CGLSetCurrentContext(fContext); in MacGLTestContext()
96 if (fContext) { in destroyGLContext()
97 if (CGLGetCurrentContext() == fContext) { in destroyGLContext()
101 CGLReleaseContext(fContext); in destroyGLContext()
102 fContext = nullptr; in destroyGLContext()
110 CGLSetCurrentContext(fContext); in onPlatformMakeCurrent()
[all …]
/external/skia/tools/gpu/gl/mac/
DCreatePlatformGLTestContext_mac.cpp37 CGLContextObj fContext; member in __anonc0709b820111::MacGLTestContext
42 : fContext(nullptr) in MacGLTestContext()
61 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); in MacGLTestContext()
64 if (nullptr == fContext) { in MacGLTestContext()
70 CGLSetCurrentContext(fContext); in MacGLTestContext()
97 if (fContext) { in destroyGLContext()
98 if (CGLGetCurrentContext() == fContext) { in destroyGLContext()
102 CGLReleaseContext(fContext); in destroyGLContext()
103 fContext = nullptr; in destroyGLContext()
115 CGLSetCurrentContext(fContext); in onPlatformMakeCurrent()
[all …]
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp76 fContext = GrContextPriv::MakeDDL(fCharacterization.refContextInfo()); in SkDeferredDisplayListRecorder()
81 if (fContext) { in ~SkDeferredDisplayListRecorder()
82 auto proxyProvider = fContext->contextPriv().proxyProvider(); in ~SkDeferredDisplayListRecorder()
99 SkASSERT(fContext); in init()
110 auto proxyProvider = fContext->contextPriv().proxyProvider(); in init()
114 if (GrBackendApi::kOpenGL != fContext->backend() || in init()
134 if (fContext->contextPriv().caps()->usesMixedSamples() && desc.fSampleCnt > 1 && !usesGLFBO0) { in init()
148 const GrBackendFormat format = fContext->contextPriv().caps()->getBackendFormatFromColorType( in init()
170 sk_sp<GrSurfaceContext> c = fContext->contextPriv().makeWrappedSurfaceContext( in init()
174 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get(), in init()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DNamespaceSupport.java87 protected int[] fContext = new int[8]; field in NamespaceSupport
114 fContext[fCurrentContext] = fNamespaceSize; in reset()
133 if (fCurrentContext + 1 == fContext.length) { in pushContext()
134 int[] contextarray = new int[fContext.length * 2]; in pushContext()
135 System.arraycopy(fContext, 0, contextarray, 0, fContext.length); in pushContext()
136 fContext = contextarray; in pushContext()
140 fContext[++fCurrentContext] = fNamespaceSize; in pushContext()
149 fNamespaceSize = fContext[fCurrentContext--]; in popContext()
162 for (int i = fNamespaceSize; i > fContext[fCurrentContext]; i -= 2) { in declarePrefix()
235 return (fNamespaceSize - fContext[fCurrentContext]) / 2; in getDeclaredPrefixCount()
[all …]
/external/skia/src/core/
DSkDeferredDisplayListRecorder.cpp75 fContext = GrContextPriv::MakeDDL(fCharacterization.refContextInfo()); in SkDeferredDisplayListRecorder()
80 if (fContext) { in ~SkDeferredDisplayListRecorder()
81 auto proxyProvider = fContext->priv().proxyProvider(); in ~SkDeferredDisplayListRecorder()
98 SkASSERT(fContext); in init()
109 auto proxyProvider = fContext->priv().proxyProvider(); in init()
110 const GrCaps* caps = fContext->priv().caps(); in init()
114 if (GrBackendApi::kOpenGL != fContext->backend() || in init()
185 auto rtc = std::make_unique<GrRenderTargetContext>(fContext.get(), std::move(readView), in init()
189 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get(), std::move(rtc)); in init()
194 if (!fContext) { in getCanvas()
[all …]
/external/skia/tools/sk_app/
DGLWindowContext.cpp31 SkASSERT(!fContext); in initializeContext()
34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
35 if (!fContext && fDisplayParams.fMSAASampleCount > 1) { in initializeContext()
45 if (fContext) { in destroyContext()
47 fContext->abandonContext(); in destroyContext()
48 fContext.reset(); in destroyContext()
58 if (fContext) { in getBackbufferSurface()
72 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT, in getBackbufferSurface()
/external/skqp/tools/sk_app/
DGLWindowContext.cpp31 SkASSERT(!fContext); in initializeContext()
34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
35 if (!fContext && fDisplayParams.fMSAASampleCount > 1) { in initializeContext()
45 if (fContext) { in destroyContext()
47 fContext->abandonContext(); in destroyContext()
48 fContext.reset(); in destroyContext()
58 if (fContext) { in getBackbufferSurface()
72 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT, in getBackbufferSurface()
/external/skia/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp70 GLXContext fContext; member in __anond3c4ad760111::GLXGLTestContext
107 : fContext(nullptr) in GLXGLTestContext()
118 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext()
209 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); in GLXGLTestContext()
216 fContext = CreateBestContext(true, fDisplay, bestFbc, glxShareContext); in GLXGLTestContext()
219 fContext = CreateBestContext(false, fDisplay, bestFbc, glxShareContext); in GLXGLTestContext()
222 if (!fContext) { in GLXGLTestContext()
229 if (!glXIsDirect(fDisplay, fContext)) { in GLXGLTestContext()
237 if (!glXMakeCurrent(fDisplay, fGlxPixmap, fContext)) { in GLXGLTestContext()
267 if (fContext) { in destroyGLContext()
[all …]
/external/skqp/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp69 GLXContext fContext; member in __anon268a1eed0111::GLXGLTestContext
106 : fContext(nullptr) in GLXGLTestContext()
117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext()
208 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); in GLXGLTestContext()
215 fContext = CreateBestContext(true, fDisplay, bestFbc, glxShareContext); in GLXGLTestContext()
218 fContext = CreateBestContext(false, fDisplay, bestFbc, glxShareContext); in GLXGLTestContext()
221 if (!fContext) { in GLXGLTestContext()
228 if (!glXIsDirect(fDisplay, fContext)) { in GLXGLTestContext()
236 if (!glXMakeCurrent(fDisplay, fGlxPixmap, fContext)) { in GLXGLTestContext()
266 if (fContext) { in destroyGLContext()
[all …]
/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.cpp87 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
90 else if (component == *fContext.fDouble_Type) { in getTypeName()
93 else if (component == *fContext.fInt_Type || in getTypeName()
94 component == *fContext.fShort_Type || in getTypeName()
95 component == *fContext.fByte_Type) { in getTypeName()
98 else if (component == *fContext.fUInt_Type || in getTypeName()
99 component == *fContext.fUShort_Type || in getTypeName()
100 component == *fContext.fUByte_Type) { in getTypeName()
103 else if (component == *fContext.fBool_Type) { in getTypeName()
115 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
[all …]
DSkSLSPIRVCodeGenerator.cpp436 if (type == *fContext.fHalf_Type) { in getActualType()
437 return *fContext.fFloat_Type; in getActualType()
439 if (type == *fContext.fShort_Type || type == *fContext.fByte_Type) { in getActualType()
440 return *fContext.fInt_Type; in getActualType()
442 if (type == *fContext.fUShort_Type || type == *fContext.fUByte_Type) { in getActualType()
443 return *fContext.fUInt_Type; in getActualType()
446 if (type.componentType() == *fContext.fHalf_Type) { in getActualType()
447 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
449 if (type.componentType() == *fContext.fShort_Type || in getActualType()
450 type.componentType() == *fContext.fByte_Type) { in getActualType()
[all …]
/external/skqp/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp70 EGLContext fContext; member in __anon9c753d870111::EGLGLTestContext
96 : fContext(EGL_NO_CONTEXT) in EGLGLTestContext()
100 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext()
163 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext()
164 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
165 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext()
168 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext()
171 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext()
173 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
192 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext()
[all …]
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp448 return *fContext.fFloat_Type; in getActualType()
451 return *fContext.fInt_Type; in getActualType()
454 return *fContext.fUInt_Type; in getActualType()
457 if (type.componentType() == *fContext.fHalf_Type) { in getActualType()
458 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
460 if (type.componentType() == *fContext.fShort_Type || in getActualType()
461 type.componentType() == *fContext.fByte_Type) { in getActualType()
462 return fContext.fInt_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
464 if (type.componentType() == *fContext.fUShort_Type || in getActualType()
465 type.componentType() == *fContext.fUByte_Type) { in getActualType()
[all …]
DSkSLGLSLCodeGenerator.cpp87 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
90 else if (component == *fContext.fDouble_Type) { in getTypeName()
99 else if (component == *fContext.fBool_Type) { in getTypeName()
111 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
114 else if (component == *fContext.fDouble_Type) { in getTypeName()
136 if (type == *fContext.fHalf_Type) { in getTypeName()
139 else if (type == *fContext.fShort_Type) { in getTypeName()
142 else if (type == *fContext.fUShort_Type) { in getTypeName()
145 else if (type == *fContext.fByte_Type) { in getTypeName()
148 else if (type == *fContext.fUByte_Type) { in getTypeName()
[all …]

123456789