Home
last modified time | relevance | path

Searched refs:numParams (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dqueryconversions.cpp178 unsigned int numParams, in CastStateValues() argument
183 std::vector<GLint> intParams(numParams, 0); in CastStateValues()
186 for (unsigned int i = 0; i < numParams; ++i) in CastStateValues()
193 std::vector<GLboolean> boolParams(numParams, GL_FALSE); in CastStateValues()
196 for (unsigned int i = 0; i < numParams; ++i) in CastStateValues()
204 std::vector<GLfloat> floatParams(numParams, 0.0f); in CastStateValues()
207 for (unsigned int i = 0; i < numParams; ++i) in CastStateValues()
214 std::vector<GLint64> int64Params(numParams, 0); in CastStateValues()
217 for (unsigned int i = 0; i < numParams; ++i) in CastStateValues()
247 unsigned int numParams, in CastIndexedStateValues() argument
[all …]
Dqueryutils.cpp3048 unsigned int *numParams) in GetQueryParameterInfo() argument
3066 *numParams = static_cast<unsigned int>(caps.compressedTextureFormats.size()); in GetQueryParameterInfo()
3072 *numParams = static_cast<unsigned int>(caps.shaderBinaryFormats.size()); in GetQueryParameterInfo()
3139 *numParams = 1; in GetQueryParameterInfo()
3149 *numParams = 1; in GetQueryParameterInfo()
3160 *numParams = 1; in GetQueryParameterInfo()
3171 *numParams = 1; in GetQueryParameterInfo()
3177 *numParams = 2; in GetQueryParameterInfo()
3184 *numParams = 4; in GetQueryParameterInfo()
3203 *numParams = 1; in GetQueryParameterInfo()
[all …]
DvalidationES.cpp2273 GLsizei *numParams) in ValidateGetQueryivBase() argument
2275 if (numParams) in ValidateGetQueryivBase()
2277 *numParams = 0; in ValidateGetQueryivBase()
2308 if (numParams) in ValidateGetQueryivBase()
2311 *numParams = 1; in ValidateGetQueryivBase()
2347 GLsizei numParams = 0; in ValidateGetQueryivRobustANGLE() local
2349 if (!ValidateGetQueryivBase(context, entryPoint, target, pname, &numParams)) in ValidateGetQueryivRobustANGLE()
2354 if (!ValidateRobustBufferSize(context, entryPoint, bufSize, numParams)) in ValidateGetQueryivRobustANGLE()
2359 SetRobustLengthParam(length, numParams); in ValidateGetQueryivRobustANGLE()
2368 GLsizei *numParams) in ValidateGetQueryObjectValueBase() argument
[all …]
Dqueryconversions.h125 unsigned int numParams,
134 unsigned int numParams,
DvalidationES.h244 GLsizei *numParams);
261 GLsizei *numParams);
369 unsigned int *numParams);
387 unsigned int *numParams);
628 GLsizei numParams);
635 GLsizei *numParams);
642 GLsizei *numParams);
648 GLsizei *numParams);
795 GLsizei *numParams);
DContext_gles_1_0.cpp203 unsigned int numParams = 0; in getFixedv() local
205 getQueryParameterInfo(pname, &nativeType, &numParams); in getFixedv()
207 std::vector<GLfloat> paramsf(numParams, 0); in getFixedv()
208 CastStateValues(this, nativeType, pname, numParams, paramsf.data()); in getFixedv()
210 for (unsigned int i = 0; i < numParams; i++) in getFixedv()
DvalidationES3.cpp3021 GLsizei numParams = 0; in ValidateGetBufferPointervRobustANGLE() local
3029 if (!ValidateGetBufferPointervBase(context, entryPoint, target, pname, &numParams, params)) in ValidateGetBufferPointervRobustANGLE()
3034 if (!ValidateRobustBufferSize(context, entryPoint, bufSize, numParams)) in ValidateGetBufferPointervRobustANGLE()
3039 SetRobustLengthParam(length, numParams); in ValidateGetBufferPointervRobustANGLE()
3098 unsigned int numParams; in ValidateIndexedStateQuery() local
3099 if (!context->getIndexedQueryParameterInfo(pname, &nativeType, &numParams)) in ValidateIndexedStateQuery()
3289 GLsizei numParams = 0; in ValidateGetIntegeri_vRobustANGLE() local
3291 if (!ValidateIndexedStateQuery(context, entryPoint, target, index, &numParams)) in ValidateGetIntegeri_vRobustANGLE()
3296 if (!ValidateRobustBufferSize(context, entryPoint, bufSize, numParams)) in ValidateGetIntegeri_vRobustANGLE()
3301 SetRobustLengthParam(length, numParams); in ValidateGetIntegeri_vRobustANGLE()
[all …]
DContext.cpp2191 unsigned int numParams; in getIntegeri_v() local
2192 bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams); in getIntegeri_v()
2213 CastIndexedStateValues(this, nativeType, target, index, numParams, data); in getIntegeri_v()
2232 unsigned int numParams; in getInteger64i_v() local
2233 bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams); in getInteger64i_v()
2242 CastIndexedStateValues(this, nativeType, target, index, numParams, data); in getInteger64i_v()
2261 unsigned int numParams; in getBooleani_v() local
2262 bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams); in getBooleani_v()
2271 CastIndexedStateValues(this, nativeType, target, index, numParams, data); in getBooleani_v()
6755 unsigned int numParams = 0; in getBooleanv() local
[all …]
DContext.h535 bool getQueryParameterInfo(GLenum pname, GLenum *type, unsigned int *numParams) const;
536 bool getIndexedQueryParameterInfo(GLenum target, GLenum *type, unsigned int *numParams) const;
Dqueryutils.h258 unsigned int *numParams);
DvalidationES31.cpp421 GLsizei numParams = 0; in ValidateGetBooleani_vRobustANGLE() local
423 if (!ValidateIndexedStateQuery(context, entryPoint, target, index, &numParams)) in ValidateGetBooleani_vRobustANGLE()
428 if (!ValidateRobustBufferSize(context, entryPoint, bufSize, numParams)) in ValidateGetBooleani_vRobustANGLE()
433 SetRobustLengthParam(length, numParams); in ValidateGetBooleani_vRobustANGLE()
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp223 int numParams = 0; in writeFPFunction() local
225 params[numParams++] = GrShaderVar(inputColor, kHalf4_GrSLType); in writeFPFunction()
229 params[numParams++] = GrShaderVar(kDstColor, kHalf4_GrSLType); in writeFPFunction()
233 params[numParams++] = GrShaderVar(sampleCoords, kFloat2_GrSLType); in writeFPFunction()
266 SkASSERT(numParams <= (int)SK_ARRAY_COUNT(params)); in writeFPFunction()
284 SkMakeSpan(params, numParams), in writeFPFunction()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv3.cpp1562 unsigned int numParams = 0; in GetIntegeri_v() local
1563 if(!context->getQueryParameterInfo(target, &nativeType, &numParams)) in GetIntegeri_v()
1566 if(numParams == 0) in GetIntegeri_v()
1572 boolParams = new GLboolean[numParams]; in GetIntegeri_v()
1576 for(unsigned int i = 0; i < numParams; ++i) in GetIntegeri_v()
1586 floatParams = new GLfloat[numParams]; in GetIntegeri_v()
1590 for(unsigned int i = 0; i < numParams; ++i) in GetIntegeri_v()
2922 unsigned int numParams = 0; in GetInteger64v() local
2923 if(!context->getQueryParameterInfo(pname, &nativeType, &numParams)) in GetInteger64v()
2926 if(numParams == 0) in GetInteger64v()
[all …]
DlibGLESv2.cpp2396 unsigned int numParams = 0; in GetBooleanv() local
2397 if(!context->getQueryParameterInfo(pname, &nativeType, &numParams)) in GetBooleanv()
2400 if(numParams == 0) in GetBooleanv()
2406 floatParams = new GLfloat[numParams]; in GetBooleanv()
2410 for(unsigned int i = 0; i < numParams; ++i) in GetBooleanv()
2423 intParams = new GLint[numParams]; in GetBooleanv()
2427 for(unsigned int i = 0; i < numParams; ++i) in GetBooleanv()
2531 unsigned int numParams = 0; in GetFloatv() local
2532 if(!context->getQueryParameterInfo(pname, &nativeType, &numParams)) in GetFloatv()
2535 if(numParams == 0) in GetFloatv()
[all …]
DContext.cpp2514 bool Context::getQueryParameterInfo(GLenum pname, GLenum *type, unsigned int *numParams) const in getQueryParameterInfo()
2528 *numParams = NUM_COMPRESSED_TEXTURE_FORMATS; in getQueryParameterInfo()
2534 *numParams = 0; in getQueryParameterInfo()
2671 *numParams = 1; in getQueryParameterInfo()
2677 *numParams = 1; in getQueryParameterInfo()
2683 *numParams = 2; in getQueryParameterInfo()
2690 *numParams = 4; in getQueryParameterInfo()
2711 *numParams = 1; in getQueryParameterInfo()
2717 *numParams = 4; in getQueryParameterInfo()
2727 *numParams = 1; in getQueryParameterInfo()
[all …]
/third_party/lzma/Asm/x86/
D7zAsm.asm59 MY_PROC macro name:req, numParams:req
61 proc_numParams = numParams
69 proc_name equ @CatStr(@,name,@, %numParams * 4)
DAesOpt.asm51 MY_SEG_PROC macro name:req, numParams:req
54 MY_PROC name, numParams
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.cpp220 int numParams = getParamCount(); in dump() local
221 for (int i = 0; i < numParams; i++) { in dump()
225 << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : ""); in dump()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOperatorTests.cpp1478 int numParams = 0; in generateSingleProgramData() local
1491 numParams = i+1; in generateSingleProgramData()
1494 DE_ASSERT(numParams > 0); in generateSingleProgramData()
1499 int numAttributes = FUNCTION_CASE_NUM_INDEPENDENT_CALCULATIONS + numParams - 1; in generateSingleProgramData()
1531 for (int paramNdx = 0; paramNdx < numParams; paramNdx++) in generateSingleProgramData()
1551 for (int paramNdx = 0; paramNdx < numParams; paramNdx++) in generateSingleProgramData()
1602 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData()
1617 for (int paramNdx = 0; paramNdx < numParams; paramNdx++) in generateSingleProgramData()
1649 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData()
1679 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData()
[all …]
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOperatorTests.cpp1474 int numParams = 0; in generateSingleProgramData() local
1487 numParams = i+1; in generateSingleProgramData()
1490 DE_ASSERT(numParams > 0); in generateSingleProgramData()
1495 int numAttributes = FUNCTION_CASE_NUM_INDEPENDENT_CALCULATIONS + numParams - 1; in generateSingleProgramData()
1523 for (int paramNdx = 0; paramNdx < numParams; paramNdx++) in generateSingleProgramData()
1543 for (int paramNdx = 0; paramNdx < numParams; paramNdx++) in generateSingleProgramData()
1594 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData()
1609 for (int paramNdx = 0; paramNdx < numParams; paramNdx++) in generateSingleProgramData()
1641 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData()
1671 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dangle_test_instantiate.h63 std::vector<T> FilterTestParams(const T *params, size_t numParams) in FilterTestParams() argument
67 for (size_t i = 0; i < numParams; i++) in FilterTestParams()
/third_party/skia/third_party/externals/dawn/src/tests/
DParamGenerator.h123 size_t numParams);
DDawnTest.cpp547 size_t numParams) { in GetAvailableAdapterTestParamsForBackends() argument
549 for (size_t i = 0; i < numParams; ++i) { in GetAvailableAdapterTestParamsForBackends()
1553 size_t numParams) { in GetAvailableAdapterTestParamsForBackends() argument
1555 return gTestEnv->GetAvailableAdapterTestParamsForBackends(params, numParams); in GetAvailableAdapterTestParamsForBackends()
DDawnTest.h217 size_t numParams);
707 size_t numParams);
/third_party/glslang/SPIRV/
DspvIR.h496 int numParams = typeInst->getNumOperands() - 1; in Function() local
497 for (int p = 0; p < numParams; ++p) { in Function()

12