< prev index next >

src/java.desktop/share/classes/sun/java2d/pipe/BufferedContext.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2016, 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, 2018, 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
*** 355,365 **** // include a placeholder for the span count int countIndex = buf.position(); buf.putInt(0); int spanCount = 0; int remainingSpans = buf.remaining() / BYTES_PER_SPAN; ! int span[] = new int[4]; SpanIterator si = clip.getSpanIterator(); while (si.nextSpan(span)) { if (remainingSpans == 0) { buf.putInt(countIndex, spanCount); rq.flushNow(); --- 355,365 ---- // include a placeholder for the span count int countIndex = buf.position(); buf.putInt(0); int spanCount = 0; int remainingSpans = buf.remaining() / BYTES_PER_SPAN; ! int[] span = new int[4]; SpanIterator si = clip.getSpanIterator(); while (si.nextSpan(span)) { if (remainingSpans == 0) { buf.putInt(countIndex, spanCount); rq.flushNow();
< prev index next >