Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Locationtech IP Review : ui.test bundle and containing libs

Remove remove I expect they were added due to frustration with testing breaking each time we updated eclipse. 

--
Jody Garnett

On 14/04/2013, at 7:16 AM, Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Hello everybody,
> 
> I had a look at ui.test bundle with inner libs folder containing hamcrest.core and hamcrest.library jars. Have a look at the initial issue : https://dev.eclipse.org/ipzilla/show_bug.cgi?id=7142 
> 
> I'm wondering why these libs are still in classpath and included in general because neither packages are exported nor used in the bundle itself.
> 
> My suggestion : remove libs and update .classpath files
> 
> In the future if we like to use hamcrest unit-test matchers we can reference hamcrest bundles coming from Eclipse Orbit Repository.
> 
> How about org.objenesis jar in the same bundle? Its in classpath but I cou	h7yHheXyjbI1cpYA7x0DGQpu5VIojQA1fIhUsMFo/u2QS4lPh6ob7C8rUOScc/Xcn3nk
	GcdQ6Yu929f+r9lC9AwFq+GOd3D9RbN2T4DSEzMKUoSKiHu/pjRcAx+9z7HnOHscnICB
	gMWg=X-Received: by 10.66.184.14 with SMTP id eq14mr5231055pac.215.1366148835264;
	Tue, 16 Apr 2013 14:47:15 -0700 (PDT)
Received: from [10.0.1.19] (27-32-241-177.static.tpgi.com.au. [27.32.241.177])
	by mx.google.com with ESMTPS id
	gi10sm3442406pbc.40.2013.04.16.14.47.13
	(version=TLSv1 cipher=RC4-SHA bits8/128);
	Tue, 16 Apr 2013 14:47:14 -0700 (PDT)
Date: Wed, 17 Apr 2013 07:47:10 +1000
From: Jody Garnett <jody.garnett@xxxxxxxxx>
To: User-friendly Desktop Internet GIS
 <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
Message-ID: <684487569D394E2F9F5A5EEFD90D6FF4@xxxxxxxxx>
In-Reply-To: <823343544.165793.1366144194299.JavaMail.root@xxxxxxxxxxx>
References: <823343544.165793.1366144194299.JavaMail.root@xxxxxxxxxxx>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="516dc6de_5454945e_d66"
Subject: Re: [udig-devel] double buffering
X-BeenThere: udig-devel@xxxxxxxxxxxxxxxxxxxxx
X-Mailman-Version: 2.1.11
Precedence: list
Reply-To: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
List-Id: User-friendly Desktop Internet GIS <udig-devel.lists.refractions.net>
List-Unsubscribe: <http://lists.refractions.net/mailman/options/udig-devel>,
	<mailto:udig-devel-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
List-Archive: <http://lists.refractions.net/pipermail/udig-devel>
List-Post: <mailto:udig-devel@xxxxxxxxxxxxxxxxxxxxx>
List-Help: <mailto:udig-devel-request@xxxxxxxxxxxxxxxxxxxxx?subject=help>
List-Subscribe: <http://lists.refractions.net/mailman/listinfo/udig-devel>,
	<mailto:udig-devel-request@xxxxxxxxxxxxxxxxxxxxx?subject=subscribe>
X-List-Received-Date: Tue, 16 Apr 2013 21:42:54 -0000

--516dc6de_5454945e_d66
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

For raster layers:
- We use the JAI tool chain to render into an AWT BufferedImage (one buffer).
- And then transfer those bytes over to an SWT Image (second buffer).
- And then finally draw the SWT images into a buffer for the layer.

And from there normal "composition" of the layers into a single image takes place:
- The buffer from each layer is drawn onto an SWT image
- Any outstanding drawing commands (such as visual feedback from the tools) is drawn
- Any thing on the glass layer is drawn

The resulting image is the "buffer" we use to draw the control when asked by SWT.


--
Jody Garnett


On Wednesday, 17 April 2013 at 6:29 AM, Juho Kokkonen wrote:

> Hi
>
> I read that udig supports double buffering during render raster layers. I use mapviewer and i'll set SWT.double_buffered flag at constructor. But how i can use multi layer renderer on rendering my raster layers?
>
> - Juho
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>



--516dc6de_5454945e_d66
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline


                <div><span style="font-size: 14px;">For raster layers:</span></div><div>
                    <span style="font-size: 14px;">- We use the JAI tool chain to render into an AWT BufferedImage (one buffer).</span>
                </div><div><span style="font-size: 14px;">-&nbsp;</span><span style="font-size: 14px; ">And then transfer those bytes over to an SWT Image (second buffer).</span></div><div><span style="font-size: 14px;">-&nbsp;</span><span style="font-size: 14px; ">And then finally draw the SWT images into a buffer for the layer.</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">And from there normal "composition" of the layers into a single image takes place:</span></div><div><span style="font-size: 14px;">- The buffer from each layer is drawn onto an SWT image</span></div><div><span style="font-size: 14px;">- Any outstanding drawing commands (such as visual feedback from the tools) is drawn</span></div><div><span style="font-size: 14px;">- Any thing on the glass layer is drawn</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">The resulting image is the "buffer" we use to draw the control when asked by SWT.&nbsp;</span></div><div><span style="font-size: 14px;"><br></span></div>
                <div><div><br></div><div>--&nbsp;</div><div>Jody Garnett<br></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Wednesday, 17 April 2013 at 6:29 AM, Juho Kokkonen wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Hi</div><div><br></div><div>I read that udig supports double buffering during render raster layers. I use mapviewer and i'll set SWT.double_buffered flag at constructor. But how i can use multi layer renderer on rendering my raster layers?</div><div><br></div><div>- Juho</div><div>_______________________________________________</div><div>User-friendly Desktop Internet GIS (uDig)</div><div><a href="http://udig.refractions.net";>http://udig.refractions.net</a></div><div><a href="http://lists.refractions.net/mailman/listinfo/udig-devel";>http://lists.refractions.net/mailman/listinfo/udig-devel</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>

--516dc6de_5454945e_d66--



Back to the top