/external/skqp/src/effects/ |
D | SkHighContrastFilter.cpp | 28 fConfig = config; in SkHighContrast_Filter() 30 fConfig.fContrast = SkScalarPin(fConfig.fContrast, in SkHighContrast_Filter() 53 SkHighContrastConfig fConfig; 78 if (fConfig.fGrayscale) { in onAppendStages() 89 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages() 94 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages() 103 if (fConfig.fContrast != 0.0) { in onAppendStages() 105 float c = fConfig.fContrast; in onAppendStages() 131 buffer.writeBool(fConfig.fGrayscale); in flatten() 132 buffer.writeInt(static_cast<int>(fConfig.fInvertStyle)); in flatten() [all …]
|
/external/skqp/src/gpu/mock/ |
D | GrMockGpu.cpp | 97 texInfo.fConfig = desc.fConfig; in onCreateTexture() 101 rtInfo.fConfig = desc.fConfig; in onCreateTexture() 118 desc.fConfig = info.fConfig; in onWrapBackendTexture() 137 desc.fConfig = texInfo.fConfig; in onWrapRenderableBackendTexture() 143 rtInfo.fConfig = texInfo.fConfig; in onWrapRenderableBackendTexture() 159 desc.fConfig = info.fConfig; in onWrapBackendRenderTarget() 174 desc.fConfig = texInfo.fConfig; in onWrapBackendTextureAsRenderTarget() 178 rtInfo.fConfig = texInfo.fConfig; in onWrapBackendTextureAsRenderTarget() 211 info.fConfig = config; in createTestingOnlyBackendTexture()
|
/external/skqp/include/gpu/mock/ |
D | GrMockTypes.h | 15 GrPixelConfig fConfig; member 19 return fConfig == that.fConfig && fID == that.fID; 24 GrPixelConfig fConfig; member 28 return fConfig == that.fConfig && fID == that.fID;
|
/external/skqp/src/gpu/ |
D | GrBackendSurface.cpp | 188 , fConfig(kUnknown_GrPixelConfig) in GrBackendTexture() 203 , fConfig(GrPixelConfig::kUnknown_GrPixelConfig) in GrBackendTexture() 216 , fConfig(kUnknown_GrPixelConfig) in GrBackendTexture() 228 , fConfig(mockInfo.fConfig) in GrBackendTexture() 257 fConfig = that.fConfig; in operator =() 370 return GrBackendFormat::MakeMock(fMockInfo.fConfig); in getBackendFormat() 384 t0.fConfig != t1.fConfig || in TestingOnly_Equals() 450 , fConfig(kUnknown_GrPixelConfig) in GrBackendRenderTarget() 465 , fConfig(GrPixelConfig::kUnknown_GrPixelConfig) in GrBackendRenderTarget() 479 , fConfig(kUnknown_GrPixelConfig) in GrBackendRenderTarget() [all …]
|
D | GrSurface.cpp | 38 SkASSERT(kUnknown_GrPixelConfig != desc.fConfig); in WorstCaseSize() 39 SkASSERT(!GrPixelConfigIsCompressed(desc.fConfig)); in WorstCaseSize() 40 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize() 49 if (GrPixelConfigIsCompressed(desc.fConfig)) { in WorstCaseSize() 50 size = GrCompressedFormatDataSize(desc.fConfig, width, height); in WorstCaseSize() 52 size = (size_t)width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
|
D | GrSurfaceProxy.cpp | 32 desc.fConfig != kUnknown_GrPixelConfig && in is_valid_fully_lazy() 40 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_partially_lazy() 46 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_non_lazy() 57 , fConfig(desc.fConfig) in GrSurfaceProxy() 76 if (GrPixelConfigIsCompressed(desc.fConfig)) { in GrSurfaceProxy() 87 , fConfig(fTarget->config()) in GrSurfaceProxy() 143 desc.fConfig = fConfig; in createSurfaceImpl() 349 dstDesc.fConfig = src->config(); in Copy() 486 SkASSERT(surface->config() == fConfig); in validateSurface()
|
D | GrBackendTextureImageGenerator.cpp | 50 backendTexture.fConfig = in Make() 52 if (backendTexture.fConfig == kUnknown_GrPixelConfig) { in Make() 73 , fConfig(backendTex.config()) in GrBackendTextureImageGenerator() 133 desc.fConfig = fConfig; in onGenerateTexture()
|
D | GrColorSpaceInfo.h | 32 GrPixelConfig config() const { return fConfig; } in config() 37 GrPixelConfig fConfig; variable
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 201 GrPixelConfig pixelConfig() const { return fConfig; } in pixelConfig() 202 void setPixelConfig(GrPixelConfig config) { fConfig = config; } in setPixelConfig() 224 GrPixelConfig config() const { return fConfig; } in config() 243 GrPixelConfig fConfig; variable 332 GrPixelConfig pixelConfig() const { return fConfig; } in pixelConfig() 333 void setPixelConfig(GrPixelConfig config) { fConfig = config; } in setPixelConfig() 348 GrPixelConfig config() const { return fConfig; } in config() 366 GrPixelConfig fConfig; variable
|
D | GrSurface.h | 44 GrPixelConfig config() const { return fConfig; } in config() 104 , fConfig(desc.fConfig) in GrSurface() 118 GrPixelConfig fConfig; variable
|
/external/skia/src/sksl/ir/ |
D | SkSLPrefixExpression.cpp | 41 if (context.fConfig->fSettings.fOptimize) { in negate_operand() 52 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand() 62 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand() 72 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand() 81 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand() 114 if (context.fConfig->fSettings.fOptimize) { in logical_not_operand() 176 if (context.fConfig->strictES2Mode()) { in Convert() 224 SkASSERT(!context.fConfig->strictES2Mode()); in Make()
|
D | SkSLTernaryExpression.cpp | 43 if (context.fConfig->strictES2Mode() && trueType->isOrContainsArray()) { in Convert() 65 SkASSERT(!context.fConfig->strictES2Mode() || !ifTrue->type().isOrContainsArray()); in Make() 67 if (context.fConfig->fSettings.fOptimize) { in Make()
|
D | SkSLDoStatement.cpp | 17 if (context.fConfig->strictES2Mode()) { in Convert() 31 SkASSERT(!context.fConfig->strictES2Mode()); in Make()
|
/external/skqp/src/core/ |
D | SkSurfaceCharacterization.cpp | 26 fConfig == other.fConfig && in operator ==() 48 fImageInfo.makeWH(width, height), fOrigin, fConfig, fFSAAType, in createResized()
|
/external/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 44 fConfig = std::make_unique<ProgramConfig>(); in DSLWriter() 45 fConfig->fKind = kind; in DSLWriter() 46 fConfig->fSettings.fOptimize = flags & kOptimize_Flag; in DSLWriter() 47 fConfig->fSettings.fValidateSPIRV = flags & kValidate_Flag; in DSLWriter() 48 fOldConfig = fCompiler->fContext->fConfig; in DSLWriter() 49 fCompiler->fContext->fConfig = fConfig.get(); in DSLWriter() 68 fCompiler->fContext->fConfig = fOldConfig; in ~DSLWriter() 273 std::move(instance.fConfig), in ReleaseProgram()
|
/external/skqp/tests/ |
D | GrSurfaceTest.cpp | 34 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 112 desc.fConfig = config; in DEF_GPUTEST_FOR_ALL_CONTEXTS() 116 bool ict = caps->isConfigTexturable(desc.fConfig); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 128 (caps->isConfigTexturable(desc.fConfig) && in DEF_GPUTEST_FOR_ALL_CONTEXTS() 163 desc.fConfig = static_cast<GrPixelConfig>(c); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 164 if (!caps->isConfigTexturable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 169 if (rt && !caps->isConfigRenderable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 190 uint32_t cmp = GrPixelConfigIsOpaque(desc.fConfig) ? 0xFF000000 : 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 193 ERRORF(reporter, "Failed on config %d", desc.fConfig); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 208 GrColorType colorType = GrPixelConfigToColorTypeAndEncoding(desc.fConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | TraceMemoryDumpTest.cpp | 92 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 118 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 144 sd.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 166 sd.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | TransferPixelsTest.cpp | 105 desc.fConfig = GrColorTypeToPixelConfig(colorType, srgbEncoding); in basic_transfer_test() 108 if (kUnknown_GrPixelConfig == desc.fConfig) { in basic_transfer_test() 113 if (!context->contextPriv().caps()->isConfigTexturable(desc.fConfig) || in basic_transfer_test() 114 (renderTarget && !context->contextPriv().caps()->isConfigRenderable(desc.fConfig))) { in basic_transfer_test()
|
/external/toolchain-utils/android_bench_suite/ |
D | skia_internal.diff | 16 SkASSERT(fConfig); 17 (*fConfig)[name] = ms; 22 + SkASSERT(fConfig); 28 + (*fConfig)[name] = value;
|
D | skia_aosp.diff | 16 SkASSERT(fConfig); 17 (*fConfig)[name] = ms; 22 + SkASSERT(fConfig); 28 + (*fConfig)[name] = value;
|
/external/skqp/include/core/ |
D | SkSurfaceCharacterization.h | 42 , fConfig(kUnknown_GrPixelConfig) in SkSurfaceCharacterization() 93 GrPixelConfig config() const { return fConfig; } in config() 109 , fConfig(config) in SkSurfaceCharacterization() 144 fConfig = config; in set() 159 GrPixelConfig fConfig; variable
|
/external/skqp/src/image/ |
D | SkImage_GpuBase.cpp | 117 desc.fConfig = proxy->config(); in onMakeSubset() 299 yuvaTexturesCopy[textureIndex].fConfig = in MakeTempTextureProxies() 301 if (yuvaTexturesCopy[textureIndex].fConfig == kUnknown_GrPixelConfig) { in MakeTempTextureProxies() 314 GrPixelConfig config = yuvaTexturesCopy[textureIndex].fConfig; in MakeTempTextureProxies() 420 , fConfig(config) in MakePromiseImageLazyProxy() 474 backendTexture.fConfig = fConfig; in MakePromiseImageLazyProxy() 486 builder[1] = fConfig; in MakePromiseImageLazyProxy() 595 GrPixelConfig fConfig; in MakePromiseImageLazyProxy() member in SkImage_GpuBase::MakePromiseImageLazyProxy::PromiseLazyInstantiateCallback 610 desc.fConfig = config; in MakePromiseImageLazyProxy()
|
/external/skia/src/sksl/dsl/ |
D | DSLRuntimeEffects.cpp | 24 SkSL::ProgramSettings& settings = DSLWriter::IRGenerator().fContext.fConfig->fSettings; in StartRuntimeShader() 36 SkSL::ProgramSettings& settings = DSLWriter::IRGenerator().fContext.fConfig->fSettings; in EndRuntimeShader()
|
/external/skqp/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()
|
/external/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 252 if (!gfChooseConfig(fDisplay, configAttribs, static_cast<EGLConfig *>(&fConfig), 1, in CommandBufferGLTestContext() 260 static_cast<EGLConfig>(fConfig), in CommandBufferGLTestContext() 275 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), eglShareContext, in CommandBufferGLTestContext() 389 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_STENCIL_SIZE, &result); in getStencilBits() 395 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &result); in getSampleCount()
|