Searched refs:ogles_context_t (Results 1 - 17 of 17) sorted by relevance

/frameworks/native/opengl/libagl/
H A Dvertex.h29 struct ogles_context_t;
32 void ogles_init_vertex(ogles_context_t* c);
33 void ogles_uninit_vertex(ogles_context_t* c);
35 void ogles_vertex_perspective2D(ogles_context_t*, vertex_t*);
37 void ogles_vertex_perspective3D(ogles_context_t*, vertex_t*);
38 void ogles_vertex_perspective3DZ(ogles_context_t*, vertex_t*);
39 void ogles_vertex_clipAllPerspective3D(ogles_context_t*, vertex_t*);
40 void ogles_vertex_clipAllPerspective3DZ(ogles_context_t*, vertex_t*);
43 void ogles_vertex_project(ogles_context_t* c, vertex_t*);
H A Darray.h28 struct ogles_context_t;
31 void ogles_init_array(ogles_context_t* c);
32 void ogles_uninit_array(ogles_context_t* c);
H A Dlight.h35 struct ogles_context_t;
38 void ogles_init_light(ogles_context_t* c);
39 void ogles_uninit_light(ogles_context_t* c);
40 void ogles_invalidate_lighting_mvui(ogles_context_t* c);
H A Dtexture.h33 void ogles_init_texture(ogles_context_t* c);
34 void ogles_uninit_texture(ogles_context_t* c);
35 void ogles_validate_texture(ogles_context_t* c);
36 void ogles_lock_textures(ogles_context_t* c);
37 void ogles_unlock_textures(ogles_context_t* c);
H A Dprimitives.h29 struct ogles_context_t;
32 void ogles_validate_primitives(ogles_context_t* c);
H A Dstate.h33 ogles_context_t *ogles_init(size_t extra);
34 void ogles_uninit(ogles_context_t* c);
35 void _ogles_error(ogles_context_t* c, GLenum error);
H A Dstate.cpp66 ogles_context_t *ogles_init(size_t extra)
68 void* const base = malloc(extra + sizeof(ogles_context_t) + 32);
71 ogles_context_t *c =
72 (ogles_context_t *)((ptrdiff_t(base) + extra + 31) & ~0x1FL);
73 memset(c, 0, sizeof(ogles_context_t));
104 void ogles_uninit(ogles_context_t* c)
117 void _ogles_error(ogles_context_t* c, GLenum error)
136 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled)
227 ogles_context_t* c = ogles_context_t
[all...]
H A Dvertex.cpp30 void ogles_init_vertex(ogles_context_t* c)
44 void ogles_uninit_vertex(ogles_context_t* c)
54 void perspective(ogles_context_t* c, vertex_t* v, uint32_t enables)
83 void clipFrustumPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables)
110 void clipAllPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables)
136 void ogles_vertex_project(ogles_context_t* c, vertex_t* v) {
140 void ogles_vertex_perspective2D(ogles_context_t* c, vertex_t* v)
151 void ogles_vertex_perspective3DZ(ogles_context_t* c, vertex_t* v) {
154 void ogles_vertex_perspective3D(ogles_context_t* c, vertex_t* v) {
157 void ogles_vertex_clipAllPerspective3DZ(ogles_context_t*
[all...]
H A Darray.cpp46 static void validate_arrays(ogles_context_t* c, GLenum mode);
48 static void compileElements__generic(ogles_context_t*,
50 static void compileElement__generic(ogles_context_t*,
53 static void drawPrimitivesPoints(ogles_context_t*, GLint, GLsizei);
54 static void drawPrimitivesLineStrip(ogles_context_t*, GLint, GLsizei);
55 static void drawPrimitivesLineLoop(ogles_context_t*, GLint, GLsizei);
56 static void drawPrimitivesLines(ogles_context_t*, GLint, GLsizei);
57 static void drawPrimitivesTriangleStrip(ogles_context_t*, GLint, GLsizei);
58 static void drawPrimitivesTriangleFan(ogles_context_t*, GLint, GLsizei);
59 static void drawPrimitivesTriangles(ogles_context_t*, GLin
[all...]
H A Dtexture.cpp33 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
36 void generateMipmap(ogles_context_t* c, GLint level);
45 void ogles_init_texture(ogles_context_t* c)
62 void ogles_uninit_texture(ogles_context_t* c)
74 void validate_tmu(ogles_context_t* c, int i)
101 void ogles_validate_texture(ogles_context_t* c)
111 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) {
123 void ogles_lock_textures(ogles_context_t* c)
151 void ogles_unlock_textures(ogles_context_t* c)
222 static GLenum validFormatType(ogles_context_t*
[all...]
H A Dlight.cpp34 static void invalidate_lighting(ogles_context_t* c);
35 static void lightVertexValidate(ogles_context_t* c, vertex_t* v);
36 static void lightVertexNop(ogles_context_t* c, vertex_t* v);
37 static void lightVertex(ogles_context_t* c, vertex_t* v);
38 static void lightVertexMaterial(ogles_context_t* c, vertex_t* v);
54 static GLfixed fog_linear(ogles_context_t* c, GLfixed z);
55 static GLfixed fog_exp(ogles_context_t* c, GLfixed z);
56 static GLfixed fog_exp2(ogles_context_t* c, GLfixed z);
65 void ogles_init_light(ogles_context_t* c)
108 void ogles_uninit_light(ogles_context_t*
[all...]
H A Dmatrix.cpp66 void ogles_init_matrix(ogles_context_t* c)
88 void ogles_uninit_matrix(ogles_context_t* c)
96 static void validate_perspective(ogles_context_t* c, vertex_t* v)
113 void ogles_invalidate_perspective(ogles_context_t* c)
118 void ogles_validate_transform_impl(ogles_context_t* c, uint32_t want)
641 int ogles_surfaceport(ogles_context_t* c, GLint x, GLint y)
661 void ogles_scissor(ogles_context_t* c,
680 void ogles_viewport(ogles_context_t* c,
814 ogles_context_t* c)
856 ogles_context_t*
[all...]
H A Dcontext.h49 struct ogles_context_t;
54 ogles_context_t* getGlContext();
178 typedef void (*fetcher_t)(ogles_context_t*, GLfixed*, const GLvoid*);
209 void (*compileElements)(ogles_context_t*, vertex_t*, GLint, GLsizei);
210 void (*compileElement)(ogles_context_t*, vertex_t*, GLint);
215 void (*perspective)(ogles_context_t*c, vertex_t* v);
216 void (*clipVertex)(ogles_context_t* c, vertex_t* nv,
218 void (*clipEye)(ogles_context_t* c, vertex_t* nv,
258 GLfixed (*fog)(ogles_context_t* c, GLfixed z);
331 typedef void (*light_fct_t)(ogles_context_t*, vertex_
604 struct ogles_context_t { struct in namespace:android::gl
[all...]
H A Dprimitives.cpp37 static void primitive_point(ogles_context_t* c, vertex_t* v);
38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
39 static void primitive_clip_triangle(ogles_context_t* c,
42 static void primitive_nop_point(ogles_context_t* c, vertex_t* v);
43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
44 static void primitive_nop_triangle(ogles_context_t* c,
47 static inline bool cull_triangle(ogles_context_t* c,
50 static void lerp_triangle(ogles_context_t* c,
53 static void lerp_texcoords(ogles_context_t* c,
56 static void lerp_texcoords_w(ogles_context_t*
[all...]
H A Dmatrix.h36 void ogles_init_matrix(ogles_context_t*);
37 void ogles_uninit_matrix(ogles_context_t*);
38 void ogles_invalidate_perspective(ogles_context_t* c);
39 void ogles_validate_transform_impl(ogles_context_t* c, uint32_t want);
41 int ogles_surfaceport(ogles_context_t* c, GLint x, GLint y);
43 void ogles_scissor(ogles_context_t* c,
46 void ogles_viewport(ogles_context_t* c,
50 ogles_context_t* c, uint32_t want)
H A Degl.cpp132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
157 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl) = 0;
158 virtual EGLBoolean bindReadSurface(ogles_context_t* gl) = 0;
227 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl);
228 virtual EGLBoolean bindReadSurface(ogles_context_t* gl);
584 EGLBoolean egl_window_surface_v2_t::bindDrawSurface(ogles_context_t* gl)
599 EGLBoolean egl_window_surface_v2_t::bindReadSurface(ogles_context_t* gl)
651 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl);
652 virtual EGLBoolean bindReadSurface(ogles_context_t* g
[all...]
H A Dmipmap.cpp30 status_t buildAPyramid(ogles_context_t* c, EGLTextureObject* tex)

Completed in 118 milliseconds