| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
|
|
| |
| |
| |
| |
| |
|
|
| #ifndef RENDERSCRIPT_RS_GRAPHICS_RSH |
| #define RENDERSCRIPT_RS_GRAPHICS_RSH |
|
|
| #ifdef __LP64__ |
| |
| |
| #endif |
|
|
| |
| #include "rs_object_types.rsh" |
|
|
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| typedef enum __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) { |
| RS_BLEND_SRC_ZERO = 0, |
| RS_BLEND_SRC_ONE = 1, |
| RS_BLEND_SRC_DST_COLOR = 2, |
| RS_BLEND_SRC_ONE_MINUS_DST_COLOR = 3, |
| RS_BLEND_SRC_SRC_ALPHA = 4, |
| RS_BLEND_SRC_ONE_MINUS_SRC_ALPHA = 5, |
| RS_BLEND_SRC_DST_ALPHA = 6, |
| RS_BLEND_SRC_ONE_MINUS_DST_ALPHA = 7, |
| RS_BLEND_SRC_SRC_ALPHA_SATURATE = 8, |
| RS_BLEND_SRC_INVALID = 100 |
| } rs_blend_src_func; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| typedef enum __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) { |
| RS_BLEND_DST_ZERO = 0, |
| RS_BLEND_DST_ONE = 1, |
| RS_BLEND_DST_SRC_COLOR = 2, |
| RS_BLEND_DST_ONE_MINUS_SRC_COLOR = 3, |
| RS_BLEND_DST_SRC_ALPHA = 4, |
| RS_BLEND_DST_ONE_MINUS_SRC_ALPHA = 5, |
| RS_BLEND_DST_DST_ALPHA = 6, |
| RS_BLEND_DST_ONE_MINUS_DST_ALPHA = 7, |
| RS_BLEND_DST_INVALID = 100 |
| } rs_blend_dst_func; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| typedef enum __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) { |
| RS_CULL_BACK = 0, |
| RS_CULL_FRONT = 1, |
| RS_CULL_NONE = 2, |
| RS_CULL_INVALID = 100 |
| } rs_cull_mode; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| typedef enum __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) { |
| RS_DEPTH_FUNC_ALWAYS = 0, |
| RS_DEPTH_FUNC_LESS = 1, |
| RS_DEPTH_FUNC_LEQUAL = 2, |
| RS_DEPTH_FUNC_GREATER = 3, |
| RS_DEPTH_FUNC_GEQUAL = 4, |
| RS_DEPTH_FUNC_EQUAL = 5, |
| RS_DEPTH_FUNC_NOTEQUAL = 6, |
| RS_DEPTH_FUNC_INVALID = 100 |
| } rs_depth_func; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| typedef enum __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) { |
| RS_PRIMITIVE_POINT = 0, |
| RS_PRIMITIVE_LINE = 1, |
| RS_PRIMITIVE_LINE_STRIP = 2, |
| RS_PRIMITIVE_TRIANGLE = 3, |
| RS_PRIMITIVE_TRIANGLE_STRIP = 4, |
| RS_PRIMITIVE_TRIANGLE_FAN = 5, |
| RS_PRIMITIVE_INVALID = 100 |
| } rs_primitive; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| typedef struct rs_font _RS_OBJECT_DECL __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) rs_font; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| typedef struct rs_mesh _RS_OBJECT_DECL __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) rs_mesh; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| typedef struct rs_program_fragment _RS_OBJECT_DECL __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) rs_program_fragment; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| typedef struct rs_program_vertex _RS_OBJECT_DECL __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) rs_program_vertex; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| typedef struct rs_program_raster _RS_OBJECT_DECL __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) rs_program_raster; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| typedef struct rs_program_store _RS_OBJECT_DECL __attribute__(( |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| deprecated |
| #endif |
| )) rs_program_store; |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsClearObject(rs_mesh* dst); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsClearObject(rs_program_fragment* dst); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsClearObject(rs_program_vertex* dst); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsClearObject(rs_program_raster* dst); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsClearObject(rs_program_store* dst); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsClearObject(rs_font* dst); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern bool __attribute__((overloadable)) |
| rsIsObject(rs_mesh v); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern bool __attribute__((overloadable)) |
| rsIsObject(rs_program_fragment v); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern bool __attribute__((overloadable)) |
| rsIsObject(rs_program_vertex v); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern bool __attribute__((overloadable)) |
| rsIsObject(rs_program_raster v); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern bool __attribute__((overloadable)) |
| rsIsObject(rs_program_store v); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern bool __attribute__((overloadable)) |
| rsIsObject(rs_font v); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsSetObject(rs_mesh* dst, rs_mesh src); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsSetObject(rs_program_fragment* dst, rs_program_fragment src); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsSetObject(rs_program_vertex* dst, rs_program_vertex src); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsSetObject(rs_program_raster* dst, rs_program_raster src); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsSetObject(rs_program_store* dst, rs_program_store src); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (RS_VERSION <= 22) |
| extern void __attribute__((overloadable)) |
| rsSetObject(rs_font* dst, rs_font src); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgAllocationSyncAll(rs_allocation alloc); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgAllocationSyncAll(rs_allocation alloc, rs_allocation_usage_type source); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindColorTarget(rs_allocation colorTarget, uint slot); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindConstant(rs_program_fragment ps, uint slot, rs_allocation c); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindConstant(rs_program_vertex pv, uint slot, rs_allocation c); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindDepthTarget(rs_allocation depthTarget); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindFont(rs_font font); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindProgramFragment(rs_program_fragment pf); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindProgramRaster(rs_program_raster pr); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindProgramStore(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindProgramVertex(rs_program_vertex pv); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindSampler(rs_program_fragment fragment, uint slot, rs_sampler sampler); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgBindTexture(rs_program_fragment v, uint slot, rs_allocation alloc); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgClearAllRenderTargets(void); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgClearColor(float r, float g, float b, float a); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgClearColorTarget(uint slot); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgClearDepth(float value); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgClearDepthTarget(void); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawMesh(rs_mesh ism); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawMesh(rs_mesh ism, uint primitiveIndex); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawMesh(rs_mesh ism, uint primitiveIndex, uint start, uint len); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, |
| float z3, float x4, float y4, float z4); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, |
| float z2, float u2, float v2, float x3, float y3, float z3, float u3, |
| float v3, float x4, float y4, float z4, float u4, float v4); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawRect(float x1, float y1, float x2, float y2, float z); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawText(const char* text, int x, int y); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgDrawText(rs_allocation alloc, int x, int y); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 14) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern uint __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgFinish(void); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgFontColor(float r, float g, float b, float a); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern uint __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgGetHeight(void); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern uint __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgGetWidth(void); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeasureText(const char* text, int* left, int* right, int* top, int* bottom); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeasureText(rs_allocation alloc, int* left, int* right, int* top, int* bottom); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshComputeBoundingBox(rs_mesh mesh, float* minX, float* minY, float* min, float* maxX, |
| float* maxY, float* maxZ); |
| #endif |
| #endif |
|
|
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| static inline void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshComputeBoundingBox(rs_mesh mesh, float3* bBoxMin, float3* bBoxMax) { |
| float x1, y1, z1, x2, y2, z2; |
| rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2); |
| bBoxMin->x = x1; |
| bBoxMin->y = y1; |
| bBoxMin->z = z1; |
| bBoxMax->x = x2; |
| bBoxMax->y = y2; |
| bBoxMax->z = z2; |
| } |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_allocation __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshGetIndexAllocation(rs_mesh m, uint32_t index); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_primitive __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshGetPrimitive(rs_mesh m, uint32_t index); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern uint32_t __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshGetPrimitiveCount(rs_mesh m); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_allocation __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern uint32_t __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgMeshGetVertexAllocationCount(rs_mesh m); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramFragmentConstantColor(rs_program_fragment pf, float r, float g, float b, float a); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramVertexGetProjectionMatrix(rs_matrix4x4* proj); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramVertexLoadModelMatrix(const rs_matrix4x4* model); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4* proj); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if !defined(RS_VERSION) || (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22) |
| extern void __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4* tex); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_cull_mode __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramRasterGetCullMode(rs_program_raster pr); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_blend_dst_func __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreGetBlendDstFunc(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_blend_src_func __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreGetBlendSrcFunc(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern rs_depth_func __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreGetDepthFunc(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreIsColorMaskAlphaEnabled(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps); |
| #endif |
| #endif |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef __LP64__ |
| #if (defined(RS_VERSION) && (RS_VERSION >= 16) && (defined(RS_DECLARE_EXPIRED_APIS) || RS_VERSION <= 22)) |
| extern bool __attribute__((overloadable |
| #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| , deprecated |
| #endif |
| )) |
| rsgProgramStoreIsDitherEnabled(rs_program_store ps); |
| #endif |
| #endif |
|
|
| #endif |
|
|