Bug 676 - Add support for native Mouse Pointer rendering (Rasp.-Pi. .. etc)
Summary: Add support for native Mouse Pointer rendering (Rasp.-Pi. .. etc)
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-01-25 14:03 CET by Sven Gothel
Modified: 2014-01-09 18:59 CET (History)
2 users (show)

See Also:
Type: ---
SCM Refs:
1a0b3287870beca22b0a03aa604fc6a5574a962b bf0e93260dbd6cb8b6ee0cd10d81341906e62da9 667eca532d3749b0f08e694f36624ff7f621a9c8
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-01-25 14:03:43 CET
- MousePointerRender interface optionally pluggable into NEWT Window.

- MousePointerRender will allow display of a Mouse Pointer on console devices
  like RaspPi.

- MousePointerRender will allow custom mouse pointer rendering w/ NEWT.
  - A user simply makes the pointer invisible (alsready supported) and
  - Plugs in the instance (see below)

- Have GL2ES1 and GL2ES2 MousePointerRender implementations
  to be supported w/ GLWindow
Comment 1 Sven Gothel 2013-01-25 14:06:02 CET
(01:47:39 PM) xranby1: https://github.com/xranby/libgdx/commits/RaspberryPi-MousePointer

(01:47:49 PM) xranby1: i used some libgdx sprite classes
(01:48:12 PM) xranby1: inside the jogl libgdx backend
(01:48:32 PM) xranby1: https://github.com/xranby/libgdx/commit/f66a3ae4fb268bb717530e6ad7744eb693ecd693
Comment 2 Sven Gothel 2014-01-09 18:32:39 CET
Remove idea of GL rendered mouse pointer.

Utilizing PointerIcon for Rasp.-Pi - i.e. native BCM_VC layer.
Comment 3 Sven Gothel 2014-01-09 18:59:19 CET
commit 1a0b3287870beca22b0a03aa604fc6a5574a962b

    Bug 676: Use proper pointer icon images (artwork)
    
    .. shameless inspired by KDE's Oxgen scheme .. (they are best)


commit bf0e93260dbd6cb8b6ee0cd10d81341906e62da9

    Bug 676 - Add support for native Mouse Pointer rendering (Rasp.-Pi.)
    
    - Utilizing layer element 2000 for PointerIcon
    
    - Using NEWT PointerIcon code
    
    - Using MouseListener to update PointerIcon position
      - FIXME: Check whether we shall intercept sendMouseEvent directly (lag)
    
    Misc:
      - Properly open, assign and close the BCM display handle
      - Properly destroy the window (BCM element)
      - Prepare for multiple windows, set position and size

commit 667eca532d3749b0f08e694f36624ff7f621a9c8

    Bug 676 - Add support for native Mouse Pointer rendering (Rasp.-Pi.) - Intercept sendMouseEvent(..)
    
    Intercepting 'sendMouseEvent(..)' to reduce the lag (time) and listener footprint.