/external/skqp/src/effects/ |
D | SkHighContrastFilter.cpp | 29 fConfig = config; in SkHighContrast_Filter() 31 fConfig.fContrast = SkScalarPin(fConfig.fContrast, in SkHighContrast_Filter() 56 SkHighContrastConfig fConfig; member in SkHighContrast_Filter 83 if (fConfig.fGrayscale) { in onAppendStages() 94 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages() 99 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages() 108 if (fConfig.fContrast != 0.0) { in onAppendStages() 110 float c = fConfig.fContrast; in onAppendStages() 138 buffer.writeBool(fConfig.fGrayscale); in flatten() 139 buffer.writeInt(static_cast<int>(fConfig.fInvertStyle)); in flatten() [all …]
|
/external/skia/src/effects/ |
D | SkHighContrastFilter.cpp | 29 fConfig = config; in SkHighContrast_Filter() 31 fConfig.fContrast = SkScalarPin(fConfig.fContrast, in SkHighContrast_Filter() 56 SkHighContrastConfig fConfig; member in SkHighContrast_Filter 83 if (fConfig.fGrayscale) { in onAppendStages() 94 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages() 99 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages() 108 if (fConfig.fContrast != 0.0) { in onAppendStages() 110 float c = fConfig.fContrast; in onAppendStages() 138 buffer.writeBool(fConfig.fGrayscale); in flatten() 139 buffer.writeInt(static_cast<int>(fConfig.fInvertStyle)); in flatten() [all …]
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 22 GrBackendTexture() : fConfig(kUnknown_GrPixelConfig) {} in GrBackendTexture() 82 bool isValid() const { return fConfig != kUnknown_GrPixelConfig; } in isValid() 93 GrPixelConfig config() const { return fConfig; } in config() 97 GrPixelConfig fConfig; variable 113 GrBackendRenderTarget() : fConfig(kUnknown_GrPixelConfig) {} in GrBackendRenderTarget() 156 bool isValid() const { return fConfig != kUnknown_GrPixelConfig; } in isValid() 166 GrPixelConfig config() const { return fConfig; } in config() 173 GrPixelConfig fConfig; variable
|
D | GrSurface.h | 44 GrPixelConfig config() const { return fConfig; } in config() 77 , fConfig(desc.fConfig) in GrSurface() 87 GrPixelConfig fConfig;
|
/external/skia/bench/ |
D | ResultsWriter.h | 86 , fConfig(nullptr) {} in NanoJSONResultsWriter() 107 fConfig = &(*fBench)[name]; in config() 110 (*fConfig)["options"][name] = value; in configOption() 117 SkASSERT(fConfig); in metric() 118 (*fConfig)[name] = ms; in metric() 121 SkASSERT(fConfig); in metrics() 128 (*fConfig)[name] = std::move(value); in metrics() 149 Json::Value* fConfig; variable
|
/external/skqp/bench/ |
D | ResultsWriter.h | 86 , fConfig(nullptr) {} in NanoJSONResultsWriter() 107 fConfig = &(*fBench)[name]; in config() 110 (*fConfig)["options"][name] = value; in configOption() 117 SkASSERT(fConfig); in metric() 118 (*fConfig)[name] = ms; in metric() 121 SkASSERT(fConfig); in metrics() 128 (*fConfig)[name] = std::move(value); in metrics() 149 Json::Value* fConfig; variable
|
/external/skqp/tests/ |
D | GrSurfaceTest.cpp | 35 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 122 desc.fConfig = config; in DEF_GPUTEST_FOR_ALL_CONTEXTS() 126 bool ict = caps->isConfigTexturable(desc.fConfig); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 130 size_t rowBytes = desc.fWidth * GrBytesPerPixel(desc.fConfig); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 140 (caps->isConfigTexturable(desc.fConfig) && in DEF_GPUTEST_FOR_ALL_CONTEXTS() 142 !GrPixelConfigIsSint(desc.fConfig))); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 175 desc.fConfig = static_cast<GrPixelConfig>(c); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 176 if (!context_info.grContext()->caps()->isConfigTexturable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 181 if (rt && !context->caps()->isConfigRenderable(desc.fConfig, false)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 204 uint32_t cmp = GrPixelConfigIsOpaque(desc.fConfig) ? 0xFF000000 : 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/skia/tests/ |
D | GrSurfaceTest.cpp | 35 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() 123 (caps->isConfigTexturable(desc.fConfig) && in DEF_GPUTEST_FOR_ALL_CONTEXTS() 157 desc.fConfig = static_cast<GrPixelConfig>(c); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 159 if (GrPixelConfigIsSRGB(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 162 if (!context_info.grContext()->caps()->isConfigTexturable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 167 if (rt && !context->caps()->isConfigRenderable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 189 uint32_t cmp = GrPixelConfigIsOpaque(desc.fConfig) ? 0xFF000000 : 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 192 ERRORF(reporter, "Failed on config %d", desc.fConfig); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | TraceMemoryDumpTest.cpp | 93 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 119 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 | 107 desc.fConfig = GrColorTypeToPixelConfig(colorType, srgbEncoding); in basic_transfer_test() 110 if (kUnknown_GrPixelConfig == desc.fConfig) { in basic_transfer_test() 115 if (!context->caps()->isConfigTexturable(desc.fConfig) || in basic_transfer_test() 116 (renderTarget && !context->caps()->isConfigRenderable(desc.fConfig))) { in basic_transfer_test()
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 85 GrBackendTexture() : fConfig(kUnknown_GrPixelConfig) {} in GrBackendTexture() 145 bool isValid() const { return fConfig != kUnknown_GrPixelConfig; } in isValid() 158 GrPixelConfig config() const { return fConfig; } in config() 162 GrPixelConfig fConfig; variable 178 GrBackendRenderTarget() : fConfig(kUnknown_GrPixelConfig) {} in GrBackendRenderTarget() 221 bool isValid() const { return fConfig != kUnknown_GrPixelConfig; } in isValid() 234 GrPixelConfig config() const { return fConfig; } in config() 241 GrPixelConfig fConfig; variable
|
D | GrSurface.h | 44 GrPixelConfig config() const { return fConfig; } in config() 77 , fConfig(desc.fConfig) in GrSurface() 89 GrPixelConfig fConfig; variable
|
/external/skqp/src/gpu/ |
D | GrBackendSurface.cpp | 23 , fConfig(GrVkFormatToPixelConfig(vkInfo.fFormat)) in GrBackendTexture() 42 , fConfig(config) in GrBackendTexture() 53 , fConfig(GrGLSizedFormatToPixelConfig(glInfo.fFormat)) in GrBackendTexture() 71 , fConfig(config) in GrBackendTexture() 111 , fConfig(GrVkFormatToPixelConfig(vkInfo.fFormat)) in GrBackendRenderTarget() 126 , fConfig(config) in GrBackendRenderTarget() 139 , fConfig(GrGLSizedFormatToPixelConfig(glInfo.fFormat)) in GrBackendRenderTarget()
|
D | GrSurfaceProxy.cpp | 28 desc.fConfig != kUnknown_GrPixelConfig && in is_valid_fully_lazy() 36 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_partially_lazy() 42 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_non_lazy() 49 : fConfig(desc.fConfig) in GrSurfaceProxy() 72 , fConfig(fTarget->config()) in GrSurfaceProxy() 128 desc.fConfig = fConfig; in createSurfaceImpl() 278 dstDesc.fConfig = src->config(); in Copy() 375 SkASSERT(texture->config() == fProxy->fConfig); in doLazyInstantiation()
|
D | GrColorSpaceInfo.h | 32 GrPixelConfig config() const { return fConfig; } in config() 37 GrPixelConfig fConfig; variable
|
/external/skia/src/gpu/ |
D | GrBackendSurface.cpp | 72 , fConfig(GrVkFormatToPixelConfig(vkInfo.fFormat)) in GrBackendTexture() 91 , fConfig(config) in GrBackendTexture() 102 , fConfig(GrGLSizedFormatToPixelConfig(glInfo.fFormat)) in GrBackendTexture() 120 , fConfig(config) in GrBackendTexture() 160 , fConfig(GrVkFormatToPixelConfig(vkInfo.fFormat)) in GrBackendRenderTarget() 175 , fConfig(config) in GrBackendRenderTarget() 188 , fConfig(GrGLSizedFormatToPixelConfig(glInfo.fFormat)) in GrBackendRenderTarget()
|
D | GrSurfaceProxy.cpp | 28 desc.fConfig != kUnknown_GrPixelConfig && in is_valid_fully_lazy() 36 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_partially_lazy() 42 desc.fConfig != kUnknown_GrPixelConfig; in is_valid_non_lazy() 50 : fConfig(desc.fConfig) in GrSurfaceProxy() 73 , fConfig(fTarget->config()) in GrSurfaceProxy() 128 desc.fConfig = fConfig; in createSurfaceImpl() 306 dstDesc.fConfig = src->config(); in Copy() 314 if (GrPixelConfigIsSRGB(dstDesc.fConfig)) { in Copy() 400 SkASSERT(surface->config() == fProxy->fConfig); in doLazyInstantiation()
|
D | GrColorSpaceInfo.h | 32 GrPixelConfig config() const { return fConfig; } in config() 37 GrPixelConfig fConfig; variable
|
D | GrBackendTextureImageGenerator.cpp | 68 , fConfig(backendTex.config()) in GrBackendTextureImageGenerator() 128 desc.fConfig = fConfig; in onGenerateTexture() 188 if (GrPixelConfigIsSRGB(desc.fConfig)) { in onGenerateTexture()
|
/external/skia/include/private/ |
D | SkSurfaceCharacterization.h | 43 , fConfig(kUnknown_GrPixelConfig) in SkSurfaceCharacterization() 61 bool isValid() const { return kUnknown_GrPixelConfig != fConfig; } in isValid() 66 GrPixelConfig config() const { return fConfig; } in config() 91 , fConfig(config) in SkSurfaceCharacterization() 119 fConfig = config; in set() 134 GrPixelConfig fConfig; variable
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 46 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 47 highest_filter_mode(idDesc, desc.fConfig), mipMapsStatus) { in GrGLTexture() 55 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 56 highest_filter_mode(idDesc, desc.fConfig), mipMapsStatus) { in GrGLTexture() 64 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 65 highest_filter_mode(idDesc, desc.fConfig), mipMapsStatus) { in GrGLTexture()
|
/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 55 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 56 highest_filter_mode(idDesc, desc.fConfig), mipMapsStatus) { in GrGLTexture() 64 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 65 highest_filter_mode(idDesc, desc.fConfig), mipMapsStatus) { in GrGLTexture() 73 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 74 highest_filter_mode(idDesc, desc.fConfig), mipMapsStatus) { in GrGLTexture()
|
/external/skqp/include/private/ |
D | SkSurfaceCharacterization.h | 41 , fConfig(kUnknown_GrPixelConfig) in SkSurfaceCharacterization() 60 GrPixelConfig config() const { return fConfig; } in config() 87 fConfig = config; in set() 101 GrPixelConfig fConfig; variable
|
/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;
|