/external/skia/src/effects/ |
D | SkHighContrastFilter.cpp | 28 fConfig = config; in SkHighContrast_Filter() 30 fConfig.fContrast = SkScalarPin(fConfig.fContrast, in SkHighContrast_Filter() 54 SkHighContrastConfig fConfig; member in SkHighContrast_Filter 81 if (fConfig.fGrayscale) { in onAppendStages() 92 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages() 97 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages() 106 if (fConfig.fContrast != 0.0) { in onAppendStages() 108 float c = fConfig.fContrast; in onAppendStages() 136 buffer.writeBool(fConfig.fGrayscale); in flatten() 137 buffer.writeInt(static_cast<int>(fConfig.fInvertStyle)); in flatten() [all …]
|
/external/skia/src/gpu/ |
D | GrBackendSurface.cpp | 21 , fConfig(GrVkFormatToPixelConfig(vkInfo.fFormat)) in GrBackendTexture() 32 , fConfig(config) in GrBackendTexture() 42 , fConfig(config) in GrBackendTexture() 49 , fConfig(desc.fConfig) in GrBackendTexture() 59 fConfig = GrVkFormatToPixelConfig(vkInfo->fFormat); in GrBackendTexture() 68 fConfig = kUnknown_GrPixelConfig; in GrBackendTexture() 108 , fConfig(GrVkFormatToPixelConfig(vkInfo.fFormat)) in GrBackendRenderTarget() 123 , fConfig(config) in GrBackendRenderTarget() 133 , fConfig(desc.fConfig) in GrBackendRenderTarget() 142 fConfig = GrVkFormatToPixelConfig(vkInfo->fFormat); in GrBackendRenderTarget() [all …]
|
D | GrSurfaceProxy.cpp | 25 , fConfig(fTarget->config()) in GrSurfaceProxy() 48 desc.fConfig = fConfig; in createSurfaceImpl() 162 if (!caps->isConfigTexturable(desc.fConfig)) { in MakeDeferred() 167 if (willBeRT && !caps->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in MakeDeferred() 188 copyDesc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig); in MakeDeferred() 275 dstDesc.fConfig = src->config(); in Copy()
|
D | GrSurface.cpp | 32 SkASSERT(kUnknown_GrPixelConfig != desc.fConfig); in WorstCaseSize() 33 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize() 42 size = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
|
D | GrGpu.cpp | 95 if (!caps.isConfigTexturable(desc.fConfig)) { in check_texture_creation_params() 99 if (GrPixelConfigIsSint(desc.fConfig) && mipLevelCount > 1) { in check_texture_creation_params() 104 if (*isRT && !caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in check_texture_creation_params() 146 desc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig); in createTexture() 287 !this->caps()->isConfigRenderable(tempDrawInfo->fTempSurfaceDesc.fConfig, false)) { in getReadPixelsInfo() 312 !this->caps()->isConfigTexturable(tempDrawInfo->fTempSurfaceDesc.fConfig)) { in getWritePixelsInfo()
|
D | GrYUVProvider.cpp | 101 yuvDesc.fConfig = kAlpha_8_GrPixelConfig; in refAsTextureProxy() 129 desc.fConfig, nullptr, in refAsTextureProxy() 149 if (GrPixelConfigIsSRGB(desc.fConfig)) { in refAsTextureProxy()
|
D | GrOpFlushState.cpp | 66 desc.fConfig = surface->config(); in doUpload() 75 if (!fGpu->writePixels(temp.get(), 0, 0, width, height, desc.fConfig, buffer, rowBytes)) { in doUpload()
|
D | GrResourceProvider.cpp | 58 if (!caps.isConfigTexturable(desc.fConfig)) { in validate_desc() 62 if (!caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in validate_desc() 70 if (levelCount > 1 && (GrPixelConfigIsSint(desc.fConfig) || !caps.mipMapSupport())) { in validate_desc() 141 if (make_info(desc.fWidth, desc.fHeight, desc.fConfig, &srcInfo)) { in createTextureProxy()
|
/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/skia/tests/ |
D | GrSurfaceTest.cpp | 27 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 117 desc.fConfig = config; in DEF_GPUTEST_FOR_ALL_CONTEXTS() 120 … REPORTER_ASSERT(reporter, SkToBool(tex.get()) == caps->isConfigTexturable(desc.fConfig)); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 122 size_t rowBytes = desc.fWidth * GrBytesPerPixel(desc.fConfig); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 132 (caps->isConfigTexturable(desc.fConfig) && in DEF_GPUTEST_FOR_ALL_CONTEXTS() 134 !GrPixelConfigIsSint(desc.fConfig))); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 158 desc.fConfig = static_cast<GrPixelConfig>(c); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 159 if (!context_info.grContext()->caps()->isConfigTexturable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 164 if (rt && !context->caps()->isConfigRenderable(desc.fConfig, false)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 195 uint32_t cmp = GrPixelConfigIsOpaque(desc.fConfig) ? 0xFF000000 : 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ImageStorageTest.cpp | 108 GrPixelConfig fConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() member 126 if (!context->caps()->canConfigBeImageStorage(test.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 129 desc.fConfig = test.fConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | SRGBReadWritePixelsTest.cpp | 174 desc.fConfig = kSRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 175 if (context->caps()->isConfigRenderable(desc.fConfig, false) && in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 176 context->caps()->isConfigTexturable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 217 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProxyConversionTest.cpp | 27 desc.fConfig, fboInfo); in make_wrapped_FBO0() 63 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 127 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ReadWriteAlphaTest.cpp | 53 desc.fConfig = kAlpha_8_GrPixelConfig; // it is a single channel texture in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 desc.fConfig = config; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 172 if (!rt && kRGBA_8888_GrPixelConfig == desc.fConfig) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 53 desc.fConfig = config; in runFPTest() 69 desc.fConfig, nullptr, in runFPTest()
|
D | TestUtils.cpp | 73 copyDstDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_from_surface() 105 copySrcDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_to_surface()
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 22 GrBackendTexture() : fConfig(kUnknown_GrPixelConfig) {} in GrBackendTexture() 42 GrPixelConfig config() const { return fConfig; } in config() 60 bool isValid() const { return fConfig != kUnknown_GrPixelConfig; } in isValid() 71 GrPixelConfig fConfig; variable 104 GrPixelConfig config() const { return fConfig; } in config() 129 GrPixelConfig fConfig; variable
|
D | GrSurface.h | 49 GrPixelConfig config() const { return fConfig; } in config() 82 , fConfig(desc.fConfig) in GrSurface() 93 GrPixelConfig fConfig;
|
D | GrTypes.h | 598 , fConfig(kUnknown_GrPixelConfig) in GrSurfaceDesc() 612 GrPixelConfig fConfig; member 688 GrPixelConfig fConfig; //<! color format member 718 GrPixelConfig fConfig; //<! color format member
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 54 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 55 highest_filter_mode(idDesc, desc.fConfig), false) { in GrGLTexture() 64 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 65 highest_filter_mode(idDesc, desc.fConfig), in GrGLTexture() 73 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 74 highest_filter_mode(idDesc, desc.fConfig), false) { in GrGLTexture() 82 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 83 highest_filter_mode(idDesc, desc.fConfig), in GrGLTexture()
|
D | GrGLGpu.cpp | 574 surfDesc.fConfig = backendTex.config(); in onWrapBackendTexture() 615 desc.fConfig = backendRT.config(); in onWrapBackendRenderTarget() 649 surfDesc.fConfig = tex.config(); in onWrapBackendTextureAsRenderTarget() 714 tempDrawInfo->fTempSurfaceDesc.fConfig = srcConfig; in onGetWritePixelsInfo() 725 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo() 731 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo() 739 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo() 1274 if (!this->glCaps().getRenderbufferFormat(desc.fConfig, &colorRenderbufferFormat)) { in createRenderTargetObjects() 1298 if (!this->glCaps().isConfigVerifiedColorAttachment(desc.fConfig)) { in createRenderTargetObjects() 1303 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() [all …]
|
/external/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 176 if (!gfChooseConfig(fDisplay, configAttribs, static_cast<EGLConfig *>(&fConfig), 1, in CommandBufferGLTestContext() 184 static_cast<EGLConfig>(fConfig), in CommandBufferGLTestContext() 199 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), eglShareContext, in CommandBufferGLTestContext() 296 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_STENCIL_SIZE, &result); in getStencilBits() 302 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &result); in getSampleCount()
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 211 GrPixelConfig config() const { return fConfig; } in config() 342 : fConfig(desc.fConfig) in GrSurfaceProxy() 384 GrPixelConfig fConfig; variable
|
/external/skia/src/gpu/vk/ |
D | GrVkTexture.cpp | 36 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), in GrVkTexture() 51 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), in GrVkTexture() 66 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), in GrVkTexture()
|
/external/skia/gm/ |
D | highcontrastfilter.cpp | 93 SkHighContrastConfig fConfig; in HighContrastFilterGM() local 94 fFilter = SkHighContrastFilter::Make(fConfig); in HighContrastFilterGM()
|