aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/drm_gbm_legacy.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-11-29 07:32:52 +0100
committerSven Gothel <[email protected]>2019-11-29 07:32:52 +0100
commit381858b82c5197193ba2f490a8282149536a54f7 (patch)
tree4e416ce275283f84c051afb6d2b76496e09f137e /src/newt/native/drm_gbm_legacy.c
parentbdbdcdc800294db3a84926b79503fc2e0e919128 (diff)
Bug 1156: DRM/GBM: Add full PointerIcon (Cursor) Support
DRM allows 64x64 pixel cursor images, using GBM_FORMAT_ARGB888 only. Notable: GBM_FORMAT_ARGB888 == PixelFormat.BGRA8888 Having fixed mouse and keyboard input with previous commit, the demo com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT shows via key press - i -> pointer visible/invisible - c -> pointer icon change
Diffstat (limited to 'src/newt/native/drm_gbm_legacy.c')
-rw-r--r--src/newt/native/drm_gbm_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/drm_gbm_legacy.c b/src/newt/native/drm_gbm_legacy.c
index 8cc1c3c15..a6356bacf 100644
--- a/src/newt/native/drm_gbm_legacy.c
+++ b/src/newt/native/drm_gbm_legacy.c
@@ -300,7 +300,7 @@ JNIEXPORT jlong JNICALL Java_jogamp_newt_driver_egl_gbm_WindowDriver_NextSwapSur
gbm_surface_release_buffer(gbmSurface, lastBO);
}
- DBG_PRINT( "EGL_GBM.Window NextSwapSurface0 %p -> %p\n", lastBO, nextBO);
+ // DBG_PRINT( "EGL_GBM.Window NextSwapSurface0 %p -> %p\n", lastBO, nextBO);
return (jlong) (intptr_t) nextBO;
}