File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed
test/jdk/jb/SharedTextures Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 3939 * @requires (os.family=="windows")
4040 */
4141
42- /**
43- * @test
44- * @key headful
45- * @summary The test creates a BufferedImage and makes a texture from its content.
46- * The texture gets wrapped into a TextureWrapperImage image by SharedTextures JBR API service.
47- * The TextureWrapperImage is copied into a BufferedImage and VolatileImage and expects that all images have
48- * the same content.
49- * @library /test/lib
50- * @compile --add-exports java.desktop/com.jetbrains.desktop=ALL-UNNAMED SharedTexturesTest.java
51- * @run main/othervm/native -Dsun.java2d.uiScale=1 -Dsun.java2d.opengl=True --enable-native-access=ALL-UNNAMED --add-exports java.desktop/com.jetbrains.desktop=ALL-UNNAMED SharedTexturesTest
52- * @requires (os.family=="linux")
53- */
54-
5542public class SharedTexturesTest {
5643 static {
5744 System .loadLibrary ("SharedTexturesTest" );
Original file line number Diff line number Diff line change 1+ #ifndef LINUX // remove this line to this text compile on Linux
2+
13#include <jni.h>
24#include <stdlib.h>
35
@@ -278,3 +280,5 @@ JNIEXPORT void JNICALL Java_SharedTexturesTest_disposeTexture
278280 glDeleteTextures (1 , & texId );
279281 }
280282}
283+
284+ #endif // remove this line to this text compile on Linux
You can’t perform that action at this time.
0 commit comments