Home
last modified time | relevance | path

Searched refs:texture_units (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/gpu/command_buffer/service/
Dcontext_state.cc110 DCHECK_LT(unit, texture_units.size()); in RestoreTextureUnitBindings()
111 const TextureUnit& texture_unit = texture_units[unit]; in RestoreTextureUnitBindings()
123 const TextureUnit& prev_unit = prev_state->texture_units[unit]; in RestoreTextureUnitBindings()
180 for (size_t ii = 0; ii < texture_units.size(); ++ii) { in RestoreAllTextureUnitBindings()
187 DCHECK_LT(active_texture_unit, texture_units.size()); in RestoreActiveTextureUnitBinding()
188 const TextureUnit& texture_unit = texture_units[active_texture_unit]; in RestoreActiveTextureUnitBinding()
Dgles2_cmd_decoder_unittest_context_state.cc87 state->texture_units.resize(group().max_texture_units()); in InitializeContextState()
88 for (uint32 tt = 0; tt < state->texture_units.size(); ++tt) { in InitializeContextState()
91 state->texture_units[tt].bound_texture_cube_map = ref_cube_map; in InitializeContextState()
96 state->texture_units[tt].bound_texture_2d = ref_2d; in InitializeContextState()
Dcontext_state.h187 std::vector<TextureUnit> texture_units; member
Dgles2_cmd_decoder.cc1874 TextureUnit& info = state->texture_units[0]; in RestoreCurrentTextureBindings()
2465 state_.texture_units.resize(group_->max_texture_units()); in Initialize()
2466 for (uint32 tt = 0; tt < state_.texture_units.size(); ++tt) { in Initialize()
2473 state_.texture_units[tt].bound_texture_external_oes = ref; in Initialize()
2479 state_.texture_units[tt].bound_texture_rectangle_arb = ref; in Initialize()
2483 state_.texture_units[tt].bound_texture_cube_map = ref; in Initialize()
2486 state_.texture_units[tt].bound_texture_2d = ref; in Initialize()
3018 for (size_t jj = 0; jj < state_.texture_units.size(); ++jj) { in DeleteTexturesHelper()
3019 state_.texture_units[jj].Unbind(texture_ref); in DeleteTexturesHelper()
3424 state_.texture_units.clear(); in Destroy()
[all …]
Dprogram_manager.h78 std::vector<GLuint> texture_units; member
Dprogram_manager.cc822 info.texture_units.clear(); in AddUniformInfo()
823 info.texture_units.resize(num_texture_units, 0); in AddUniformInfo()
899 info.texture_units.begin() + element_index); in SetSamplers()
Dtexture_manager.cc1364 TextureUnit& unit = state->texture_units[state->active_texture_unit]; in GetTextureInfoForTarget()
/external/chromium_org/third_party/mesa/src/src/glx/
Dindirect_vertex_array.c153 int texture_units = 1, vertex_program_attribs = 0; in __glXInitVertexArrayState() local
196 __indirect_glGetIntegerv(GL_MAX_TEXTURE_UNITS, &texture_units); in __glXInitVertexArrayState()
205 arrays->num_texture_units = texture_units; in __glXInitVertexArrayState()
207 array_count += texture_units + vertex_program_attribs; in __glXInitVertexArrayState()
233 for (i = 0; i < texture_units; i++) { in __glXInitVertexArrayState()
244 i = 4 + texture_units; in __glXInitVertexArrayState()
/external/mesa3d/src/glx/
Dindirect_vertex_array.c153 int texture_units = 1, vertex_program_attribs = 0; in __glXInitVertexArrayState() local
196 __indirect_glGetIntegerv(GL_MAX_TEXTURE_UNITS, &texture_units); in __glXInitVertexArrayState()
205 arrays->num_texture_units = texture_units; in __glXInitVertexArrayState()
207 array_count += texture_units + vertex_program_attribs; in __glXInitVertexArrayState()
233 for (i = 0; i < texture_units; i++) { in __glXInitVertexArrayState()
244 i = 4 + texture_units; in __glXInitVertexArrayState()
/external/chromium_org/content/common/gpu/
Dstream_texture_android.cc132 state->texture_units[state->active_texture_unit]; in WillUseTexImage()
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
Dt_options.h225 DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
Doptions.h489 DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/
Dt_options.h225 DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
Doptions.h489 DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \