Home
last modified time | relevance | path

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

1234567

/external/swiftshader/src/OpenGL/libGLESv2/
DTransformFeedback.cpp22 TransformFeedback::TransformFeedback(GLuint name) : NamedObject(name), mActive(false), mPaused(fals… in TransformFeedback() function in es2::TransformFeedback
26 TransformFeedback::~TransformFeedback() in ~TransformFeedback()
34 Buffer* TransformFeedback::getBuffer(GLuint index) const in getBuffer()
39 GLuint TransformFeedback::getBufferName(GLuint index) const in getBufferName()
44 int TransformFeedback::getOffset(GLuint index) const in getOffset()
49 int TransformFeedback::getSize(GLuint index) const in getSize()
54 void TransformFeedback::addVertexOffset(int count) in addVertexOffset()
62 int TransformFeedback::vertexOffset() const in vertexOffset()
67 bool TransformFeedback::isActive() const in isActive()
72 bool TransformFeedback::isPaused() const in isPaused()
[all …]
DTransformFeedback.h30 class TransformFeedback : public gl::NamedObject
33 TransformFeedback(GLuint name);
34 ~TransformFeedback();
DCMakeLists.txt60 TransformFeedback.cpp
61 TransformFeedback.h
/external/deqp/external/openglcts/modules/gl/
Dgl3cTransformFeedbackTests.cpp58 gl3cts::TransformFeedback::Tests::Tests(deqp::Context& context) in Tests()
61 addChild(new TransformFeedback::APIErrors(m_context)); in Tests()
62 addChild(new TransformFeedback::LinkingErrors(m_context)); in Tests()
63 addChild(new TransformFeedback::Limits(m_context)); in Tests()
64 …addChild(new TransformFeedback::CaptureVertexInterleaved(m_context, "capture_vertex_interleaved_te… in Tests()
66 …addChild(new TransformFeedback::CaptureGeometryInterleaved(m_context, "capture_geometry_interleave… in Tests()
68 addChild(new TransformFeedback::CaptureVertexSeparate(m_context, "capture_vertex_separate_test", in Tests()
70 …addChild(new TransformFeedback::CaptureGeometrySeparate(m_context, "capture_geometry_separate_test… in Tests()
72 addChild(new TransformFeedback::CheckGetXFBVarying(m_context, "get_xfb_varying", in Tests()
74 addChild(new TransformFeedback::QueryVertexInterleaved(m_context, "query_vertex_interleaved_test", in Tests()
[all …]
/external/angle/src/libANGLE/
DTransformFeedback.cpp87 TransformFeedback::TransformFeedback(rx::GLImplFactory *implFactory, in TransformFeedback() function in gl::TransformFeedback
97 void TransformFeedback::onDestroy(const Context *context) in onDestroy()
118 TransformFeedback::~TransformFeedback() in ~TransformFeedback()
123 void TransformFeedback::setLabel(const Context *context, const std::string &label) in setLabel()
128 const std::string &TransformFeedback::getLabel() const in getLabel()
133 angle::Result TransformFeedback::begin(const Context *context, in begin()
172 angle::Result TransformFeedback::end(const Context *context) in end()
188 angle::Result TransformFeedback::pause(const Context *context) in pause()
195 angle::Result TransformFeedback::resume(const Context *context) in resume()
202 bool TransformFeedback::isPaused() const in isPaused()
[all …]
DTransformFeedback.h45 friend class TransformFeedback;
60 class TransformFeedback final : public RefCountObject<TransformFeedbackID>, public LabeledObject
63 TransformFeedback(rx::GLImplFactory *implFactory, TransformFeedbackID id, const Caps &caps);
64 ~TransformFeedback() override;
DTransformFeedback_unittest.cpp44 mFeedback = new gl::TransformFeedback(&mMockFactory, gl::TransformFeedbackID{1}, mCaps); in SetUp()
66 gl::TransformFeedback *mFeedback;
DContext.h83 class TransformFeedback; variable
339 using TransformFeedbackMap = ResourceMap<TransformFeedback, TransformFeedbackID>;
404 TransformFeedback *getTransformFeedback(TransformFeedbackID handle) const;
505 bool isCurrentTransformFeedback(const TransformFeedback *tf) const;
648 TransformFeedback *checkTransformFeedbackAllocation(TransformFeedbackID transformFeedback);
/external/mesa3d/src/mesa/main/
Dtransformfeedback.c77 _mesa_HashWalkLocked(ctx->TransformFeedback.Objects, in _mesa_transform_feedback_is_using_program()
81 active_xfb_object_references_program(ctx->TransformFeedback.DefaultObject, in _mesa_transform_feedback_is_using_program()
134 ctx->TransformFeedback.DefaultObject = in _mesa_init_transform_feedback()
137 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1); in _mesa_init_transform_feedback()
139 reference_transform_feedback_object(&ctx->TransformFeedback.CurrentObject, in _mesa_init_transform_feedback()
140 ctx->TransformFeedback.DefaultObject); in _mesa_init_transform_feedback()
142 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2); in _mesa_init_transform_feedback()
144 ctx->TransformFeedback.Objects = _mesa_NewHashTable(); in _mesa_init_transform_feedback()
147 &ctx->TransformFeedback.CurrentBuffer, NULL); in _mesa_init_transform_feedback()
176 &ctx->TransformFeedback.CurrentBuffer, in _mesa_free_transform_feedback()
[all …]
Dshaderobj.c296 prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS; in init_shader_program()
395 for (i = 0; i < shProg->TransformFeedback.NumVarying; i++) { in _mesa_free_shader_program_data()
396 free(shProg->TransformFeedback.VaryingNames[i]); in _mesa_free_shader_program_data()
398 free(shProg->TransformFeedback.VaryingNames); in _mesa_free_shader_program_data()
399 shProg->TransformFeedback.VaryingNames = NULL; in _mesa_free_shader_program_data()
400 shProg->TransformFeedback.NumVarying = 0; in _mesa_free_shader_program_data()
Ddraw_validate.c539 pass = ctx->TransformFeedback.Mode == GL_POINTS; in _mesa_valid_prim_mode()
542 pass = ctx->TransformFeedback.Mode == GL_LINES; in _mesa_valid_prim_mode()
545 pass = ctx->TransformFeedback.Mode == GL_TRIANGLES; in _mesa_valid_prim_mode()
555 pass = ctx->TransformFeedback.Mode == GL_POINTS; in _mesa_valid_prim_mode()
557 pass = ctx->TransformFeedback.Mode == GL_LINES; in _mesa_valid_prim_mode()
559 pass = ctx->TransformFeedback.Mode == GL_TRIANGLES; in _mesa_valid_prim_mode()
564 pass = ctx->TransformFeedback.Mode == GL_POINTS; in _mesa_valid_prim_mode()
569 pass = ctx->TransformFeedback.Mode == GL_LINES; in _mesa_valid_prim_mode()
572 pass = ctx->TransformFeedback.Mode == GL_TRIANGLES; in _mesa_valid_prim_mode()
581 _mesa_lookup_prim_by_nr(ctx->TransformFeedback.Mode)); in _mesa_valid_prim_mode()
[all …]
Dtransformfeedback.h152 return ctx->TransformFeedback.CurrentObject->Active && in _mesa_is_xfb_active_and_unpaused()
153 !ctx->TransformFeedback.CurrentObject->Paused; in _mesa_is_xfb_active_and_unpaused()
189 &ctx->TransformFeedback.CurrentBuffer, in _mesa_bind_buffer_range_xfb()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_xfb.c63 for (unsigned i = 0; i < prog->TransformFeedback.NumVarying; i++) in gl_nir_link_assign_xfb_resources()
64 free(prog->TransformFeedback.VaryingNames[i]); in gl_nir_link_assign_xfb_resources()
65 free(prog->TransformFeedback.VaryingNames); in gl_nir_link_assign_xfb_resources()
85 prog->TransformFeedback.NumVarying = 0; in gl_nir_link_assign_xfb_resources()
93 prog->TransformFeedback.BufferStride[buf] = xfb_info->buffers[buf].stride; in gl_nir_link_assign_xfb_resources()
95 prog->TransformFeedback.NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
96 prog->TransformFeedback.VaryingNames = in gl_nir_link_assign_xfb_resources()
143 prog->TransformFeedback.VaryingNames[i] = NULL; in gl_nir_link_assign_xfb_resources()
Dshader_cache.cpp166 ralloc_asprintf_append(&buf, "tf: %d ", prog->TransformFeedback.BufferMode); in shader_cache_read_program_metadata()
167 for (unsigned int i = 0; i < prog->TransformFeedback.NumVarying; i++) { in shader_cache_read_program_metadata()
169 prog->TransformFeedback.VaryingNames[i]); in shader_cache_read_program_metadata()
Dserialize.cpp327 blob_write_uint32(metadata, shProg->TransformFeedback.BufferMode); in write_xfb()
328 blob_write_bytes(metadata, shProg->TransformFeedback.BufferStride, in write_xfb()
329 sizeof(shProg->TransformFeedback.BufferStride)); in write_xfb()
330 blob_write_uint32(metadata, shProg->TransformFeedback.NumVarying); in write_xfb()
331 for (unsigned i = 0; i < shProg->TransformFeedback.NumVarying; i++) in write_xfb()
332 blob_write_string(metadata, shProg->TransformFeedback.VaryingNames[i]); in write_xfb()
363 if (shProg->TransformFeedback.VaryingNames) { in read_xfb()
364 for (unsigned i = 0; i < shProg->TransformFeedback.NumVarying; ++i) in read_xfb()
365 free(shProg->TransformFeedback.VaryingNames[i]); in read_xfb()
369 shProg->TransformFeedback.BufferMode = blob_read_uint32(metadata); in read_xfb()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.hpp31 namespace TransformFeedback namespace
DvktTransformFeedbackFuzzLayoutTests.hpp33 namespace TransformFeedback namespace
DvktTransformFeedbackTests.hpp31 namespace TransformFeedback namespace
DvktTransformFeedbackTests.cpp33 namespace TransformFeedback namespace
DvktTransformFeedbackRandomLayoutCase.hpp37 namespace TransformFeedback namespace
/external/deqp-deps/glslang/Test/baseResults/
Dspv.builtInXFB.vert.out7 Capability TransformFeedback
Dspv.xfb.vert.out7 Capability TransformFeedback
Dspv.xfb3.vert.out7 Capability TransformFeedback
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.builtInXFB.vert.out7 Capability TransformFeedback
Dspv.xfb.vert.out7 Capability TransformFeedback

1234567