/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_sf_state.c | 40 bool shade_model_flat = ctx->Light.ShadeModel == GL_FLAT; 284 if (ctx->Light.ProvokingVertex != GL_FIRST_VERTEX_CONVENTION) {
|
/external/mesa3d/src/mesa/swrast/ |
s_lines.c | 229 (ctx->Light.Enabled && 230 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR));
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 110 if (ctx->Light.Enabled) { 171 if (ctx->Fog.ColorSumEnabled && !ctx->Light.Enabled) 182 if (ctx->Light.Enabled || 186 if (ctx->Light.Enabled && render->mode == IMM) { 192 if (ctx->Light.Model.TwoSide) {
|
nouveau_render_t.c | 34 #include "main/light.h" 205 COPY_4V(ctx->Light.Material.Attrib[attr], (float *)v);
|
nv04_state_raster.c | 212 if (ctx->Light.ShadeModel == GL_SMOOTH)
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 110 if (ctx->Light.Enabled) { 171 if (ctx->Fog.ColorSumEnabled && !ctx->Light.Enabled) 182 if (ctx->Light.Enabled || 186 if (ctx->Light.Enabled && render->mode == IMM) { 192 if (ctx->Light.Model.TwoSide) {
|
nouveau_render_t.c | 34 #include "main/light.h" 205 COPY_4V(ctx->Light.Material.Attrib[attr], (float *)v);
|
nv04_state_raster.c | 212 if (ctx->Light.ShadeModel == GL_SMOOTH)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
driverfuncs.c | 267 ctx->Driver.Enable(ctx, GL_LIGHTING, ctx->Light.Enabled); 290 GLfloat f = (GLfloat) ctx->Light.Model.ColorControl; 300 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
get.c | 512 { GL_CLAMP_VERTEX_COLOR, CONTEXT_ENUM(Light.ClampVertexColor), extra_ARB_color_buffer_float }, 550 { GL_LIGHT0, CONTEXT_BOOL(Light.Light[0].Enabled), NO_EXTRA }, 551 { GL_LIGHT1, CONTEXT_BOOL(Light.Light[1].Enabled), NO_EXTRA }, 552 { GL_LIGHT2, CONTEXT_BOOL(Light.Light[2].Enabled), NO_EXTRA }, 553 { GL_LIGHT3, CONTEXT_BOOL(Light.Light[3].Enabled), NO_EXTRA }, 554 { GL_LIGHT4, CONTEXT_BOOL(Light.Light[4].Enabled), NO_EXTRA } [all...] |
attrib.c | 42 #include "light.h" 81 GLboolean Light[MAX_LIGHTS]; 268 attr->ColorMaterial = ctx->Light.ColorMaterialEnabled; 275 attr->Light[i] = ctx->Light.Light[i].Enabled; 277 attr->Lighting = ctx->Light.Enabled; 358 memcpy( attr, &ctx->Light, sizeof(struct gl_light_attrib) ); 519 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, 527 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING) 1055 const struct gl_light_attrib *light; local [all...] |
context.c | 103 #include "light.h" [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_cliptmp.h | 169 if (ctx->Light.ShadeModel == GL_FLAT) 240 if (ctx->Light.ShadeModel == GL_FLAT) { 303 if (ctx->Light.ShadeModel == GL_FLAT) {
|
/external/chromium_org/third_party/skia/src/sfnt/ |
SkPanose.h | 59 ((Light, 3)) 239 ((Light, 3)) 387 ((Light, 3))
|
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 267 ctx->Driver.Enable(ctx, GL_LIGHTING, ctx->Light.Enabled); 290 GLfloat f = (GLfloat) ctx->Light.Model.ColorControl; 300 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel);
|
/external/mesa3d/src/mesa/main/ |
get.c | 512 { GL_CLAMP_VERTEX_COLOR, CONTEXT_ENUM(Light.ClampVertexColor), extra_ARB_color_buffer_float }, 550 { GL_LIGHT0, CONTEXT_BOOL(Light.Light[0].Enabled), NO_EXTRA }, 551 { GL_LIGHT1, CONTEXT_BOOL(Light.Light[1].Enabled), NO_EXTRA }, 552 { GL_LIGHT2, CONTEXT_BOOL(Light.Light[2].Enabled), NO_EXTRA }, 553 { GL_LIGHT3, CONTEXT_BOOL(Light.Light[3].Enabled), NO_EXTRA }, 554 { GL_LIGHT4, CONTEXT_BOOL(Light.Light[4].Enabled), NO_EXTRA } [all...] |
attrib.c | 42 #include "light.h" 81 GLboolean Light[MAX_LIGHTS]; 268 attr->ColorMaterial = ctx->Light.ColorMaterialEnabled; 275 attr->Light[i] = ctx->Light.Light[i].Enabled; 277 attr->Lighting = ctx->Light.Enabled; 358 memcpy( attr, &ctx->Light, sizeof(struct gl_light_attrib) ); 519 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, 527 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING) 1055 const struct gl_light_attrib *light; local [all...] |
context.c | 103 #include "light.h" [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_cliptmp.h | 169 if (ctx->Light.ShadeModel == GL_FLAT) 240 if (ctx->Light.ShadeModel == GL_FLAT) { 303 if (ctx->Light.ShadeModel == GL_FLAT) {
|
/external/skia/src/sfnt/ |
SkPanose.h | 59 ((Light, 3)) 239 ((Light, 3)) 387 ((Light, 3))
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_context.c | 138 cl->Ptr = (const void *)ctx->Light.Material.Attrib[i];
|
/external/chromium_org/third_party/skia/src/effects/ |
SkEmbossMask.cpp | 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { 86 int specular = light.fSpecular; 87 int ambient = light.fAmbient; 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 132 // R = 2 (Light * Normal) Normal - Light 143 // value in the light, and just pass that in to this function [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_context.c | 138 cl->Ptr = (const void *)ctx->Light.Material.Attrib[i];
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { 86 int specular = light.fSpecular; 87 int ambient = light.fAmbient; 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 132 // R = 2 (Light * Normal) Normal - Light 143 // value in the light, and just pass that in to this function [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_dmatmp.h | 409 else if (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH) { 449 ctx->Light.ShadeModel == GL_FLAT && 998 } else if (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH) { 1032 if (ctx->Light.ShadeModel == GL_FLAT) { 1222 ok = (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH); 1232 ctx->Light.ShadeModel == GL_FLAT &&
|