/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_draw.h | 47 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/ |
D | freedreno_draw.h | 47 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/ |
D | fd4_draw.h | 53 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/ |
D | imgui_impl_opengl2.cpp | 124 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()
|
D | imgui_impl_marmalade.cpp | 49 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/ |
D | imgui_impl_opengl2.cpp | 184 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()
|
D | imgui_impl_marmalade.cpp | 54 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()
|
D | imgui_impl_sdlrenderer.cpp | 141 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/ |
D | fd6_draw.c | 103 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/ |
D | imgui.cpp | 11716 … 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/ |
D | imgui.cpp | 9167 … 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/ |
D | imgui.cpp | 9328 … 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()
|