Home
last modified time | relevance | path

Searched refs:fConfig (Results 1 – 25 of 197) sorted by relevance

12345678

/external/skqp/src/effects/
DSkHighContrastFilter.cpp29 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/
DSkHighContrastFilter.cpp29 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/
DGrBackendSurface.h22 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
DGrSurface.h44 GrPixelConfig config() const { return fConfig; } in config()
77 , fConfig(desc.fConfig) in GrSurface()
87 GrPixelConfig fConfig;
/external/skia/bench/
DResultsWriter.h86 , 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/
DResultsWriter.h86 , 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/
DGrSurfaceTest.cpp35 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/
DGrSurfaceTest.cpp35 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 …]
DTraceMemoryDumpTest.cpp93 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()
DTransferPixelsTest.cpp107 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/
DGrBackendSurface.h85 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
DGrSurface.h44 GrPixelConfig config() const { return fConfig; } in config()
77 , fConfig(desc.fConfig) in GrSurface()
89 GrPixelConfig fConfig; variable
/external/skqp/src/gpu/
DGrBackendSurface.cpp23 , 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()
DGrSurfaceProxy.cpp28 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()
DGrColorSpaceInfo.h32 GrPixelConfig config() const { return fConfig; } in config()
37 GrPixelConfig fConfig; variable
/external/skia/src/gpu/
DGrBackendSurface.cpp72 , 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()
DGrSurfaceProxy.cpp28 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()
DGrColorSpaceInfo.h32 GrPixelConfig config() const { return fConfig; } in config()
37 GrPixelConfig fConfig; variable
DGrBackendTextureImageGenerator.cpp68 , fConfig(backendTex.config()) in GrBackendTextureImageGenerator()
128 desc.fConfig = fConfig; in onGenerateTexture()
188 if (GrPixelConfigIsSRGB(desc.fConfig)) { in onGenerateTexture()
/external/skia/include/private/
DSkSurfaceCharacterization.h43 , 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/
DGrGLTexture.cpp46 , 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/
DGrGLTexture.cpp55 , 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/
DSkSurfaceCharacterization.h41 , 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/
Dskia_internal.diff16 SkASSERT(fConfig);
17 (*fConfig)[name] = ms;
22 + SkASSERT(fConfig);
28 + (*fConfig)[name] = value;
Dskia_aosp.diff16 SkASSERT(fConfig);
17 (*fConfig)[name] = ms;
22 + SkASSERT(fConfig);
28 + (*fConfig)[name] = value;

12345678