220 8856 <3766829.y6foiXVjg7@tjmaciei-mobl2> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Comments on 2d api for c++ N3888.pdf
Date: Mon, 27 Jan 2014 09:34:57 -0800
Lines: 30
Approved: news@gmane.org
Message-ID: <3766829.y6foiXVjg7@tjmaciei-mobl2>
References: <9105f9b2-e15d-4bf8-a4a1-65ebc3657eb0@isocpp.org> <CADfx-VTAcBtnbEKntmRRcU4ChHuDsLsk1Yu0pSnUyi2LJFW0hg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1390844096 31799 80.91.229.3 (27 Jan 2014 17:34:56 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 27 Jan 2014 17:34:56 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBSFRTKLQKGQEB3P566Y@isocpp.org Mon Jan 27 18:35:06 2014
Return-path: <std-proposals+bncBCB4TK757YBRBSFRTKLQKGQEB3P566Y@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f71.google.com ([209.85.215.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBSFRTKLQKGQEB3P566Y@isocpp.org>)
	id 1W7q5R-00078Z-Uh
	for gclcip-std-proposals@m.gmane.org; Mon, 27 Jan 2014 18:35:05 +0100
Original-Received: by mail-la0-f71.google.com with SMTP id c6sf13123670lan.2
        for <gclcip-std-proposals@m.gmane.org>; Mon, 27 Jan 2014 09:35:05 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=2uOX3zTLM1D2YaXxigBmxeCX7EUMNt4WvsZaPwImTLs=;
        b=hk/OWVwNVGBu+H75/0nBg67W60q/adQUFd07cGkfAL9mfBF3FCDXOtwdF877+0GD00
         WK/jcJFB9Bn6SYL0Xfjn99vFjTsl0rapeIcctQ4NrcXcDqWOVmOCv3Zr06Mvt5fjLStO
         20OwEH6tckVm/0PkJ+a1j+JdNqI9TIu2iqg8WeDc0HV0k5ur95dR0TI2uAv2nrE9kbmA
         oF2vi51VcYtqNtuWr1z7NXqDQoBwbeGI+YFgzurpBrO1psyamlpoaaR5n61KMWP4KaVd
         QNxq/p3f8nExgP4YWIie1GSDWESvQuZXholdAIP7bBOzwwbEP85rFCb0bypMxZP3HC1w
         BPww==
X-Gm-Message-State: ALoCoQnuIjnVpoBc4m4+76gkBQWX1VRSlaMbv0TIv4v698iL/p2pnIn7HqToVsVyGOCXwJOVRONq
X-Received: by 10.180.72.75 with SMTP id b11mr12772202wiv.3.1390844105583;
        Mon, 27 Jan 2014 09:35:05 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.98.9 with SMTP id ee9ls600813wib.50.canary; Mon, 27 Jan
 2014 09:35:04 -0800 (PST)
X-Received: by 10.205.77.131 with SMTP id zi3mr2117360bkb.101.1390844104307;
        Mon, 27 Jan 2014 09:35:04 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id om1si15151318bkb.219.2014.01.27.09.35.04
        for <std-proposals@isocpp.org>;
        Mon, 27 Jan 2014 09:35:04 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl2.localnet (unknown [IPv6:2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 49F5912C004
	for <std-proposals@isocpp.org>; Mon, 27 Jan 2014 09:35:03 -0800 (PST)
User-Agent: KMail/4.12 pre (Linux/3.9.10-100+i915fix.fc17.x86_64; KDE/4.11.60; x86_64; git-8054221; 2013-08-01)
In-Reply-To: <CADfx-VTAcBtnbEKntmRRcU4ChHuDsLsk1Yu0pSnUyi2LJFW0hg@mail.gmail.com>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mail=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:8856
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8856>

On segunda-feira, 27 de janeiro de 2014 15:19:16, Felipe Magno de Almeida 
wrote:
> I don't know why we would want a object oriented drawing library. I
> think it should be completely value-based and algorithms should be
> templatized.

You most definitely do not want to run the image-based algorithms like alpha 
blending or the Porter-Duff composition modes in inline template code. You want 
highly optimised, vector versions of them using the resources of the CPU and 
GPU, and not inline.

You could call it a quality-of-implementation issue and allow the 
implementation to use extern templates for the known and common image formats. 
But I suggest that we *first* get the algorithms for what really matters 
settled down, then we figure out how or if they should be made generic.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
