summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsteph@migrax <steph@migrax>2010-10-25 01:34:25 -0700
committersteph@migrax <steph@migrax>2010-10-25 01:34:25 -0700
commit6ac600a3a435b8fc59e01ed88bcfabfa1f21dcd2 (patch)
tree470a7f7a86a5d5ddbde78c607a76d10016d65165
parentdf0c9e557d09f81bc073907c3addaa0e629ab937 (diff)
Changes...
-rw-r--r--linuxgraphicsdrivers.lyx232
1 files changed, 220 insertions, 12 deletions
diff --git a/linuxgraphicsdrivers.lyx b/linuxgraphicsdrivers.lyx
index a973b9b..bbf3360 100644
--- a/linuxgraphicsdrivers.lyx
+++ b/linuxgraphicsdrivers.lyx
@@ -2933,16 +2933,9 @@ reference "cha:Gallium-3D"
\begin_layout Standard
\lang english
-A 3D engine is also called
-\begin_inset Quotes eld
-\end_inset
-
-rasterization pipeline
-\begin_inset Quotes erd
-\end_inset
-
-, because it contains a series of stages which exchange data in a pipeline
- (1-directional) fashion.
+A 3D engine is also called rasterization engine.
+ It contains a series of stages which exchange data in a pipeline (1-directional
+) fashion.
\end_layout
\begin_layout Standard
@@ -5812,6 +5805,12 @@ Here is a detail of the main EXA acceleration functions.
\begin_layout Standard
\lang english
+Solid - fill an area with a solid color (RGBA)
+\end_layout
+
+\begin_layout Standard
+
+\lang english
\begin_inset ERT
status open
@@ -5843,7 +5842,61 @@ end{lstlisting}{}
\begin_layout Standard
\lang english
-Solid - fill an area with a solid color (RGBA)
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+void (*Solid) (PixmapPtr pPixmap, int x1, int y1, int x2, int y2);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+void (*DoneSolid) (PixmapPtr pPixmap);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
@@ -5855,6 +5908,98 @@ Copy - copies a rectangle area from and to video memory
\begin_layout Standard
\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+Bool (*PrepareCopy) (PixmapPtr pSrcPixmap, PixmapPtr pDstPixmap, int dx,
+ int dy, int alu, Pixel planemask);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+void (*Copy) (PixmapPtr pDstPixmap, int srcX, int srcY, int dstX, int dstY,
+ int width, int height);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+void (*DoneCopy) (PixmapPtr pDstPixmap);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
Composite - optional interface used to achieve composite operations like
blending.
This allows accelerating 2D desktop effects like blending, scaling, operations
@@ -5870,12 +6015,74 @@ UploadToScreen - copies an area from system memory to video memory
\begin_layout Standard
\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+Bool (*UploadToScreen) (PixmapPtr pDst, int x, int y, int w, int h, char
+ *src, int src_pitch);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
DowndloadFromScreen - copies an area from video memory to system memory
\end_layout
\begin_layout Standard
\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{lstlisting}{}
+\end_layout
+
+\begin_layout Plain Layout
+
+Bool (*DownloadFromScreen)(PixmapPtr pSrc, int x, int y, int w, int h, char
+ *dst, int dst_pitch);
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{lstlisting}{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
PrepareAccess - makes the pixmap accessible from the CPU.
This includes mapping it into memory, copying it from unmappable video
memory, untiling the pixmap...
@@ -7045,7 +7252,8 @@ The final stage of video decoding is video upscaling.
\lang english
Since the conversion from YUV space to RGB space is linear, filtered upscaling
can be done either in the YUV or RGB space, which conveniently allows using
- texture filtering which is available on 3D hardware to sample the YUV data.
+ bilinear texture filtering which is available on 3D hardware to sample
+ the YUV data.
This allows a single pass color space conversion and scaling.
For example, bi-linear filtering will work just fine with three textures
for the three Y, U and V planes.