aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Comment out drm/gbm specific code (for now), while implementing Bufferdevs/devilhorns/drmChris Michael2014-01-291-68/+56
| | | | | | Abstraction stuff. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Intialize buffer manager on engine creationChris Michael2014-01-291-0/+13
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add function declarations for buffer manager functionsChris Michael2014-01-291-11/+14
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add buffer manager to evas engine build orderChris Michael2014-01-291-1/+2
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Call idle_timeout_update when we are done processing updates.Chris Michael2014-01-291-1/+4
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add start of buffer abstraction codeChris Michael2014-01-291-0/+88
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Check return values of drm commands and fail nicely.Chris Michael2014-01-291-21/+54
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add some debugging print outsChris Michael2014-01-291-0/+2
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Trap eglMakeCurrent return value.Chris Michael2014-01-291-10/+46
| | | | | | | For testing, fill an output with some color. When we repaint an output, loop the sprites and signal for vblank. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add API function to determine if sprites are supported on an output.Chris Michael2014-01-291-1/+19
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add function declaration for returning a fb from a boChris Michael2014-01-291-0/+4
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* When we mmap the fb memory, map for read And write.Chris Michael2014-01-291-1/+61
| | | | | | Add function to return a fb object from a bo. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add API function to determine if a crtc supports spritesChris Michael2014-01-291-0/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix typosChris Michael2014-01-291-2/+2
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix swapper_setup functions to pass in the fd.Chris Michael2014-01-291-5/+6
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix function prototypes to accept the drm device fd.Chris Michael2014-01-291-5/+6
| | | | | | Fix function calls to accept the drm device fd. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add the 'fd' to the engine info structureChris Michael2014-01-291-0/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add fd to outbuf structure, and fix swapbuf_setup function to acceptChris Michael2014-01-291-1/+3
| | | | | | the fd. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Get the fd from the ecore_drm_device so we can pass it to the evasChris Michael2014-01-291-0/+1
| | | | | | engine Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add function to return the file descriptor for a ecore_drm_deviceChris Michael2014-01-291-0/+7
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add API function to get the device fd.Chris Michael2014-01-291-0/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add egl to configure.ac checks for ecore_drmChris Michael2014-01-291-1/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add evas engine files (for drm) to build orderChris Michael2014-01-291-2/+3
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Modify evas_check_engine macros (for drm) to detect eglChris Michael2014-01-291-3/+21
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Remove old outbuf fileChris Michael2014-01-291-45/+0
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add functions to show & render the ecore_evas for drmChris Michael2014-01-291-4/+122
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Begin work on getting evas drm engine to actually renderChris Michael2014-01-295-99/+1441
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add API functions for returning the gbm deviceChris Michael2014-01-291-0/+19
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add code to create an EGL Context for an output.Chris Michael2014-01-291-12/+238
| | | | | | Start on hardware rendering code (egl) Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add code to initialize EGL (for hardware acceleration).Chris Michael2014-01-291-5/+160
| | | | | | Add code to repaint outputs on page_flip or vblank events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Expose ecore_drm_fb functions as API functionsChris Michael2014-01-291-4/+6
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Expose the Ecore_Drm_Fb structure.Chris Michael2014-01-291-0/+21
| | | | | | | Add EAPI functions for getting the gbm device, repainting outputs, and creating/destroying framebuffer objects Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add EGL headers & necessary fields to structures for hardwareChris Michael2014-01-291-12/+24
| | | | | | acceleration Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Remove libinput dependencyChris Michael2014-01-291-1/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Create sprites on canvas creationChris Michael2014-01-291-2/+13
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix formattingChris Michael2014-01-291-3/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix evdev code:Chris Michael2014-01-291-42/+327
| | | | | | | | - Add code to setup devices and configure them - Add code to process input events (key down, mouse, etc). - Add code to create new Ecore_Drm_Evdev's Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Rework input code to to actually work now:Chris Michael2014-01-291-237/+180
| | | | | | | | | - Remove libinput dependency. - Fixes input opening to not require root access anymore - Add code to handle inputs getting added/removed - Setup udev monitoring for input changes & events Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Remove some debug messagesChris Michael2014-01-291-5/+5
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add needed fields to input & evdev structures to process input events.Chris Michael2014-01-291-9/+34
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add Evdev device capabilities, seat capabilitities, and event type enumsChris Michael2014-01-291-0/+28
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add functions to disable/enable an outputChris Michael2014-01-291-0/+46
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add function to disable inputsChris Michael2014-01-291-7/+28
| | | | | | | When we enable inputs, don't recreate the fd handler if we do not need to Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Enable/Disable outputs & inputs during vt switchChris Michael2014-01-291-0/+31
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add TODOChris Michael2014-01-291-0/+7
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix Mesa bug with some drivers by preloading libglapiChris Michael2014-01-291-0/+8
| | | | | | | | Some mesa drivers (i965, etc) require glapi functions but a current Mesa bug does not always link those drivers to glapi so we will preload the library to avoid "driver loading" errors. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add sprites fileChris Michael2014-01-291-0/+97
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add Ecore_Drm_Sprite structureChris Michael2014-01-291-0/+25
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add additional API functions:Chris Michael2014-01-291-1/+13
| | | | | | | | - Add functions for enabling an output and setting cursor size - Add functions for disabling an input - Add functions for creating/destroying sprites Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Add sprites file to build orderChris Michael2014-01-291-0/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>