Displaying 4 results from an estimated 4 matches for "video_mem".
Did you mean:
video_dev
2010 Jul 29
1
[PATCH] Reflow logic to make it easier to follow
...e're rendering into a pixmap
- * and need to take a couple of additional steps...
- */
- if (!(action_flags & USE_OVERLAY)) {
- ppix = NVGetDrawablePixmap(pDraw);
+ if (action_flags & USE_OVERLAY) {
+ if (pNv->Architecture == NV_ARCH_04) {
+ NV04PutOverlayImage(pScrn, pPriv->video_mem, offset,
+ id, dstPitch, &dstBox, 0, 0,
+ xb, yb, npixels, nlines,
+ src_w, src_h, drw_w, drw_h,
+ clipBoxes);
+ } else {
+ NV10PutOverlayImage(pScrn, pPriv->video_mem, offset,
+ uv_offset, id, dstPitch, &dstBox,
+ 0, 0, xb, yb,
+...
2019 Jan 21
2
[PATCH xf86-video-nouveau 1/2] xv: Avoid shadowed declaration of 'int i' in NVPutImage
int i is accessed outside immediate scope so leave declaration at
the highest common scope level:
1073: int ret, i;
...
// Highest common scope
...
1193: if (newTTSize <= destination_buffer->size) {
...
// Used in this scope
...
1248: } else {
...
// Used in this scope
...
1316: }
2007 May 30
0
[PATCH] added comments
...er)
- newSize <<= 1;
+ if (pPriv->doubleBuffer) // double buffering ...
+ newSize <<= 1; // ... means double the amount of RAM needed
+ /* here we allocate RAM for "newSize" pixels, the function will make
+ * automatically make this right amount of bytes */
pPriv->video_mem = NVAllocateOverlayMemory(pScrnInfo, pPriv->video_mem,
newSize);
if (!pPriv->video_mem)
return BadAlloc;
+ /* allocating finished */
offset = pPriv->video_mem->offset;
if (pPriv->doubleBuffer) {
@@ -1004,8 +1273,28 @@ NVPutImage(ScrnInfoPtr pScrnInfo, short...
2019 Jan 21
0
[PATCH xf86-video-nouveau 2/2] xv: Avoid shadowed declaration of 'int ret' in NVPutImage
...au_xv.c
+++ b/src/nouveau_xv.c
@@ -1366,7 +1366,7 @@ CPU_copy:
pPriv->currentBuffer ^= 1;
} else
if (action_flags & USE_TEXTURE) {
- int ret = BadImplementation;
+ ret = BadImplementation;
if (pNv->Architecture == NV_ARCH_30) {
ret = NV30PutTextureImage(pScrn, pPriv->video_mem,
--
2.19.1