changeset 8682:cb1597094e08 8u31-b03

RT-32147: Less involved linear convolutions Reviewed-by: flar, mschoene
author kcr
date Thu, 02 Oct 2014 16:45:50 -0700
parents 9a57e5dfa94b
children 047916651267
files modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSELinearConvolvePeer.java modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSELinearConvolveShadowPeer.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSELinearConvolvePeer.java	Tue Sep 30 07:28:29 2014 -0700
+++ b/modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSELinearConvolvePeer.java	Thu Oct 02 16:45:50 2014 -0700
@@ -155,7 +155,7 @@
         return new ImageData(getFilterContext(), dst, dstBounds);
     }
 
-    protected native void
+    native void
         filterVector(int dstPixels[], int dstw, int dsth, int dstscan,
                      int srcPixels[], int srcw, int srch, int srcscan,
                      float weights[], int count,
@@ -172,7 +172,7 @@
      * Rows are horizontal in the first pass and vertical in the second pass.
      * Cols are vice versa.
      */
-    protected native void
+    native void
         filterHV(int dstPixels[], int dstcols, int dstrows, int dcolinc, int drowinc,
                  int srcPixels[], int srccols, int srcrows, int scolinc, int srowinc,
                  float weights[]);
--- a/modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSELinearConvolveShadowPeer.java	Tue Sep 30 07:28:29 2014 -0700
+++ b/modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSELinearConvolveShadowPeer.java	Thu Oct 02 16:45:50 2014 -0700
@@ -53,7 +53,7 @@
                      float dxcol, float dycol, float dxrow, float dyrow);
 
     @Override
-    protected void
+    void
         filterVector(int dstPixels[], int dstw, int dsth, int dstscan,
                      int srcPixels[], int srcw, int srch, int srcscan,
                      float weights[], int count,
@@ -85,7 +85,7 @@
                  float weights[], float shadowColor[]);
 
     @Override
-    protected void
+    void
         filterHV(int dstPixels[], int dstcols, int dstrows, int dcolinc, int drowinc,
                  int srcPixels[], int srccols, int srcrows, int scolinc, int srowinc,
                  float weights[])