Searched refs:numLights (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/core/
H A DSkLightingShader.h27 Builder(const SkLight lights[], int numLights) argument
28 : fLights(new Lights(lights, numLights)) {}
48 int numLights() const { function in class:SkLightingShader::Lights
58 Lights(const SkLight lights[], int numLights) : fLights(lights, numLights) {} argument
H A DSkLightingShader.cpp159 for (int i = 0; i < lights->numLights(); ++i) {
527 for (int l = 0; l < lightShader.fLights->numLights(); ++l) {
590 int numLights = buf.readInt(); local
594 for (int l = 0; l < numLights; ++l) {
631 buf.writeInt(fLights->numLights());
632 for (int l = 0; l < fLights->numLights(); ++l) {
/external/deqp/modules/gles2/performance/
H A Des2pShaderCompilationCases.cpp502 ShaderCompilerLightCase (Context& context, const char* name, const char* description, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, int numLights, LightType lightType);
668 InvalidShaderCompilerLightCase (Context& context, const char* name, const char* description, int caseID, InvalidityType invalidityType, bool isVertexCase, int numLights, LightType lightType);
757 static string lightVertexTemplate (int numLights, bool isVertexCase, LightType lightType)
771 for (int lightNdx = 0; lightNdx < numLights; lightNdx++)
801 "varying mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n"
802 "varying mediump float v_distanceToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n";
855 for (int lightNdx = 0; lightNdx < numLights; lightNdx++)
903 static string lightFragmentTemplate (int numLights, bool isVertexCase, LightType lightType)
916 for (int lightNdx = 0; lightNdx < numLights; lightNdx++)
945 "varying mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights)
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pShaderCompilationCases.cpp502 ShaderCompilerLightCase (Context& context, const char* name, const char* description, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, int numLights, LightType lightType);
668 InvalidShaderCompilerLightCase (Context& context, const char* name, const char* description, int caseID, InvalidityType invalidityType, bool isVertexCase, int numLights, LightType lightType);
757 static string lightVertexTemplate (int numLights, bool isVertexCase, LightType lightType)
772 for (int lightNdx = 0; lightNdx < numLights; lightNdx++)
802 "out mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n"
803 "out mediump float v_distanceToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n";
856 for (int lightNdx = 0; lightNdx < numLights; lightNdx++)
904 static string lightFragmentTemplate (int numLights, bool isVertexCase, LightType lightType)
921 for (int lightNdx = 0; lightNdx < numLights; lightNdx++)
950 "in mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights)
[all...]

Completed in 204 milliseconds