Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/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
/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/angle2/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.h82 class TransformFeedback; variable
340 using TransformFeedbackMap = ResourceMap<TransformFeedback, TransformFeedbackID>;
404 TransformFeedback *getTransformFeedback(TransformFeedbackID handle) const;
505 bool isCurrentTransformFeedback(const TransformFeedback *tf) const;
653 TransformFeedback *checkTransformFeedbackAllocation(TransformFeedbackID transformFeedback);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DTransformFeedback.cpp87 TransformFeedback::TransformFeedback(rx::GLImplFactory *implFactory, GLuint id, const Caps &caps) in TransformFeedback() function in gl::TransformFeedback
95 void TransformFeedback::onDestroy(const Context *context) in onDestroy()
111 TransformFeedback::~TransformFeedback() in ~TransformFeedback()
116 void TransformFeedback::setLabel(const Context *context, const std::string &label) in setLabel()
121 const std::string &TransformFeedback::getLabel() const in getLabel()
126 angle::Result TransformFeedback::begin(const Context *context, in begin()
158 angle::Result TransformFeedback::end(const Context *context) in end()
174 angle::Result TransformFeedback::pause(const Context *context) in pause()
181 angle::Result TransformFeedback::resume(const Context *context) in resume()
188 bool TransformFeedback::isPaused() const in isPaused()
[all …]
DTransformFeedback.h45 friend class TransformFeedback;
60 class TransformFeedback final : public RefCountObject, public LabeledObject
63 TransformFeedback(rx::GLImplFactory *implFactory, GLuint id, const Caps &caps);
64 ~TransformFeedback() override;
DContext.h94 class TransformFeedback; variable
383 TransformFeedback *getTransformFeedback(GLuint handle) const;
485 bool isCurrentTransformFeedback(const TransformFeedback *tf) const;
589 TransformFeedback *checkTransformFeedbackAllocation(GLuint transformFeedback);
656 ResourceMap<TransformFeedback> mTransformFeedbackMap;
DTransformFeedback_unittest.cpp44 mFeedback = new gl::TransformFeedback(&mMockFactory, 1, mCaps); in SetUp()
66 gl::TransformFeedback *mFeedback;
DState.h300 void setTransformFeedbackBinding(const Context *context, TransformFeedback *transformFeedback);
301 TransformFeedback *getCurrentTransformFeedback() const { return mTransformFeedback.get(); } in getCurrentTransformFeedback()
305 TransformFeedback *curTransformFeedback = mTransformFeedback.get(); in isTransformFeedbackActive()
310 TransformFeedback *curTransformFeedback = mTransformFeedback.get(); in isTransformFeedbackActiveUnpaused()
648 bool isCurrentTransformFeedback(const TransformFeedback *tf) const in isCurrentTransformFeedback()
848 BindingPointer<TransformFeedback> mTransformFeedback;
/third_party/mesa3d/src/mesa/main/
Dtransformfeedback.c78 _mesa_HashWalkLocked(ctx->TransformFeedback.Objects, in _mesa_transform_feedback_is_using_program()
82 active_xfb_object_references_program(ctx->TransformFeedback.DefaultObject, in _mesa_transform_feedback_is_using_program()
135 ctx->TransformFeedback.DefaultObject = in _mesa_init_transform_feedback()
138 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1); in _mesa_init_transform_feedback()
140 reference_transform_feedback_object(&ctx->TransformFeedback.CurrentObject, in _mesa_init_transform_feedback()
141 ctx->TransformFeedback.DefaultObject); in _mesa_init_transform_feedback()
143 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2); in _mesa_init_transform_feedback()
145 ctx->TransformFeedback.Objects = _mesa_NewHashTable(); in _mesa_init_transform_feedback()
148 &ctx->TransformFeedback.CurrentBuffer, NULL); in _mesa_init_transform_feedback()
177 &ctx->TransformFeedback.CurrentBuffer, in _mesa_free_transform_feedback()
[all …]
Ddraw_validate.c298 if (ctx->TransformFeedback.Mode != GL_POINTS) in _mesa_update_valid_to_render_state()
302 if (ctx->TransformFeedback.Mode != GL_LINES) in _mesa_update_valid_to_render_state()
306 if (ctx->TransformFeedback.Mode != GL_TRIANGLES) in _mesa_update_valid_to_render_state()
317 if (ctx->TransformFeedback.Mode != GL_POINTS) in _mesa_update_valid_to_render_state()
320 if (ctx->TransformFeedback.Mode != GL_LINES) in _mesa_update_valid_to_render_state()
323 if (ctx->TransformFeedback.Mode != GL_TRIANGLES) in _mesa_update_valid_to_render_state()
328 switch (ctx->TransformFeedback.Mode) { in _mesa_update_valid_to_render_state()
Dshaderobj.c309 prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS; in init_shader_program()
409 for (i = 0; i < shProg->TransformFeedback.NumVarying; i++) { in _mesa_free_shader_program_data()
410 free(shProg->TransformFeedback.VaryingNames[i]); in _mesa_free_shader_program_data()
412 free(shProg->TransformFeedback.VaryingNames); in _mesa_free_shader_program_data()
413 shProg->TransformFeedback.VaryingNames = NULL; in _mesa_free_shader_program_data()
414 shProg->TransformFeedback.NumVarying = 0; in _mesa_free_shader_program_data()
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()
/third_party/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.cpp168 ralloc_asprintf_append(&buf, "tf: %d ", prog->TransformFeedback.BufferMode); in shader_cache_read_program_metadata()
169 for (unsigned int i = 0; i < prog->TransformFeedback.NumVarying; i++) { in shader_cache_read_program_metadata()
171 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 …]
/third_party/vk-gl-cts/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

1234567