Java Code Examples for sun.awt.Win32GraphicsConfig#createSurfaceData()

The following examples show how to use sun.awt.Win32GraphicsConfig#createSurfaceData() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ScreenUpdateManager.java    From dragonwell8_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 2
Source File: ScreenUpdateManager.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 3
Source File: ScreenUpdateManager.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 4
Source File: ScreenUpdateManager.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 5
Source File: ScreenUpdateManager.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 6
Source File: ScreenUpdateManager.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 7
Source File: ScreenUpdateManager.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 8
Source File: ScreenUpdateManager.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 9
Source File: ScreenUpdateManager.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 10
Source File: ScreenUpdateManager.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 11
Source File: ScreenUpdateManager.java    From jdk8u_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 12
Source File: ScreenUpdateManager.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}
 
Example 13
Source File: ScreenUpdateManager.java    From jdk8u-dev-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Creates and returns the surface for the peer. This surface becomes
 * managed by this manager. To remove the surface from the managed list
 * {@code}dropScreenSurface(SurfaceData){@code} will need to be called.
 *
 * The default implementation delegates surface creation
 * to the passed in GraphicsConfiguration object.
 *
 * @param gc graphics configuration for which the surface is to be created
 * @param peer peer for which the onscreen surface is to be created
 * @param bbNum number of back-buffers requested for this peer
 * @param isResize whether this surface is being created in response to
 * a component resize event
 * @return a SurfaceData to be used for on-screen rendering for this peer.
 * @see #dropScreenSurface(SurfaceData)
 */
public SurfaceData createScreenSurface(Win32GraphicsConfig gc,
                                       WComponentPeer peer, int bbNum,
                                       boolean isResize)
{
    return gc.createSurfaceData(peer, bbNum);
}