diff options
author | 2016-01-08 10:52:16 -0800 | |
---|---|---|
committer | 2016-01-11 16:29:39 -0800 | |
commit | c044ae5dfc62031924c2f4c0ecc87b0da72a6b3f (patch) | |
tree | 094e146f6bf769aae8c142aa5b846b346015a141 /opengl/libagl/context.h | |
parent | 35f475653c2ca922acc358c607b204c8fafd6ad5 (diff) |
libagl: Switch from gralloc to GraphicBufferMapper
Removes all direct references to the gralloc module from libagl and
uses the GraphicBufferMapper class instead when locking and unlocking
buffers.
Also a couple of minor code cleanups to eliminate warnings.
Change-Id: Ie982d375b3152d5f677ab54c2067179b8d34c06d
Diffstat (limited to 'opengl/libagl/context.h')
-rw-r--r-- | opengl/libagl/context.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opengl/libagl/context.h b/opengl/libagl/context.h index d23f43568e..18ef7d5716 100644 --- a/opengl/libagl/context.h +++ b/opengl/libagl/context.h @@ -26,7 +26,8 @@ #endif #include <private/pixelflinger/ggl_context.h> -#include <hardware/gralloc.h> + +#include <system/window.h> #include <GLES/gl.h> #include <GLES/glext.h> @@ -615,7 +616,7 @@ struct ogles_context_t { culling_t cull; lighting_t lighting; user_clip_planes_t clipPlanes; - compute_iterators_t lerp; __attribute__((aligned(32))); + compute_iterators_t lerp __attribute__((aligned(32))); vertex_t current; vec4_t currentColorClamped; vec3_t currentNormal; |