< prev index next >

src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLContext.m

Print this page

        

*** 250,264 **** extraAlpha = _extraAlpha; alphaCompositeRule = rule; } ! - (void)setXorComposite:(jint)xorPixel { //TODO J2dTraceNotImplPrimitive("MTLContext.setXorComposite"); J2dTraceLn1(J2D_TRACE_INFO, ! "MTLContext.setXorComposite: xorPixel=%08x", xorPixel); } - (jboolean)isBlendingDisabled { // TODO: hold case mtlc->alphaCompositeRule == RULE_SrcOver && sun_java2d_pipe_BufferedContext_SRC_IS_OPAQUE return alphaCompositeRule == RULE_Src && (extraAlpha - 1.0f < 0.001f); --- 250,264 ---- extraAlpha = _extraAlpha; alphaCompositeRule = rule; } ! - (void)setXorComposite:(jint)xp { //TODO J2dTraceNotImplPrimitive("MTLContext.setXorComposite"); J2dTraceLn1(J2D_TRACE_INFO, ! "MTLContext.setXorComposite: xorPixel=%08x", xp); } - (jboolean)isBlendingDisabled { // TODO: hold case mtlc->alphaCompositeRule == RULE_SrcOver && sun_java2d_pipe_BufferedContext_SRC_IS_OPAQUE return alphaCompositeRule == RULE_Src && (extraAlpha - 1.0f < 0.001f);
< prev index next >