Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 25 of 144) sorted by relevance

123456

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_mesh_shader/
Ddrawing.adoc46 [open,refpage='vkCmdDrawMeshTasksIndirectNV',desc='Issue an indirect mesh tasks draw into a command…
56 * pname:buffer is the buffer containing draw parameters.
60 * pname:stride is the byte stride between successive sets of draw
68 bytes for each successive draw.
69 The parameters of each draw are encoded in an array of
100 [open,refpage='VkDrawMeshTasksIndirectCommandNV',desc='Structure specifying a mesh tasks draw indir…
124 …DrawMeshTasksIndirectCountNV',desc='Perform an indirect mesh tasks draw with the draw count source…
128 To record an indirect mesh tasks drawing command with the draw count sourced
135 * pname:buffer is the buffer containing draw parameters.
138 * pname:countBuffer is the buffer containing the draw count.
[all …]
/hardware/google/gfxstream/guest/mesa/include/
Dkopper_interface.h71 int64_t (*swapBuffers)(__DRIdrawable *draw, uint32_t flush_flags);
107 void (*SetSurfaceCreateInfo)(void *draw, struct kopper_loader_info *out);
109 void (*GetDrawableInfo)(__DRIdrawable *draw, int *w, int *h,
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.cpp522 struct overlay_draw *draw = list_is_empty(&data->draws) ? in get_overlay_draw() local
528 if (draw && device_data->vtable.GetFenceStatus(device_data->device, draw->fence) == VK_SUCCESS) { in get_overlay_draw()
529 list_del(&draw->link); in get_overlay_draw()
531 1, &draw->fence)); in get_overlay_draw()
532 list_addtail(&draw->link, &data->draws); in get_overlay_draw()
533 return draw; in get_overlay_draw()
536 draw = rzalloc(data, struct overlay_draw); in get_overlay_draw()
545 &draw->command_buffer)); in get_overlay_draw()
547 draw->command_buffer)); in get_overlay_draw()
555 &draw->fence)); in get_overlay_draw()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.h40 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
58 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
73 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
Dhwc_mdpcomp.h45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
181 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
205 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglValidate.h46 EGLSurface draw,
59 EGLSurface draw,
DEglOsApi_darwin.cpp321 EglOS::Surface* draw, in makeCurrent() argument
324 if (ctx == NULL && read == NULL && draw == NULL) { in makeCurrent()
328 else if (ctx == NULL || read == NULL || draw == NULL) { in makeCurrent()
334 if (read != draw) { in makeCurrent()
337 switch (draw->type()) { in makeCurrent()
340 MacSurface::from(draw)->handle()); in makeCurrent()
344 MacSurface* macdraw = MacSurface::from(draw); in makeCurrent()
DEglContext.h52 const SurfacePtr& draw() const { return m_draw; }; in draw() function
57 void setSurfaces(SurfacePtr read, SurfacePtr draw);
DEglContext.cpp118 rebindDraw = rebindCtx ? rebindCtx->draw() : nullptr; in ~EglContext()
165 void EglContext::setSurfaces(SurfacePtr read,SurfacePtr draw) in setSurfaces() argument
168 m_draw = draw; in setSurfaces()
DEglOsApi_glx.cpp529 EglOS::Surface* draw, in makeCurrent() argument
536 if (!context && !read && !draw) { in makeCurrent()
540 else if (context && read && draw) { in makeCurrent()
543 GlxSurface::drawableFor(draw), in makeCurrent()
546 if (mSwapInterval && draw->type() == GlxSurface::SurfaceType::WINDOW) { in makeCurrent()
548 auto it = mDisabledVsyncWindows.find(draw); in makeCurrent()
551 mSwapInterval(mDisplay, GlxSurface::drawableFor(draw), 0); in makeCurrent()
553 mDisabledVsyncWindows[draw] = true; in makeCurrent()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_fbupdate.h46 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
68 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
89 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_fbupdate.h46 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
68 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
89 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
Dhwc_virtual.cpp180 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) { in set()
190 if (fbLayer->handle && !ctx->mFBUpdate[dpy]->draw(ctx, in set()
302 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in set()
311 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) { in set()
328 if (!ctx->mFBUpdate[dpy]->draw(ctx, hnd)) { in set()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_fbupdate.h46 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
68 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
89 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
/hardware/google/gfxstream/guest/mesa/include/GL/
Dglx.h264 extern void glXQueryDrawable( Display *dpy, GLXDrawable draw, int attribute,
271 extern Bool glXMakeContextCurrent( Display *dpy, GLXDrawable draw,
296 typedef void (* PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned i…
298 typedef Bool (* PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GL…
302 typedef void (* PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
303 typedef void (* PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_m…
/hardware/google/gfxstream/host/apigen-codec-common/GL/
Dglx.h269 extern void glXQueryDrawable( Display *dpy, GLXDrawable draw, int attribute,
276 extern Bool glXMakeContextCurrent( Display *dpy, GLXDrawable draw,
301 typedef void (* PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned i…
303 typedef Bool (* PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GL…
307 typedef void (* PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
308 typedef void (* PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_m…
366 extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_HUAWEI_cluster_culling_shader/
Dclusterculling.adoc28 a drawing command to draw this cluster should be emitted by this shader
38 is the number of vertices to draw.
40 code:VertexCountHUAWEI is the number of vertices to draw.
42 code:InstanceCountHUAWEI is the number of instances to draw.
46 code:FirstVertexHUAWEI is the index of the first vertex to draw
52 draw.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Ddrawing.adoc36 Each draw is made up of zero or more vertices and zero or more instances,
800 If the draw includes multiple instances, then the set of primitives is sent
950 To record a non-indexed draw, call:
956 * pname:vertexCount is the number of vertices to draw.
957 * pname:instanceCount is the number of instances to draw.
958 * pname:firstVertex is the index of the first vertex to draw.
959 * pname:firstInstance is the instance ID of the first instance to draw.
983 To record an indexed draw, call:
989 * pname:indexCount is the number of vertices to draw.
990 * pname:instanceCount is the number of instances to draw.
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_cmd_enqueue.c59 vk_foreach_multi_draw(draw, i, pVertexInfo, drawCount, stride) { in vk_cmd_enqueue_CmdDrawMultiEXT()
60 memcpy(&cmd->u.draw_multi_ext.vertex_info[i], draw, in vk_cmd_enqueue_CmdDrawMultiEXT()
98 vk_foreach_multi_draw_indexed(draw, i, pIndexInfo, drawCount, stride) { in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
99 cmd->u.draw_multi_indexed_ext.index_info[i].firstIndex = draw->firstIndex; in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
100 cmd->u.draw_multi_indexed_ext.index_info[i].indexCount = draw->indexCount; in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
102 cmd->u.draw_multi_indexed_ext.index_info[i].vertexOffset = draw->vertexOffset; in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_multi_draw.adoc24 Processing multiple draw commands in sequence incurs measurable overhead
30 These functions could be used any time multiple draw commands are being
DVK_EXT_fragment_density_map2.adoc43 ename:VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT during draw
48 Apps may wish to modify the fragment density map just before draw execution.
87 // the last executing draw that uses the fdmImage in the
/hardware/google/gfxstream/guest/egl/
Degl.cpp204 draw(EGL_NO_SURFACE), in EGLContext_t()
877 if (context->read == context->draw) { in s_destroyPendingSurfacesInContext()
879 s_destroyPendingSurfaceAndSetNull(&context->draw); in s_destroyPendingSurfacesInContext()
880 if (context->draw == NULL) { in s_destroyPendingSurfacesInContext()
884 s_destroyPendingSurfaceAndSetNull(&context->draw); in s_destroyPendingSurfacesInContext()
1686 if (!ctx->draw) { in eglSwapInterval()
1689 egl_surface_t* draw(static_cast<egl_surface_t*>(ctx->draw)); in eglSwapInterval() local
1690 draw->setSwapInterval(interval); in eglSwapInterval()
1922 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
1925 VALIDATE_SURFACE_RETURN(draw, EGL_FALSE); in eglMakeCurrent()
[all …]
/hardware/google/gfxstream/host/tests/
DHelloTriangle.h35 void draw() override;
/hardware/google/gfxstream/host/
DRenderThreadInfoGl.cpp131 const HandleType draw = currDrawSurf ? currDrawSurf->getHndl() : 0; in postLoadRefreshCurrentContextSurfacePtrs() local
133 fb->bindContext(ctx, draw, read); in postLoadRefreshCurrentContextSurfacePtrs()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_HUAWEI_cluster_culling_shader.adoc15 … whole scene and updates the MDI command, and then uses the MDI method to draw during the renderin…
26 …built-in function, these emitted variables form a drawing command used to draw geometries of clust…
132 * `IndexCountHUAWEI` is the number of vertices to draw.
134 * `VertexCountHUAWEI` is the number of vertices to draw.
135 * `InstanceCountHUAWEI` is the number of instances to draw.
137 * `FirstVertexHUAWEI` is the index of the first vertex to draw.
139 * `FirstInstanceHUAWEI` is the instance ID of the first instance to draw.

123456