Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/angle/src/libGLESv2/
DTransformFeedback.cpp13 TransformFeedback::TransformFeedback(rx::TransformFeedbackImpl* impl, GLuint id) in TransformFeedback() function in gl::TransformFeedback
23 TransformFeedback::~TransformFeedback() in ~TransformFeedback()
28 void TransformFeedback::start(GLenum primitiveMode) in start()
36 void TransformFeedback::stop() in stop()
44 GLboolean TransformFeedback::isStarted() const in isStarted()
49 GLenum TransformFeedback::getDrawMode() const in getDrawMode()
54 void TransformFeedback::pause() in pause()
60 void TransformFeedback::resume() in resume()
66 GLboolean TransformFeedback::isPaused() const in isPaused()
DTransformFeedback.h23 class TransformFeedback : public RefCountObject
26 TransformFeedback(rx::TransformFeedbackImpl* impl, GLuint id);
27 virtual ~TransformFeedback();
40 DISALLOW_COPY_AND_ASSIGN(TransformFeedback);
DContext.h66 class TransformFeedback; variable
162 TransformFeedback *getTransformFeedback(GLuint handle) const;
296 BindingPointer<TransformFeedback> mTransformFeedbackZero;
297 typedef std::unordered_map<GLuint, TransformFeedback*> TransformFeedbackMap;
DState.h174 void setTransformFeedbackBinding(TransformFeedback *transformFeedback);
175 TransformFeedback *getCurrentTransformFeedback() const;
305 BindingPointer<TransformFeedback> mTransformFeedback;
DContext.cpp113 mTransformFeedbackZero.set(new TransformFeedback(mRenderer->createTransformFeedback(), 0)); in Context()
276TransformFeedback *transformFeedback = new TransformFeedback(mRenderer->createTransformFeedback(),… in createTransformFeedback()
485 TransformFeedback *Context::getTransformFeedback(GLuint handle) const in getTransformFeedback()
1509 TransformFeedback *curTransformFeedback = mState.getCurrentTransformFeedback(); in applyTransformFeedbackBuffers()
/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()
/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()
/external/chromium_org/third_party/angle/tests/angle_implementation_unit_tests/
DTransformFeedback_unittest.cpp34 mFeedback = new gl::TransformFeedback(mImpl, 1); in SetUp()
44 gl::TransformFeedback* mFeedback;
52 gl::TransformFeedback* feedback = new gl::TransformFeedback(impl, 1); in TEST_F()
/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/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/deqp/framework/opengl/
DgluObjectWrapper.hpp133 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/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()

12