/external/mesa3d/src/gallium/targets/d3dadapter9/ |
H A D | drm.c | 95 drm_destroy( struct d3dadapter9_context *ctx ) 97 struct d3dadapter9drm_context *drm = (struct d3dadapter9drm_context *)ctx; 99 if (ctx->ref) 100 ctx->ref->destroy(ctx->ref); 102 else if (ctx->hal) 103 ctx->hal->destroy(ctx->hal); 111 FREE(ctx); 140 read_descriptor( struct d3dadapter9_context *ctx, argument 205 struct d3dadapter9drm_context *ctx = CALLOC_STRUCT(d3dadapter9drm_context); local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_pixeltransfer.c | 44 load_color_map_texture(struct gl_context *ctx, struct pipe_resource *pt) argument 46 struct st_context *st = st_context(ctx); 49 const GLuint rSize = ctx->PixelMaps.RtoR.Size; 50 const GLuint gSize = ctx->PixelMaps.GtoG.Size; 51 const GLuint bSize = ctx->PixelMaps.BtoB.Size; 52 const GLuint aSize = ctx->PixelMaps.AtoA.Size; 72 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; 73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; 74 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; 75 rgba[3] = ctx 90 struct gl_context *ctx = st->ctx; local [all...] |
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_context.h | 88 static inline struct vbo_context *vbo_context(struct gl_context *ctx) argument 90 return ctx->vbo_context; 99 get_program_mode( struct gl_context *ctx ) 101 if (!ctx->VertexProgram._Current) 103 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) 124 struct gl_context *ctx = vbo->exec.ctx; local 126 if (ctx->Array.DrawMethod != method) { 129 ctx [all...] |
/external/syslinux/gpxe/src/crypto/ |
H A D | arc4.c | 43 struct arc4_ctx *ctx = ctxv; local 45 u8 *S = ctx->state; 57 ctx->i = ctx->j = 0; 80 struct arc4_ctx *ctx = ctxv; local 83 u8 *S = ctx->state; 84 int i = ctx->i, j = ctx->j; 94 ctx->i = i; 95 ctx 117 struct arc4_ctx ctx; local [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | categorical_op.cc | 33 explicit CategoricalOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument 35 void Compile(XlaOpKernelContext* ctx) override { 37 const xla::ComputationDataHandle& logits = ctx->Input(0); 38 TensorShape logits_shape = ctx->InputShape(0); 40 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &num_samples)); 41 OP_REQUIRES(ctx, TensorShapeUtils::IsMatrix(logits_shape), 44 OP_REQUIRES(ctx, num_samples >= 0, 51 ctx, static_cas [all...] |
H A D | select_op.cc | 30 explicit SelectOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument 32 void Compile(XlaOpKernelContext* ctx) override { 33 const TensorShape cond_shape = ctx->InputShape(0); 34 const TensorShape then_shape = ctx->InputShape(1); 35 const TensorShape else_shape = ctx->InputShape(2); 38 ctx, then_shape.IsSameSize(else_shape), 43 xla::ComputationBuilder* builder = ctx->builder(); 45 auto cond_handle = ctx->Input(0); 46 auto then_handle = ctx [all...] |
H A D | quantize_and_dequantize_op.cc | 27 explicit QuantizeAndDequantizeOp(OpKernelConstruction* ctx) argument 28 : XlaOpKernel(ctx) { 29 OP_REQUIRES_OK(ctx, ctx->GetAttr("signed_input", &signed_input_)); 30 OP_REQUIRES_OK(ctx, ctx->GetAttr("range_given", &range_given_)); 31 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_bits", &num_bits_)); 32 OP_REQUIRES(ctx, num_bits_ > 0 && num_bits_ < (signed_input_ ? 62 : 63), 37 void Compile(XlaOpKernelContext* ctx) overrid [all...] |
/external/curl/lib/ |
H A D | md4.c | 62 static void MD4_Init(MD4_CTX *ctx); 63 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size); 64 static void MD4_Final(unsigned char *result, MD4_CTX *ctx); 98 (ctx->block[(n)] = \ 104 (ctx->block[(n)]) 111 static const void *body(MD4_CTX *ctx, const void *data, unsigned long size) argument 119 a = ctx->a; 120 b = ctx->b; 121 c = ctx->c; 122 d = ctx 200 MD4_Init(MD4_CTX *ctx) argument 211 MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) argument 246 MD4_Final(unsigned char *result, MD4_CTX *ctx) argument 301 MD4_CTX ctx; local [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | pass1.c | 67 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 69 static void mark_table_blocks(e2fsck_t ctx); 70 static void alloc_bb_map(e2fsck_t ctx); 71 static void alloc_imagic_map(e2fsck_t ctx); 72 static void mark_inode_bad(e2fsck_t ctx, ino_t ino); 73 static void add_encrypted_dir(e2fsck_t ctx, ino_t ino); 74 static void handle_fs_bad_blocks(e2fsck_t ctx); 75 static void process_inodes(e2fsck_t ctx, char *block_buf); 79 static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, 98 e2fsck_t ctx; member in struct:process_block_struct 109 e2fsck_t ctx; member in struct:scan_callback_struct 287 check_extents_inlinedata(e2fsck_t ctx, struct problem_context *pctx) argument 306 check_immutable(e2fsck_t ctx, struct problem_context *pctx) argument 322 check_size(e2fsck_t ctx, struct problem_context *pctx) argument 336 check_ea_in_inode(e2fsck_t ctx, struct problem_context *pctx) argument 466 check_inode_extra_space(e2fsck_t ctx, struct problem_context *pctx) argument 552 check_is_really_dir(e2fsck_t ctx, struct problem_context *pctx, char *buf) argument 704 e2fsck_setup_icount(e2fsck_t ctx, const char *icount_name, int flags, ext2_icount_t hint, ext2_icount_t *ret) argument 742 recheck_bad_inode_checksum(ext2_filsys fs, ext2_ino_t ino, e2fsck_t ctx, struct problem_context *pctx) argument 774 reserve_block_for_root_repair(e2fsck_t ctx) argument 791 reserve_block_for_lnf_repair(e2fsck_t ctx) argument 834 finish_processing_inode(e2fsck_t ctx, ext2_ino_t ino, struct problem_context *pctx, int failed_csum) argument 878 fix_inline_data_extents_file(e2fsck_t ctx, ext2_ino_t ino, struct ext2_inode *inode, int inode_size, struct problem_context *pctx) argument 957 pass1_readahead(e2fsck_t ctx, dgrp_t *group, ext2_ino_t *next_ino) argument 1046 e2fsck_pass1(e2fsck_t ctx) argument 1953 e2fsck_t ctx; local 1971 process_inodes(e2fsck_t ctx, char *block_buf) argument 2041 mark_inode_bad(e2fsck_t ctx, ino_t ino) argument 2062 add_encrypted_dir(e2fsck_t ctx, ino_t ino) argument 2083 alloc_bb_map(e2fsck_t ctx) argument 2103 alloc_imagic_map(e2fsck_t ctx) argument 2127 mark_block_used(e2fsck_t ctx, blk64_t block) argument 2154 mark_blocks_used(e2fsck_t ctx, blk64_t block, unsigned int num) argument 2171 adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, char *block_buf, int adjust_sign) argument 2215 check_ext_attr(e2fsck_t ctx, struct problem_context *pctx, char *block_buf) argument 2423 handle_htree(e2fsck_t ctx, struct problem_context *pctx, ext2_ino_t ino, struct ext2_inode *inode, char *block_buf) argument 2480 e2fsck_clear_inode(e2fsck_t ctx, ext2_ino_t ino, struct ext2_inode *inode, int restart_flag, const char *source) argument 2524 has_unaligned_cluster_map(e2fsck_t ctx, blk64_t last_pblk, blk64_t last_lblk, blk64_t pblk, blk64_t lblk) argument 2552 scan_extent_node(e2fsck_t ctx, struct problem_context *pctx, struct process_block_struct *pb, blk64_t start_block, blk64_t end_block, blk64_t eof_block, ext2_extent_handle_t ehandle, int try_repairs) argument 2905 check_blocks_extents(e2fsck_t ctx, struct problem_context *pctx, struct process_block_struct *pb) argument 3000 check_blocks_inline_data(e2fsck_t ctx, struct problem_context *pctx, struct process_block_struct *pb) argument 3047 check_blocks(e2fsck_t ctx, struct problem_context *pctx, char *block_buf) argument 3373 e2fsck_t ctx; local 3579 e2fsck_t ctx; local 3726 new_table_block(e2fsck_t ctx, blk64_t first_block, dgrp_t group, const char *name, int num, blk64_t *new_block) argument 3820 handle_fs_bad_blocks(e2fsck_t ctx) argument 3858 mark_table_blocks(e2fsck_t ctx) argument 3947 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 3961 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 3972 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 3982 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 3995 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 4027 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 4046 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 4066 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 4085 e2fsck_use_inode_shortcuts(e2fsck_t ctx, int use_shortcuts) argument 4103 e2fsck_intercept_block_allocations(e2fsck_t ctx) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_tests.c | 66 util_set_framebuffer_cb0(struct cso_context *cso, struct pipe_context *ctx, argument 73 surf = ctx->create_surface(ctx, tex, &templ); 147 struct pipe_context *ctx, 157 vs = util_make_vertex_passthrough_shader(ctx, 2, vs_attribs, vs_indices, 164 util_set_common_states_and_clear(struct cso_context *cso, struct pipe_context *ctx, argument 169 util_set_framebuffer_cb0(cso, ctx, cb); 175 ctx->clear(ctx, PIPE_CLEAR_COLOR0, (void*)clear_color, 0, 0); 199 util_probe_rect_rgba_multi(struct pipe_context *ctx, struc argument 146 util_set_passthrough_vertex_shader(struct cso_context *cso, struct pipe_context *ctx, bool window_space) argument 249 util_probe_rect_rgba(struct pipe_context *ctx, struct pipe_resource *tex, unsigned offx, unsigned offy, unsigned w, unsigned h, const float *expected) argument 293 tgsi_vs_window_space_position(struct pipe_context *ctx) argument 346 null_sampler_view(struct pipe_context *ctx, unsigned tgsi_tex_target) argument 401 null_constant_buffer(struct pipe_context *ctx) argument 456 null_fragment_shader(struct pipe_context *ctx) argument 499 struct pipe_context *ctx = screen->context_create(screen, NULL, 0); local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | teximage.c | 76 adjust_for_oes_float_texture(const struct gl_context *ctx, argument 81 if (ctx->Extensions.OES_texture_float) { 100 if (ctx->Extensions.OES_texture_half_float) { 159 * Called via ctx->Driver.NewTextureImage() unless overriden by a device 166 _mesa_new_texture_image( struct gl_context *ctx ) 168 (void) ctx; 175 * This function is a fallback called via ctx->Driver.DeleteTextureImage(). 182 _mesa_delete_texture_image(struct gl_context *ctx, argument 188 assert(ctx->Driver.FreeTextureImageBuffer); 189 ctx 353 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level) argument 383 get_proxy_tex_image(struct gl_context *ctx, GLenum target, GLint level) argument 473 _mesa_max_texture_levels(struct gl_context *ctx, GLenum target) argument 808 init_teximage_fields_ms(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, mesa_format format, GLuint numSamples, GLboolean fixedSampleLocations) argument 917 _mesa_init_teximage_fields(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, mesa_format format) argument 938 _mesa_clear_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage) argument 954 _mesa_legal_texture_dimensions(struct gl_context *ctx, GLenum target, GLint level, GLint width, GLint height, GLint depth, GLint border) argument 1107 error_check_subtexture_negative_dimensions(struct gl_context *ctx, GLuint dims, GLsizei subWidth, GLsizei subHeight, GLsizei subDepth, const char *func) argument 1140 error_check_subtexture_dimensions(struct gl_context *ctx, GLuint dims, const struct gl_texture_image *destImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei subWidth, GLsizei subHeight, GLsizei subDepth, const char *func) argument 1267 _mesa_test_proxy_teximage(struct gl_context *ctx, GLenum target, GLuint numLevels, GLint level, mesa_format format, GLuint numSamples, GLint width, GLint height, GLint depth) argument 1322 compressedteximage_only_format(const struct gl_context *ctx, GLenum format) argument 1346 _mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format) argument 1371 _mesa_target_can_be_compressed(const struct gl_context *ctx, GLenum target, GLenum intFormat, GLenum *error) argument 1476 legal_teximage_target(struct gl_context *ctx, GLuint dims, GLenum target) argument 1544 legal_texsubimage_target(struct gl_context *ctx, GLuint dims, GLenum target, bool dsa) argument 1602 mutable_tex_object(struct gl_context *ctx, GLenum target) argument 1637 _mesa_legal_texture_base_format_for_target(struct gl_context *ctx, GLenum target, GLenum internalFormat) argument 1737 texture_format_error_check_gles(struct gl_context *ctx, GLenum format, GLenum type, GLenum internalFormat, GLuint dimensions, const char *callerName) argument 1794 texture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border, const GLvoid *pixels ) argument 1974 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) argument 2132 texsubimage_error_check(struct gl_context *ctx, GLuint dimensions, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, bool dsa, const char *callerName) argument 2244 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border ) argument 2508 copytexsubimage_error_check(struct gl_context *ctx, GLuint dimensions, const struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, const char *caller) argument 2621 struct gl_context *ctx; member in struct:cb_info 2635 struct gl_context *ctx = info->ctx; local 2672 _mesa_update_fbo_texture(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint face, GLuint level) argument 2694 check_gen_mipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, GLint level) argument 2759 _mesa_choose_texture_format(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLenum format, GLenum type) argument 2876 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels) argument 3208 _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, bool dsa) argument 3259 texsubimage(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const char *callerName) argument 3308 texturesubimage(struct gl_context *ctx, GLuint dims, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const char *callerName) argument 3509 get_copy_tex_image_source(struct gl_context *ctx, mesa_format texFormat) argument 3523 copytexsubimage_by_slice(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint dims, GLint xoffset, GLint yoffset, GLint zoffset, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height) argument 3603 copyteximage(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) argument 3782 _mesa_copy_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, const char *caller) argument 4012 check_clear_tex_image(struct gl_context *ctx, const char *function, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *data, GLubyte *clearValue) argument 4085 get_tex_obj_for_clear(struct gl_context *ctx, const char *function, GLuint texture) argument 4112 get_tex_images_for_clear(struct gl_context *ctx, const char *function, struct gl_texture_object *texObj, GLint level, struct gl_texture_image **texImages) argument 4286 compressed_subtexture_target_check(struct gl_context *ctx, GLenum target, GLint dims, GLenum format, bool dsa, const char *caller) argument 4395 compressed_subtexture_error_check(struct gl_context *ctx, GLint dims, const struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data, const char *callerName) argument 4520 _mesa_compressed_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) argument 4818 get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) argument 4998 _mesa_validate_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) argument 5042 texture_buffer_range(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum internalFormat, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, const char *caller) argument 5107 check_texture_buffer_target(struct gl_context *ctx, GLenum target, const char *caller) argument 5124 check_texture_buffer_range(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, const char *caller) argument 5319 _mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat) argument 5352 texture_image_multisample(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations, GLboolean immutable, const char *func) argument [all...] |
H A D | texstorage.c | 52 legal_texobj_target(const struct gl_context *ctx, GLuint dims, GLenum target) argument 55 _mesa_problem(ctx, "invalid dims=%u in legal_texobj_target()", dims); 65 return ctx->Extensions.ARB_texture_cube_map; 73 return ctx->Extensions.EXT_texture_array; 75 return _mesa_has_texture_cube_map_array(ctx); 80 if (!_mesa_is_desktop_gl(ctx)) 97 return ctx->Extensions.ARB_texture_cube_map; 100 return ctx->Extensions.NV_texture_rectangle; 103 return ctx->Extensions.EXT_texture_array; 112 return ctx 126 get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint face, GLuint level) argument 140 initialize_texture_fields(struct gl_context *ctx, struct gl_texture_object *texObj, GLint levels, GLsizei width, GLsizei height, GLsizei depth, GLenum internalFormat, mesa_format texFormat) argument 180 clear_texture_fields(struct gl_context *ctx, struct gl_texture_object *texObj) argument 208 update_fbo_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 219 _mesa_is_legal_tex_storage_format(const struct gl_context *ctx, GLenum internalformat) argument 273 _mesa_AllocTextureStorage_sw(struct gl_context *ctx, struct gl_texture_object *texObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth) argument 305 tex_storage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) argument 390 _mesa_texture_storage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) argument [all...] |
H A D | dlist.c | 86 void (*Execute)( struct gl_context *ctx, void *data ); 87 void (*Destroy)( struct gl_context *ctx, void *data ); 88 void (*Print)( struct gl_context *ctx, void *data, FILE *f ); 108 * \param ctx GL context. 113 #define SAVE_FLUSH_VERTICES(ctx) \ 115 if (ctx->Driver.SaveNeedFlush) \ 116 vbo_save_SaveFlushVertices(ctx); \ 124 * \param ctx GL context. 127 #define ASSERT_OUTSIDE_SAVE_BEGIN_END_WITH_RETVAL(ctx, retval) \ 129 if (ctx 644 _mesa_delete_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas) argument 657 lookup_bitmap_atlas(struct gl_context *ctx, GLuint listBase) argument 671 alloc_bitmap_atlas(struct gl_context *ctx, GLuint listBase) argument 695 build_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas, GLuint listBase) argument 887 _mesa_lookup_list(struct gl_context *ctx, GLuint list) argument 904 ext_opcode_destroy(struct gl_context *ctx, Node *node) argument 916 ext_opcode_execute(struct gl_context *ctx, Node *node) argument 928 ext_opcode_print(struct gl_context *ctx, Node *node, FILE *f) argument 943 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist) argument 1150 destroy_list(struct gl_context *ctx, GLuint list) argument 1242 unpack_image(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *unpack) argument 1320 dlist_alloc(struct gl_context *ctx, OpCode opcode, GLuint bytes, bool align8) argument 1407 _mesa_dlist_alloc(struct gl_context *ctx, GLuint opcode, GLuint bytes) argument 1422 _mesa_dlist_alloc_aligned(struct gl_context *ctx, GLuint opcode, GLuint bytes) argument 1443 _mesa_dlist_alloc_opcode(struct gl_context *ctx, GLuint size, void (*execute) (struct gl_context *, void *), void (*destroy) (struct gl_context *, void *), void (*print) (struct gl_context *, void *, FILE *)) argument 1472 alloc_instruction(struct gl_context *ctx, OpCode opcode, GLuint nparams) argument 1482 trim_list(struct gl_context *ctx) argument 1830 invalidate_saved_current_state(struct gl_context *ctx) argument 7959 save_error(struct gl_context *ctx, GLenum error, const char *s) argument 7978 _mesa_compile_error(struct gl_context *ctx, GLenum error, const char *s) argument 7991 islist(struct gl_context *ctx, GLuint list) argument 8015 execute_list(struct gl_context *ctx, GLuint list) argument 9447 render_bitmap_atlas(struct gl_context *ctx, GLsizei n, GLenum type, const void *lists) argument 9585 _mesa_initialize_save_table(const struct gl_context *ctx) argument 10073 print_list(struct gl_context *ctx, GLuint list, const char *fname) argument 10483 _mesa_init_display_list(struct gl_context *ctx) argument 10513 _mesa_free_display_list_data(struct gl_context *ctx) argument [all...] |
H A D | performance_monitor.c | 49 _mesa_init_performance_monitors(struct gl_context *ctx) argument 51 ctx->PerfMonitor.Monitors = _mesa_NewHashTable(); 52 ctx->PerfMonitor.NumGroups = 0; 53 ctx->PerfMonitor.Groups = NULL; 57 init_groups(struct gl_context *ctx) argument 59 if (unlikely(!ctx->PerfMonitor.Groups)) 60 ctx->Driver.InitPerfMonitorGroups(ctx); 64 new_performance_monitor(struct gl_context *ctx, GLuint index) argument 67 struct gl_perf_monitor_object *m = ctx 107 struct gl_context *ctx = user; local 115 _mesa_free_performance_monitors(struct gl_context *ctx) argument 123 lookup_monitor(struct gl_context *ctx, GLuint id) argument 130 get_group(const struct gl_context *ctx, GLuint id) argument 163 queryid_valid(const struct gl_context *ctx, GLuint queryid) argument 586 perf_monitor_result_size(const struct gl_context *ctx, const struct gl_perf_monitor_object *m) argument [all...] |
H A D | shared.c | 56 _mesa_alloc_shared_state(struct gl_context *ctx) argument 73 ctx->Driver.NewProgram(ctx, GL_VERTEX_PROGRAM_ARB, 0, true); 75 ctx->Driver.NewProgram(ctx, GL_FRAGMENT_PROGRAM_ARB, 0, true); 78 shared->DefaultFragmentShader = _mesa_new_ati_fragment_shader(ctx, 0); 88 shared->NullBufferObj = ctx->Driver.NewBufferObject(ctx, 0); 108 shared->DefaultTex[i] = ctx->Driver.NewTextureObject(ctx, 140 struct gl_context *ctx = (struct gl_context *) userData; local 152 struct gl_context *ctx = (struct gl_context *) userData; local 164 struct gl_context *ctx = (struct gl_context *) userData; local 176 struct gl_context *ctx = (struct gl_context *) userData; local 193 struct gl_context *ctx = (struct gl_context *) userData; local 205 struct gl_context *ctx = (struct gl_context *) userData; local 219 struct gl_context *ctx = (struct gl_context *) userData; local 235 struct gl_context *ctx = (struct gl_context *) userData; local 275 struct gl_context *ctx = (struct gl_context *) userData; local 289 struct gl_context *ctx = (struct gl_context *) userData; local 308 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared) argument 388 _mesa_reference_shared_state(struct gl_context *ctx, struct gl_shared_state **ptr, struct gl_shared_state *state) argument [all...] |
H A D | histogram.c | 41 GET_CURRENT_CONTEXT(ctx); 43 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetMinmax"); 59 GET_CURRENT_CONTEXT(ctx); 61 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetHistogram"); 76 GET_CURRENT_CONTEXT(ctx); 78 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetHistogramParameterfv"); 85 GET_CURRENT_CONTEXT(ctx); 87 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetHistogramParameteriv"); 94 GET_CURRENT_CONTEXT(ctx); 96 _mesa_error(ctx, GL_INVALID_OPERATIO [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
H A D | tex-srgb.c | 69 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 70 info.ctx->bind_vertex_elements_state(info.ctx, handle); 76 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 82 info.ctx->set_vertex_buffers(info.ctx, 0, 1, &vbuf); 98 handle = graw_parse_vertex_shader(info.ctx, text); 99 info.ctx->bind_vs_state(info.ctx, handl [all...] |
H A D | shader-leak.c | 30 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 69 ctx->set_viewport_states( ctx, 0, 1, &vp ); 85 handle = ctx->create_vertex_elements_state(ctx, 2, ve); 86 ctx->bind_vertex_elements_state(ctx, handle); 92 vbuf.buffer = pipe_buffer_create_with_data(ctx, 98 ctx->set_vertex_buffers(ctx, [all...] |
H A D | tri-instanced.c | 29 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 99 ctx->set_viewport_states( ctx, 0, 1, &vp ); 128 handle = ctx->create_vertex_elements_state(ctx, 3, ve); 129 ctx->bind_vertex_elements_state(ctx, handle); 136 vbuf[0].buffer = pipe_buffer_create_with_data(ctx, 145 vbuf[1].buffer = pipe_buffer_create_with_data(ctx, 151 ctx [all...] |
/external/tensorflow/tensorflow/core/lib/db/ |
H A D | snapfn.cc | 84 static void snap(sqlite3_context* ctx, int /*argc*/, sqlite3_value** argv) { argument 91 sqlite3_result_int64(ctx, sqlite3_value_int64(argv[0])); 94 sqlite3_result_double(ctx, sqlite3_value_double(argv[0])); 103 sqlite3_result_error(ctx, "snap() invalid type", -1); 104 sqlite3_result_error_code(ctx, SQLITE_MISMATCH); 110 sqlite3_result_blob(ctx, result, sizeof(result), SQLITE_TRANSIENT); 116 static_cast<size_t>(sqlite3_limit(sqlite3_context_db_handle(ctx), 118 sqlite3_result_error_toobig(ctx); 124 sqlite3_result_error_nomem(ctx); 129 sqlite3_result_blob(ctx, outpu 133 unsnap(sqlite3_context* ctx, int , sqlite3_value** argv) argument [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | lookahead.h | 42 void vp8_lookahead_destroy(struct lookahead_ctx *ctx); 52 * \param[in] ctx Pointer to the lookahead context 59 int vp8_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, 66 * \param[in] ctx Pointer to the lookahead context 74 struct lookahead_entry *vp8_lookahead_pop(struct lookahead_ctx *ctx, int drain); 80 * \param[in] ctx Pointer to the lookahead context 86 struct lookahead_entry *vp8_lookahead_peek(struct lookahead_ctx *ctx, 91 * \param[in] ctx Pointer to the lookahead context 93 unsigned int vp8_lookahead_depth(struct lookahead_ctx *ctx);
|
/external/mesa3d/src/mesa/drivers/common/ |
H A D | meta_tex_subimage.c | 68 create_texture_for_pbo(struct gl_context *ctx, argument 92 if (!pbo_format || !ctx->TextureFormatSupported[pbo_format]) 113 *tmp_pbo = ctx->Driver.NewBufferObject(ctx, 0xDEADBEEF); 121 _mesa_buffer_data(ctx, *tmp_pbo, GL_NONE, 127 _mesa_buffer_data(ctx, *tmp_pbo, GL_NONE, 138 tex_obj = _mesa_lookup_texture(ctx, *tmp_tex); 139 _mesa_initialize_texture_object(ctx, tex_obj, *tmp_tex, GL_TEXTURE_2D); 154 tex_image = _mesa_get_tex_image(ctx, tex_obj, tex_obj->Target, 0); 155 _mesa_init_teximage_fields(ctx, tex_imag 173 _mesa_meta_pbo_TexSubImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *tex_image, int xoffset, int yoffset, int zoffset, int width, int height, int depth, GLenum format, GLenum type, const void *pixels, bool create_pbo, const struct gl_pixelstore_attrib *packing) argument 307 _mesa_meta_pbo_GetTexSubImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *tex_image, int xoffset, int yoffset, int zoffset, int width, int height, int depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen8_blend_state.c | 40 struct gl_context *ctx = &brw->ctx; local 48 int nr_draw_buffers = ctx->DrawBuffer->_NumColorDrawBuffers; 49 if (nr_draw_buffers == 0 && ctx->Color.AlphaEnabled) 62 if (!(ctx->DrawBuffer->_IntegerBuffers & 0x1)) { 64 if (_mesa_is_multisample_enabled(ctx)) { 65 if (ctx->Multisample.SampleAlphaToCoverage) { 69 if (ctx->Multisample.SampleAlphaToOne) 74 if (ctx->Color.AlphaEnabled) { 77 SET_FIELD(intel_translate_compare_func(ctx 210 struct gl_context *ctx = &brw->ctx; local [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_pipeline.h | 36 extern void _tnl_run_pipeline( struct gl_context *ctx ); 38 extern void _tnl_destroy_pipeline( struct gl_context *ctx ); 40 extern void _tnl_install_pipeline( struct gl_context *ctx, 67 extern void _tnl_RenderClippedPolygon( struct gl_context *ctx, 70 extern void _tnl_RenderClippedLine( struct gl_context *ctx, GLuint ii, GLuint jj );
|
/external/syslinux/gpxe/src/crypto/axtls/ |
H A D | bigint.h | 37 void bi_terminate(BI_CTX *ctx); 40 void bi_free(BI_CTX *ctx, bigint *bi); 42 bigint *bi_clone(BI_CTX *ctx, const bigint *bi); 43 void bi_export(BI_CTX *ctx, bigint *bi, uint8_t *data, int size); 44 bigint *bi_import(BI_CTX *ctx, const uint8_t *data, int len); 45 bigint *int_to_bi(BI_CTX *ctx, comp i); 48 bigint *bi_add(BI_CTX *ctx, bigint *bia, bigint *bib); 49 bigint *bi_subtract(BI_CTX *ctx, bigint *bia, 51 bigint *bi_divide(BI_CTX *ctx, bigint *bia, bigint *bim, int is_mod); 52 bigint *bi_multiply(BI_CTX *ctx, bigin [all...] |