Home
last modified time | relevance | path

Searched refs:idx_buffer (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.h47 uint32_t idx_offset, struct pipe_resource *idx_buffer) in fd5_draw() argument
57 OUT_PKT7(ring, CP_DRAW_INDX_OFFSET, idx_buffer ? 7 : 3); in fd5_draw()
69 if (idx_buffer) { in fd5_draw()
71 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd5_draw()
87 struct pipe_resource *idx_buffer = NULL; in fd5_draw_emit() local
125 idx_buffer = info->index.resource; in fd5_draw_emit()
127 max_indices = idx_buffer->width0 / info->index_size; in fd5_draw_emit()
131 idx_buffer = NULL; in fd5_draw_emit()
140 idx_buffer); in fd5_draw_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.h47 struct pipe_resource *idx_buffer) in fd_draw() argument
85 if (idx_buffer) in fd_draw()
101 OUT_PKT3(ring, CP_DRAW_INDX, idx_buffer ? 5 : 3); in fd_draw()
115 if (idx_buffer) { in fd_draw()
116 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd_draw()
148 struct pipe_resource *idx_buffer = NULL; in fd_draw_emit() local
156 idx_buffer = info->index.resource; in fd_draw_emit()
162 idx_buffer = NULL; in fd_draw_emit()
171 idx_buffer); in fd_draw_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.h53 uint32_t idx_offset, struct pipe_resource *idx_buffer) in fd4_draw() argument
63 OUT_PKT3(ring, CP_DRAW_INDX_OFFSET, idx_buffer ? 6 : 3); in fd4_draw()
75 if (idx_buffer) { in fd4_draw()
77 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd4_draw()
93 struct pipe_resource *idx_buffer = NULL; in fd4_draw_emit() local
131 idx_buffer = info->index.resource; in fd4_draw_emit()
137 idx_buffer = NULL; in fd4_draw_emit()
145 info->instance_count, idx_type, idx_size, idx_offset, idx_buffer); in fd4_draw_emit()
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_opengl2.cpp124 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_ImplOpenGL2_RenderDrawData() local
147 …GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer); in ImGui_ImplOpenGL2_RenderDrawData()
150 idx_buffer += pcmd->ElemCount; in ImGui_ImplOpenGL2_RenderDrawData()
Dimgui_impl_marmalade.cpp49 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_Marmalade_RenderDrawData() local
88 IwGxDrawPrims(IW_GX_TRI_LIST, (uint16*)idx_buffer, pcmd->ElemCount); in ImGui_Marmalade_RenderDrawData()
90 idx_buffer += pcmd->ElemCount; in ImGui_Marmalade_RenderDrawData()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_opengl2.cpp184 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_ImplOpenGL2_RenderDrawData() local
214 …GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer); in ImGui_ImplOpenGL2_RenderDrawData()
216 idx_buffer += pcmd->ElemCount; in ImGui_ImplOpenGL2_RenderDrawData()
Dimgui_impl_marmalade.cpp54 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_Marmalade_RenderDrawData() local
94 IwGxDrawPrims(IW_GX_TRI_LIST, (uint16*)idx_buffer, pcmd->ElemCount); in ImGui_Marmalade_RenderDrawData()
96 idx_buffer += pcmd->ElemCount; in ImGui_Marmalade_RenderDrawData()
Dimgui_impl_sdlrenderer.cpp141 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_ImplSDLRenderer_RenderDrawData() local
181 idx_buffer + pcmd->IdxOffset, pcmd->ElemCount, sizeof(ImDrawIdx)); in ImGui_ImplSDLRenderer_RenderDrawData()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_draw.c103 struct pipe_resource *idx_buffer = info->index.resource; in draw_emit() local
105 (idx_buffer->width0 - index_offset) / info->index_size; in draw_emit()
111 A5XX_CP_DRAW_INDX_OFFSET_INDX_BASE(fd_resource(idx_buffer)->bo, in draw_emit()
/third_party/skia/third_party/externals/imgui/
Dimgui.cpp11716 … const ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; in DebugNodeDrawList() local
11723 triangle[n] = vtx_buffer[idx_buffer ? idx_buffer[idx_n] : idx_n].pos; in DebugNodeDrawList()
11743 const ImDrawVert& v = vtx_buffer[idx_buffer ? idx_buffer[idx_i] : idx_i]; in DebugNodeDrawList()
11775 …ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; // We … in DebugNodeDrawCmdShowMeshAndBoundingBox() local
11780 vtxs_rect.Add((triangle[n] = vtx_buffer[idx_buffer ? idx_buffer[idx_n] : idx_n].pos)); in DebugNodeDrawCmdShowMeshAndBoundingBox()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui.cpp9167 … ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; in ShowMetricsWindow() local
9174 vtxs_rect.Add(draw_list->VtxBuffer[idx_buffer ? idx_buffer[i] : i].pos); in ShowMetricsWindow()
9191 … ImDrawVert& v = draw_list->VtxBuffer[idx_buffer ? idx_buffer[vtx_i] : vtx_i]; in ShowMetricsWindow()
/third_party/mesa3d/src/imgui/
Dimgui.cpp9328 … ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; in ShowMetricsWindow() local
9335 vtxs_rect.Add(draw_list->VtxBuffer[idx_buffer ? idx_buffer[i] : i].pos); in ShowMetricsWindow()
9352 int vtx_i = idx_buffer ? idx_buffer[idx_i] : idx_i; in ShowMetricsWindow()