This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via 97e18f4407aadb708f4ea171b0cbed30b829fa0b (commit) via e0261e32ab9dbb92520dbd59eaab2a682ab63262 (commit) from 3ff64e524d3ea031c6573df03ad9081b7238d41a (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/97e18f4407aadb708f4ea171b0cbed30b829f...
commit 97e18f4407aadb708f4ea171b0cbed30b829fa0b Author: Cyril Hrubis metan@ucw.cz Date: Sun Nov 13 19:50:26 2011 +0100
TODO: updated TODO a bit
diff --git a/TODO b/TODO index 8c44da0..9606fe0 100644 --- a/TODO +++ b/TODO @@ -2,13 +2,10 @@ What's not implemented (and should be) --------------------------------------
* bitmaps and blitting - - create, destroy bitmap - * DONE - GP_ContextAlloc(), GP_ContextFree() - blit bitmaps (should respect rotation and pixel formats) - - bitmap rotation (in order to speed up rotated blits) - * DONE - see filters/ + * IN PROGRESS - loading bitmaps from image files (jpg, png, bmp, pnm ...) - * IN PROGRESS - some pnm formats are working see loaders/ + * IN NEARLY FINISHED
* backends - finish framebuffer backend (SDL does not work on most of my framebuffers) @@ -16,6 +13,12 @@ What's not implemented (and should be) - some overall initialization routines - backed event handling
+* Fix contrast - pass GP_Pixel so each channel could have different increment + +* Meditate about bit endians and why these aren't separate pixel types + (which would make our lives a bit easier) + + Advanced features -----------------
@@ -25,3 +28,5 @@ Advanced features * gfx primitives - drawing with alpha channel - anti aliasing + +* freetype support
http://repo.or.cz/w/gfxprim.git/commit/e0261e32ab9dbb92520dbd59eaab2a682ab63...
commit e0261e32ab9dbb92520dbd59eaab2a682ab63262 Author: Cyril Hrubis metan@ucw.cz Date: Sun Nov 13 19:48:33 2011 +0100
core: Fix bit endian for context functions.
diff --git a/libs/core/GP_Context.c b/libs/core/GP_Context.c index 7ecdb37..ab27966 100644 --- a/libs/core/GP_Context.c +++ b/libs/core/GP_Context.c @@ -58,6 +58,7 @@ GP_Context *GP_ContextCopy(const GP_Context *src, int flag) new->h = src->h;
new->pixel_type = src->pixel_type; + new->bit_endian = src->bit_endian;
/* rotation and mirroring */ new->axes_swap = src->axes_swap; @@ -93,6 +94,8 @@ GP_Context *GP_ContextAlloc(GP_Size w, GP_Size h, GP_PixelType type) context->h = h;
context->pixel_type = type; + #warning Hmm, bit endianity..., Why isn't this settled by different pixel types? + context->bit_endian = 0; /* rotation and mirroring */ context->axes_swap = 0; @@ -152,6 +155,7 @@ GP_Context *GP_ContextSubContext(GP_Context *context, GP_Context *subcontext, ret->h = h;
ret->pixel_type = context->pixel_type; + ret->bit_endian = context->bit_endian;
/* rotation and mirroring */ ret->axes_swap = context->axes_swap;
-----------------------------------------------------------------------
Summary of changes: TODO | 15 ++++++++++----- libs/core/GP_Context.c | 4 ++++ 2 files changed, 14 insertions(+), 5 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.