All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions about libdrm programming
@ 2011-06-11  1:03 Zachary Catlin
  2011-06-11  1:39 ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Zachary Catlin @ 2011-06-11  1:03 UTC (permalink / raw)
  To: dri-devel

I'm interested in (1) using my graphics card for computations and
(2) low-level shader code, and I'm looking for guidance on how I would
go about doing the following operations with libdrm (sans Mesa):

* client-side initialization
* loading textures into the GPU
* loading a bytecode shader into the GPU
* creating a texture on the GPU without uploading data
* running the shader using the uploaded textures as inputs and the
  non-uploaded texture as the output
* transferring the output texture into main memory
* tear-down, finalization

The GPU in question is a Radeon RV730, if any hardware-dependent
discussion is needed. I've tried to understand the workflow by looking
at the Mesa and Plymouth sources and the documentation I've found for
the DRI/DRM, but I could still use some guidance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-11  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11  1:03 Questions about libdrm programming Zachary Catlin
2011-06-11  1:39 ` Dave Airlie
2011-06-11  3:34   ` Zachary Catlin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.