/third_party/flutter/skia/src/effects/ |
D | SkHighContrastFilter.cpp | 29 fConfig = config; in SkHighContrast_Filter() 31 fConfig.fContrast = SkScalarPin(fConfig.fContrast, in SkHighContrast_Filter() 51 SkHighContrastConfig fConfig; 77 if (fConfig.fGrayscale) { in onAppendStages() 88 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages() 93 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages() 102 if (fConfig.fContrast != 0.0) { in onAppendStages() 104 float c = fConfig.fContrast; in onAppendStages() 132 buffer.writeBool(fConfig.fGrayscale); in flatten() 133 buffer.writeInt(static_cast<int>(fConfig.fInvertStyle)); in flatten() [all …]
|
/third_party/skia/src/sksl/ |
D | SkSLThreadContext.cpp | 27 fOldConfig = fCompiler->fContext->fConfig; in ThreadContext() 38 fConfig = std::make_unique<SkSL::ProgramConfig>(); in ThreadContext() 39 fConfig->fKind = kind; in ThreadContext() 40 fConfig->fSettings = settings; in ThreadContext() 41 fConfig->fIsBuiltinCode = isModule; in ThreadContext() 42 fCompiler->fContext->fConfig = fConfig.get(); in ThreadContext() 62 fCompiler->fContext->fConfig = fOldConfig; in ~ThreadContext() 71 SymbolTable::Push(&fCompiler->fSymbolTable, context.fConfig->fIsBuiltinCode); in setupSymbolTable() 81 bool runtimeEffect = ProgramConfig::IsRuntimeEffect(context.fConfig->fKind); in setupSymbolTable() 82 if (runtimeEffect && !context.fConfig->fSettings.fEnforceES2Restrictions) { in setupSymbolTable() [all …]
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockTexture.h | 54 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockTexture() 55 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected, 81 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockRenderTarget() 82 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, isProtected) 90 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockRenderTarget() 91 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, isProtected) 126 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockRenderTarget() 127 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, isProtected) 143 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockTextureRenderTarget() 154 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockTextureRenderTarget()
|
D | GrMockGpu.cpp | 189 desc.fConfig = texInfo.pixelConfig(); in onWrapBackendTexture() 210 desc.fConfig = texInfo.pixelConfig(); in onWrapRenderableBackendTexture() 232 desc.fConfig = info.pixelConfig(); in onWrapBackendRenderTarget() 249 desc.fConfig = texInfo.pixelConfig(); in onWrapBackendTextureAsRenderTarget()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSurface.cpp | 34 SkASSERT(kUnknown_GrPixelConfig != desc.fConfig); in WorstCaseSize() 35 SkASSERT(!GrPixelConfigIsCompressed(desc.fConfig)); in WorstCaseSize() 36 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize() 46 if (GrPixelConfigIsCompressed(desc.fConfig)) { in WorstCaseSize() 47 size = GrCompressedFormatDataSize(desc.fConfig, width, height); in WorstCaseSize() 49 size = (size_t)width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
|
D | GrSurfaceProxy.cpp | 35 desc.fConfig != kUnknown_GrPixelConfig && in is_valid_fully_lazy() 42 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_partially_lazy() 48 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_non_lazy() 61 , fConfig(desc.fConfig) in GrSurfaceProxy() 81 if (GrPixelConfigIsCompressed(desc.fConfig)) { in GrSurfaceProxy() 93 , fConfig(fTarget->config()) in GrSurfaceProxy() 142 desc.fConfig = fConfig; in createSurfaceImpl() 527 SkASSERT(surface->config() == fConfig); in validateSurface()
|
D | GrResourceProvider.cpp | 96 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createTexture() 109 size_t bpp = GrBytesPerPixel(desc.fConfig); in createTexture() 159 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createTexture() 170 size_t bpp = GrBytesPerPixel(desc.fConfig); in createTexture() 231 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createTexture() 237 if (!GrPixelConfigIsCompressed(desc.fConfig)) { in createTexture() 246 size_t rowBytes = GrBytesPerPixel(desc.fConfig) * desc.fWidth; in createTexture() 300 if (GrPixelConfigIsCompressed(desc.fConfig)) { in createApproxTexture() 304 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createApproxTexture() 329 size_t rowBytes = GrBytesPerPixel(copyDesc->fConfig) * copyDesc->fWidth; in createApproxTexture() [all …]
|
D | GrProxyProvider.cpp | 140 desc.fConfig = GrColorTypeToPixelConfig(colorType); in testingOnly_createInstantiatedProxy() 141 desc.fConfig = this->caps()->makeConfigSpecific(desc.fConfig, format); in testingOnly_createInstantiatedProxy() 288 desc.fConfig = config; in createTextureProxy() 388 desc.fConfig = kRGBA_8888_GrPixelConfig; in createProxyFromBitmap() 482 GrColorType colorType = GrPixelConfigToColorType(desc.fConfig); in createProxy() 484 SkASSERT(GrCaps::AreConfigsCompatible(desc.fConfig, in createProxy() 500 if (!caps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createProxy() 531 desc.fConfig = GrCompressionTypePixelConfig(compressionType); in createCompressedTextureProxy() 840 SkASSERT(validate_backend_format_and_config(this->caps(), format, desc.fConfig)); in createLazyProxy() 842 GrColorType colorType = GrPixelConfigToColorType(desc.fConfig); in createLazyProxy() [all …]
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlRenderTarget.mm | 24 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 26 gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, GrProtected::kNo) 37 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 38 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, 1, GrProtected::kNo) 50 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 52 gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, GrProtected::kNo) 61 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 62 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, 1, GrProtected::kNo) 77 if (!GrPixelConfigToMTLFormat(desc.fConfig, &format)) {
|
D | GrMtlTexture.mm | 23 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 24 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo, 38 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 39 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo, 53 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 54 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo,
|
D | GrMtlTextureRenderTarget.mm | 23 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 34 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 47 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 58 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, GrProtected::kNo) 66 if (!GrPixelConfigToMTLFormat(desc.fConfig, &format)) {
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 47 : GrSurface(gpu, desc.fSize, desc.fConfig, GrProtected::kNo) in GrGLTexture() 48 , INHERITED(gpu, desc.fSize, desc.fConfig, GrProtected::kNo, in GrGLTexture() 53 if (GrPixelConfigIsCompressed(desc.fConfig)) { in GrGLTexture() 61 : GrSurface(gpu, desc.fSize, desc.fConfig, GrProtected::kNo) in GrGLTexture() 62 , INHERITED(gpu, desc.fSize, desc.fConfig, GrProtected::kNo, in GrGLTexture() 75 : GrSurface(gpu, desc.fSize, desc.fConfig, GrProtected::kNo) in GrGLTexture() 76 , INHERITED(gpu, desc.fSize, desc.fConfig, GrProtected::kNo, in GrGLTexture()
|
D | GrGLTextureRenderTarget.cpp | 21 : GrSurface(gpu, texDesc.fSize, texDesc.fConfig, GrProtected::kNo) in GrGLTextureRenderTarget() 23 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, texDesc.fConfig, sampleCount, in GrGLTextureRenderTarget() 35 : GrSurface(gpu, texDesc.fSize, texDesc.fConfig, GrProtected::kNo) in GrGLTextureRenderTarget() 37 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, texDesc.fConfig, sampleCount, in GrGLTextureRenderTarget()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkTexture.cpp | 28 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTexture() 30 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected, 35 if (GrPixelConfigIsCompressed(desc.fConfig)) { 44 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTexture() 46 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected, 64 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTexture() 66 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected,
|
D | GrVkRenderTarget.cpp | 34 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkRenderTarget() 37 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, info.fProtected) 62 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkRenderTarget() 65 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, info.fProtected) 84 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkRenderTarget() 86 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, 1, info.fProtected) 104 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkRenderTarget() 106 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, 1, info.fProtected) 121 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkRenderTarget() 123 , GrRenderTarget(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, 1, info.fProtected)
|
D | GrVkTextureRenderTarget.cpp | 33 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTextureRenderTarget() 52 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTextureRenderTarget() 74 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTextureRenderTarget() 92 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, info.fProtected) in GrVkTextureRenderTarget()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLFunctionDeclaration.cpp | 40 (context.fConfig->fIsBuiltinCode ? Modifiers::kES3_Flag : 0); in check_modifiers() 56 if (context.fConfig->strictES2Mode() && returnType.isOrContainsArray()) { in check_return_type() 60 if (!context.fConfig->fIsBuiltinCode && !returnType.isVoid() && in check_return_type() 89 if (type.isEffectChild() && !context.fConfig->fIsBuiltinCode) { in check_parameters() 106 if (ProgramConfig::IsRuntimeEffect(context.fConfig->fKind)) { in check_parameters() 118 } else if (context.fConfig->fKind == ProgramKind::kFragment) { in check_parameters() 139 ProgramKind kind = context.fConfig->fKind; in check_main_signature() 282 context.fConfig->fIsBuiltinCode); in find_existing_declaration() 350 context.fConfig->fIsBuiltinCode); in Convert()
|
D | SkSLDoStatement.cpp | 20 if (context.fConfig->strictES2Mode()) { in Convert() 37 SkASSERT(!context.fConfig->strictES2Mode()); in Make()
|
D | SkSLConstructorArray.cpp | 22 if (context.fConfig->strictES2Mode()) { in Convert() 67 SkASSERT(!context.fConfig->strictES2Mode()); in Make()
|
D | SkSLBinaryExpression.cpp | 111 if (context.fConfig->strictES2Mode()) { in Convert() 156 SkASSERT(!context.fConfig->strictES2Mode() || op.isAllowedInStrictES2Mode()); in Make() 157 SkASSERT(!context.fConfig->strictES2Mode() || !left->type().isOrContainsArray()); in Make() 175 if (context.fConfig->fSettings.fOptimize) { in Make()
|
D | SkSLForStatement.cpp | 109 if (context.fConfig->strictES2Mode()) { in Convert() 151 if (context.fConfig->strictES2Mode()) { in ConvertWhile() 170 SkASSERT(unrollInfo || !context.fConfig->strictES2Mode()); in Make()
|
D | SkSLTernaryExpression.cpp | 45 if (context.fConfig->strictES2Mode() && trueType->isOrContainsArray()) { in Convert() 67 SkASSERT(!context.fConfig->strictES2Mode() || !ifTrue->type().isOrContainsArray()); in Make()
|
/third_party/flutter/skia/include/gpu/ |
D | GrSurface.h | 44 GrPixelConfig config() const { return fConfig; } in config() 116 , fConfig(config) in GrSurface() 143 GrPixelConfig fConfig; variable
|
/third_party/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 268 if (!gfChooseConfig(fDisplay, configAttribs, static_cast<EGLConfig *>(&fConfig), 1, in CommandBufferGLTestContext() 276 static_cast<EGLConfig>(fConfig), in CommandBufferGLTestContext() 291 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), eglShareContext, in CommandBufferGLTestContext() 418 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_STENCIL_SIZE, &result); in getStencilBits() 424 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &result); in getSampleCount()
|
/third_party/flutter/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 254 if (!gfChooseConfig(fDisplay, configAttribs, static_cast<EGLConfig *>(&fConfig), 1, in CommandBufferGLTestContext() 262 static_cast<EGLConfig>(fConfig), in CommandBufferGLTestContext() 277 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), eglShareContext, in CommandBufferGLTestContext() 386 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_STENCIL_SIZE, &result); in getStencilBits() 392 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &result); in getSampleCount()
|