Home
last modified time | relevance | path

Searched refs:VertexBuffer (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDrawCallPerf.cpp83 enum class VertexBuffer { enum
96 VertexBuffer vertexBufferType;
103 std::tuple<Pipeline, VertexBuffer, BindGroup, UniformData, RenderBundle>;
122 DrawCallParamTuple paramTuple{Pipeline::Static, VertexBuffer::NoChange, BindGroup::NoChange, in MakeParam()
132 std::get<Pipeline>(paramTuple), std::get<VertexBuffer>(paramTuple), in MakeParam()
162 case VertexBuffer::NoChange: in operator <<()
164 case VertexBuffer::Multiple: in operator <<()
167 case VertexBuffer::Dynamic: in operator <<()
299 case VertexBuffer::NoChange: in SetUp()
304 case VertexBuffer::Multiple: { in SetUp()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dvertex_buffer.cc35 VertexBuffer::VertexBuffer(Device* device) : device_(device) {} in VertexBuffer() function in amber::vulkan::VertexBuffer
37 VertexBuffer::~VertexBuffer() = default;
39 void VertexBuffer::SetData(uint8_t location, in SetData()
60 void VertexBuffer::BindToCommandBuffer(CommandBuffer* command) { in BindToCommandBuffer()
73 Result VertexBuffer::SendVertexData(CommandBuffer* command) { in SendVertexData()
Dvertex_buffer.h36 class VertexBuffer {
38 explicit VertexBuffer(Device* device);
39 ~VertexBuffer();
Dgraphics_pipeline.h60 Result Draw(const DrawArraysCommand* command, VertexBuffer* vertex_buffer);
75 const VertexBuffer* vertex_buffer,
79 Result SendVertexBufferDataIfNeeded(VertexBuffer* vertex_buffer);
Dvertex_buffer_test.cc143 vertex_buffer_(MakeUnique<VertexBuffer>(device_.get())) { in VertexBufferTest()
165 std::unique_ptr<VertexBuffer> vertex_buffer_;
Dengine_vulkan.h70 std::unique_ptr<VertexBuffer> vertex_buffer;
Dengine_vulkan.cc212 info.vertex_buffer = MakeUnique<VertexBuffer>(device_.get()); in CreatePipeline()
511 auto vertex_buffer = MakeUnique<VertexBuffer>(device_.get()); in DoDrawRect()
599 auto vertex_buffer = MakeUnique<VertexBuffer>(device_.get()); in DoDrawGrid()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.h41 class VertexBuffer
44 VertexBuffer(unsigned int size);
45 virtual ~VertexBuffer();
55 class ConstantVertexBuffer : public VertexBuffer
62 class StreamingVertexBuffer : public VertexBuffer
DVertexDataManager.cpp239 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) in VertexBuffer() function in es2::VertexBuffer
252 VertexBuffer::~VertexBuffer() in ~VertexBuffer()
260 void VertexBuffer::unmap() in unmap()
268 sw::Resource *VertexBuffer::getResource() const in getResource()
273 ConstantVertexBuffer::ConstantVertexBuffer(float x, float y, float z, float w) : VertexBuffer(4 * s… in ConstantVertexBuffer()
292 StreamingVertexBuffer::StreamingVertexBuffer(unsigned int size) : VertexBuffer(size) in StreamingVertexBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp22 unsigned int VertexBuffer::mNextSerial = 1;
24 VertexBuffer::VertexBuffer() : mRefCount(1) in VertexBuffer() function in rx::VertexBuffer
29 VertexBuffer::~VertexBuffer() {} in ~VertexBuffer()
31 void VertexBuffer::updateSerial() in updateSerial()
36 unsigned int VertexBuffer::getSerial() const in getSerial()
41 void VertexBuffer::addRef() in addRef()
46 void VertexBuffer::release() in release()
120 VertexBuffer *VertexBufferInterface::getVertexBuffer() const in getVertexBuffer()
DVertexBuffer.h38 class VertexBuffer : angle::NonCopyable
41 VertexBuffer();
74 virtual ~VertexBuffer();
93 VertexBuffer *getVertexBuffer() const;
108 VertexBuffer *mVertexBuffer;
DVertexDataManager.h32 class VertexBuffer; variable
41 void set(VertexBuffer *vertexBuffer);
42 VertexBuffer *get() const;
46 VertexBuffer *mBoundVertexBuffer;
DVertexDataManager.cpp397 VertexBuffer *vertexBuffer = staticBuffer->getVertexBuffer(); in StoreStaticAttrib()
574 VertexBuffer *vertexBuffer = mStreamingBuffer.getVertexBuffer(); in storeDynamicAttrib()
660 void VertexBufferBinding::set(VertexBuffer *vertexBuffer) in set()
677 VertexBuffer *VertexBufferBinding::get() const in get()
DBUILD.gn59 "VertexBuffer.cpp",
60 "VertexBuffer.h",
/third_party/vk-gl-cts/framework/opengl/
DgluDrawUtil.cpp102 class VertexBuffer : public Buffer class
113VertexBuffer (const RenderContext& context, int numBindings, const VertexArrayBinding* bindings, …
114 ~VertexBuffer (void);
119 VertexBuffer (const VertexBuffer& other);
120 VertexBuffer& operator= (const VertexBuffer& other);
339 VertexBuffer::VertexBuffer (const RenderContext& context, int numBindings, const VertexArrayBinding… in VertexBuffer() function in glu::__anonf334bb600111::VertexBuffer
367 VertexBuffer::~VertexBuffer (void) in ~VertexBuffer()
542VertexBuffer vertexBuffer (context, (int)bindingsWithLocations.size(), (bindingsWithLocations.empt… in drawFromBuffers()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_wgpu.cpp59 WGPUBuffer VertexBuffer; member
261 SafeRelease(res.VertexBuffer); in SafeRelease()
316 wgpuRenderPassEncoderSetVertexBuffer(ctx, 0, fr->VertexBuffer, 0, 0); in ImGui_ImplWGPU_SetupRenderState()
340 if (fr->VertexBuffer == NULL || fr->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplWGPU_RenderDrawData()
342 if (fr->VertexBuffer) in ImGui_ImplWGPU_RenderDrawData()
344 wgpuBufferDestroy(fr->VertexBuffer); in ImGui_ImplWGPU_RenderDrawData()
345 wgpuBufferRelease(fr->VertexBuffer); in ImGui_ImplWGPU_RenderDrawData()
358 fr->VertexBuffer = wgpuDeviceCreateBuffer(g_wgpuDevice, &vb_desc); in ImGui_ImplWGPU_RenderDrawData()
359 if (!fr->VertexBuffer) in ImGui_ImplWGPU_RenderDrawData()
402 wgpuQueueWriteBuffer(g_defaultQueue, fr->VertexBuffer, 0, fr->VertexBufferHost, vb_write_size); in ImGui_ImplWGPU_RenderDrawData()
[all …]
Dimgui_impl_dx12.cpp55 ID3D12Resource* VertexBuffer; member
127 vbv.BufferLocation = fr->VertexBuffer->GetGPUVirtualAddress() + offset; in ImGui_ImplDX12_SetupRenderState()
169 if (fr->VertexBuffer == NULL || fr->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplDX12_RenderDrawData()
171 SafeRelease(fr->VertexBuffer); in ImGui_ImplDX12_RenderDrawData()
189 …AP_FLAG_NONE, &desc, D3D12_RESOURCE_STATE_GENERIC_READ, NULL, IID_PPV_ARGS(&fr->VertexBuffer)) < 0) in ImGui_ImplDX12_RenderDrawData()
220 if (fr->VertexBuffer->Map(0, &range, &vtx_resource) != S_OK) in ImGui_ImplDX12_RenderDrawData()
234 fr->VertexBuffer->Unmap(0, &range); in ImGui_ImplDX12_RenderDrawData()
688 SafeRelease(fr->VertexBuffer); in ImGui_ImplDX12_InvalidateDeviceObjects()
718 fr->VertexBuffer = NULL; in ImGui_ImplDX12_Init()
Dimgui_impl_dx10.cpp208 ID3D10Buffer* IndexBuffer, *VertexBuffer, *VSConstantBuffer; in ImGui_ImplDX10_RenderDrawData() member
228 …ctx->IAGetVertexBuffers(0, 1, &old.VertexBuffer, &old.VertexBufferStride, &old.VertexBufferOffset); in ImGui_ImplDX10_RenderDrawData()
290 …VertexBuffers(0, 1, &old.VertexBuffer, &old.VertexBufferStride, &old.VertexBufferOffset); if (old. in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_dx11.cpp216 ID3D11Buffer* IndexBuffer, *VertexBuffer, *VSConstantBuffer; in ImGui_ImplDX11_RenderDrawData() member
238 …ctx->IAGetVertexBuffers(0, 1, &old.VertexBuffer, &old.VertexBufferStride, &old.VertexBufferOffset); in ImGui_ImplDX11_RenderDrawData()
302 …VertexBuffers(0, 1, &old.VertexBuffer, &old.VertexBufferStride, &old.VertexBufferOffset); if (old. in ImGui_ImplDX11_RenderDrawData()
Dimgui_impl_vulkan.cpp67 VkBuffer VertexBuffer; member
388 VkBuffer vertex_buffers[1] = { rb->VertexBuffer }; in ImGui_ImplVulkan_SetupRenderState()
452 if (rb->VertexBuffer == VK_NULL_HANDLE || rb->VertexBufferSize < vertex_size) in ImGui_ImplVulkan_RenderDrawData()
453 …CreateOrResizeBuffer(rb->VertexBuffer, rb->VertexBufferMemory, rb->VertexBufferSize, vertex_size, … in ImGui_ImplVulkan_RenderDrawData()
1447 …if (buffers->VertexBuffer) { vkDestroyBuffer(device, buffers->VertexBuffer, allocator); buffers->V… in ImGui_ImplVulkanH_DestroyFrameRenderBuffers()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/vert/
Dfunctions_nested.vert18 struct VertexBuffer
45 attr_desc fetch_desc(thread const int& location, constant VertexBuffer& v_227)
138 float4 read_location(thread const int& location, constant VertexBuffer& v_227, thread uint& gl_Vert…
158 … dst_reg0, thread float4& dst_reg1, thread float4& dst_reg7, constant VertexBuffer& v_227, thread …
180 vertex main0_out main0(constant VertexBuffer& v_227 [[buffer(0)]], constant VertexConstantsBuffer& …
/third_party/skia/src/gpu/d3d/
DGrD3DCommandSignature.cpp18 argumentDesc.VertexBuffer.Slot = slot; in Make()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.h18 class VertexBuffer9 : public VertexBuffer
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DDrawCallPerf.cpp22 VertexBuffer, enumerator
57 case StateChange::VertexBuffer: in story()
542 case StateChange::VertexBuffer: in drawBenchmark()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexBuffer11.h21 class VertexBuffer11 : public VertexBuffer

12