Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/angle2/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 …]
DPackedGLEnums_autogen.h46 enum class BufferBinding : uint8_t enum
67 BufferBinding FromGLenum<BufferBinding>(GLenum from);
68 GLenum ToGLenum(BufferBinding from);
69 std::ostream &operator<<(std::ostream &os, BufferBinding value);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
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 …]
DBuffer.h98 BufferBinding target,
103 BufferBinding target,
108 BufferBinding target,
113 BufferBinding target,
194 BufferBinding target,
200 BufferBinding target,
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); \
DBuffer.cpp76 BufferBinding target, in bufferStorageExternal()
85 BufferBinding target, in bufferStorage()
94 BufferBinding target, in bufferData()
104 BufferBinding target, in bufferDataImpl()
171 BufferBinding target, in bufferExternalDataImpl()
216 BufferBinding target, in bufferSubData()
DvalidationES3_autogen.h30 BufferBinding targetPacked,
35 BufferBinding targetPacked,
115 BufferBinding readTargetPacked,
116 BufferBinding writeTargetPacked,
181 BufferBinding targetPacked,
229 BufferBinding targetPacked,
234 BufferBinding targetPacked,
361 BufferBinding targetPacked,
537 BufferBinding targetPacked);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.h58 gl::BufferBinding target,
63 gl::BufferBinding target,
70 gl::BufferBinding target,
75 gl::BufferBinding target,
142 gl::BufferBinding target,
185 gl::BufferBinding target,
/third_party/skia/third_party/externals/angle2/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 …]
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;
DBufferGL.h30 gl::BufferBinding target,
35 gl::BufferBinding target,
/third_party/skia/third_party/externals/angle2/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()
/third_party/mesa3d/src/mesa/main/
Darrayobj.c314 for (i = 0; i < ARRAY_SIZE(obj->BufferBinding); i++) in _mesa_unbind_array_object_vbos()
315 _mesa_reference_buffer_object(ctx, &obj->BufferBinding[i].BufferObj, NULL); in _mesa_unbind_array_object_vbos()
570 struct gl_vertex_buffer_binding *binding = &vao->BufferBinding[bindex]; in _mesa_update_vao_derived_arrays()
633 &vao->BufferBinding[attrib2->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
670 &vao->BufferBinding[attrib2->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
727 &vao->BufferBinding[attrib2->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
788 &vao->BufferBinding[attrib->BufferBindingIndex]; in _mesa_update_vao_derived_arrays()
791 &vao->BufferBinding[attrib->_EffBufferBindingIndex]; in _mesa_update_vao_derived_arrays()
833 struct gl_vertex_buffer_binding *binding = &vao->BufferBinding[bindex]; in _mesa_vao_map_arrays()
875 struct gl_vertex_buffer_binding *binding = &vao->BufferBinding[bindex]; in _mesa_vao_unmap_arrays()
Dvarray.c173 if (vao->BufferBinding[bindingIndex].BufferObj) in _mesa_vertex_attrib_binding()
178 if (vao->BufferBinding[bindingIndex].InstanceDivisor) in _mesa_vertex_attrib_binding()
183 vao->BufferBinding[array->BufferBindingIndex]._BoundArrays &= ~array_bit; in _mesa_vertex_attrib_binding()
184 vao->BufferBinding[bindingIndex]._BoundArrays |= array_bit; in _mesa_vertex_attrib_binding()
210 assert(index < ARRAY_SIZE(vao->BufferBinding)); in _mesa_bind_vertex_buffer()
212 struct gl_vertex_buffer_binding *binding = &vao->BufferBinding[index]; in _mesa_bind_vertex_buffer()
272 &vao->BufferBinding[bindingIndex]; in vertex_binding_divisor()
2141 buf = vao->BufferBinding[array->BufferBindingIndex].BufferObj; in get_vertex_array_attrib()
2158 return vao->BufferBinding[array->BufferBindingIndex].InstanceDivisor; in get_vertex_array_attrib()
2423 params[0] = vao->BufferBinding[VERT_ATTRIB_GENERIC(index)].Offset; in _mesa_GetVertexArrayIndexediv()
[all …]
/third_party/skia/third_party/externals/angle2/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));
/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroup.h36 struct BufferBinding { struct
50 BufferBinding GetBindingAsBufferBinding(BindingIndex bindingIndex); argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.h33 gl::BufferBinding target,
38 gl::BufferBinding target,
/third_party/skia/third_party/externals/angle2/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],
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dcapture_gles_2_0_params.cpp33 BufferBinding targetPacked, in CaptureBufferData_data()
47 BufferBinding targetPacked, in CaptureBufferSubData_data()
68 if (glState.getTargetBuffer(gl::BufferBinding::PixelUnpack)) in CaptureCompressedTexImage2D_data()
344 BufferBinding targetPacked, in CaptureGetBufferParameteriv_params()
609 if (glState.getTargetBuffer(gl::BufferBinding::PixelPack)) in CaptureReadPixels_pixels()
684 if (glState.getTargetBuffer(gl::BufferBinding::PixelUnpack)) in CaptureTexImage2D_pixels()
916 if (!glState.getTargetBuffer(gl::BufferBinding::Array)) in CaptureVertexAttribPointer_pointer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DBufferMtl.h116 gl::BufferBinding target,
121 gl::BufferBinding target,
179 gl::BufferBinding target,

12345