Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/angle/src/libGLESv2/
DTransformFeedback.cpp12 TransformFeedback::TransformFeedback(GLuint id) in TransformFeedback() function in gl::TransformFeedback
20 TransformFeedback::~TransformFeedback() in ~TransformFeedback()
24 void TransformFeedback::start(GLenum primitiveMode) in start()
31 void TransformFeedback::stop() in stop()
38 GLboolean TransformFeedback::isStarted() const in isStarted()
43 GLenum TransformFeedback::getDrawMode() const in getDrawMode()
48 void TransformFeedback::pause() in pause()
53 void TransformFeedback::resume() in resume()
58 GLboolean TransformFeedback::isPaused() const in isPaused()
DTransformFeedback.h19 class TransformFeedback : public RefCountObject
22 explicit TransformFeedback(GLuint id);
23 virtual ~TransformFeedback();
36 DISALLOW_COPY_AND_ASSIGN(TransformFeedback);
DContext.h67 class TransformFeedback; variable
118 BindingPointer<TransformFeedback> transformFeedback;
338 TransformFeedback *getTransformFeedback(GLuint handle) const;
364 TransformFeedback *getCurrentTransformFeedback() const;
525 BindingPointer<TransformFeedback> mTransformFeedbackZero;
526 typedef std::unordered_map<GLuint, TransformFeedback*> TransformFeedbackMap;
/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()
/external/chromium_org/third_party/mesa/src/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()
/external/chromium_org/third_party/mesa/src/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/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.hpp133 typedef TypedObjectWrapper<OBJECTTYPE_TRANSFORM_FEEDBACK> TransformFeedback; typedef
/external/chromium_org/third_party/mesa/src/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/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] }

12