search for: imagebuffertotexture

Displaying 4 results from an estimated 4 matches for "imagebuffertotexture".

2007 May 23
1
[PATCH] Fix imageBufferToTexture for MSBFirst platforms.
...anized and nobody on !MSBFirst platforms complained, one code path should suffice. --- src/texture.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/texture.c b/src/texture.c index 4170c70..7021643 100644 --- a/src/texture.c +++ b/src/texture.c @@ -164,13 +164,8 @@ imageBufferToTexture (CompScreen *screen, unsigned int width, unsigned int height) { -#if IMAGE_BYTE_ORDER == MSBFirst - return imageToTexture (screen, texture, image, width, height, - GL_BGRA, GL_UNSIGNED_BYTE); -#else return imageToTexture (screen, texture, image, width, height,...
2007 Mar 05
1
[PATCH] Grab state & Last state remembering
...usly - have a fixed byte ordering. If those textures, generated on an Intel CPU, are displayed on a PC using a PPC CPU, the byte ordering is reversed by the function imageToTexture causing the texture being displayed incorrectly. In my opinion, it would make sense to add a parameter to the function imageBufferToTexture which enables/disables this byte swapping inside imageToTexture. If you agree with me, I can provide patches for the latter points. Regards, Danny -------------- next part -------------- A non-text attachment was scrubbed... Name: last-window-state.patch Type: text/x-patch Size: 915 bytes Desc:...
2007 Aug 03
4
[ANNOUNCE] compiz-0.5.2
...mpiz Replace the existing zoom functionality with some Remove zoom options that are no longer used. Add pan support. Initialize pw and ph correctly. Set cs->bg to NULL. Clean up. Allow modifier only bindings. Clean up. Fix byte order check in imageBufferToTexture. Remove whitespace. Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/app/compiz Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/app/compiz Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/app/compiz...
2007 Oct 01
4
[ANNOUNCE] compiz-0.6.0
...face Replace the existing zoom functionality with some Remove zoom options that are no longer used. Add pan support. Initialize pw and ph correctly. Set cs->bg to NULL. Clean up. Allow modifier only bindings. Clean up. Fix byte order check in imageBufferToTexture. Remove whitespace. Track output changes. Add output id. The id is always set to the output's index in the Use output id. Use output id. Clean up last viewport check. Move lastViewport into CompScreen struct as it's GL context Bump ABIVERSION....