Home
last modified time | relevance | path

Searched refs:ClearColor (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dclear.c69 ctx->Color.ClearColor.f[0] = red; in _mesa_ClearColor()
70 ctx->Color.ClearColor.f[1] = green; in _mesa_ClearColor()
71 ctx->Color.ClearColor.f[2] = blue; in _mesa_ClearColor()
72 ctx->Color.ClearColor.f[3] = alpha; in _mesa_ClearColor()
84 ctx->Color.ClearColor.i[0] = r; in _mesa_ClearColorIiEXT()
85 ctx->Color.ClearColor.i[1] = g; in _mesa_ClearColorIiEXT()
86 ctx->Color.ClearColor.i[2] = b; in _mesa_ClearColorIiEXT()
87 ctx->Color.ClearColor.i[3] = a; in _mesa_ClearColorIiEXT()
99 ctx->Color.ClearColor.ui[0] = r; in _mesa_ClearColorIuiEXT()
100 ctx->Color.ClearColor.ui[1] = g; in _mesa_ClearColorIuiEXT()
[all …]
Daccum.c49 if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor)) in _mesa_ClearAccum()
52 COPY_4FV( ctx->Accum.ClearColor, tmp ); in _mesa_ClearAccum()
142 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()
143 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()
144 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()
145 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
490 ASSIGN_4V( ctx->Accum.ClearColor, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_accum()
Dattrib.c952 _mesa_ClearAccum(accum->ClearColor[0], in _mesa_PopAttrib()
953 accum->ClearColor[1], in _mesa_PopAttrib()
954 accum->ClearColor[2], in _mesa_PopAttrib()
955 accum->ClearColor[3]); in _mesa_PopAttrib()
964 _mesa_ClearColor(color->ClearColor.f[0], in _mesa_PopAttrib()
965 color->ClearColor.f[1], in _mesa_PopAttrib()
966 color->ClearColor.f[2], in _mesa_PopAttrib()
967 color->ClearColor.f[3]); in _mesa_PopAttrib()
Dget.c968 v->value_float_4[0] = CLAMP(ctx->Color.ClearColor.f[0], 0.0F, 1.0F); in find_custom_value()
969 v->value_float_4[1] = CLAMP(ctx->Color.ClearColor.f[1], 0.0F, 1.0F); in find_custom_value()
970 v->value_float_4[2] = CLAMP(ctx->Color.ClearColor.f[2], 0.0F, 1.0F); in find_custom_value()
971 v->value_float_4[3] = CLAMP(ctx->Color.ClearColor.f[3], 0.0F, 1.0F); in find_custom_value()
973 COPY_4FV(v->value_float_4, ctx->Color.ClearColor.f); in find_custom_value()
Dblend.c1008 ASSIGN_4V( ctx->Color.ClearColor.f, 0, 0, 0, 0 ); in _mesa_init_color()
Dmtypes.h390 GLfloat ClearColor[4]; /**< Accumulation buffer clear color */ member
412 union gl_color_union ClearColor; /**< Color for glClear, unclamped */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c300 (const float *) &ctx->Color.ClearColor.f, in clear_with_quad()
482 (union pipe_color_union*)&ctx->Color.ClearColor, in st_Clear()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_driver.c126 const float *color = ctx->Color.ClearColor.f; in nouveau_clear()
Dnv20_context.c68 PUSH_DATA (push, pack_rgba_clamp_f(s->format, ctx->Color.ClearColor.f)); in nv20_clear()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp413 callgl(ClearColor, 0, 0, 0, 0.0); in makeTargetHandle()
461 callgl(ClearColor, r, g, b, a); in clearTarget()
/external/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp413 callgl(ClearColor, 0, 0, 0, 0.0); in makeTargetHandle()
461 callgl(ClearColor, r, g, b, a); in clearTarget()
/external/mesa3d/src/mesa/swrast/
Ds_clear.c56 (const GLfloat (*)[4]) ctx->Color.ClearColor.f; in clear_rgba_buffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.c814 !brw_is_color_fast_clear_compatible(brw, irb->mt, &ctx->Color.ClearColor)) in do_single_blorp_clear()
833 &ctx->Color.ClearColor); in do_single_blorp_clear()
900 memcpy(clear_color.f32, ctx->Color.ClearColor.f, sizeof(float) * 4); in do_single_blorp_clear()
/external/mesa3d/docs/relnotes/
D4.1283 - Changed ctx->Driver.ClearColor() to take GLfloat[4] instead of GLchan[4].
284 ctx->Color.ClearColor is now GLfloat[4] too.
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dshufflemask-undef.ll9 %struct.ClearColor = type { double, %struct.IColor4, %struct.IColor4, float, i32 }
50 …ct.ActiveTextureTargets, %struct.AlphaTest, %struct.BlendMode, %struct.ClearColor, %struct.ColorBu…
/external/llvm/test/Transforms/InstCombine/
Dshufflemask-undef.ll9 %struct.ClearColor = type { double, %struct.IColor4, %struct.IColor4, float, i32 }
50 …ct.ActiveTextureTargets, %struct.AlphaTest, %struct.BlendMode, %struct.ClearColor, %struct.ColorBu…
/external/skia/src/gpu/gl/
DGrGLAssembleInterface.cpp106 GET_PROC(ClearColor); in GrGLMakeAssembledGLInterface()
468 GET_PROC(ClearColor); in GrGLMakeAssembledGLESInterface()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_tex_subimage.c454 memcpy(save_clear_color, ctx->Color.ClearColor.f, 4 * sizeof(float)); in _mesa_meta_pbo_GetTexSubImage()
Dmeta.c1757 _mesa_Uniform4iv(0, 1, ctx->Color.ClearColor.i); in meta_clear()
1760 _mesa_Uniform4fv(0, 1, ctx->Color.ClearColor.f); in meta_clear()
1817 verts[i].r = ctx->Color.ClearColor.f[0]; in meta_clear()
1818 verts[i].g = ctx->Color.ClearColor.f[1]; in meta_clear()
1819 verts[i].b = ctx->Color.ClearColor.f[2]; in meta_clear()
1820 verts[i].a = ctx->Color.ClearColor.f[3]; in meta_clear()
/external/skqp/src/gpu/gl/
DGrGLAssembleInterface.cpp106 GET_PROC(ClearColor); in GrGLMakeAssembledGLInterface()
600 GET_PROC(ClearColor); in GrGLMakeAssembledGLESInterface()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c449 GLfloat *color = ctx->Color.ClearColor.f; in intelClearWithBlit()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dmain.cpp169 void ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
623 return es1::ClearColor(red, green, blue, alpha); in glClearColor()
1441 this->glClearColor = es1::ClearColor; in LibGLES_CMexports()
/external/swiftshader/src/OpenGL/libGLESv2/
Dentry_points.cpp40 void ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
330 return es2::ClearColor(red, green, blue, alpha); in glClearColor()
1237 this->glClearColor = es2::ClearColor; in LibGLESv2exports()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c256 ctx->Color.ClearColor.f); in clear_buffers()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_icd.h256 void (GLAPIENTRY * ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);

12