Coder Social home page Coder Social logo

heeen / wayland-ivi-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from covesa/wayland-ivi-extension

0.0 1.0 0.0 777 KB

Extensions to the Wayland protocol for InVehcle Infotainment

License: Apache License 2.0

CMake 6.16% C 45.54% C++ 48.30%

wayland-ivi-extension's Introduction

Sections in this file describe:
- How to build
- Example applications
- How to test
- Features

How to build on different platforms
====================================

Pre-requisite: 
- Weston
- CMake required (version 2.6 or higher)
- Open GLES and EGL for example applications
- Gtest for the test suite

Build up
1. Pull the current codebase form the git repo
   E.g. git clone http://git.projects.genivi.org/wayland-ivi-extension.git

2. Create a build directory
   E.g mkdir build_ivi_extension

3. In <build-dir> Generate build system for your platform using CMake.
   E.g. cd <build-dir>
        cmake -DCMAKE_TOOLCHAIN_FILE=<your setting *.cmake> ../

4. Start the build and install
   
   E.g. sudo make install

Example applications
====================================
  
Pre-requisite:
- Modify weston.ini to use ivi-shell.so
  Example:
    [core]
    shell=ivi-shell.so

    [ivi-shell]
    ivi-module=ivi-controller.so
    ivi-input-module=ivi-input-controller.so

- Set Environmental values
  Example:
    export XDG_RUNTIME_DIR=/var/run/<your user name>/1000
    export LD_LIBRARY_PATH=<your installation path>/lib 

Start-up Weston:
   Example: <your installation path>/bin/weston

Start-up HMI helper:
   Example: <your installation path>/bin/layer-add-surfaces 1000 1

EGLWLMockNavigation:
   Example: <your installation path>/bin/EGLWLMockNavigation

How to test
====================================
1. Build the testsuite by setting BUILD_ILM_API_TESTS option.
   Example: cmake -DBUILD_ILM_API_TESTS
2. After starting up Weston run the testsuite.
   Example: <your installation path>/bin/ivi-layermanagement-api-test
            <your installation path>/bin/ivi-input-api-test

Features
====================================
ivi_share protocol:
 ivi-controller provides ivi_share protocol to share native buffer of other clients.
 A application which shared native buffer can create texture from it using EGL extension
 API (eglCreateImageKHR) and GL extension API (glEGLImageTargetTexture2DOES).
 And the texture can manipulate in your rendering scene.
 Example: <your installtion path>/bin/simple-ivi-share

 To build this feature, add the following line into toolchain file.
 option (IVI_SHARE "Enable ivi_share protocol" ON)

wayland-ivi-extension's People

Contributors

eucan avatar fujitas avatar heeen avatar jamespthomas avatar jonathanmaw avatar mpolrola avatar ntanibata avatar ossama-othman avatar ronan22 avatar wmizuno avatar wnatsume avatar zeerd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.