Home
last modified time | relevance | path

Searched refs:shininess (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/mesa/tnl/
Dt_vb_light.c121 validate_shine_table( struct gl_context *ctx, GLuint side, GLfloat shininess ) in validate_shine_table() argument
130 if ( s->shininess == shininess ) in validate_shine_table()
143 if (shininess == 0.0F) { in validate_shine_table()
152 t = powf(x, shininess); in validate_shine_table()
161 s->shininess = shininess; in validate_shine_table()
177 GLfloat shininess; in _tnl_validate_shine_tables() local
179 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; in _tnl_validate_shine_tables()
180 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess) in _tnl_validate_shine_tables()
181 validate_shine_table( ctx, 0, shininess ); in _tnl_validate_shine_tables()
183 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; in _tnl_validate_shine_tables()
[all …]
Dt_context.c95 s->shininess = -1; in _tnl_CreateContext()
Dt_context.h397 GLfloat shininess; member
/external/skia/gm/
Dlighting.cpp93 SkScalar shininess = SkIntToScalar(8); in onDraw() local
142 pointLocation, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw()
146 distantDirection, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw()
151 surfaceScale, ks, shininess, input, cr)); in onDraw()
157 surfaceScale, ks, shininess, input, cr)); in onDraw()
163 surfaceScaleSmall, ks, shininess, input, cr)); in onDraw()
168 distantDirection, greenYellow, surfaceScale, 4.f * ks, shininess, input, cr)); in onDraw()
/external/skqp/include/effects/
DSkLightingImageFilter.h32 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr);
35 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr);
39 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr);
/external/skqp/gm/
Dlighting.cpp83 SkScalar shininess = SkIntToScalar(8); in onDraw() local
129 shininess, in onDraw()
138 shininess, in onDraw()
150 shininess, in onDraw()
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp181 SpecularLightingType(SkScalar ks, SkScalar shininess) in SpecularLightingType() argument
182 : fKS(ks), fShininess(shininess) {} in SpecularLightingType()
579 SkScalar ks, SkScalar shininess,
583 SkScalar shininess() const { return fShininess; } in shininess() function in SkSpecularLightingImageFilter
588 SkScalar shininess,
698 SkScalar shininess, in Make() argument
704 matrix, ks, shininess, boundaryMode, srcBounds, caps)); in Make()
716 SkScalar shininess() const { return fShininess; } in shininess() function in GrSpecularLightingEffect
728 SkScalar shininess,
1172 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect& cropRect) { in DistantLitSpecular() argument
[all …]
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp176 SpecularLightingType(SkScalar ks, SkScalar shininess) in SpecularLightingType() argument
177 : fKS(ks), fShininess(shininess) {} in SpecularLightingType()
565 SkScalar ks, SkScalar shininess,
569 SkScalar shininess() const { return fShininess; } in shininess() function in SkSpecularLightingImageFilter
574 SkScalar shininess,
683 SkScalar shininess, in Make() argument
688 matrix, ks, shininess, boundaryMode, srcBounds)); in Make()
700 SkScalar shininess() const { return fShininess; } in shininess() function in GrSpecularLightingEffect
712 SkScalar shininess,
1392 SkScalar shininess, in Make() argument
[all …]
/external/skia/include/effects/
DSkImageFilters.h450 SkScalar shininess, sk_sp<SkImageFilter> input,
467 SkScalar shininess, sk_sp<SkImageFilter> input,
489 SkScalar ks, SkScalar shininess,
/external/skqp/bench/
DLightingBench.cpp80 static SkScalar shininess = SkIntToScalar(8); in GetShininess() local
81 return shininess; in GetShininess()
/external/skia/bench/
DLightingBench.cpp80 static SkScalar shininess = SkIntToScalar(8); in GetShininess() local
81 return shininess; in GetShininess()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dshader.h25 GLint shininess; member
Dshader.c122 GET_UNIFORM_LOC(Lit, shininess); in getLocations()
Ddemo.c689 glUniform1f(sShaderLit.shininess, 60.f); in appInit()
/external/angle/doc/
DCompilingTranslatorWithEmscripten.md36 uniform float shininess;
60 dot(normal, halfVector), shininess);
/external/skia/fuzz/
DFuzzCanvas.cpp461 SkScalar surfaceScale, k, specularExponent, cutoffAngle, shininess; in make_fuzz_lighting_imagefilter() local
489 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
492 shininess, std::move(input), in make_fuzz_lighting_imagefilter()
495 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
498 shininess, std::move(input), in make_fuzz_lighting_imagefilter()
502 &shininess); in make_fuzz_lighting_imagefilter()
505 p, q, specularExponent, cutoffAngle, lightColor, surfaceScale, k, shininess, in make_fuzz_lighting_imagefilter()
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c1045 struct ureg shininess = get_material(p, 0, STATE_SHININESS); in build_lighting() local
1046 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X)); in build_lighting()
1047 release_temp(p, shininess); in build_lighting()
1062 struct ureg shininess = get_material(p, 1, STATE_SHININESS); in build_lighting() local
1064 negate(swizzle1(shininess,X))); in build_lighting()
1065 release_temp(p, shininess); in build_lighting()
/external/skqp/fuzz/
DFuzzCanvas.cpp488 SkScalar surfaceScale, k, specularExponent, cutoffAngle, shininess; in make_fuzz_lighting_imagefilter() local
516 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
519 shininess, std::move(input), in make_fuzz_lighting_imagefilter()
522 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
525 shininess, std::move(input), in make_fuzz_lighting_imagefilter()
529 &shininess); in make_fuzz_lighting_imagefilter()
532 p, q, specularExponent, cutoffAngle, lightColor, surfaceScale, k, shininess, in make_fuzz_lighting_imagefilter()
/external/mesa3d/docs/relnotes/
D10.5.6.rst111 - mesa: fix shininess check for ffvertex_prog v2
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l284 {dot}shininess { return SHININESS; }
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_cmd.h972 float shininess; member
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.h369 void setMaterialShininess(float shininess);
DContext.cpp737 void Context::setMaterialShininess(float shininess) in setMaterialShininess() argument
739 materialShininess = shininess; in setMaterialShininess()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c482 _debug_printf("\t\t.material.shininess = %f\n", (*cmd).material.shininess); in dump_SVGA3dCmdSetMaterial()
/external/skia/
DRELEASE_NOTES.txt101 lighting effect's exponent (shininess) to be clamped; not the spotlight's falloff. Any such

12