Home
last modified time | relevance | path

Searched refs:BufferBinding (Results 1 – 25 of 109) sorted by relevance

12345

/external/angle/src/common/
DPackedGLEnums_autogen.cpp106 BufferBinding FromGLenum<BufferBinding>(GLenum from) in FromGLenum()
111 return BufferBinding::Array; in FromGLenum()
113 return BufferBinding::AtomicCounter; in FromGLenum()
115 return BufferBinding::CopyRead; in FromGLenum()
117 return BufferBinding::CopyWrite; in FromGLenum()
119 return BufferBinding::DispatchIndirect; in FromGLenum()
121 return BufferBinding::DrawIndirect; in FromGLenum()
123 return BufferBinding::ElementArray; in FromGLenum()
125 return BufferBinding::PixelPack; in FromGLenum()
127 return BufferBinding::PixelUnpack; in FromGLenum()
[all …]
/external/angle/src/libANGLE/
DBuffer.h86 BufferBinding target,
91 BufferBinding target,
96 BufferBinding target,
101 BufferBinding target,
170 BufferBinding target,
176 BufferBinding target,
DState.cpp52 constexpr angle::PackedEnumMap<BufferBinding, size_t> kBufferBindingDirtyBits = {{
53 {BufferBinding::AtomicCounter, State::DIRTY_BIT_ATOMIC_COUNTER_BUFFER_BINDING},
54 {BufferBinding::DispatchIndirect, State::DIRTY_BIT_DISPATCH_INDIRECT_BUFFER_BINDING},
55 {BufferBinding::DrawIndirect, State::DIRTY_BIT_DRAW_INDIRECT_BUFFER_BINDING},
56 {BufferBinding::PixelPack, State::DIRTY_BIT_PACK_BUFFER_BINDING},
57 {BufferBinding::PixelUnpack, State::DIRTY_BIT_UNPACK_BUFFER_BINDING},
58 {BufferBinding::ShaderStorage, State::DIRTY_BIT_SHADER_STORAGE_BUFFER_BINDING},
59 {BufferBinding::Uniform, State::DIRTY_BIT_UNIFORM_BUFFER_BINDINGS},
63 template <BufferBinding Target>
64 constexpr std::pair<BufferBinding, State::BufferBindingSetter> GetBufferBindingSetter() in GetBufferBindingSetter()
[all …]
DContext_gles_3_0_autogen.h16 void bindBufferBase(BufferBinding targetPacked, GLuint index, BufferID bufferPacked); \
17 void bindBufferRange(BufferBinding targetPacked, GLuint index, BufferID bufferPacked, \
36 void copyBufferSubData(BufferBinding readTargetPacked, BufferBinding writeTargetPacked, \
56 void flushMappedBufferRange(BufferBinding targetPacked, GLintptr offset, GLsizeiptr length); \
71 void getBufferParameteri64v(BufferBinding targetPacked, GLenum pname, GLint64 *params); \
72 void getBufferPointerv(BufferBinding targetPacked, GLenum pname, void **params); \
105 void *mapBufferRange(BufferBinding targetPacked, GLintptr offset, GLsizeiptr length, \
154 GLboolean unmapBuffer(BufferBinding targetPacked); \
DvalidationES3_autogen.h23 BufferBinding targetPacked,
27 BufferBinding targetPacked,
92 BufferBinding readTargetPacked,
93 BufferBinding writeTargetPacked,
139 BufferBinding targetPacked,
172 BufferBinding targetPacked,
176 BufferBinding targetPacked,
269 BufferBinding targetPacked,
414 bool ValidateUnmapBuffer(const Context *context, BufferBinding targetPacked);
DBuffer.cpp75 BufferBinding target, in bufferStorageExternal()
84 BufferBinding target, in bufferStorage()
93 BufferBinding target, in bufferData()
103 BufferBinding target, in bufferDataImpl()
161 BufferBinding target, in bufferExternalDataImpl()
206 BufferBinding target, in bufferSubData()
/external/mesa3d/src/mesa/tnl/
Dt_rebase.c224 tmp_arrays[i].BufferBinding = arrays[i].BufferBinding; in REBASE()
226 if (arrays[i].BufferBinding->BufferObj) in REBASE()
228 min_index * arrays[i].BufferBinding->Stride; in REBASE()
230 tmp_attribs[i].Ptr += min_index * arrays[i].BufferBinding->Stride; in REBASE()
Dt_split_copy.c116 dst->BufferBinding = src->BufferBinding; in copy_vertex_array()
164 = array->BufferBinding; in dump_draw_info()
258 = srcarray->BufferBinding; in elt()
435 const struct gl_vertex_buffer_binding *binding = array->BufferBinding; in replay_init()
464 copy->dstarray[i].BufferBinding = &copy->varying[j].dstbinding; in replay_init()
535 dst->BufferBinding = dstbind; in replay_init()
575 copy->varying[i].array->BufferBinding->BufferObj; in replay_finish()
/external/angle/src/libANGLE/renderer/vulkan/
DBufferVk.h52 gl::BufferBinding target,
57 gl::BufferBinding target,
64 gl::BufferBinding target,
69 gl::BufferBinding target,
133 gl::BufferBinding target,
165 gl::BufferBinding target,
DBufferVk.cpp40 ANGLE_INLINE VkMemoryPropertyFlags GetPreferredMemoryType(gl::BufferBinding target, in GetPreferredMemoryType()
52 if (target == gl::BufferBinding::PixelUnpack) in GetPreferredMemoryType()
232 gl::BufferBinding target, in initializeShadowBuffer()
243 if (target == gl::BufferBinding::PixelUnpack) in initializeShadowBuffer()
283 gl::BufferBinding target, in setExternalBufferData()
327 gl::BufferBinding target, in setDataWithUsageFlags()
377 gl::BufferBinding target, in setData()
388 gl::BufferBinding target, in setDataWithMemoryType()
454 gl::BufferBinding target, in setSubData()
/external/angle/src/libANGLE/renderer/null/
DBufferNULL.h27 gl::BufferBinding target,
34 gl::BufferBinding target,
39 gl::BufferBinding target,
DBufferNULL.cpp34 gl::BufferBinding target, in setDataWithUsageFlags()
53 gl::BufferBinding target, in setData()
70 gl::BufferBinding target, in setSubData()
/external/angle/src/libANGLE/renderer/gl/
DBufferGL.cpp28 static constexpr gl::BufferBinding SourceBufferOperationTarget = gl::BufferBinding::CopyRead;
32 static constexpr gl::BufferBinding DestBufferOperationTarget = gl::BufferBinding::Array;
57 gl::BufferBinding target, in setData()
89 gl::BufferBinding target, in setSubData()
DStateManagerGL.cpp166 mIndexedBuffers[gl::BufferBinding::Uniform].resize(rendererCaps.maxUniformBufferBindings);
167 mIndexedBuffers[gl::BufferBinding::AtomicCounter].resize(
169 mIndexedBuffers[gl::BufferBinding::ShaderStorage].resize(
297 for (auto target : angle::AllEnums<gl::BufferBinding>()) in deleteBuffer()
418 mBuffers[gl::BufferBinding::ElementArray] = vaoState ? vaoState->elementArrayBuffer : 0; in bindVertexArray()
426 void StateManagerGL::bindBuffer(gl::BufferBinding target, GLuint buffer) in bindBuffer()
431 ASSERT(target != gl::BufferBinding::TransformFeedback); in bindBuffer()
439 void StateManagerGL::bindBufferBase(gl::BufferBinding target, size_t index, GLuint buffer) in bindBufferBase()
442 ASSERT(target != gl::BufferBinding::TransformFeedback); in bindBufferBase()
457 void StateManagerGL::bindBufferRange(gl::BufferBinding target, in bindBufferRange()
[all …]
DBufferGL.h30 gl::BufferBinding target,
35 gl::BufferBinding target,
DStateManagerGL.h169 void bindBuffer(gl::BufferBinding target, GLuint buffer);
170 void bindBufferBase(gl::BufferBinding target, size_t index, GLuint buffer);
171 void bindBufferRange(gl::BufferBinding target,
291 GLuint getBufferID(gl::BufferBinding binding) const { return mBuffers[binding]; } in getBufferID()
386 angle::PackedEnumMap<gl::BufferBinding, GLuint> mBuffers;
396 angle::PackedEnumMap<gl::BufferBinding, std::vector<IndexedBufferBinding>> mIndexedBuffers;
/external/angle/src/libANGLE/renderer/
DBufferImpl.h39 gl::BufferBinding target,
46 gl::BufferBinding target,
51 gl::BufferBinding target,
DBufferImpl_mock.h27 gl::BufferBinding,
33 angle::Result(const gl::Context *, gl::BufferBinding, const void *, size_t, size_t));
/external/mesa3d/src/mesa/main/
Darrayobj.c313 for (i = 0; i < ARRAY_SIZE(obj->BufferBinding); i++) in _mesa_unbind_array_object_vbos()
314 _mesa_reference_buffer_object(ctx, &obj->BufferBinding[i].BufferObj, NULL); in _mesa_unbind_array_object_vbos()
567 struct gl_vertex_buffer_binding *binding = &vao->BufferBinding[bindex]; in _mesa_update_vao_derived_arrays()
630 &vao->BufferBinding[attrib2->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
667 &vao->BufferBinding[attrib2->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
724 &vao->BufferBinding[attrib2->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
785 &vao->BufferBinding[attrib->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
788 &vao->BufferBinding[attrib->_EffBufferBindingIndex]; in _mesa_update_vao_derived_arrays()
831 &vao->BufferBinding[attrib_array->BufferBindingIndex]; in _mesa_all_varyings_in_vbos()
860 &vao->BufferBinding[attrib_array->BufferBindingIndex]; in _mesa_all_buffers_are_unmapped()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DTransformFeedback.h36 BufferBinding* getBuffers() { return mBuffer; } in getBuffers()
56 BufferBinding mBuffer[MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS];
DBuffer.h66 class BufferBinding
69 BufferBinding() : offset(0), size(0) { } in BufferBinding() function
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.h33 gl::BufferBinding target,
38 gl::BufferBinding target,
/external/angle/src/tests/perf_tests/
DIndexDataManagerTest.cpp86 gl::BufferBinding target, in setData()
101 angle::Result(const gl::Context *, gl::BufferBinding, const void *, size_t, size_t));
177 mIndexBuffer.bufferData(nullptr, gl::BufferBinding::Array, &indexData[0],
/external/mesa3d/src/mesa/vbo/
Dvbo_save_loopback.c190 struct gl_buffer_object *bufferobj = vao->BufferBinding[0].BufferObj; in _vbo_loopback_vertex_list()
194 <= vao->BufferBinding[0].Offset + offset in _vbo_loopback_vertex_list()
196 buffer += vao->BufferBinding[0].Offset + offset in _vbo_loopback_vertex_list()
/external/angle/src/libANGLE/renderer/metal/
DBufferMtl.h109 gl::BufferBinding target,
114 gl::BufferBinding target,
164 gl::BufferBinding target,

12345