< prev index next >
src/java.desktop/share/classes/sun/java2d/pipe/BufferedOpCodes.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 25,35 ****
package sun.java2d.pipe;
import java.lang.annotation.Native;
! public class BufferedOpCodes {
// draw ops
@Native public static final int DRAW_LINE = 10;
@Native public static final int DRAW_RECT = 11;
@Native public static final int DRAW_POLY = 12;
@Native public static final int DRAW_PIXEL = 13;
--- 25,35 ----
package sun.java2d.pipe;
import java.lang.annotation.Native;
! public final class BufferedOpCodes {
// draw ops
@Native public static final int DRAW_LINE = 10;
@Native public static final int DRAW_RECT = 11;
@Native public static final int DRAW_POLY = 12;
@Native public static final int DRAW_PIXEL = 13;
*** 72,83 ****
@Native public static final int DISPOSE_SURFACE = 73;
@Native public static final int DISPOSE_CONFIG = 74;
@Native public static final int INVALIDATE_CONTEXT = 75;
@Native public static final int SYNC = 76;
@Native public static final int RESTORE_DEVICES = 77;
- @Native public static final int SAVE_STATE = 78;
- @Native public static final int RESTORE_STATE = 79;
// multibuffering ops
@Native public static final int SWAP_BUFFERS = 80;
// special no-op op code (mainly used for achieving 8-byte alignment)
--- 72,81 ----
< prev index next >