--- old/modules/graphics/src/main/java/com/sun/prism/ResourceFactory.java 2014-10-21 14:36:05.000000000 -0700 +++ new/modules/graphics/src/main/java/com/sun/prism/ResourceFactory.java 2014-10-21 14:36:05.000000000 -0700 @@ -25,6 +25,7 @@ package com.sun.prism; +import com.sun.prism.Texture.WrapMode; import com.sun.prism.impl.TextureResourcePool; import com.sun.prism.impl.VertexBuffer; import com.sun.prism.shape.ShapeRep; @@ -204,6 +205,15 @@ public boolean isFormatSupported(PixelFormat format); /** + * Returns true iff the indicated {@link WrapMode wrap mode} is directly + * supported (i.e. not simulated) by the underlying pipeline and platform. + * + * @param mode the desired {@code WrapMode} + * @return true iff the wrap mode is supported and not simulated + */ + public boolean isWrapModeSupported(WrapMode mode); + + /** * Returns the maximum supported texture dimension for this device. * For example, if this method returns 2048, it means that textures * larger than 2048x2048 cannot be created.