Many modern computing devices can support more than one display that may be used independently or in tandem to display content associated with various services or applications. Multiple-display technologies are also becoming common on mobile devices (e.g., smartphones and tablets). For example, some mobile devices feature two or more displays integrated into the same device. Also, some mobile devices can display content on one or more external display devices through a direct link such as HDMI, MHL, USB, etc., or wirelessly using a protocol like Miracast or Wifi Display. In these scenarios, the displays may be in heterogeneous locations or orientations. Moreover, the display may have different resolutions, densities, and other disparate characteristics that complicate displaying appropriately formatted content on and across the displays. For example, in one scenario, a smartphone may simultaneously display content on an integrated four-inch display in portrait mode, and may also display related content on a wall-mounted LCD TV in a landscape orientation.
Conventional multiple-display technologies do not dynamically display formatted content on non-contiguous displays with disparate characteristics. This is due in part because conventional technologies directly associate logical and physical display content, effectively constraining the logical content according to characteristics of a destination physical display. As a result, mirroring content across two displays with different native resolutions, for example, can require changing the resolution of one of the displays to a non-pixel-perfect resolution, or only displaying a portion of the mirrored content on one of the displays. Moreover, some conventional technologies span content across multiple displays by stretching a virtual workspace across displays aligned side by side. In these configurations, the displays are required to be contiguous and of a same resolution or color depth. Also because of the direct association between logical and physical display content, some conventional multiple-display technologies are unable to respond fluidly to the addition or removal of displays from a multiple-display setup without reconfiguring one or more display devices or hardware.
Some or all of the above needs may be addressed by certain implementations of the disclosed technology. Certain implementations may include using a layer stack to indirectly associate logical and physical display content. According to an example implementation, a method is provided. The method may include associating a first layer stack for grouping one or more surfaces with a first logical display having a first logical resolution. The method may also include associating a first application having a first surface with the first logical display and grouping the first surface on the first layer stack. The method may further include applying a first display projection to a first region of the first layer stack, the first region corresponding to the first logical resolution of the first logical display and including at least part of the first surface. The method may yet further include, rendering the first region and outputting at least part of the rendered first region for display at a first display device.
Other implementations, features, and aspects of the disclosed technology are described in detail herein and are considered a part of the claimed disclosed technology. Other implementations, features, and aspects may be understood with reference to the following detailed description, accompanying drawings, and claims.
Reference will now be made to the accompanying figures and flow diagrams, which are not necessarily drawn to scale, and wherein:
To facilitate an understanding of the principles and features of implementations of the disclosed technology, various example implementations are explained below. Although example implementations of the disclosed technology are explained in detail, other implementations are contemplated. Further, in describing the example implementations, specific terminology will be resorted to for the sake of clarity. It is not intended that the disclosed technology be limited in scope to the details of construction and arrangement of components set forth in the following description or illustrated in the drawings. Rather, the disclosed technology is capable of other implementations and of being practiced or carried out in various ways.
Throughout the specification and the claims, the following terms take at least the meanings explicitly associated herein, unless the context clearly dictates otherwise. The term “connected” means that one function, feature, structure, or characteristic is directly joined to or in communication with another function, feature, structure, or characteristic. The term “coupled” means that one function, feature, structure, or characteristic is directly or indirectly joined to or in communication with another function, feature, structure, or characteristic. Relational terms such as “first” and “second,” and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The term “or” is intended to mean an inclusive “or.” Further, the terms “a,” “an,” and “the” are intended to mean one or more unless specified otherwise or clear from the context to be directed to a singular form. The term “include” and its various forms are intended to mean including but not limited to.
The term “content” refers to information or data that may be presented on one or more displays associated with a computing device. By way of example, content may include any one or more of text, images, videos, audio files, executables, links to executables, UI elements, windows, workspaces, desktops, and the like. In an example implementation, content may be provided by one or more services and/or applications executing on, requested by, or transmitted to the computing device.
Various implementations of the disclosed technology relate to indirectly associating logical and physical display content. Implementations of the disclosed technology also relate to outputting content to one or more displays and, more particularly, systems and methods for outputting content to multiple non-contiguous displays with disparate characteristics.
Presenting content on multiple displays can be a challenging task. In an example scenario, a mobile device with a built-in, or integrated, display may be in communication with one or more secondary display devices. The secondary display devices may be directly connected to the mobile device by via HDMI, MHL, USB, etc., or coupled wirelessly using a protocol such as Miracast or Wifi Display. To complicate matters, these display devices may have displays with different resolutions and densities. Also, one or more of the display devices may be disconnected or decoupled at any time, either intentionally, such as by unplugging a cable, or accidentally, such as through the unintended loss of wireless service.
Moreover, in a sample use case, an application might present content on the integrated display that is also mirrored onto a secondary display device. In another use case, an application might provide some content on the integrated display and different content on the secondary display device. A third use case could include switching between the two aforementioned use cases. Accordingly, robust systems and methods are needed for dynamically displaying content on multiple non-contiguous displays with disparate characteristics. To support these systems and methods, certain implementations of the disclosed technology utilize a novel concept herein referred to as a “layer stack.”
Conventional multiple-display systems comprise one or more logical displays and physical displays. A logical display may represent a region of screen real-estate (e.g., a workspace) where an application may present content. A logical display may have a resolution, density, or other properties such as a descriptive name, a unique identifier, etc.
A physical display may represent a real screen or physical display area, for example, the screen of a smartphone, LCD monitor, etc., or the display area of a projector. A physical display may have a resolution, defined as width and height in pixels, a density, defined as pixels per inch as perceived from a typical viewing distance, or various other properties such as a native resolution, dot pitch, bit depth, etc.
Logical and physical displays may be combined to provide various display functionality. For example, a “spanning” or “extended-desktop” mode may be modeled by providing a logical display that spans multiple physical displays. In another example, an independent-multiple-display mode may be modeled by providing multiple logical displays, at least some of which are presented on one or more physical displays.
The disclosed technology connects these concepts by using a layer stack to indirectly associate logical and physical display content. In providing a layer of indirection, a layer stack may decouple logical content from presentational details at a physical display, facilitating the implementation of mirroring, spanning, and other multiple-display modes. Because the logical content is divorced from any particular set of presentational constraints (e.g., resolution, density, bit depth), layer stacks may enable fluid formatting and display of content across non-contiguous display devices with disparate characteristics while maintaining native device configuration settings.
Referring now to the figures, in which like reference numerals represent like parts throughout the views, various implementations of the disclosed technology will be described in detail.
The first and second physical displays 110, 210 may be operatively coupled to the first computing device 100. In some implementations, a physical display may be part of a display device connected to the computing device through a direct link such as HDMI, MHL, USB, etc., or coupled wirelessly using a protocol like Miracast or Wifi Display.
One or more applications 221, 222 may be associated with the computing device 100. In certain example implementations, an application 221, 222 may be executed by one or more processors 602 on the first computing device 100. In some implementations, an application may be executed remote from the first computing device.
In certain example implementations, the system may include a first logical display 230 and a first layer stack 240 associated with the first logical display. A layer stack may group one or more layers, or “surfaces,” 241, 242, 243 containing pixels. In an example implementation, a layer stack may group surfaces into a Z-ordered stack. A surface may be a container for some content 150, such as a display area associated with an application 221, 222. In an example implementation, a surface may represent a window in a GUI environment. In another implementation, a surface, may have X, Y, and Z (depth) position properties and also width and height properties.
Although the layer stack 240 in
Thus, as shown in
As shown in
In certain example implementations, there may be an arbitrary number of layer stacks or an arbitrary number of surfaces 241, 242, 243. Layer stacks may be independent of one another or linked. In one implementation, a surface may belong to more than one layer stack. A surface may also be associated with one or more transformation matrices, alpha, and other properties of interest to a display compositor 250.
To display content on a display, a physical display device 110, 210 may be directed to present a particular part or region of a layer stack 240 based on a given display projection. Moreover, in some implementations, this part of a layer stack may coincide with a logical frame or viewport 260 based on the characteristics of an associated logical display 230. As shown in
In certain example implementations, a display combinator 250 may compose or prepare part of a layer stack 240 for presentation at a physical display 110, 210. In some implementations, composing may include rendering surfaces 241, 242, 243 within a part or region of the layer stack coinciding with the bounds of a logical viewport 260. In some implementations, rendering Z-ordered surfaces on a layer stack within a logical viewport may result in a “flattening” of the surfaces for presentation at a physical display.
In certain example implementations, the dimensions of a logical viewport 260 may correspond to or match a logical display 230 associated with the layer stack 240 the logical viewport is applied to. However, the dimensions of the logical viewport may not match a destination physical display 110, 210. To ensure rendered content is appropriately formatted for a destination physical display, a display projection may be used to scale, or otherwise transform (e.g., by translation and/or rotation) the content to conform to desired display dimensions, or other parameters. For example, logical content sampled from a logical viewport of first resolution may be scaled up or down to fit the display area of a physical display having a second larger or smaller resolution. In another example implementation, a display projection may be associated with a transformation matrix, set clip bounds, adjust color correction curves, apply visual effects, etc.
In some implementations, a display projection may be applied during composition by a display compositor 250. In another example implementation, a display projection may be applied before composition. In yet another example implementation, a display projection may be applied after composition.
Content may not necessarily be scaled to fit the entire screen area of a physical display 110, 210. In some implementations, a display projection may maintain the aspect ratio of logical content. If the logical content is of a different aspect ratio than a destination physical display the physical content may not cover the entire display area of the physical display. In these instances a letterbox, pillarbox, or windowbox effect may be created. For example, in
In certain example implementations, a display projection may be content agnostic, or based on a fixed rule for computing the display projection, for example, “always scale content to fit.” In some implementations, a variable display projection may be utilized to apply more elaborate effects such as 3D transformation, blends, color space conversions, etc.
In certain example implementations, content may be scaled to fit a particular part or region of a physical display 110, 210 herein referred to as a physical frame 280. In an example implementation, a portion of content may be clipped, and the clipped content scaled to fit a particular physical frame. If the physical frame has a higher resolution than the clipped portion, this can result in a magnified, or “zoomed-in” view of the clipped content.
In some implementations, a physical frame 280 may include any part of the display area of a physical display 110, 210, and a physical display may have more than one physical frame. In this way, mirroring and spanning of content may occur on a single physical display. For example, a single physical display could be divided into two adjacent physical frames. Each physical frame could display content associated with a different layer stack 240 or logical display 230, or could even display content from the same layer stack or logical display, as shown in
In one sample use case, a first logical display L1 is provided having a resolution of 1280×720 pixels (px) and density of 240 dots per inch (dpi). Two physical displays are also provided, P1, having a resolution of 1280×720 px and density of 240 dpi, and P2, having a resolution of 1920×1080 px and density of 300 dpi. The system may be configured such that physical displays P1 and P2 both display content associated with logical display L1. If P0 is the default screen, then P1 could be considered to be mirroring and scaling the content at P0.
To achieve mirroring, the logical display L1 is associated with layer stack LS1. On the layer stack are several layers that represent windows in a GUI environment. The layers have been arranged so that they all fit within the bounds (1280×720 px) of the logical display L1.
To show L1 on P1, the display projection of P1 is set so that it reads the part of LS1 in the logical viewport rectangle [0,0,1280,720] and presents it on the screen at the physical frame rectangle [0,0,1280,720].
To show L0 on P1, the display projection of P2 is set so that it reads the part of LS1 in the logical viewport rectangle [0,0,1280,720] and presents it on the screen at the physical frame rectangle [0,0,1920,1080]. Because the physical frame is bigger than the logical viewport the content will be scaled up for display.
In this sample use case, utilizing a layer stack enables the content to be mirrored for display by simply directing the first and second physical displays to show the same layer stack and scaling the logical content on the layer stack to fit each physical display as necessary.
In certain example implementations, other multiple-display modes and use cases may be modeled using various combinations of layer stacks 240, logical displays 230, and physical displays 110, 210. For example:
The disclosed technology may be used to implement spanning displays. In one example implementation, a first physical display may be directed to show part of a layer stack corresponding to a first part of a first logical viewport, and a second physical display may be directed to show part of the same layer stack corresponding to an adjacent or different part of the same logical viewport.
The disclosed technology may be used to implement extended displays. In one implementation, a first physical display may be directed to show a first part of layer stack corresponding to a first logical viewport associated with a logical first display, and a second physical display may be directed to show an adjacent or different part of the same layer stack corresponding to another logical viewport associated with a second logical display, as shown in
The disclosed technology may be used to implement independent logical displays. In one implementation, a first physical display may be directed to show part of a first layer stack, and a second physical display may be directed show part of a different second layer stack.
Other possible configurations, including combinations of the previously described display modes, are within the scope of the disclosed technology and will be apparent to one of skill in the art.
Utilizing a layer stack to indirectly associate logical and physical display content enables certain example implementations to dynamically display content on and across multiple non-contiguous displays with disparate characteristics. Because content on a layer stack may be scaled to fit any part of the display area of a physical display, changing the resolution of a physical display to match the dimensions of the content is unnecessary. Thus, in some example implementations, fixed-pixel displays or physical display devices with a fixed raster (e.g., LCD and plasma displays) may operate at native resolutions without being required to interpolate display content (which involves complex signal processing and typically results in a loss of image quality); and without being required to display content on a reduced sub-region of a screen, making inefficient use of the display area. Even systems including physical display devices capable of changing display resolution (e.g., CRT displays) may benefit from avoiding the associated delay and viewing experience disruption.
Moreover, because example implementations of the disclosed technology make configuration changes at the display devices unnecessary, multiple-display systems may dynamically and fluidly switch between display modes and content formats. For example, in some implementations, mirroring and non-mirroring modes on display devices with different native resolutions may be activated and switched between by changing a display projection to present a particular layer stack on a display. Thus, the sudden addition or disconnection of a display device from the system no longer entails a viewing disruption while the pre-existing or remaining display devices are reconfigured.
In certain example implementations, a layer stack may be created that is not visible on any physical display. If the associated logical display becomes visible, the corresponding part of the hidden layer stack may be rendered and output to a physical display. In an example implementation, a hidden layer stack may become visible after some condition is met. In another example implementation, a visible layer stack may become hidden after a condition is met.
An example method 500 for indirectly linking logical and physical display content will now be described with reference to the flow diagram of
Various implementations of the disclosed technology may be embodied in non-transitory computer readable media for execution by a processor. An example implementation may be used in an application of a mobile computing device, such as a smartphone or tablet, but other computing devices, including non-portable computing devices, may also be used.
The architecture 600 of
According to an example implementation, the architecture 600 may include a read-only memory (ROM) 620 where invariant low-level system code or data for basic system functions such as basic input and output (I/O), startup, or reception of keystrokes from a keyboard are stored in a non-volatile memory device. According to an example implementation, the architecture 600 may include a storage medium 622 or other suitable type of memory (e.g. such as RAM, ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic disks, optical disks, floppy disks, hard disks, removable cartridges, flash drives), where the files include an operating system 624, application programs 626 (including, for example, a web browser application, a widget or gadget engine, and or other applications, as necessary) and data files 628 are stored. According to an example implementation, the architecture 600 may include a power source 630 that provides an appropriate alternating current (AC) or direct current (DC) to power components. According to an example implementation, the architecture 600 may include a telephony subsystem 632 that allows the device 600 to transmit and receive sound over a telephone network. The constituent devices and the CPU 602 may communicate with each other over a bus 634.
In accordance with an example implementation, the CPU 602 may have appropriate structure to be a computer processor. In one arrangement, the computer CPU 602 may include more than one processing unit. The RAM 618 may interface with the computer bus 634 to provide quick RAM storage to the CPU 602 during the execution of computing programs such as the operating system application programs, and device drivers. More specifically, the CPU 602 may load computer-executable process steps from the storage medium 622 or other media into a field of the RAM 618 in order to execute computing programs. Data may be stored in the RAM 618, where the data may be accessed by the computer CPU 602 during execution. In one example configuration, the device 600 may include at least 128 MB of RAM, and 256 MB of flash memory.
The storage medium 622 itself may include a number of physical drive units, such as a redundant array of independent disks (RAID), a floppy disk drive, a flash memory, a USB flash drive, an external hard disk drive, thumb drive, pen drive, key drive, a High-Density Digital Versatile Disc (HD-DVD) optical disc drive, an internal hard disk drive, a Blu-Ray optical disc drive, or a Holographic Digital Data Storage (HDDS) optical disc drive, an external mini-dual in-line memory module (DIMM) synchronous dynamic random access memory (SDRAM), or an external micro-DIMM SDRAM. Such computer readable storage media may allow the device 600 to access computer-executable process steps, application programs and the like, stored on removable and non-removable memory media, to off-load data from the device 600 or to upload data onto the device 600. A computer program product, such as one utilizing a communication system may be tangibly embodied in storage medium 622, which may comprise a machine-readable storage medium.
In an example implementation of the disclosed technology, the mobile computing device computing system architecture 600 may include any number of hardware and/or software applications 221, 222 that are executed to facilitate any of the operations. In an example implementation, one or more I/O interfaces may facilitate communication between the mobile device computing system architecture 600 and one or more input/output devices. For example, a universal serial bus port, a serial port, a disk drive, a CD-ROM drive, and/or one or more user interface devices, such as a display, keyboard, keypad, mouse, control panel, touchscreen display, microphone, etc., may facilitate user interaction with the mobile device computing system architecture 600. The one or more I/O interfaces may be utilized to receive or collect data and/or user instructions from a wide variety of input devices. Received data may be processed by one or more computer processors as desired in various implementations of the disclosed technology and/or stored in one or more memory devices.
One or more network interfaces may facilitate connection of the mobile device computing system architecture 600 inputs and outputs to one or more suitable networks and/or connections; for example, the connections that facilitate communication with any number of sensors associated with the system. The one or more network interfaces may further facilitate connection to one or more suitable networks; for example, a local area network, a wide area network, the Internet, a cellular network, a radio frequency network, a Bluetooth enabled network, a Wi-Fi enabled network, a satellite-based network any wired network, any wireless network, a proximity network, etc., for communication with external devices and/or systems. As desired, implementations of the disclosed technology may include the mobile device computing system architecture 600 with more or less of the components illustrated in
Certain implementations of the disclosed technology are described above with reference to block and flow diagrams of systems and methods and/or computer program products according to example implementations of the disclosed technology. It will be understood that one or more blocks of the block diagrams and flow diagrams, and combinations of blocks in the block diagrams and flow diagrams, respectively, may be implemented by computer-executable program instructions. Likewise, some blocks of the block diagrams and flow diagrams may not necessarily need to be performed in the order presented, or may not necessarily need to be performed at all, according to some implementations of the disclosed technology.
These computer-executable program instructions may be loaded onto a general-purpose computer, a special-purpose computer, a processor, or other programmable data processing apparatus to produce a particular machine, such that the instructions that execute on the computer, processor, or other programmable data processing apparatus create means for implementing one or more functions specified in the flow diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that may direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means that implement one or more functions specified in the flow diagram block or blocks. As an example, implementations of the disclosed technology may provide for a computer program product, comprising a computer-usable medium having a computer-readable program code or program instructions embodied therein, said computer-readable program code adapted to be executed to implement one or more functions specified in the flow diagram block or blocks. The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational elements or steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions that execute on the computer or other programmable apparatus provide elements or steps for implementing the functions specified in the flow diagram block or blocks.
Accordingly, blocks of the block diagrams and flow diagrams support combinations of means for performing the specified functions, combinations of elements or steps for performing the specified functions and program instruction means for performing the specified functions. It will also be understood that each block of the block diagrams and flow diagrams, and combinations of blocks in the block diagrams and flow diagrams, may be implemented by special-purpose, hardware-based computer systems that perform the specified functions, elements or steps, or combinations of special-purpose hardware and computer instructions.
While certain implementations of the disclosed technology have been described in connection with what is presently considered to be the most practical and various implementations, it is to be understood that the disclosed technology is not to be limited to the disclosed implementations, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the scope of the appended claims. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.
This written description uses examples to disclose certain implementations of the disclosed technology, including the best mode, and also to enable any person skilled in the art to practice certain implementations of the disclosed technology, including making and using any devices or systems and performing any incorporated methods. The patentable scope of certain implementations of the disclosed technology is defined in the claims, and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they have structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal language of the claims.
This application claims priority and the benefit under 35 U.S.C. §119(e) of U.S. Provisional Patent Application No. 61/714,738, filed 16 Oct. 2012, and of U.S. Provisional Patent Application No. 61/719,792, filed 29 Oct. 2012, all of which the entire contents and substance are hereby incorporated by reference as if fully set forth below.
Number | Date | Country | |
---|---|---|---|
61714738 | Oct 2012 | US | |
61719792 | Oct 2012 | US |