/third_party/mesa3d/src/mesa/main/ |
D | state.c | 181 const struct gl_program *prevVP = ctx->VertexProgram._Current; in update_program() 182 const struct gl_program *prevFP = ctx->FragmentProgram._Current; in update_program() 183 const struct gl_program *prevGP = ctx->GeometryProgram._Current; in update_program() 184 const struct gl_program *prevTCP = ctx->TessCtrlProgram._Current; in update_program() 185 const struct gl_program *prevTEP = ctx->TessEvalProgram._Current; in update_program() 186 const struct gl_program *prevCP = ctx->ComputeProgram._Current; in update_program() 207 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, fsProg); in update_program() 213 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 221 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 230 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() [all …]
|
D | state.h | 78 if (ctx->VertexProgram._Current && in _mesa_need_secondary_color() 79 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) && in _mesa_need_secondary_color() 80 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1)) in _mesa_need_secondary_color() 83 if (ctx->FragmentProgram._Current && in _mesa_need_secondary_color() 84 (ctx->FragmentProgram._Current != ctx->FragmentProgram._TexEnvProgram) && in _mesa_need_secondary_color() 85 (ctx->FragmentProgram._Current->info.inputs_read & VARYING_BIT_COL1)) in _mesa_need_secondary_color()
|
D | texstate.c | 406 if (ctx->Texture.Unit[u]._Current && in _mesa_update_texture_matrices() 531 if (texUnit->_Current->Target == GL_TEXTURE_BUFFER) in update_tex_combine() 543 const struct gl_texture_object *texObj = texUnit->_Current; in update_tex_combine() 723 _mesa_reference_texobj(&ctx->Texture.Unit[unit]._Current, texObj); in update_single_program_texture_state() 839 _mesa_reference_texobj(&texUnit->_Current, texObj); in update_ff_texture_state() 871 if (!ctx->Texture.Unit[unit]._Current) { in fix_missing_textures_for_atifs() 874 _mesa_reference_texobj(&ctx->Texture.Unit[unit]._Current, texObj); in fix_missing_textures_for_atifs() 937 _mesa_reference_texobj(&ctx->Texture.Unit[i]._Current, NULL); in _mesa_update_texture_state() 940 _mesa_reference_texobj(&ctx->Texture.Unit[i]._Current, NULL); in _mesa_update_texture_state() 1128 _mesa_reference_texobj(&ctx->Texture.Unit[u]._Current, NULL); in _mesa_free_texture_data()
|
D | context.c | 626 (8 * sizeof(ctx->VertexProgram._Current->info.outputs_written))); in check_context_limits() 628 (8 * sizeof(ctx->FragmentProgram._Current->info.inputs_read))); in check_context_limits() 1119 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL); in _mesa_free_context_data() 1122 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in _mesa_free_context_data() 1123 _mesa_reference_program(ctx, &ctx->TessEvalProgram._Current, NULL); in _mesa_free_context_data() 1124 _mesa_reference_program(ctx, &ctx->GeometryProgram._Current, NULL); in _mesa_free_context_data() 1127 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, NULL); in _mesa_free_context_data() 1130 _mesa_reference_program(ctx, &ctx->ComputeProgram._Current, NULL); in _mesa_free_context_data()
|
D | samplerobj.h | 43 else if (ctx->Texture.Unit[unit]._Current) in _mesa_get_samplerobj() 44 return &ctx->Texture.Unit[unit]._Current->Sampler; in _mesa_get_samplerobj()
|
D | mtypes.h | 1235 struct gl_texture_object *_Current; member 2132 struct gl_program *_Current; member 2167 struct gl_program *_Current; member 2180 struct gl_program *_Current; member 2192 struct gl_program *_Current; member 2211 struct gl_program *_Current; member 2231 struct gl_program *_Current; member
|
D | ff_fragment_shader.cpp | 273 const struct gl_texture_object *texObj = texUnit->_Current; in make_state_key()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_shader.c | 62 struct gl_texture_object *texObj = _mesa_get_tex_unit(ctx, unit)->_Current; in get_texture_index() 88 (st->ctx->Texture.Unit[tex_unit]._Current->Target != GL_TEXTURE_BUFFER || in update_gl_clamp() 94 texobj = ctx->Texture.Unit[tex_unit]._Current; in update_gl_clamp() 117 assert(st->ctx->FragmentProgram._Current); in st_update_fp() 118 fp = st->ctx->FragmentProgram._Current; in st_update_fp() 173 update_gl_clamp(st, st->ctx->FragmentProgram._Current, key.gl_clamp); in st_update_fp() 198 assert(st->ctx->VertexProgram._Current); in st_update_vp() 199 vp = st->ctx->VertexProgram._Current; in st_update_vp() 228 if (!st->ctx->GeometryProgram._Current && in st_update_vp() 229 !st->ctx->TessEvalProgram._Current) { in st_update_vp() [all …]
|
D | st_util.h | 78 const struct gl_program *vertProg = ctx->VertexProgram._Current; in st_point_size_per_vertex() 95 if (ctx->GeometryProgram._Current) in st_point_size_per_vertex() 96 last = ctx->GeometryProgram._Current; in st_point_size_per_vertex() 97 else if (ctx->TessEvalProgram._Current) in st_point_size_per_vertex() 98 last = ctx->TessEvalProgram._Current; in st_point_size_per_vertex() 99 else if (ctx->VertexProgram._Current) in st_point_size_per_vertex() 100 last = ctx->VertexProgram._Current; in st_point_size_per_vertex()
|
D | st_atom_sampler.c | 160 texobj = ctx->Texture.Unit[texUnit]._Current; in st_convert_sampler_from_unit() 209 (ctx->Texture.Unit[tex_unit]._Current->Target != GL_TEXTURE_BUFFER || in update_shader_samplers() 286 ctx->VertexProgram._Current, in st_update_vertex_samplers() 297 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_samplers() 300 ctx->TessCtrlProgram._Current, NULL, NULL); in st_update_tessctrl_samplers() 310 if (ctx->TessEvalProgram._Current) { in st_update_tesseval_samplers() 313 ctx->TessEvalProgram._Current, NULL, NULL); in st_update_tesseval_samplers() 323 if (ctx->GeometryProgram._Current) { in st_update_geometry_samplers() 326 ctx->GeometryProgram._Current, NULL, NULL); in st_update_geometry_samplers() 338 ctx->FragmentProgram._Current, in st_update_fragment_samplers() [all …]
|
D | st_atom_texture.c | 66 texObj = ctx->Texture.Unit[texUnit]._Current; in st_update_single_texture() 283 ctx->VertexProgram._Current); in st_update_vertex_textures() 294 ctx->FragmentProgram._Current); in st_update_fragment_textures() 303 if (ctx->GeometryProgram._Current) { in st_update_geometry_textures() 305 ctx->GeometryProgram._Current); in st_update_geometry_textures() 315 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_textures() 317 ctx->TessCtrlProgram._Current); in st_update_tessctrl_textures() 327 if (ctx->TessEvalProgram._Current) { in st_update_tesseval_textures() 329 ctx->TessEvalProgram._Current); in st_update_tesseval_textures() 339 if (ctx->ComputeProgram._Current) { in st_update_compute_textures() [all …]
|
D | st_atom.c | 86 struct gl_program *new_vp = ctx->VertexProgram._Current; in check_program_state() 87 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state() 88 struct gl_program *new_tep = ctx->TessEvalProgram._Current; in check_program_state() 89 struct gl_program *new_gp = ctx->GeometryProgram._Current; in check_program_state() 90 struct gl_program *new_fp = ctx->FragmentProgram._Current; in check_program_state() 175 struct gl_program *vp = st->ctx->VertexProgram._Current; in st_update_edgeflags() 252 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state()
|
D | st_cb_drawtex.c | 182 if (ctx->FragmentProgram._Current->info.inputs_read & VARYING_BIT_COL0) in st_DrawTex() 190 if (ctx->Texture.Unit[i]._Current && in st_DrawTex() 191 ctx->Texture.Unit[i]._Current->Target == GL_TEXTURE_2D) { in st_DrawTex() 261 if (ctx->Texture.Unit[i]._Current && in st_DrawTex() 262 ctx->Texture.Unit[i]._Current->Target == GL_TEXTURE_2D) { in st_DrawTex() 263 struct gl_texture_object *obj = ctx->Texture.Unit[i]._Current; in st_DrawTex()
|
D | st_context.c | 77 struct gl_program *vp = ctx->VertexProgram._Current; in st_get_active_states() 78 struct gl_program *tcp = ctx->TessCtrlProgram._Current; in st_get_active_states() 79 struct gl_program *tep = ctx->TessEvalProgram._Current; in st_get_active_states() 80 struct gl_program *gp = ctx->GeometryProgram._Current; in st_get_active_states() 81 struct gl_program *fp = ctx->FragmentProgram._Current; in st_get_active_states() 82 struct gl_program *cp = ctx->ComputeProgram._Current; in st_get_active_states() 123 const uint64_t inputs = ctx->VertexProgram._Current->info.inputs_read; in st_vp_uses_current_values() 181 if (ctx->GeometryProgram._Current) in st_invalidate_state() 183 else if (ctx->TessEvalProgram._Current) in st_invalidate_state() 202 if (ctx->FragmentProgram._Current) { in st_invalidate_state() [all …]
|
D | st_cb_rasterpos.c | 231 if (ctx->VertexProgram._Current == NULL || in st_RasterPos() 232 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in st_RasterPos()
|
D | st_texture.h | 138 return ctx->Texture.Unit[texUnit]._Current; in st_get_texture_object()
|
D | st_atom_rasterizer.c | 69 const struct gl_program *fragProg = ctx->FragmentProgram._Current; in st_update_rasterizer()
|
D | st_cb_feedback.c | 306 struct gl_program *vp = st->ctx->VertexProgram._Current; in st_RenderMode()
|
D | st_draw.c | 360 uint32_t velem_mask = ctx->VertexProgram._Current->info.inputs_read; in st_draw_gallium_vertex_state()
|
D | st_texture.c | 528 assert(st->ctx->Texture.Unit[texUnit]._Current); in st_create_texture_handle_from_unit()
|
D | st_cb_bitmap.c | 248 ctx->FragmentProgram._Current, sampler_views); in setup_render_state()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 225 struct gl_program *vp = ctx->VertexProgram._Current; in vbo_save_playback_vertex_list_gallium()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 1674 if (i == _Current) in ClearFreeMemory() 1679 _Current = 0; in ClearFreeMemory() 1687 …IM_ASSERT(_Current == 0 && _Count <= 1 && "Nested channel splitting is not supported. Please use s… in Split() 1788 if (_Current == idx) in SetCurrentChannel() 1792 … memcpy(&_Channels.Data[_Current]._CmdBuffer, &draw_list->CmdBuffer, sizeof(draw_list->CmdBuffer)); in SetCurrentChannel() 1793 … memcpy(&_Channels.Data[_Current]._IdxBuffer, &draw_list->IdxBuffer, sizeof(draw_list->IdxBuffer)); in SetCurrentChannel() 1794 _Current = idx; in SetCurrentChannel()
|
D | imgui.h | 2339 int _Current; // Current channel number (0) member 2345 …inline void Clear() { _Current = 0; _Count = 1; } // Do not clear Channels[] so ou… in Clear()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_statevars.c | 762 if (ctx->TessCtrlProgram._Current) in fetch_state() 763 val[0].i = ctx->TessCtrlProgram._Current->info.tess.tcs_vertices_out; in fetch_state()
|