Home
last modified time | relevance | path

Searched refs:TransformFeedback (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtransformfeedback.c115 ctx->TransformFeedback.DefaultObject = in _mesa_init_transform_feedback()
118 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1); in _mesa_init_transform_feedback()
120 reference_transform_feedback_object(&ctx->TransformFeedback.CurrentObject, in _mesa_init_transform_feedback()
121 ctx->TransformFeedback.DefaultObject); in _mesa_init_transform_feedback()
123 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2); in _mesa_init_transform_feedback()
125 ctx->TransformFeedback.Objects = _mesa_NewHashTable(); in _mesa_init_transform_feedback()
128 &ctx->TransformFeedback.CurrentBuffer, in _mesa_init_transform_feedback()
158 &ctx->TransformFeedback.CurrentBuffer, in _mesa_free_transform_feedback()
162 _mesa_HashDeleteAll(ctx->TransformFeedback.Objects, delete_cb, ctx); in _mesa_free_transform_feedback()
163 _mesa_DeleteHashTable(ctx->TransformFeedback.Objects); in _mesa_free_transform_feedback()
[all …]
Dshaderobj.c253 prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS; in _mesa_init_shader_program()
344 for (i = 0; i < shProg->TransformFeedback.NumVarying; i++) { in _mesa_free_shader_program_data()
345 free(shProg->TransformFeedback.VaryingNames[i]); in _mesa_free_shader_program_data()
347 free(shProg->TransformFeedback.VaryingNames); in _mesa_free_shader_program_data()
348 shProg->TransformFeedback.VaryingNames = NULL; in _mesa_free_shader_program_data()
349 shProg->TransformFeedback.NumVarying = 0; in _mesa_free_shader_program_data()
Dapi_validate.c261 if (ctx->TransformFeedback.CurrentObject->Active && in _mesa_valid_prim_mode()
262 !ctx->TransformFeedback.CurrentObject->Paused) { in _mesa_valid_prim_mode()
267 pass = ctx->TransformFeedback.Mode == GL_POINTS; in _mesa_valid_prim_mode()
272 pass = ctx->TransformFeedback.Mode == GL_LINES; in _mesa_valid_prim_mode()
275 pass = ctx->TransformFeedback.Mode == GL_TRIANGLES; in _mesa_valid_prim_mode()
283 _mesa_lookup_prim_by_nr(ctx->TransformFeedback.Mode)); in _mesa_valid_prim_mode()
Dshaderapi.c531 *params = shProg->TransformFeedback.NumVarying; in get_programiv()
539 for (i = 0; i < shProg->TransformFeedback.NumVarying; i++) { in get_programiv()
542 const GLint len = strlen(shProg->TransformFeedback.VaryingNames[i]) + 1; in get_programiv()
554 *params = shProg->TransformFeedback.BufferMode; in get_programiv()
751 ctx->TransformFeedback.CurrentObject; in link_program()
1415 ctx->TransformFeedback.CurrentObject; in _mesa_UseProgramObjectARB()
1625 if (ctx->TransformFeedback.CurrentObject->Active && in _mesa_UseShaderProgramEXT()
1626 !ctx->TransformFeedback.CurrentObject->Paused) { in _mesa_UseShaderProgramEXT()
Dget.c1752 v->value_int = ctx->TransformFeedback.CurrentBuffer->Name; in find_custom_value()
1755 v->value_int = ctx->TransformFeedback.CurrentObject->Paused; in find_custom_value()
1758 v->value_int = ctx->TransformFeedback.CurrentObject->Active; in find_custom_value()
1761 v->value_int = ctx->TransformFeedback.CurrentObject->Name; in find_custom_value()
2599 v->value_int64 = ctx->TransformFeedback.CurrentObject->Offset[index]; in find_value_indexed()
2607 v->value_int64 = ctx->TransformFeedback.CurrentObject->Size[index]; in find_value_indexed()
2615 v->value_int = ctx->TransformFeedback.CurrentObject->BufferNames[index]; in find_value_indexed()
Dbufferobj.c93 return &ctx->TransformFeedback.CurrentBuffer; in get_buffer_target()
895 if (ctx->TransformFeedback.CurrentBuffer == bufObj) { in _mesa_DeleteBuffersARB()
899 if (ctx->TransformFeedback.CurrentObject->Buffers[j] == bufObj) { in _mesa_DeleteBuffersARB()
Dmtypes.h2335 } TransformFeedback; member
3505 struct gl_transform_feedback_state TransformFeedback; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sol_state.c49 ctx->TransformFeedback.CurrentObject; in upload_3dstate_so_buffers()
191 ctx->TransformFeedback.CurrentObject; in upload_3dstate_streamout()
240 ctx->TransformFeedback.CurrentObject; in upload_sol_state()
Dgen6_sol.c41 ctx->TransformFeedback.CurrentObject; in gen6_update_sol_surfaces()
166 ctx->TransformFeedback.CurrentObject; in brw_begin_transform_feedback()
Dbrw_gs.c192 if (ctx->TransformFeedback.CurrentObject->Active && in populate_key()
193 !ctx->TransformFeedback.CurrentObject->Paused) { in populate_key()
Dbrw_draw.c386 if (brw->intel.ctx.TransformFeedback.CurrentObject->Active && in brw_update_primitive_count()
387 !brw->intel.ctx.TransformFeedback.CurrentObject->Paused) { in brw_update_primitive_count()
/external/deqp/framework/opengl/
DgluObjectWrapper.hpp136 typedef TypedObjectWrapper<OBJECTTYPE_TRANSFORM_FEEDBACK> TransformFeedback; typedef
/external/mesa3d/src/glsl/
Dlinker.cpp1786 if (prog->TransformFeedback.BufferMode == GL_SEPARATE_ATTRIBS && in assign_location()
1856 if (prog->TransformFeedback.BufferMode == GL_INTERLEAVED_ATTRIBS && in store()
2198 prog->TransformFeedback.BufferMode == GL_SEPARATE_ATTRIBS; in store_tfeedback_info()
2393 unsigned num_tfeedback_decls = prog->TransformFeedback.NumVarying; in link_shaders()
2598 prog->TransformFeedback.NumVarying); in link_shaders()
2600 prog->TransformFeedback.VaryingNames, in link_shaders()
/external/llvm/test/Transforms/InstCombine/
Dshufflemask-undef.ll50 …ge, [3 x %struct.PipelineProgramState], %struct.ArrayRange, %struct.TransformFeedback, i32*, %stru…
61 %struct.TransformFeedback = type { i8, i8, i8, i8, [0 x i32], [16 x i32], [16 x i32] }
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp64 namespace TransformFeedback namespace
875 glu::TransformFeedback* m_transformFeedback;
978 m_transformFeedback = new glu::TransformFeedback(m_context.getRenderContext()); in init()
1533 using namespace TransformFeedback;
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c508 ctx->TransformFeedback.CurrentObject->Active && in _mesa_meta_begin()
509 !ctx->TransformFeedback.CurrentObject->Paused; in _mesa_meta_begin()
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp313 const glu::TransformFeedback m_tf;