| Commit message (Collapse) | Author | Age |
| | |
|
| | |
|
| | |
|
| |
|
|
| |
It does some additional error checking and flushing
|
| |
|
|
|
|
|
| |
Run caskbench with --enable-egl-sample-buffers to turn this feature on.
This implementation is sort of hacky but gives us a starting point.
I'll generalize better once there are additional device options.
|
| |
|
|
|
|
| |
This structure will be used for communicating various configuration
settings to the image, egl, and glx setup routines. For now just use it
for passing width/height and the surface type.
|
| | |
|
| |
|
|
|
|
| |
In addition to breaking out the cairo and skia claims on the egl context
separately, we also need to call eglMakeCurrent and eglSwapBuffers so
that it will actually draw to the screen.
|
| |
|
|
| |
This permits us to flush and swap buffers when needed.
|
| | |
|
| |
|
|
|
|
| |
While Cairo has callback support for the destructor, there's not an
analogous way to do this with Skia, so instead of trying to be clever
let's just build explicit destruction in.
|
| | |
|
| |
|
|
|
|
| |
Merge the window creation into the context setup, since this doesn't
appear sharable between GLX and EGL. Unify the destruction logic since
it's going to be the same for both skia and cairo.
|
| | |
|
| |
|