search for: row_stride

Displaying 7 results from an estimated 7 matches for "row_stride".

2014 Sep 13
2
[PATCH] nouveau: fix glCompressedTexImage
...ouveau/nouveau_texture.c @@ -413,6 +413,31 @@ get_teximage_placement(struct gl_texture_image *ti) } static void +nouveau_compressed_copy(struct gl_context *ctx, GLint dims, + struct gl_texture_image *ti, + GLsizei width, GLsizei height, GLsizei depth, + const GLvoid *src, GLvoid *dst, int row_stride) +{ + struct compressed_pixelstore store; + int i; + + _mesa_compute_compressed_pixelstore(dims, ti->TexFormat, + width, height, depth, + &ctx->Unpack, &store); + + src += store.SkipBytes; + + assert(store.CopySlices == 1); + + /* copy rows of blocks */ + for (i = 0; i...
2014 Sep 14
1
[PATCH] nouveau: fix glCompressedTexImage
...gt; >> static void >> +nouveau_compressed_copy(struct gl_context *ctx, GLint dims, >> + struct gl_texture_image *ti, >> + GLsizei width, GLsizei height, GLsizei depth, >> + const GLvoid *src, GLvoid *dst, int row_stride) >> +{ >> + struct compressed_pixelstore store; >> + int i; >> + >> + _mesa_compute_compressed_pixelstore(dims, ti->TexFormat, >> + width, height, depth, >> + &am...
2014 Sep 14
0
[PATCH] nouveau: fix glCompressedTexImage
...+413,31 @@ get_teximage_placement(struct gl_texture_image *ti) > } > > static void > +nouveau_compressed_copy(struct gl_context *ctx, GLint dims, > + struct gl_texture_image *ti, > + GLsizei width, GLsizei height, GLsizei depth, > + const GLvoid *src, GLvoid *dst, int row_stride) > +{ > + struct compressed_pixelstore store; > + int i; > + > + _mesa_compute_compressed_pixelstore(dims, ti->TexFormat, > + width, height, depth, > + &ctx->Unpack, &store); > + > + src += store.SkipBytes; > + > + assert(store.CopySlic...
2008 Mar 26
11
[PATCH 0/2] fbif: Add offset in resize event
Hello, The following two patches add an additional offset part in the FB resize event. Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010 Oct 26
0
[LLVMdev] Reproducible testcase for r100044
...n failure. Jose -------------- next part -------------- ; RUN: llvm-as < %s | llc -march=x86-64 | FileCheck %s ; r100044 %texture = type { i32, i32, i32, i32, [13 x i32], [13 x i32], [13 x i32] } define i32 @fs5_variant0_whole(%texture* noalias %texture, i32 %lod) noinline { entry: %texture.row_stride = getelementptr %texture* %texture, i32 0, i32 4 %texture.data_ptr = getelementptr %texture* %texture, i32 0, i32 6 %x140 = icmp sge i32 %lod, 0 br i1 %x140, label %if-true-block, label %if-false-block if-true-block: ret i32 0 if-false-block: ; Commenting the following two lines will a...
2008 Feb 29
1
[PATCH] ioemu: fix xenfb slow case update
...\ - for (line = y ; line < h ; line++) { \ + for (line = y ; line < (y+h) ; line++) { \ SRC_T *src = (SRC_T *)(xenfb->pixels \ + (line * xenfb->row_stride) \ + (x * xenfb->depth / 8)); \ @@ -1080,7 +1080,7 @@ + (line * xenfb->ds->linesize) \ + (x * xenfb->ds->depth / 8)); \...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and