Searched defs:light (Results 26 - 48 of 48) sorted by relevance

12

/external/skia/samplecode/
H A DSampleFilterFuzz.cpp469 SkEmbossMaskFilter::Light light; local
471 light.fDirection[i] = make_scalar();
473 light.fPad = R(65536);
474 light.fAmbient = R(256);
475 light.fSpecular = R(256);
476 maskFilter = SkEmbossMaskFilter::Make(make_scalar(), light);
/external/skia/tests/
H A DBlurTest.cpp518 SkEmbossMaskFilter::Light light = { local
523 auto mf(SkEmbossMaskFilter::Make(sigma, light));
/external/swiftshader/src/Renderer/
H A DContext.cpp324 const Point &Context::getLightPosition(int light) argument
326 return worldLightPosition[light];
344 void Context::setLightEnable(int light, bool lightEnable) argument
346 Context::lightEnable[light] = lightEnable;
349 void Context::setLightPosition(int light, Point worldLightPosition) argument
351 Context::worldLightPosition[light] = worldLightPosition;
H A DVertexProcessor.cpp262 void VertexProcessor::setLightEnable(unsigned int light, bool lightEnable) argument
264 if(light < 8)
266 context->setLightEnable(light, lightEnable);
280 void VertexProcessor::setLightPosition(unsigned int light, const Point &lightPosition) argument
282 if(light < 8)
284 context->setLightPosition(light, lightPosition);
291 void VertexProcessor::setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse) argument
293 if(light < 8)
295 ff.lightDiffuse[light][0] = lightDiffuse.r;
296 ff.lightDiffuse[light][
303 setLightSpecular(unsigned int light, const Color<float> &lightSpecular) argument
315 setLightAmbient(unsigned int light, const Color<float> &lightAmbient) argument
327 setLightAttenuation(unsigned int light, float constant, float linear, float quadratic) argument
338 setLightRange(unsigned int light, float lightRange) argument
432 setLightViewPosition(unsigned int light, const Point &P) argument
[all...]
/external/ImageMagick/MagickCore/
H A Deffect.c1666 % light-dark transitions. Local contrast enhancement works similarly to
3377 % ShadeImage() shines a distant light on an image to create a
3378 % three-dimensional effect. You control the positioning of the light with
3393 % o azimuth, elevation: Define the light source direction.
3418 light;
3449 Compute the light vector.
3451 light.x=(double) QuantumRange*cos(DegreesToRadians(azimuth))*
3453 light.y=(double) QuantumRange*sin(DegreesToRadians(azimuth))*
3455 light.z=(double) QuantumRange*sin(DegreesToRadians(elevation));
3531 shade=light
3402 light; local
[all...]
/external/mesa3d/src/mesa/main/
H A Dffvertex_prog.c188 struct gl_light *light = &ctx->Light.Light[i]; local
190 if (light->Enabled) {
193 if (light->EyePosition[3] == 0.0)
196 if (light->SpotCutoff == 180.0)
199 if (light->ConstantAttenuation != 1.0 ||
200 light->LinearAttenuation != 0.0 ||
201 light->QuadraticAttenuation != 0.0)
928 static struct ureg get_lightprod( struct tnl_program *p, GLuint light, argument
934 register_param3(p, STATE_LIGHT, light, property);
941 return register_param4(p, STATE_LIGHTPROD, light, sid
[all...]
H A Ddlist.c57 #include "light.h"
2612 save_Lightfv(GLenum light, GLenum pname, const GLfloat *params) argument
2620 n[1].e = light;
2661 CALL_Lightfv(ctx->Exec, (light, pname, params));
2667 save_Lightf(GLenum light, GLenum pname, GLfloat param) argument
2672 save_Lightfv(light, pname, parray);
2677 save_Lightiv(GLenum light, GLenum pname, const GLint *params) argument
2711 save_Lightfv(light, pname, fparam);
2716 save_Lighti(GLenum light, GLenum pname, GLint param) argument
2721 save_Lightiv(light, pnam
9280 exec_GetLightfv(GLenum light, GLenum pname, GLfloat *params) argument
9288 exec_GetLightiv(GLenum light, GLenum pname, GLint *params) argument
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DGLErrorLogger.java359 public void glLightf(int light, int pname, float param) { argument
360 ((GL10)mGL).glLightf(light, pname, param);
364 public void glLightfv(int light, int pname, FloatBuffer params) { argument
365 ((GL10)mGL).glLightfv(light, pname, params);
369 public void glLightfv(int light, int pname, float[] params, int offset) { argument
370 ((GL10)mGL).glLightfv(light, pname, params, offset);
374 public void glLightx(int light, int pname, int param) { argument
375 ((GL10)mGL).glLightx(light, pname, param);
379 public void glLightxv(int light, int pname, IntBuffer params) { argument
380 ((GL10)mGL).glLightxv(light, pnam
384 glLightxv(int light, int pname, int[] params, int offset) argument
842 glGetLightfv(int light, int pname, FloatBuffer params) argument
847 glGetLightfv(int light, int pname, float[] params, int offset) argument
854 glGetLightxv(int light, int pname, IntBuffer params) argument
859 glGetLightxv(int light, int pname, int[] params, int offset) argument
[all...]
/external/skia/fuzz/
H A DFilterFuzz.cpp497 SkEmbossMaskFilter::Light light; local
498 fuzz->nextN(light.fDirection, 3);
499 fuzz->nextRange(&light.fPad, 0, 65535);
500 fuzz->nextRange(&light.fAmbient, 0, 255);
501 fuzz->nextRange(&light.fSpecular, 0, 255);
502 maskFilter = SkEmbossMaskFilter::Make(a, light);
/external/swiftshader/src/D3D9/
H A DDirect3DDevice9.cpp1565 long Direct3DDevice9::GetLight(unsigned long index, D3DLIGHT9 *light) argument
1569 TRACE("unsigned long index = %d, D3DLIGHT9 *light = 0x%0.8p", index, light);
1571 if(!light)
1576 if(!this->light.exists(index))
1581 *light = this->light[index];
1597 if(!light.exists(index))
1602 *enable = light[index].enable ? 128 : 0;
2166 if(!light
2168 D3DLIGHT9 light; local
2804 SetLight(unsigned long index, const D3DLIGHT9 *light) argument
[all...]
H A DDirect3DDevice9Ex.cpp390 long Direct3DDevice9Ex::GetLight(unsigned long index, D3DLIGHT9 *light) argument
392 TRACE("unsigned long index = %d, D3DLIGHT9 *light = 0x%0.8p", index, light);
394 return Direct3DDevice9::GetLight(index, light);
698 long Direct3DDevice9Ex::SetLight(unsigned long index, const D3DLIGHT9 *light) argument
700 TRACE("unsigned long index = %d, const D3DLIGHT9 *light = 0x%0.8p", index, light);
702 return Direct3DDevice9::SetLight(index, light);
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DContext.h607 Light light[MAX_LIGHTS]; member in class:es1::Context
H A DlibGLES_CM.cpp2231 void GetLightfv(GLenum light, GLenum pname, GLfloat *params) argument
2236 void GetLightxv(GLenum light, GLenum pname, GLfixed *params) argument
2694 void Lightf(GLenum light, GLenum pname, GLfloat param) argument
2696 TRACE("(GLenum light = 0x%X, GLenum pname = 0x%X, GLfloat param = %f)", light, pname, param);
2698 int index = light - GL_LIGHT0;
2758 void Lightfv(GLenum light, GLenum pname, const GLfloat *params) argument
2760 TRACE("(GLenum light = 0x%X, GLenum pname = 0x%X, const GLint *params)", light, pname);
2766 int index = light
2821 Lightx(GLenum light, GLenum pname, GLfixed param) argument
2826 Lightxv(GLenum light, GLenum pname, const GLfixed *params) argument
[all...]
H A Dmain.cpp229 void GetLightfv(GLenum light, GLenum pname, GLfloat *params);
230 void GetLightxv(GLenum light, GLenum pname, GLfixed *params);
251 void Lightf(GLenum light, GLenum pname, GLfloat param);
252 void Lightfv(GLenum light, GLenum pname, const GLfloat *params);
253 void Lightx(GLenum light, GLenum pname, GLfixed param);
254 void Lightxv(GLenum light, GLenum pname, const GLfixed *params);
913 GL_API void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params) argument
915 return es1::GetLightfv(light, pname, params);
918 GL_API void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname, GLfixed *params) argument
920 return es1::GetLightxv(light, pnam
1023 glLightf(GLenum light, GLenum pname, GLfloat param) argument
1028 glLightfv(GLenum light, GLenum pname, const GLfloat *params) argument
1033 glLightx(GLenum light, GLenum pname, GLfixed param) argument
1038 glLightxv(GLenum light, GLenum pname, const GLfixed *params) argument
[all...]
/external/skia/src/effects/
H A DSkLightingImageFilter.cpp84 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, function in class:__anon17007::DiffuseLightingType
106 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, function in class:__anon17007::SpecularLightingType
211 const SkImageFilterLight* light,
217 const LightType* l = static_cast<const LightType*>(light);
231 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight,
239 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight,
244 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight,
258 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight,
266 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight,
271 *dptr++ = lightingType.light(rightNorma
210 lightBitmap(const LightingType& lightingType, const SkImageFilterLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) argument
302 lightBitmap(const LightingType& lightingType, const SkImageFilterLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) argument
350 SkLightingImageFilterInternal(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument
552 const SkImageFilterLight* light() const { return fLight; } function in class:__anon17007::GrLightingEffect
574 Make(GrResourceProvider* resourceProvider, sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument
614 Make(GrResourceProvider* resourceProvider, sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument
1101 SkLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument
1196 Make(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument
1216 SkDiffuseLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument
1356 Make(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument
1378 SkSpecularLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument
1699 GrLightingEffect(GrResourceProvider* resourceProvider, sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument
1729 GrDiffuseLightingEffect(GrResourceProvider* resourceProvider, sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument
1947 GrSpecularLightingEffect(GrResourceProvider* resourceProvider, sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument
[all...]
/external/swiftshader/src/OpenGL/libGL/
H A DlibGL.cpp6230 void APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params) argument
6235 void APIENTRY glGetLightiv(GLenum light, GLenum pname, GLint *params) argument
6538 void APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param) argument
6543 void APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params) argument
6545 TRACE("(GLenum light = 0x%X, GLenum pname = 0x%X, const GLint *params)", light, pname);
6560 case GL_AMBIENT: device->setLightAmbient(light - GL_LIGHT0, sw::Color<float>(params[0], params[1], params[2], params[3])); break;
6561 case GL_DIFFUSE: device->setLightDiffuse(light - GL_LIGHT0, sw::Color<float>(params[0], params[1], params[2], params[3])); break;
6562 case GL_SPECULAR: device->setLightSpecular(light - GL_LIGHT0, sw::Color<float>(params[0], params[1], params[2], params[3])); break;
6564 if(params[3] == 0.0f) // Directional light
6582 glLighti(GLenum light, GLenum pname, GLint param) argument
6587 glLightiv(GLenum light, GLenum pname, const GLint *params) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 850 milliseconds

12