Opened 13 years ago

Closed 13 years ago

#1332 closed task (fixed)

Design: review the window API vs window handle passing

Reported by: bennylp Owned by: nanang
Priority: major Milestone: release-2.0-alpha
Component: pjmedia-videodev Version: 2.0-dev-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Review the current videodev API to manage window (resize, move, hide, etc.) against window handle passing approach.

Use the simple GUI app (#1327) for testing.

Change History (4)

comment:1 Changed 13 years ago by bennylp

  • Priority changed from normal to major

comment:2 Changed 13 years ago by nanang

(In [3675]) Re #1332: Added type definition of video window handle.

comment:3 Changed 13 years ago by nanang

Window API wins

  • independent from GUI framework, much easier for app to integrate with any GUI toolkit/framework

Window API loses

  • not all video renderer backend have window API (and some of them may implement partially)
  • some video renderer backends that have window API, such as SDL 1.3, do not really perform nicely, e.g: SDL_SetWindowPosition() steals focus on Windows platform so it may not really be usable
  • can only provide limited number of window management API (?)

comment:4 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Note: implemented in r3676. Closing the ticket.

Note: See TracTickets for help on using tickets.