Home
last modified time | relevance | path

Searched refs:fpconfig (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/gl/
DGrGLCaps.cpp1843 for (auto fpconfig : {kRGBA_float_GrPixelConfig, kRG_float_GrPixelConfig}) { in initConfigTable()
1844 const GrGLenum format = kRGBA_float_GrPixelConfig == fpconfig ? GR_GL_RGBA : GR_GL_RG; in initConfigTable()
1845 fConfigTable[fpconfig].fFormats.fBaseInternalFormat = format; in initConfigTable()
1846 fConfigTable[fpconfig].fFormats.fSizedInternalFormat = in initConfigTable()
1847 kRGBA_float_GrPixelConfig == fpconfig ? GR_GL_RGBA32F : GR_GL_RG32F; in initConfigTable()
1848 fConfigTable[fpconfig].fFormats.fExternalFormat[kReadPixels_ExternalFormatUsage] = format; in initConfigTable()
1849 fConfigTable[fpconfig].fFormats.fExternalType = GR_GL_FLOAT; in initConfigTable()
1850 fConfigTable[fpconfig].fFormatType = kFloat_FormatType; in initConfigTable()
1852 fConfigTable[fpconfig].fFlags = rgIsTexturable ? ConfigInfo::kTextureable_Flag : 0; in initConfigTable()
1854 fConfigTable[fpconfig].fFlags |= fpRenderFlags; in initConfigTable()
[all …]
/external/OpenCL-CTS/test_common/harness/
DtestHarness.cpp410 cl_device_fp_config fpconfig = 0; in runTestHarnessWithCheck() local
411 err = clGetDeviceInfo(device, CL_DEVICE_SINGLE_FP_CONFIG, sizeof(fpconfig), in runTestHarnessWithCheck()
412 &fpconfig, NULL); in runTestHarnessWithCheck()
420 gFlushDenormsToZero = (0 == (fpconfig & CL_FP_DENORM)); in runTestHarnessWithCheck()