equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2019, 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 |
675 } else { |
675 } else { |
676 bLostDevices = TRUE; |
676 bLostDevices = TRUE; |
677 } |
677 } |
678 } |
678 } |
679 break; |
679 break; |
680 |
|
681 case sun_java2d_pipe_BufferedOpCodes_SAVE_STATE: |
|
682 { |
|
683 CONTINUE_IF_NULL(d3dc); |
|
684 |
|
685 res = d3dc->SaveState(); |
|
686 } |
|
687 break; |
|
688 |
|
689 case sun_java2d_pipe_BufferedOpCodes_RESTORE_STATE: |
|
690 { |
|
691 CONTINUE_IF_NULL(d3dc); |
|
692 |
|
693 res = d3dc->RestoreState(); |
|
694 } |
|
695 break; |
|
696 |
|
697 // multibuffering ops |
680 // multibuffering ops |
698 case sun_java2d_pipe_BufferedOpCodes_SWAP_BUFFERS: |
681 case sun_java2d_pipe_BufferedOpCodes_SWAP_BUFFERS: |
699 { |
682 { |
700 jlong sdo = NEXT_LONG(b); |
683 jlong sdo = NEXT_LONG(b); |
701 jint x1 = NEXT_INT(b); |
684 jint x1 = NEXT_INT(b); |