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 71f52a5f96a206b5aeb9562de37143a731d6bbc4 (commit) via aab22729cba114c6be378df856d356d3d1bd4ea8 (commit) from c70943a639eabdf53615fb48e6206ed4ed020d1b (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/71f52a5f96a206b5aeb9562de37143a731d6b...
commit 71f52a5f96a206b5aeb9562de37143a731d6bbc4 Author: Cyril Hrubis metan@ucw.cz Date: Fri May 31 23:56:16 2013 +0200
loaders: BMP: Fix progress callback percentage.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/libs/loaders/GP_BMP.c b/libs/loaders/GP_BMP.c index 70f701d..7530794 100644 --- a/libs/loaders/GP_BMP.c +++ b/libs/loaders/GP_BMP.c @@ -526,7 +526,7 @@ static int read_palette(FILE *f, struct bitmap_info_header *header, GP_PutPixel_Raw_24BPP(context, x, ry, p); } - if (GP_ProgressCallbackReport(callback, header->h - y -1, + if (GP_ProgressCallbackReport(callback, y, context->h, context->w)) { GP_DEBUG(1, "Operation aborted"); return ECANCELED; @@ -575,7 +575,7 @@ static int read_bitfields_or_rgb(FILE *f, struct bitmap_info_header *header, break; }
- if (GP_ProgressCallbackReport(callback, header->h - y -1, + if (GP_ProgressCallbackReport(callback, y, context->h, context->w)) { GP_DEBUG(1, "Operation aborted"); return ECANCELED;
http://repo.or.cz/w/gfxprim.git/commit/aab22729cba114c6be378df856d356d3d1bd4...
commit aab22729cba114c6be378df856d356d3d1bd4ea8 Author: Cyril Hrubis metan@ucw.cz Date: Fri May 31 16:49:43 2013 +0200
core: Remove now unused GP_WritePixel.gen.c.t
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/libs/core/GP_WritePixel.gen.c.t b/libs/core/GP_WritePixel.gen.c.t deleted file mode 100644 index 89ecc1f..0000000 --- a/libs/core/GP_WritePixel.gen.c.t +++ /dev/null @@ -1,59 +0,0 @@ -/***************************************************************************** - * This file is part of gfxprim library. * - * * - * Gfxprim is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * Gfxprim is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with gfxprim; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, * - * Boston, MA 02110-1301 USA * - * * - * Copyright (C) 2009-2013 Cyril Hrubis metan@ucw.cz * - * * - *****************************************************************************/ - -%% extends 'base.h.t' - -{% block description %}Write pixel{% endblock %} - -{% block body %} - -#include "core/GP_GetSetBits.h" -#include "core/GP_GetPutPixel.h" -#include "core/GP_WritePixel.gen.h" -#include "core/GP_Debug.h" - -{# Some pixel types has hand written optimized functions #} -%% set hand_optimized = ['1BPP_LE', '1BPP_BE', - '2BPP_LE', '2BPP_BE', - '4BPP_LE', '4BPP_BE', - '8BPP', '16BPP', - '24BPP', '32BPP'] - -%% for ps in pixelsizes -%% if ps.suffix not in hand_optimized -%% if ps.needs_bit_endian() -void GP_WritePixels_{{ ps.suffix }}(void *start, uint8_t off, - size_t cnt, unsigned int val) -{ - GP_TODO("Unimplemented"); -} -%% else -void GP_WritePixels_{{ ps.suffix }}(void *start, size_t cnt, unsigned int val) -{ - GP_TODO("Unimplemented"); -} -%% endif - -%% endif -%% endfor - -{% endblock body %} diff --git a/libs/core/Makefile b/libs/core/Makefile index 46a46d3..c392a2b 100644 --- a/libs/core/Makefile +++ b/libs/core/Makefile @@ -2,7 +2,7 @@ TOPDIR=../.. include $(TOPDIR)/pre.mk
GENSOURCES=GP_Pixel.gen.c GP_Blit.gen.c GP_Convert.gen.c - GP_GammaCorrection.gen.c GP_WritePixel.gen.c + GP_GammaCorrection.gen.c
CSOURCES=$(filter-out $(wildcard *.gen.c),$(wildcard *.c)) LIBNAME=core
-----------------------------------------------------------------------
Summary of changes: libs/core/GP_WritePixel.gen.c.t | 59 --------------------------------------- libs/core/Makefile | 2 +- libs/loaders/GP_BMP.c | 4 +- 3 files changed, 3 insertions(+), 62 deletions(-) delete mode 100644 libs/core/GP_WritePixel.gen.c.t
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.