changeset 49:6a24673628b8

2007-06-25 Francis Kung <fkung@redhat.com> * patches/icedtea-graphics.patch: Enable compilation of sun.dc.DuctusRenderingEngine. * rt/sun/dc/pr/PathStroker.java: Add constructor. * rt/sun/dc/pr/Rasterizer.java: Implement AATilGenerator interface and stub necessary methods.
author Francis Kung <fkung@redhat.com>
date Mon, 25 Jun 2007 15:37:06 -0400
parents 36252c857dc0
children 69cf71e59969
files ChangeLog patches/icedtea-graphics.patch rt/sun/dc/pr/PathStroker.java rt/sun/dc/pr/Rasterizer.java
diffstat 4 files changed, 65 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 25 13:32:15 2007 -0400
+++ b/ChangeLog	Mon Jun 25 15:37:06 2007 -0400
@@ -1,3 +1,11 @@
+2007-06-25  Francis Kung  <fkung@redhat.com>
+
+	* patches/icedtea-graphics.patch: Enable compilation of
+	sun.dc.DuctusRenderingEngine.
+	* rt/sun/dc/pr/PathStroker.java: Add constructor.
+	* rt/sun/dc/pr/Rasterizer.java: Implement AATilGenerator interface
+	and stub necessary methods.
+
 2007-06-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
 	* Makefile.am (OPENJDK_VERSION): New variable.
--- a/patches/icedtea-graphics.patch	Mon Jun 25 13:32:15 2007 -0400
+++ b/patches/icedtea-graphics.patch	Mon Jun 25 15:37:06 2007 -0400
@@ -120,3 +120,21 @@
      }
  }
 
+diff -urN openjdk.orig/j2se/make/sun/dcpr/Makefile openjdk/j2se/make/sun/dcpr/Makefile
+--- openjdk.orig/j2se/make/sun/dcpr/Makefile	2007-06-21 03:33:28.000000000 -0400
++++ openjdk/j2se/make/sun/dcpr/Makefile	2007-06-25 14:21:48.000000000 -0400
+@@ -55,10 +55,13 @@
+ 
+ else
+ 
++FILES_java = \
++ sun/dc/DuctusRenderingEngine.java
++
+ copy-closed-src-classes:
+ 	$(call install-closed-classes,sun/dc)
+ 
+-build:	copy-closed-src-classes
++build:	copy-closed-src-classes classheaders
+ 
+ .PHONY: copy-closed-src-classes
+ 
--- a/rt/sun/dc/pr/PathStroker.java	Mon Jun 25 13:32:15 2007 -0400
+++ b/rt/sun/dc/pr/PathStroker.java	Mon Jun 25 15:37:06 2007 -0400
@@ -37,6 +37,7 @@
 
 package sun.dc.pr;
 
+import sun.awt.geom.PathConsumer2D;
 import sun.dc.path.PathConsumer;
 
 public class PathStroker implements PathConsumer {
@@ -46,6 +47,11 @@
 		// TODO Auto-generated constructor stub
 	}
 
+        public PathStroker(PathConsumer2D consumer) {
+                throw new RuntimeException("Not implemented.");
+                // TODO Auto-generated constructor stub
+        }
+
 	public void setPenDiameter(float width) {
 		throw new RuntimeException("Not implemented.");
 		// TODO Auto-generated method stub
--- a/rt/sun/dc/pr/Rasterizer.java	Mon Jun 25 13:32:15 2007 -0400
+++ b/rt/sun/dc/pr/Rasterizer.java	Mon Jun 25 15:37:06 2007 -0400
@@ -37,7 +37,9 @@
 
 package sun.dc.pr;
 
-public class Rasterizer {
+import sun.java2d.pipe.AATileGenerator;
+
+public class Rasterizer implements AATileGenerator {
 
 	public static final int BUTT = 0;
 	public static final int ROUND = 0;
@@ -177,4 +179,34 @@
 		
 	}
 
+	public void getAlpha(byte[] tile, int offset, int rowstride) {
+                throw new RuntimeException("Not implemented.");
+                // TODO Auto-generated method stub
+
+        }
+
+	public int getTileHeight() {
+                throw new RuntimeException("Not implemented.");
+                // TODO Auto-generated method stub
+
+        }
+
+	public int getTypicalAlpha() {
+                throw new RuntimeException("Not implemented.");
+                // TODO Auto-generated method stub
+
+        }
+
+	public int getTileWidth() {
+                throw new RuntimeException("Not implemented.");
+                // TODO Auto-generated method stub
+
+        }
+
+	public void dispose() {
+                throw new RuntimeException("Not implemented.");
+                // TODO Auto-generated method stub
+
+        }
+
 }