jdk/src/java.desktop/macosx/classes/sun/java2d/OSXOffScreenSurfaceData.java
changeset 43513 7cb602dc9001
parent 36874 09abfda883d2
equal deleted inserted replaced
43322:046c9ccca33d 43513:7cb602dc9001
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   606         }
   606         }
   607 
   607 
   608         fImageInfoInt.put(kNeedToSyncFromJavaPixelsIndex, 1); // the pixels will change
   608         fImageInfoInt.put(kNeedToSyncFromJavaPixelsIndex, 1); // the pixels will change
   609     }
   609     }
   610 
   610 
       
   611     private void syncFromCustom() {
       
   612 
       
   613     }
       
   614 
       
   615     private void syncToCustom() {
       
   616 
       
   617     }
   611 //    /**
   618 //    /**
   612 //     * Invoked when the raster's contents will be taken (via the Raster.getDataBuffer() method)
   619 //     * Invoked when the raster's contents will be taken (via the Raster.getDataBuffer() method)
   613 //     */
   620 //     */
   614 //    public void rasterStolen() {
   621 //    public void rasterStolen() {
   615 //        fImageInfoInt.put(kImageStolenIndex, 1); // this means we must convert between Java and native pixels every
   622 //        fImageInfoInt.put(kImageStolenIndex, 1); // this means we must convert between Java and native pixels every