/third_party/flutter/skia/src/gpu/ |
D | GrContextPriv.h | 35 uint32_t contextID() const { return fContext->contextID(); } in contextID() 37 bool matches(GrContext_Base* candidate) const { return fContext->matches(candidate); } in matches() 39 const GrContextOptions& options() const { return fContext->options(); } in options() 41 const GrCaps* caps() const { return fContext->caps(); } in caps() 46 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext() 47 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext() 48 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() 51 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider() 52 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider() 54 bool abandoned() const { return fContext->abandoned(); } in abandoned() [all …]
|
D | GrRecordingContextPriv.h | 19 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() 30 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext() 31 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext() 32 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() 35 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider() 36 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider() 38 bool abandoned() const { return fContext->abandoned(); } in abandoned() [all …]
|
D | GrImageContextPriv.h | 19 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() 30 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext() 31 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext() 32 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() 35 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider() 36 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider() 38 bool abandoned() const { return fContext->abandoned(); } in abandoned() [all …]
|
D | GrContextPriv.cpp | 29 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 return fContext->fpFactoryCache(); in fpFactoryCache() 44 return fContext->refOpMemoryPool(); in refOpMemoryPool() 48 fContext->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject() 56 return fContext->makeWrappedSurfaceContext(std::move(proxy), colorType, alphaType, in makeWrappedSurfaceContext() 70 return fContext->makeDeferredTextureContext(fit, width, height, colorType, alphaType, in makeDeferredTextureContext() 87 return fContext->makeDeferredRenderTargetContext(fit, width, height, colorType, in makeDeferredRenderTargetContext() [all …]
|
D | GrBaseContextPriv.h | 19 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() 30 GrImageContext* asImageContext() { return fContext->asImageContext(); } in asImageContext() 31 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext() 32 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() 35 explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {} in GrBaseContextPriv() 43 GrContext_Base* fContext; variable
|
D | GrDrawingManager.cpp | 167 : fContext(context) in GrDrawingManager() 179 fDAG.cleanup(fContext->priv().caps()); in cleanup() 192 return fContext->priv().abandoned(); in wasAbandoned() 214 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "flush", fContext); in flush() 236 auto direct = fContext->priv().asDirectContext(); in flush() 261 fDAG.closeAll(fContext->priv().caps()); in flush() 269 int maxCachedBuffers = fContext->priv().caps()->preferClientSideDynamicBuffers() ? 2 : 6; in flush() 300 onFlushOpList->makeClosed(*fContext->priv().caps()); in flush() 370 GrOpMemoryPool* opMemoryPool = fContext->priv().opMemoryPool(); in flush() 492 auto direct = fContext->priv().asDirectContext(); in flushSurfaces() [all …]
|
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | GalliumContext.cpp | 57 fContext[i] = NULL; in GalliumContext() 230 if (fContext[i] == NULL) { in CreateContext() 231 fContext[i] = context; in CreateContext() 260 if (!fContext[contextID]) in DestroyContext() 263 if (fContext[contextID]->st) { in DestroyContext() 264 fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL, NULL, NULL); in DestroyContext() 265 fContext[contextID]->st->destroy(fContext[contextID]->st); in DestroyContext() 268 if (fContext[contextID]->postProcess) in DestroyContext() 269 pp_free(fContext[contextID]->postProcess); in DestroyContext() 272 if (fContext[contextID]->buffer) in DestroyContext() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | number_utils.cpp | 96 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 …]
|
/third_party/icu/icu4c/source/i18n/ |
D | number_utils.cpp | 96 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 …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_utils.cpp | 96 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 …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_utils.cpp | 96 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 …]
|
/third_party/flutter/skia/tools/gpu/gl/mac/ |
D | CreatePlatformGLTestContext_mac.cpp | 36 CGLContextObj fContext; member in __anon629ec8ff0111::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 …]
|
/third_party/skia/src/core/ |
D | SkDeferredDisplayListRecorder.cpp | 42 fContext = GrRecordingContextPriv::MakeDDL(fCharacterization.refContextInfo()); in SkDeferredDisplayListRecorder() 47 if (fContext) { in ~SkDeferredDisplayListRecorder() 48 auto proxyProvider = fContext->priv().proxyProvider(); in ~SkDeferredDisplayListRecorder() 64 SkASSERT(fContext); in init() 76 auto proxyProvider = fContext->priv().proxyProvider(); in init() 77 const GrCaps* caps = fContext->priv().caps(); in init() 81 if (GrBackendApi::kOpenGL != fContext->backend() || in init() 88 if (vkRTSupportsInputAttachment && GrBackendApi::kVulkan != fContext->backend()) { in init() 161 auto device = fContext->priv().createDevice(grColorType, in init() 176 if (!fContext) { in getCanvas() [all …]
|
/third_party/skia/tools/gpu/gl/mac/ |
D | CreatePlatformGLTestContext_mac.cpp | 36 CGLContextObj fContext; member in __anon315d57ca0111::MacGLTestContext 41 : fContext(nullptr) in MacGLTestContext() 83 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); in MacGLTestContext() 86 if (nullptr == fContext) { in MacGLTestContext() 92 CGLSetCurrentContext(fContext); in MacGLTestContext() 119 if (fContext) { in destroyGLContext() 120 if (CGLGetCurrentContext() == fContext) { in destroyGLContext() 124 CGLReleaseContext(fContext); in destroyGLContext() 125 fContext = nullptr; in destroyGLContext() 137 CGLSetCurrentContext(fContext); in onPlatformMakeCurrent() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkDeferredDisplayListRecorder.cpp | 76 fContext = GrContextPriv::MakeDDL(fCharacterization.refContextInfo()); in SkDeferredDisplayListRecorder() 81 if (fContext) { in ~SkDeferredDisplayListRecorder() 82 auto proxyProvider = fContext->priv().proxyProvider(); in ~SkDeferredDisplayListRecorder() 99 SkASSERT(fContext); in init() 110 auto proxyProvider = fContext->priv().proxyProvider(); in init() 111 const GrCaps* caps = fContext->priv().caps(); in init() 115 if (GrBackendApi::kOpenGL != fContext->backend() || in init() 188 sk_sp<GrSurfaceContext> c = fContext->priv().makeWrappedSurfaceContext( in init() 194 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get(), in init() 200 if (!fContext) { in getCanvas() [all …]
|
/third_party/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 49 EGLContext fContext; member in __anonba9c88580111::EGLGLTestContext 75 : fContext(EGL_NO_CONTEXT) in EGLGLTestContext() 79 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext() 142 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext() 143 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext() 144 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 147 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 150 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext() 152 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext() 171 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext() [all …]
|
/third_party/skia/tools/sk_app/ |
D | GLWindowContext.cpp | 31 SkASSERT(!fContext); in initializeContext() 35 fContext = GrDirectContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext() 36 if (!fContext && fDisplayParams.fMSAASampleCount > 1) { in initializeContext() 46 if (fContext) { in destroyContext() 48 fContext->abandonContext(); in destroyContext() 49 fContext.reset(); in destroyContext() 59 if (fContext) { in getBackbufferSurface() 73 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT, in getBackbufferSurface()
|
/third_party/flutter/skia/tools/sk_app/ |
D | GLWindowContext.cpp | 31 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()
|
/third_party/skia/src/gpu/ |
D | GrDrawingManager.cpp | 56 : fContext(rContext) in GrDrawingManager() 66 : fContext(rContext) in GrDrawingManager() 78 return fContext->abandoned(); in wasAbandoned() 102 GR_CREATE_TRACE_MARKER_CONTEXT("GrDrawingManager", "flush", fContext); in flush() 133 auto dContext = fContext->asDirectContext(); in flush() 159 int maxCachedBuffers = fContext->priv().caps()->preferClientSideDynamicBuffers() ? 2 : 6; in flush() 180 onFlushRenderTask->makeClosed(fContext); in flush() 263 auto direct = fContext->asDirectContext(); in submitToGpu() 420 auto dContext = fContext->asDirectContext(); in reorderTasks() 450 task->makeClosed(fContext); in closeAllTasks() [all …]
|
/third_party/flutter/skia/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 69 GLXContext fContext; member in __anon75f2daf30111::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 …]
|
/third_party/skia/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 69 GLXContext fContext; member in __anon44b169be0111::GLXGLTestContext 106 : fContext(nullptr) in GLXGLTestContext() 117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext() 208 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, nullptr, 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() 273 if (fContext) { in destroyGLContext() [all …]
|
/third_party/skia/src/sksl/ |
D | SkSLCompiler.cpp | 106 : fContext(context.get()) in AutoProgramConfig() 107 , fOldConfig(fContext->fConfig) { in AutoProgramConfig() 108 fContext->fConfig = config; in AutoProgramConfig() 112 fContext->fConfig = fOldConfig; in ~AutoProgramConfig() 115 Context* fContext; member in SkSL::AutoProgramConfig 122 : fContext(context.get()) { in AutoModifiersPool() 123 SkASSERT(!fContext->fModifiersPool); in AutoModifiersPool() 124 fContext->fModifiersPool = modifiersPool; in AutoModifiersPool() 128 fContext->fModifiersPool = nullptr; in ~AutoModifiersPool() 131 Context* fContext; member in SkSL::AutoModifiersPool [all …]
|
/third_party/flutter/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 74 EGLContext fContext; member in __anonebddf98d0111::EGLGLTestContext 100 : fContext(EGL_NO_CONTEXT) in EGLGLTestContext() 104 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext() 167 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext() 168 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext() 169 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 172 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 175 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext() 177 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext() 196 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext() [all …]
|
/third_party/skia/src/sksl/ir/ |
D | SkSLFunctionDefinition.cpp | 81 : fContext(context) in Convert() 92 fContext.fIntrinsics->findAndInclude(function.description())) { in Convert() 135 if (!fContext.fConfig->fIsBuiltinCode && fContext.fIntrinsics) { in Convert() 157 fContext.fErrors->error(stmt.fLine, "variable '" + in Convert() 167 if (fContext.fConfig->fKind == ProgramKind::kVertex && fFunction.isMain()) { in Convert() 168 fContext.fErrors->error( in Convert() 179 std::move(returnStmt.expression()), fContext)); in Convert() 183 fContext.fErrors->error(returnStmt.fLine, in Convert() 189 fContext.fErrors->error(returnStmt.fLine, in Convert() 215 fContext.fErrors->error(stmt.fLine, in Convert() [all …]
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLSPIRVCodeGenerator.cpp | 448 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 …]
|