modules/graphics/src/main/java/com/sun/prism/impl/ps/BaseShaderContext.java

Print this page

        

*** 94,105 **** DRAW_CIRCLE ("DrawCircle", FILL_CIRCLE), FILL_ELLIPSE ("FillEllipse"), DRAW_ELLIPSE ("DrawEllipse", FILL_ELLIPSE), FILL_ROUNDRECT ("FillRoundRect"), DRAW_ROUNDRECT ("DrawRoundRect", FILL_ROUNDRECT), ! DRAW_SEMIROUNDRECT("DrawSemiRoundRect"), ! FILL_CUBICCURVE("FillCubicCurve"); private String name; private MaskType filltype; private boolean newPaintStyle; private MaskType(String name) { --- 94,104 ---- DRAW_CIRCLE ("DrawCircle", FILL_CIRCLE), FILL_ELLIPSE ("FillEllipse"), DRAW_ELLIPSE ("DrawEllipse", FILL_ELLIPSE), FILL_ROUNDRECT ("FillRoundRect"), DRAW_ROUNDRECT ("DrawRoundRect", FILL_ROUNDRECT), ! DRAW_SEMIROUNDRECT("DrawSemiRoundRect"); private String name; private MaskType filltype; private boolean newPaintStyle; private MaskType(String name) {
*** 122,132 **** public boolean isNewPaintStyle() { return newPaintStyle; } } ! // mask type 4 bits (12 types) // paint type 2 bits // paint opts 2 bits private static final int NUM_STOCK_SHADER_SLOTS = MaskType.values().length << 4; // TODO: need to dispose these when the context is disposed... (RT-27379) --- 121,131 ---- public boolean isNewPaintStyle() { return newPaintStyle; } } ! // mask type 4 bits (14 types) // paint type 2 bits // paint opts 2 bits private static final int NUM_STOCK_SHADER_SLOTS = MaskType.values().length << 4; // TODO: need to dispose these when the context is disposed... (RT-27379)