mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-07-08 11:15:53 +00:00
Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java. * Makefile.in: Regenerate. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java (createCompatibleVolatileImage(int,int)): Implement. (createCompatibleVolatileImage(int,int,ImageCapabilities)): Likewise. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps): New fields. (createVolatileImage): Implement. (createBuffers): Likewise. (getBackBuffer): Likewise. (flip): Likewise. (destroyBuffers): Likewise. * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file. * java/awt/Canvas.java (CanvasBltBufferStrategy): New class. (CanvasFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. * java/awt/Component.java (BltBufferStrategy): Implement and document class. (FlipBufferStrategy): Likewise. * java/awt/Window.java (WindowBltBufferStrategy): New class. (WindowFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. (getBufferStrategy): Likewise. * java/awt/BufferCapabilities.java (BufferCapabilities): Rename front to frontCaps and back to backCaps. From-SVN: r99336
This commit is contained in:
committed by
Thomas Fitzsimmons
parent
91a01f21ab
commit
2ed0018eb4
@@ -79,8 +79,7 @@ public abstract class VolatileImage extends Image
|
||||
* One of validate's possible return values. Indicates that the
|
||||
* image buffer has been restored, meaning that it is valid and
|
||||
* ready-to-use but that its previous contents have been lost. This
|
||||
* return value implies IMAGE_OK but that the image needs to be
|
||||
* re-rendered.
|
||||
* return value implies that the image needs to be re-rendered.
|
||||
*/
|
||||
public static final int IMAGE_RESTORED = 1;
|
||||
|
||||
@@ -212,7 +211,7 @@ public abstract class VolatileImage extends Image
|
||||
* <li><code>IMAGE_OK</code> if the image did not need to be
|
||||
* validated and didn't need to be restored</li>
|
||||
* <li><code>IMAGE_RESTORED</code> if the image may need to be
|
||||
* re-rendered. This return value implies IMAGE_OK.</li>
|
||||
* re-rendered.</li>
|
||||
* <li><code>IMAGE_INCOMPATIBLE</code> if this image's
|
||||
* requirements are not fulfilled by the graphics configuration
|
||||
* parameter. This implies that you need to create a new
|
||||
|
||||
Reference in New Issue
Block a user