Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
In strictly conforming EGL implementations, eglGetProcAddress() can be used
only to get extension functions, but some of the functions we want belong to
core GL(ES). If the *GetProcAddress function provided by the context fails,
try to get the address of the wanted GL function using standard system
facilities (eg dlsym() in *nix systems).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
'make check' complains that:
Checking that private header files #include "some cairo header" first (or none)
cairo-gl-dispatch-private.h:#include <stddef.h>
Checking that source files #include "cairoint.h" first (or none)
cairo-gl-dispatch.c:#include "cairo-gl-private.h"
cairo-gl-info.c:#include "cairo-gl-private.h"
|
|
Some GL functions can be called using different names depending on the
GL version and available extensions (ARB, EXT). The dispatch table
abstracts these differences and provides a uniform API for dealing with
these functions.
|