1 # 2 # Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # 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 7 # published by the Free Software Foundation. Oracle designates this 8 # particular file as subject to the "Classpath" exception as provided 9 # by Oracle in the LICENSE file that accompanied this code. 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 # Define public interface for libawt.so on Linux. 27 # Linux port does not use mawt, all public symbols are in libawt.so 28 29 SUNWprivate_1.1 { 30 global: 31 JNI_OnLoad; 32 33 Java_java_awt_CheckboxMenuItem_initIDs; 34 Java_java_awt_Color_initIDs; 35 Java_java_awt_FontMetrics_initIDs; 36 Java_java_awt_image_BufferedImage_initIDs; 37 Java_sun_awt_image_DataBufferNative_getElem; 38 Java_sun_awt_image_DataBufferNative_setElem; 39 Java_java_awt_image_ColorModel_initIDs; 40 Java_java_awt_image_ComponentSampleModel_initIDs; 41 Java_java_awt_image_IndexColorModel_initIDs; 42 Java_java_awt_image_Kernel_initIDs; 43 Java_java_awt_image_Raster_initIDs; 44 Java_java_awt_image_SampleModel_initIDs; 45 Java_java_awt_Label_initIDs; 46 Java_java_awt_MenuBar_initIDs; 47 Java_java_awt_ScrollPaneAdjustable_initIDs; 48 Java_java_awt_Toolkit_initIDs; 49 Java_java_awt_TrayIcon_initIDs; 50 Java_sun_awt_DebugSettings_setCTracingOn__Z; 51 Java_sun_awt_DebugSettings_setCTracingOn__ZLjava_lang_String_2; 52 Java_sun_awt_DebugSettings_setCTracingOn__ZLjava_lang_String_2I; 53 Java_sun_awt_image_ByteComponentRaster_initIDs; 54 Java_sun_awt_image_GifImageDecoder_initIDs; 55 Java_sun_awt_image_GifImageDecoder_parseImage; 56 Java_sun_awt_image_Image_initIDs; 57 Java_sun_awt_image_ImageRepresentation_initIDs; 58 Java_sun_awt_image_ImageRepresentation_setDiffICM; 59 Java_sun_awt_image_ImageRepresentation_setICMpixels; 60 Java_sun_awt_image_ImagingLib_convolveBI; 61 Java_sun_awt_image_ImagingLib_convolveRaster; 62 Java_sun_awt_image_ImagingLib_init; 63 Java_sun_awt_image_ImagingLib_transformBI; 64 Java_sun_awt_image_ImagingLib_transformRaster; 65 Java_sun_awt_image_IntegerComponentRaster_initIDs; 66 Java_sun_awt_image_ShortComponentRaster_initIDs; 67 Java_sun_java2d_pipe_SpanClipRenderer_eraseTile; 68 Java_sun_java2d_pipe_SpanClipRenderer_fillTile; 69 Java_sun_java2d_pipe_ShapeSpanIterator_addSegment; 70 Java_sun_java2d_pipe_ShapeSpanIterator_moveTo; 71 Java_sun_java2d_pipe_ShapeSpanIterator_lineTo; 72 Java_sun_java2d_pipe_ShapeSpanIterator_quadTo; 73 Java_sun_java2d_pipe_ShapeSpanIterator_curveTo; 74 Java_sun_java2d_pipe_ShapeSpanIterator_closePath; 75 Java_sun_java2d_pipe_ShapeSpanIterator_pathDone; 76 Java_sun_java2d_pipe_ShapeSpanIterator_getNativeConsumer; 77 Java_sun_java2d_pipe_ShapeSpanIterator_appendPoly; 78 Java_sun_java2d_pipe_ShapeSpanIterator_dispose; 79 Java_sun_java2d_pipe_ShapeSpanIterator_getNativeIterator; 80 Java_sun_java2d_pipe_ShapeSpanIterator_getPathBox; 81 Java_sun_java2d_pipe_ShapeSpanIterator_initIDs; 82 Java_sun_java2d_pipe_ShapeSpanIterator_intersectClipBox; 83 Java_sun_java2d_pipe_ShapeSpanIterator_nextSpan; 84 Java_sun_java2d_pipe_ShapeSpanIterator_setNormalize; 85 Java_sun_java2d_pipe_ShapeSpanIterator_setOutputAreaXYXY; 86 Java_sun_java2d_pipe_ShapeSpanIterator_setRule; 87 Java_sun_java2d_pipe_ShapeSpanIterator_skipDownTo; 88 89 Java_java_awt_Choice_initIDs; 90 Java_java_awt_Dimension_initIDs; 91 Java_java_awt_event_MouseEvent_initIDs; 92 Java_java_awt_image_DataBufferInt_initIDs; 93 Java_java_awt_image_SinglePixelPackedSampleModel_initIDs; 94 Java_java_awt_Rectangle_initIDs; 95 Java_sun_awt_image_BufImgSurfaceData_getSurfaceData; 96 Java_sun_awt_image_BufImgSurfaceData_initIDs; 97 Java_sun_awt_image_BufImgSurfaceData_initRaster; 98 Java_sun_awt_image_BufImgSurfaceData_setSurfaceData; 99 Java_sun_awt_image_BufImgSurfaceData_freeNativeICMData; 100 Java_sun_awt_image_BytePackedRaster_initIDs; 101 Java_sun_awt_image_ImagingLib_lookupByteBI; 102 Java_sun_awt_image_ImagingLib_lookupByteRaster; 103 Java_sun_java2d_SurfaceData_initIDs; 104 Java_sun_java2d_SurfaceData_isOpaqueGray; 105 Java_sun_java2d_Disposer_initIDs; 106 Java_sun_java2d_DefaultDisposerRecord_invokeNativeDispose; 107 Java_sun_java2d_loops_BlitBg_BlitBg; 108 Java_sun_java2d_loops_Blit_Blit; 109 Java_sun_java2d_loops_ScaledBlit_Scale; 110 Java_sun_java2d_loops_DrawLine_DrawLine; 111 Java_sun_java2d_loops_DrawPolygons_DrawPolygons; 112 Java_sun_java2d_loops_DrawRect_DrawRect; 113 Java_sun_java2d_loops_FillRect_FillRect; 114 Java_sun_java2d_loops_FillSpans_FillSpans; 115 Java_sun_java2d_loops_GraphicsPrimitiveMgr_initIDs; 116 Java_sun_java2d_loops_GraphicsPrimitiveMgr_registerNativeLoops; 117 Java_sun_java2d_loops_MaskBlit_MaskBlit; 118 Java_sun_java2d_loops_MaskFill_MaskFill; 119 Java_sun_java2d_loops_MaskFill_FillAAPgram; 120 Java_sun_java2d_loops_MaskFill_DrawAAPgram; 121 Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans; 122 Java_sun_java2d_pipe_SpanClipRenderer_initIDs; 123 sun_awt_image_GifImageDecoder_initIDs; 124 125 # libmawt entry points 126 SurfaceData_InitOps; 127 SurfaceData_ThrowInvalidPipeException; 128 Region_GetBounds; 129 Region_GetInfo; 130 Region_StartIteration; 131 Region_CountIterationRects; 132 Region_NextIteration; 133 Region_EndIteration; 134 GrPrim_CompGetXorInfo; 135 GrPrim_CompGetAlphaInfo; 136 img_makePalette; 137 initInverseGrayLut; 138 make_dither_arrays; 139 make_uns_ordered_dither_array; 140 141 # variables exported to libmawt 142 std_img_oda_red; 143 std_img_oda_blue; 144 std_img_oda_green; 145 std_odas_computed; 146 g_CMpDataID; 147 colorValueID; 148 jvm; 149 150 # CDE private entry point 151 # This is in awt_LoadLibrary.c and falls through to libmawt. 152 # Evidently CDE needs this for backward compatability. 153 Java_sun_awt_motif_XsessionWMcommand; 154 155 # libfontmanager entry points 156 AWTIsHeadless; 157 GrPrim_Sg2dGetCompInfo; 158 GrPrim_Sg2dGetClip; 159 GetNativePrim; 160 SurfaceData_IntersectBounds; 161 SurfaceData_GetOps; 162 Disposer_AddRecord; 163 GrPrim_Sg2dGetEaRGB; 164 GrPrim_Sg2dGetPixel; 165 GrPrim_Sg2dGetLCDTextContrast; 166 167 Java_sun_awt_DefaultMouseInfoPeer_fillPointWithCoords; 168 Java_sun_awt_DefaultMouseInfoPeer_isWindowUnderMouse; 169 Java_java_awt_AWTEvent_nativeSetSource; 170 Java_java_awt_Checkbox_initIDs; 171 Java_java_awt_Component_initIDs; 172 Java_java_awt_Dialog_initIDs; 173 Java_java_awt_Font_initIDs; 174 Java_sun_awt_KeyboardFocusManagerPeerImpl_clearNativeGlobalFocusOwner; 175 Java_sun_awt_KeyboardFocusManagerPeerImpl_getNativeFocusOwner; 176 Java_sun_awt_KeyboardFocusManagerPeerImpl_getNativeFocusedWindow; 177 Java_java_awt_KeyboardFocusManager_initIDs; 178 Java_java_awt_Menu_initIDs; 179 Java_java_awt_MenuComponent_initIDs; 180 Java_java_awt_MenuItem_initIDs; 181 Java_java_awt_Scrollbar_initIDs; 182 Java_java_awt_ScrollPane_initIDs; 183 Java_java_awt_TextArea_initIDs; 184 Java_sun_awt_FontDescriptor_initIDs; 185 Java_sun_awt_X11InputMethod_disposeXIC; 186 Java_sun_awt_X11InputMethod_isCompositionEnabledNative; 187 Java_sun_awt_X11InputMethod_resetXIC; 188 Java_sun_awt_X11InputMethod_setCompositionEnabledNative; 189 Java_sun_awt_X11InputMethod_turnoffStatusWindow; 190 Java_sun_awt_SunToolkit_closeSplashScreen; 191 Java_sun_awt_PlatformFont_initIDs; 192 Java_sun_awt_X11GraphicsConfig_init; 193 Java_sun_awt_X11GraphicsConfig_dispose; 194 Java_sun_awt_X11GraphicsConfig_pGetBounds; 195 Java_sun_awt_X11GraphicsConfig_getNumColors; 196 Java_sun_awt_X11GraphicsConfig_getXResolution; 197 Java_sun_awt_X11GraphicsConfig_getYResolution; 198 Java_sun_awt_X11GraphicsConfig_isTranslucencyCapable; 199 Java_sun_awt_X11GraphicsDevice_isDBESupported; 200 Java_sun_awt_X11GraphicsDevice_getDisplay; 201 Java_sun_awt_X11GraphicsDevice_getDoubleBufferVisuals; 202 Java_sun_awt_X11GraphicsDevice_getNumConfigs; 203 Java_sun_awt_X11GraphicsDevice_initIDs; 204 Java_sun_awt_X11GraphicsDevice_initXrandrExtension; 205 Java_sun_awt_X11GraphicsDevice_enterFullScreenExclusive; 206 Java_sun_awt_X11GraphicsDevice_exitFullScreenExclusive; 207 Java_sun_awt_X11GraphicsDevice_getCurrentDisplayMode; 208 Java_sun_awt_X11GraphicsDevice_enumDisplayModes; 209 Java_sun_awt_X11GraphicsDevice_configDisplayMode; 210 Java_sun_awt_X11GraphicsDevice_resetNativeData; 211 Java_sun_awt_X11GraphicsEnvironment_checkShmExt; 212 Java_sun_awt_X11GraphicsEnvironment_getDefaultScreenNum; 213 Java_sun_awt_X11GraphicsEnvironment_getDisplayString; 214 Java_sun_awt_X11GraphicsEnvironment_getNumScreens; 215 Java_sun_awt_X11GraphicsEnvironment_initDisplay; 216 Java_sun_awt_X11GraphicsEnvironment_pRunningXinerama; 217 Java_sun_awt_X11GraphicsEnvironment_getXineramaCenterPoint; 218 Java_sun_awt_X11GraphicsEnvironment_initXRender; 219 220 221 222 Java_java_awt_AWTEvent_initIDs; 223 Java_java_awt_Button_initIDs; 224 Java_java_awt_Container_initIDs; 225 Java_java_awt_Cursor_finalizeImpl; 226 Java_java_awt_Cursor_initIDs; 227 Java_java_awt_Event_initIDs; 228 Java_java_awt_event_InputEvent_initIDs; 229 Java_java_awt_event_KeyEvent_initIDs; 230 Java_java_awt_FileDialog_initIDs; 231 Java_java_awt_Frame_initIDs; 232 Java_java_awt_Insets_initIDs; 233 Java_java_awt_TextField_initIDs; 234 Java_java_awt_Window_initIDs; 235 Java_sun_awt_motif_X11OffScreenImage_updateBitmask; 236 Java_sun_awt_X11GraphicsConfig_init; 237 Java_sun_awt_X11GraphicsConfig_initIDs; 238 Java_sun_awt_X11GraphicsConfig_makeColorModel; 239 Java_sun_awt_X11GraphicsDevice_getConfigVisualId; 240 Java_sun_awt_X11PMBlitLoops_Blit; 241 Java_sun_awt_X11PMBlitBgLoops_nativeBlitBg; 242 Java_sun_awt_X11Renderer_devFillSpans; 243 Java_sun_awt_X11Renderer_doDrawArc; 244 Java_sun_awt_X11Renderer_doDrawLine; 245 Java_sun_awt_X11Renderer_doDrawOval; 246 Java_sun_awt_X11Renderer_doDrawPoly; 247 Java_sun_awt_X11Renderer_doDrawRect; 248 Java_sun_awt_X11Renderer_doDrawRoundRect; 249 Java_sun_awt_X11Renderer_doFillArc; 250 Java_sun_awt_X11Renderer_doFillOval; 251 Java_sun_awt_X11Renderer_doFillPoly; 252 Java_sun_awt_X11Renderer_doFillRect; 253 Java_sun_awt_X11Renderer_doFillRoundRect; 254 Java_sun_awt_X11Renderer_devCopyArea; 255 Java_sun_awt_X11SurfaceData_initIDs; 256 Java_sun_awt_X11SurfaceData_initOps; 257 Java_sun_awt_X11SurfaceData_initSurface; 258 Java_sun_awt_X11SurfaceData_isDgaAvailable; 259 Java_sun_awt_X11SurfaceData_setInvalid; 260 Java_sun_awt_X11SurfaceData_flushNativeSurface; 261 awt_display; 262 awt_lock; 263 awt_Lock; 264 awt_Unlock; 265 awt_GetDrawingSurface; 266 awt_FreeDrawingSurface; 267 awt_GetComponent; 268 269 X11SurfaceData_GetOps; 270 getDefaultConfig; 271 Java_sun_font_FontConfigManager_getFontConfig; 272 Java_sun_font_FontConfigManager_getFontConfigAASettings; 273 Java_sun_awt_X11FontManager_getFontPathNative; 274 Java_sun_font_SunFontManager_populateFontFileNameMap; 275 276 # CDE private entry point 277 Java_sun_awt_motif_XsessionWMcommand; 278 279 # libfontmanager entry points 280 AWTIsHeadless; 281 AWTCountFonts; 282 AWTLoadFont; 283 AWTFreeFont; 284 AWTFontMinByte1; 285 AWTFontMaxByte1; 286 AWTFontMinCharOrByte2; 287 AWTFontMaxCharOrByte2; 288 AWTFontDefaultChar; 289 AWTFontPerChar; 290 AWTFontMaxBounds; 291 AWTFontTextExtents16; 292 AWTFreeChar; 293 AWTFontGenerateImage; 294 AWTCharAdvance; 295 AWTCharLBearing; 296 AWTCharRBearing; 297 AWTCharAscent; 298 AWTCharDescent; 299 AWTDrawGlyphList; 300 AccelGlyphCache_RemoveAllCellInfos; 301 302 local: 303 *; 304 };