diff options
author | Tom Gall <tom.gall@linaro.org> | 2014-10-01 22:33:01 -0500 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2014-10-01 22:33:01 -0500 |
commit | d45b8aa8494dbd8c697f9a8776ffb420d8d7e47a (patch) | |
tree | 281eb516fdecbc9ae871cb9e8289261e5b000034 /ri/src/linux/esUtil.c | |
parent | f54d80b7b733e5f6ff7bc912231b8ecdd164752e (diff) |
Add call path an init path through EGL all the way down to OESGLESinitfb
which sets up the frag and vertex shaders which is part of the surface
we are going to ultimately draw the texture. The texture of course
is what the OpenVG calls will be drawing to (eventually).
Diffstat (limited to 'ri/src/linux/esUtil.c')
-rw-r--r-- | ri/src/linux/esUtil.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ri/src/linux/esUtil.c b/ri/src/linux/esUtil.c index 8773678..54be0c3 100644 --- a/ri/src/linux/esUtil.c +++ b/ri/src/linux/esUtil.c @@ -280,6 +280,12 @@ GLboolean ESUTIL_API esCreateWindow ( ESContext *esContext, const char* title, G return GL_TRUE;
}
+GLboolean ESUTIL_API esOpenVGInit ( ESContext *esContext )
+{
+ eglOpenVGInit( &esContext->eglSurface );
+
+ return GL_TRUE;
+}
///
// esMainLoop()
|