Home
last modified time | relevance | path

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

/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.c94 s->shininess = -1; in _tnl_CreateContext()
Dt_context.h395 GLfloat shininess; member
/external/skia/gm/
Dlighting.cpp83 SkScalar shininess = SkIntToScalar(8); in onDraw() local
129 shininess, in onDraw()
138 shininess, in onDraw()
150 shininess, in onDraw()
/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/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/skia/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/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/src/effects/imagefilters/
DSkLightingImageFilter.cpp178 SpecularLightingType(SkScalar ks, SkScalar shininess) in SpecularLightingType() argument
179 : fKS(ks), fShininess(shininess) {} in SpecularLightingType()
567 SkScalar ks, SkScalar shininess,
571 SkScalar shininess() const { return fShininess; } in shininess() function in SkSpecularLightingImageFilter
576 SkScalar shininess,
685 SkScalar shininess, in Make() argument
690 matrix, ks, shininess, boundaryMode, srcBounds)); in Make()
702 SkScalar shininess() const { return fShininess; } in shininess() function in GrSpecularLightingEffect
714 SkScalar shininess,
1394 SkScalar shininess, in Make() argument
[all …]
/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/mesa3d/src/mesa/main/
Dffvertex_prog.c1050 struct ureg shininess = get_material(p, 0, STATE_SHININESS); in build_lighting() local
1051 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X)); in build_lighting()
1052 release_temp(p, shininess); in build_lighting()
1067 struct ureg shininess = get_material(p, 1, STATE_SHININESS); in build_lighting() local
1069 negate(swizzle1(shininess,X))); in build_lighting()
1070 release_temp(p, shininess); in build_lighting()
/external/skia/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/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/v8/benchmarks/
Draytrace.js713 var shininess = Math.pow(10, info.shape.material.gloss + 1);
798 var glossWeight = Math.pow(Math.max(info.normal.dot(H), 0), shininess);
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l279 {dot}shininess { return SHININESS; }
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_cmd.h897 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()