/frameworks/native/opengl/libagl/ |
D | state.cpp | 66 ogles_context_t *ogles_init(size_t extra) in ogles_init() 68 void* const base = malloc(extra + sizeof(ogles_context_t) + 32); in ogles_init() 71 ogles_context_t *c = in ogles_init() 72 (ogles_context_t *)((ptrdiff_t(base) + extra + 31) & ~0x1FL); in ogles_init() 73 memset(c, 0, sizeof(ogles_context_t)); in ogles_init() 104 void ogles_uninit(ogles_context_t* c) in ogles_uninit() 117 void _ogles_error(ogles_context_t* c, GLenum error) in _ogles_error() 136 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled) in enable_disable() 227 ogles_context_t* c = ogles_context_t::get(); in glStencilFunc() 238 ogles_context_t* c = ogles_context_t::get(); in glStencilOp() [all …]
|
D | 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*);
|
D | vertex.cpp | 30 void ogles_init_vertex(ogles_context_t* c) in ogles_init_vertex() 44 void ogles_uninit_vertex(ogles_context_t* /*c*/) in ogles_uninit_vertex() argument 54 void perspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in perspective() 83 void clipFrustumPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in clipFrustumPerspective() 110 void clipAllPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in clipAllPerspective() 136 void ogles_vertex_project(ogles_context_t* c, vertex_t* v) { in ogles_vertex_project() 140 void ogles_vertex_perspective2D(ogles_context_t* c, vertex_t* v) in ogles_vertex_perspective2D() 151 void ogles_vertex_perspective3DZ(ogles_context_t* c, vertex_t* v) { in ogles_vertex_perspective3DZ() 154 void ogles_vertex_perspective3D(ogles_context_t* c, vertex_t* v) { in ogles_vertex_perspective3D() 157 void ogles_vertex_clipAllPerspective3DZ(ogles_context_t* c, vertex_t* v) { in ogles_vertex_clipAllPerspective3DZ() [all …]
|
D | 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 …]
|
D | 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) in ogles_init_light() 108 void ogles_uninit_light(ogles_context_t* /*c*/) in ogles_uninit_light() argument [all …]
|
D | texture.cpp | 36 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 39 void generateMipmap(ogles_context_t* c, GLint level); 48 void ogles_init_texture(ogles_context_t* c) in ogles_init_texture() 65 void ogles_uninit_texture(ogles_context_t* c) in ogles_uninit_texture() 77 void validate_tmu(ogles_context_t* c, int i) in validate_tmu() 104 void ogles_validate_texture(ogles_context_t* c) in ogles_validate_texture() 114 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) { in invalidate_texture() 126 void ogles_lock_textures(ogles_context_t* c) in ogles_lock_textures() 148 void ogles_unlock_textures(ogles_context_t* c) in ogles_unlock_textures() 215 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type) in validFormatType() [all …]
|
D | 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);
|
D | matrix.cpp | 65 void ogles_init_matrix(ogles_context_t* c) in ogles_init_matrix() 87 void ogles_uninit_matrix(ogles_context_t* c) in ogles_uninit_matrix() 95 static void validate_perspective(ogles_context_t* c, vertex_t* v) in validate_perspective() 112 void ogles_invalidate_perspective(ogles_context_t* c) in ogles_invalidate_perspective() 117 void ogles_validate_transform_impl(ogles_context_t* c, uint32_t want) in ogles_validate_transform_impl() 630 int ogles_surfaceport(ogles_context_t* c, GLint x, GLint y) in ogles_surfaceport() 650 void ogles_scissor(ogles_context_t* c, in ogles_scissor() 669 void ogles_viewport(ogles_context_t* c, in ogles_viewport() 803 ogles_context_t* c) in frustumf() 845 ogles_context_t* c) in orthof() [all …]
|
D | 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);
|
D | context.h | 50 struct ogles_context_t; 55 ogles_context_t* getGlContext(); 183 typedef void (*fetcher_t)(ogles_context_t*, GLfixed*, const GLvoid*); 214 void (*compileElements)(ogles_context_t*, vertex_t*, GLint, GLsizei); 215 void (*compileElement)(ogles_context_t*, vertex_t*, GLint); 220 void (*perspective)(ogles_context_t*c, vertex_t* v); 221 void (*clipVertex)(ogles_context_t* c, vertex_t* nv, 223 void (*clipEye)(ogles_context_t* c, vertex_t* nv, 263 GLfixed (*fog)(ogles_context_t* c, GLfixed z); 336 typedef void (*light_fct_t)(ogles_context_t*, vertex_t*); [all …]
|
D | 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 …]
|
D | 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);
|
D | 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);
|
D | 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) in ogles_validate_transform()
|
D | primitives.h | 29 struct ogles_context_t; 32 void ogles_validate_primitives(ogles_context_t* c);
|
D | egl.cpp | 154 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx); in context() 179 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl) = 0; 180 virtual EGLBoolean bindReadSurface(ogles_context_t* gl) = 0; 249 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl); 250 virtual EGLBoolean bindReadSurface(ogles_context_t* gl); 608 EGLBoolean egl_window_surface_v2_t::bindDrawSurface(ogles_context_t* gl) in bindDrawSurface() 623 EGLBoolean egl_window_surface_v2_t::bindReadSurface(ogles_context_t* gl) in bindReadSurface() 675 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl); 676 virtual EGLBoolean bindReadSurface(ogles_context_t* gl); 706 EGLBoolean egl_pixmap_surface_t::bindDrawSurface(ogles_context_t* gl) in bindDrawSurface() [all …]
|
D | mipmap.cpp | 30 status_t buildAPyramid(ogles_context_t* c, EGLTextureObject* tex) in buildAPyramid()
|