/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_extensions.c | 37 * Initializes potential list of extensions if ctx == NULL, or actually enables 41 intelInitExtensions(struct gl_context *ctx) 43 struct intel_context *intel = intel_context(ctx); 47 ctx->Extensions.ARB_draw_elements_base_vertex = true; 48 ctx->Extensions.ARB_explicit_attrib_location = true; 49 ctx->Extensions.ARB_explicit_uniform_location = true; 50 ctx->Extensions.ARB_framebuffer_object = true; 51 ctx->Extensions.ARB_internalformat_query = true; 52 ctx->Extensions.ARB_map_buffer_range = true; 53 ctx->Extensions.ARB_point_sprite = true [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vp_build.c | 41 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx ) 43 const struct gl_program *prev = ctx->VertexProgram._Current; 45 if (!ctx->VertexProgram._Current || 46 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { 47 ctx->VertexProgram._Current 48 = ctx->VertexProgram._TnlProgram 49 = _mesa_get_fixed_func_vertex_program(ctx); 55 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_extensions.c | 33 * Initializes potential list of extensions if ctx == NULL, or actually enables 37 intelInitExtensions(struct gl_context *ctx) 39 struct brw_context *brw = brw_context(ctx); 43 ctx->Extensions.ARB_arrays_of_arrays = true; 44 ctx->Extensions.ARB_buffer_storage = true; 45 ctx->Extensions.ARB_clear_texture = true; 46 ctx->Extensions.ARB_clip_control = true; 47 ctx->Extensions.ARB_copy_image = true; 48 ctx->Extensions.ARB_depth_buffer_float = true; 49 ctx->Extensions.ARB_depth_clamp = true [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeBufferApiTests.cpp | 45 void bind_buffer (NegativeTestContext& ctx) 47 ctx.beginSection("GL_INVALID_ENUM is generated if target is not one of the allowable values."); 48 ctx.glBindBuffer(-1, 0); 49 ctx.expectError(GL_INVALID_ENUM); 50 ctx.endSection(); 53 void delete_buffers (NegativeTestContext& ctx) 55 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative."); 56 ctx.glDeleteBuffers(-1, 0); 57 ctx.expectError(GL_INVALID_VALUE); 58 ctx.endSection() [all...] |
es31fNegativeVertexArrayApiTests.cpp | 69 void vertex_attribf (NegativeTestContext& ctx) 71 ctx.beginSection("GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS."); 72 int maxVertexAttribs = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); 73 ctx.glVertexAttrib1f(maxVertexAttribs, 0.0f); 74 ctx.expectError(GL_INVALID_VALUE); 75 ctx.glVertexAttrib2f(maxVertexAttribs, 0.0f, 0.0f); 76 ctx.expectError(GL_INVALID_VALUE); 77 ctx.glVertexAttrib3f(maxVertexAttribs, 0.0f, 0.0f, 0.0f); 78 ctx.expectError(GL_INVALID_VALUE); 79 ctx.glVertexAttrib4f(maxVertexAttribs, 0.0f, 0.0f, 0.0f, 0.0f) [all...] |
es31fNegativeStateApiTests.cpp | 71 static std::string getVtxFragVersionSources (const std::string source, NegativeTestContext& ctx) 73 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 83 void enable (NegativeTestContext& ctx) 85 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values."); 86 ctx.glEnable(-1); 87 ctx.expectError(GL_INVALID_ENUM); 88 ctx.endSection(); 92 void enablei (NegativeTestContext& ctx) 94 TCU_CHECK_AND_THROW(NotSupportedError, contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), "This test requires a higher context version."); 96 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values.") [all...] |
es31fNegativeFragmentApiTests.cpp | 48 void scissor (NegativeTestContext& ctx) 50 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative."); 51 ctx.glScissor(0, 0, -1, 0); 52 ctx.expectError(GL_INVALID_VALUE); 53 ctx.glScissor(0, 0, 0, -1); 54 ctx.expectError(GL_INVALID_VALUE); 55 ctx.glScissor(0, 0, -1, -1); 56 ctx.expectError(GL_INVALID_VALUE); 57 ctx.endSection(); 60 void depth_func (NegativeTestContext& ctx) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/attr/ |
error_context.h | 37 # define error(ctx, args...) do { \ 38 if ((ctx) && (ctx)->error) \ 39 (ctx)->error((ctx), args); \ 41 # define quote(ctx, name) \ 42 ( ((ctx) && (ctx)->quote) ? (ctx)->quote((ctx), (name)) : (name) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/attr/ |
error_context.h | 37 # define error(ctx, args...) do { \ 38 if ((ctx) && (ctx)->error) \ 39 (ctx)->error((ctx), args); \ 41 # define quote(ctx, name) \ 42 ( ((ctx) && (ctx)->quote) ? (ctx)->quote((ctx), (name)) : (name) [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_hw_context.c | 61 void si_need_cs_space(struct si_context *ctx) 63 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; 64 struct radeon_winsys_cs *ce_ib = ctx->ce_ib; 77 if (unlikely(!radeon_cs_memory_below_limit(ctx->b.screen, ctx->b.gfx.cs, 78 ctx->b.vram, ctx->b.gtt))) { 79 ctx->b.gtt = 0; 80 ctx->b.vram = 0; 81 ctx->b.gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL) 98 struct si_context *ctx = context; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-encblock.c | 25 void *ctx; local 26 ctx = aes_encrypt_init(key, 16); 27 if (ctx == NULL) 29 aes_encrypt(ctx, in, out); 30 aes_encrypt_deinit(ctx);
|
/external/emma/core/java12/com/vladium/emma/report/ |
AbstractItemVisitor.java | 20 public Object visit (final AllItem item, final Object ctx) 22 return ctx; 25 public Object visit (final PackageItem item, final Object ctx) 27 return ctx; 30 public Object visit (final SrcFileItem item, final Object ctx) 32 return ctx; 35 public Object visit (final ClassItem item, final Object ctx) 37 return ctx; 40 public Object visit (final MethodItem item, final Object ctx) 42 return ctx; [all...] |
/external/e2fsprogs/e2fsck/ |
e2fsck.c | 55 errcode_t e2fsck_reset_context(e2fsck_t ctx) 59 ctx->flags &= E2F_RESET_FLAGS; 60 ctx->lost_and_found = 0; 61 ctx->bad_lost_and_found = 0; 62 if (ctx->inode_used_map) { 63 ext2fs_free_inode_bitmap(ctx->inode_used_map); 64 ctx->inode_used_map = 0; 66 if (ctx->inode_dir_map) { 67 ext2fs_free_inode_bitmap(ctx->inode_dir_map); 68 ctx->inode_dir_map = 0 [all...] |
dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) 26 if (!ctx->dx_dir_info) { 27 ctx->dx_dir_info_count = 0; 28 ctx->dx_dir_info_size = 100; /* Guess */ 29 ctx->dx_dir_info = (struct dx_dir_info *) 30 e2fsck_allocate_memory(ctx, ctx->dx_dir_info_size 35 if (ctx->dx_dir_info_count >= ctx->dx_dir_info_size) { 36 old_size = ctx->dx_dir_info_size * sizeof(struct dx_dir_info) [all...] |
/external/mesa3d/src/mesa/main/ |
feedback.c | 51 GET_CURRENT_CONTEXT(ctx); 53 if (ctx->RenderMode==GL_FEEDBACK) { 54 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); 58 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); 62 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); 63 ctx->Feedback.BufferSize = 0; 69 ctx->Feedback._Mask = 0; 72 ctx->Feedback._Mask = FB_3D; 75 ctx->Feedback._Mask = (FB_3D | FB_COLOR); 78 ctx->Feedback._Mask = (FB_3D | FB_COLOR | FB_TEXTURE) [all...] |
robustness.c | 36 GET_CURRENT_CONTEXT(ctx); 37 if (ctx) 38 _mesa_error(ctx, GL_CONTEXT_LOST, "GetSynciv(invalid call)"); 47 GET_CURRENT_CONTEXT(ctx); 48 if (ctx) 49 _mesa_error(ctx, GL_CONTEXT_LOST, "GetQueryObjectuiv(context lost)"); 58 GET_CURRENT_CONTEXT(ctx); 59 if (ctx) 60 _mesa_error(ctx, GL_CONTEXT_LOST, "context lost"); 66 _mesa_set_context_lost_dispatch(struct gl_context *ctx) [all...] |
bbox.c | 39 GET_CURRENT_CONTEXT(ctx); 41 ctx->PrimitiveBoundingBox[0] = minX; 42 ctx->PrimitiveBoundingBox[1] = minY; 43 ctx->PrimitiveBoundingBox[2] = minZ; 44 ctx->PrimitiveBoundingBox[3] = minW; 45 ctx->PrimitiveBoundingBox[4] = maxX; 46 ctx->PrimitiveBoundingBox[5] = maxY; 47 ctx->PrimitiveBoundingBox[6] = maxZ; 48 ctx->PrimitiveBoundingBox[7] = maxW; 52 _mesa_init_bbox(struct gl_context *ctx) [all...] |
hint.c | 39 GET_CURRENT_CONTEXT(ctx); 42 _mesa_debug(ctx, "glHint %s %s\n", 47 _mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)"); 53 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) 55 if (ctx->Hint.Fog == mode) 57 FLUSH_VERTICES(ctx, _NEW_HINT); 58 ctx->Hint.Fog = mode; 61 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES [all...] |
lines.c | 43 GET_CURRENT_CONTEXT(ctx); 46 _mesa_debug(ctx, "glLineWidth %f\n", width); 49 if (ctx->Line.Width == width) 53 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); 67 if (ctx->API == API_OPENGL_CORE 68 && ((ctx->Const.ContextFlags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT) 71 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); 75 FLUSH_VERTICES(ctx, _NEW_LINE); 76 ctx->Line.Width = width; 78 if (ctx->Driver.LineWidth [all...] |
pixelstore.c | 42 GET_CURRENT_CONTEXT(ctx); 46 if (!_mesa_is_desktop_gl(ctx)) 48 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; 51 if (!_mesa_is_desktop_gl(ctx)) 53 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE; 56 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) 60 ctx->Pack.RowLength = param; 63 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) [all...] |
/external/vboot_reference/firmware/2lib/include/ |
2misc.h | 19 * @param ctx Vboot context 22 static __inline struct vb2_shared_data *vb2_get_sd(struct vb2_context *ctx) { 23 return (struct vb2_shared_data *)ctx->workbuf; 39 * @param ctx Vboot context 42 void vb2_workbuf_from_ctx(struct vb2_context *ctx, struct vb2_workbuf *wb); 47 * @param ctx Vboot context 51 int vb2_read_gbb_header(struct vb2_context *ctx, struct vb2_gbb_header *gbb); 65 void vb2_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode); 70 * This uses ctx->workbuf_used=0 as a flag to indicate that the data has not 74 * @param ctx Vboot context to initializ [all...] |
/external/elfutils/libasm/ |
asm_abort.c | 42 asm_abort (AsmCtx_t *ctx) 44 if (ctx == NULL) 48 if (likely (! ctx->textp)) 50 (void) elf_end (ctx->out.elf); 53 if (ctx->fd != -1) 54 (void) unlink (ctx->tmp_fname); 57 __libasm_finictx (ctx);
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_state.h | 35 etna_depth_enabled(struct etna_context *ctx) 37 return ctx->zsa && ctx->zsa->depth.enabled; 41 etna_stencil_enabled(struct etna_context *ctx) 43 return ctx->zsa && ctx->zsa->stencil[0].enabled; 47 etna_state_update(struct etna_context *ctx);
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_queue.h | 31 nine_queue_wait_flush(struct nine_queue_pool* ctx); 34 nine_queue_get(struct nine_queue_pool* ctx); 37 nine_queue_flush(struct nine_queue_pool* ctx); 40 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space); 43 nine_queue_no_flushed_work(struct nine_queue_pool* ctx); 46 nine_queue_isempty(struct nine_queue_pool* ctx); 52 nine_queue_delete(struct nine_queue_pool *ctx);
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_state.h | 35 static inline bool fd_depth_enabled(struct fd_context *ctx) 37 return ctx->zsa && ctx->zsa->depth.enabled; 40 static inline bool fd_stencil_enabled(struct fd_context *ctx) 42 return ctx->zsa && ctx->zsa->stencil[0].enabled; 45 static inline bool fd_logicop_enabled(struct fd_context *ctx) 47 return ctx->blend && ctx->blend->logicop_enable; 50 static inline bool fd_blend_enabled(struct fd_context *ctx, unsigned n [all...] |