HomeSort by relevance Sort by last modified time
    Searched refs:ogles_context_t (Results 1 - 18 of 18) sorted by null

  /frameworks/base/opengl/libagl/
vertex.h 29 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*);
texture.h 33 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);
array.h 28 struct ogles_context_t;
31 void ogles_init_array(ogles_context_t* c);
32 void ogles_uninit_array(ogles_context_t* c);
light.h 35 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);
primitives.h 29 struct ogles_context_t;
32 void ogles_validate_primitives(ogles_context_t* c);
state.h 33 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);
state.cpp 65 ogles_context_t *ogles_init(size_t extra)
67 void* const base = malloc(extra + sizeof(ogles_context_t) + 32);
70 ogles_context_t *c =
71 (ogles_context_t *)((ptrdiff_t(base) + extra + 31) & ~0x1FL);
72 memset(c, 0, sizeof(ogles_context_t));
103 void ogles_uninit(ogles_context_t* c)
116 void _ogles_error(ogles_context_t* c, GLenum error)
135 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled)
226 ogles_context_t* c = ogles_context_t::get()
    [all...]
vertex.cpp 30 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* c, vertex_t* v)
    [all...]
array.cpp 46 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*, GLint, GLsizei)
    [all...]
texture.cpp 34 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
37 void generateMipmap(ogles_context_t* c, GLint level);
46 void ogles_init_texture(ogles_context_t* c)
63 void ogles_uninit_texture(ogles_context_t* c)
75 void validate_tmu(ogles_context_t* c, int i)
102 void ogles_validate_texture(ogles_context_t* c)
112 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) {
124 void ogles_lock_textures(ogles_context_t* c)
152 void ogles_unlock_textures(ogles_context_t* c)
223 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type
    [all...]
light.cpp 34 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* c
    [all...]
matrix.cpp 66 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* c
    [all...]
primitives.cpp 37 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* c
    [all...]
matrix.h 36 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)
egl.cpp 126 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
150 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl) = 0;
151 virtual EGLBoolean bindReadSurface(ogles_context_t* gl) = 0;
220 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl);
221 virtual EGLBoolean bindReadSurface(ogles_context_t* gl);
569 EGLBoolean egl_window_surface_v2_t::bindDrawSurface(ogles_context_t* gl)
584 EGLBoolean egl_window_surface_v2_t::bindReadSurface(ogles_context_t* gl)
636 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl);
637 virtual EGLBoolean bindReadSurface(ogles_context_t* gl)
    [all...]
mipmap.cpp 30 status_t buildAPyramid(ogles_context_t* c, EGLTextureObject* tex)
  /frameworks/base/include/private/opengles/
gl_context.h 49 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_t*)
604 struct ogles_context_t { struct in namespace:android::gl
    [all...]
  /external/mesa3d/test/
egl.cpp 99 static struct ogles_context_t * global_ctx;
101 struct ogles_context_t { struct in namespace:android
111 static inline ogles_context_t* get() {
116 ogles_context_t * getGlThreadSpecific()
120 void setGlThreadSpecific(ogles_context_t * ctx)
159 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
182 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl) = 0;
183 //virtual EGLBoolean bindReadSurface(ogles_context_t* gl) = 0;
261 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl)
    [all...]

Completed in 365 milliseconds