HomeSort by relevance Sort by last modified time
    Searched full:ctx (Results 1 - 25 of 5073) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/deqp/modules/gles31/functional/
es31fNegativeVertexArrayApiTests.cpp 59 void vertex_attribf (NegativeTestContext& ctx)
61 ctx.beginSection("GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS.");
62 int maxVertexAttribs = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS);
63 ctx.glVertexAttrib1f(maxVertexAttribs, 0.0f);
64 ctx.expectError(GL_INVALID_VALUE);
65 ctx.glVertexAttrib2f(maxVertexAttribs, 0.0f, 0.0f);
66 ctx.expectError(GL_INVALID_VALUE);
67 ctx.glVertexAttrib3f(maxVertexAttribs, 0.0f, 0.0f, 0.0f);
68 ctx.expectError(GL_INVALID_VALUE);
69 ctx.glVertexAttrib4f(maxVertexAttribs, 0.0f, 0.0f, 0.0f, 0.0f)
    [all...]
es31fNegativeTextureApiTests.cpp 89 void activetexture (NegativeTestContext& ctx)
91 ctx.beginSection("GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1).");
92 ctx.glActiveTexture(-1);
93 ctx.expectError(GL_INVALID_ENUM);
94 int numMaxTextureUnits = ctx.getInteger(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS);
95 ctx.glActiveTexture(GL_TEXTURE0 + numMaxTextureUnits);
96 ctx.expectError(GL_INVALID_ENUM);
97 ctx.endSection();
102 void bindtexture (NegativeTestContext& ctx)
105 ctx.glGenTextures(2, texture)
    [all...]
es31fNegativeBufferApiTests.cpp 46 void bind_buffer (NegativeTestContext& ctx)
48 ctx.beginSection("GL_INVALID_ENUM is generated if target is not one of the allowable values.");
49 ctx.glBindBuffer(-1, 0);
50 ctx.expectError(GL_INVALID_ENUM);
51 ctx.endSection();
54 void delete_buffers (NegativeTestContext& ctx)
56 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
57 ctx.glDeleteBuffers(-1, 0);
58 ctx.expectError(GL_INVALID_VALUE);
59 ctx.endSection()
    [all...]
es31fNegativeFragmentApiTests.cpp 46 void scissor (NegativeTestContext& ctx)
48 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative.");
49 ctx.glScissor(0, 0, -1, 0);
50 ctx.expectError(GL_INVALID_VALUE);
51 ctx.glScissor(0, 0, 0, -1);
52 ctx.expectError(GL_INVALID_VALUE);
53 ctx.glScissor(0, 0, -1, -1);
54 ctx.expectError(GL_INVALID_VALUE);
55 ctx.endSection();
58 void depth_func (NegativeTestContext& ctx)
    [all...]
es31fNegativeStateApiTests.cpp 65 void enable (NegativeTestContext& ctx)
67 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values.");
68 ctx.glEnable(-1);
69 ctx.expectError(GL_INVALID_ENUM);
70 ctx.endSection();
73 void disable (NegativeTestContext& ctx)
75 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values.");
76 ctx.glDisable(-1);
77 ctx.expectError(GL_INVALID_ENUM);
78 ctx.endSection()
    [all...]
es31fNegativeShaderApiTests.cpp 89 void create_shader (NegativeTestContext& ctx)
91 ctx.beginSection("GL_INVALID_ENUM is generated if shaderType is not an accepted value.");
92 ctx.glCreateShader(-1);
93 ctx.expectError(GL_INVALID_ENUM);
94 ctx.endSection();
97 void shader_source (NegativeTestContext& ctx)
101 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL.");
102 ctx.glShaderSource(1, 0, 0, 0);
103 ctx.expectError(GL_INVALID_VALUE);
104 ctx.endSection()
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nouveau_state.c 36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref)
38 context_dirty(ctx, ALPHA_FUNC);
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4])
44 context_dirty(ctx, BLEND_COLOR);
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA)
50 context_dirty(ctx, BLEND_EQUATION);
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB,
57 context_dirty(ctx, BLEND_FUNC);
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation)
63 context_dirty_i(ctx, CLIP_PLANE, plane - GL_CLIP_PLANE0)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_state.c 36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref)
38 context_dirty(ctx, ALPHA_FUNC);
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4])
44 context_dirty(ctx, BLEND_COLOR);
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA)
50 context_dirty(ctx, BLEND_EQUATION);
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB,
57 context_dirty(ctx, BLEND_FUNC);
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation)
63 context_dirty_i(ctx, CLIP_PLANE, plane - GL_CLIP_PLANE0)
    [all...]
  /external/e2fsprogs/e2fsck/
e2fsck.c 54 errcode_t e2fsck_reset_context(e2fsck_t ctx)
58 ctx->flags &= E2F_RESET_FLAGS;
59 ctx->lost_and_found = 0;
60 ctx->bad_lost_and_found = 0;
61 if (ctx->inode_used_map) {
62 ext2fs_free_inode_bitmap(ctx->inode_used_map);
63 ctx->inode_used_map = 0;
65 if (ctx->inode_dir_map) {
66 ext2fs_free_inode_bitmap(ctx->inode_dir_map);
67 ctx->inode_dir_map = 0
    [all...]
  /device/generic/goldfish/opengl/system/renderControl_enc/
renderControl_client_proc.h 12 typedef GLint (renderControl_APIENTRY *rcGetRendererVersion_client_proc_t) (void * ctx);
13 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint*);
14 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*, EGLint);
15 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, EGLint);
16 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*);
17 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*);
18 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_t, uint32_t*, uint32_t);
19 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint);
20 typedef uint32_t (renderControl_APIENTRY *rcCreateContext_client_proc_t) (void * ctx, uint32_t, uint32_t, uint32_t);
21 typedef void (renderControl_APIENTRY *rcDestroyContext_client_proc_t) (void * ctx, uint32_t)
    [all...]
renderControl_entry.cpp 41 #define GET_CONTEXT renderControl_client_context_t * ctx = getCurrentContext()
47 return ctx->rcGetRendererVersion(ctx);
53 return ctx->rcGetEGLVersion(ctx, major, minor);
59 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize);
65 return ctx->rcGetGLString(ctx, name, buffer, bufferSize);
71 return ctx->rcGetNumConfigs(ctx, numAttribs)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
pixelstore.c 43 GET_CURRENT_CONTEXT(ctx);
44 ASSERT_OUTSIDE_BEGIN_END(ctx);
48 if (!_mesa_is_desktop_gl(ctx))
50 if (param == (GLint)ctx->Pack.SwapBytes)
52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK);
53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE;
56 if (!_mesa_is_desktop_gl(ctx))
58 if (param == (GLint)ctx->Pack.LsbFirst)
60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK);
61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE
    [all...]
enable.c 46 if (!ctx->Extensions.EXTNAME) { \
55 client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj;
79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled;
80 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture);
131 if (!ctx->Extensions.NV_primitive_restart) {
134 var = &ctx->Array.PrimitiveRestart;
145 FLUSH_VERTICES(ctx, _NEW_ARRAY);
147 _ae_invalidate_state(ctx, _NEW_ARRAY);
158 if (ctx->Driver.Enable)
    [all...]
  /external/mesa3d/src/mesa/main/
pixelstore.c 43 GET_CURRENT_CONTEXT(ctx);
44 ASSERT_OUTSIDE_BEGIN_END(ctx);
48 if (!_mesa_is_desktop_gl(ctx))
50 if (param == (GLint)ctx->Pack.SwapBytes)
52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK);
53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE;
56 if (!_mesa_is_desktop_gl(ctx))
58 if (param == (GLint)ctx->Pack.LsbFirst)
60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK);
61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE
    [all...]
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_sha1.c 41 sctp_sha1_init(struct sctp_sha1_context *ctx)
43 ctx->pk11_ctx = PK11_CreateDigestContext(SEC_OID_SHA1);
44 PK11_DigestBegin(ctx->pk11_ctx);
48 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz)
50 PK11_DigestOp(ctx->pk11_ctx, ptr, siz);
54 sctp_sha1_final(unsigned char *digest, struct sctp_sha1_context *ctx)
58 PK11_DigestFinal(ctx->pk11_ctx, digest, &output_len, SHA_DIGEST_LENGTH);
59 PK11_DestroyContext(ctx->pk11_ctx, PR_TRUE);
65 sctp_sha1_init(struct sctp_sha1_context *ctx)
67 SHA1_Init(&ctx->sha_ctx)
    [all...]
  /external/wpa_supplicant_8/src/utils/
xml-utils.h 18 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node,
20 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node,
22 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node);
23 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node);
24 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf);
25 const char * xml_node_get_localname(struct xml_node_ctx *ctx,
27 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node);
28 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node);
29 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent,
31 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, const char *ns_uri
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
driverfuncs.c 216 * Call the ctx->Driver.* state functions with current values to initialize
221 _mesa_init_driver_state(struct gl_context *ctx)
223 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef);
225 ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor);
227 ctx->Driver.BlendEquationSeparate(ctx
    [all...]
  /external/mesa3d/src/mesa/drivers/common/
driverfuncs.c 216 * Call the ctx->Driver.* state functions with current values to initialize
221 _mesa_init_driver_state(struct gl_context *ctx)
223 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef);
225 ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor);
227 ctx->Driver.BlendEquationSeparate(ctx
    [all...]
  /external/chromium_org/chrome/browser/resources/bookmark_manager/css/
bmm.css.js 7 var ctx = document.getCSSCanvasContext('2d', 'drop-down-arrow', 9, 4);
8 ctx.fillStyle = '#000';
9 ctx.translate(1.5, .5);
10 ctx.beginPath();
11 ctx.moveTo(0, 0);
12 ctx.lineTo(6, 0);
13 ctx.lineTo(3, 3);
14 ctx.closePath();
15 ctx.fill();
16 ctx.stroke()
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
cso_context.c 123 static boolean delete_blend_state(struct cso_context *ctx, void *state)
127 if (ctx->blend == cso->data)
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state)
141 if (ctx->depth_stencil == cso->data)
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state)
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state)
164 if (ctx->rasterizer == cso->data)
172 static boolean delete_vertex_elements(struct cso_context *ctx,
177 if (ctx->velements == cso->data)
187 static INLINE boolean delete_cso(struct cso_context *ctx,
212 struct cso_context *ctx = (struct cso_context *)user_data; local
255 struct cso_context *ctx = CALLOC_STRUCT(cso_context); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
intel_extensions.c 38 * Initializes potential list of extensions if ctx == NULL, or actually enables
42 intelInitExtensions(struct gl_context *ctx)
44 struct intel_context *intel = intel_context(ctx);
46 ctx->Extensions.ARB_draw_elements_base_vertex = true;
47 ctx->Extensions.ARB_explicit_attrib_location = true;
48 if (_mesa_is_desktop_gl(ctx))
49 ctx->Extensions.ARB_framebuffer_object = true;
50 ctx->Extensions.ARB_half_float_pixel = true;
51 ctx->Extensions.ARB_map_buffer_range = true;
52 ctx->Extensions.ARB_point_sprite = true
    [all...]
  /external/mesa3d/src/gallium/auxiliary/cso_cache/
cso_context.c 123 static boolean delete_blend_state(struct cso_context *ctx, void *state)
127 if (ctx->blend == cso->data)
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state)
141 if (ctx->depth_stencil == cso->data)
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state)
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state)
164 if (ctx->rasterizer == cso->data)
172 static boolean delete_vertex_elements(struct cso_context *ctx,
177 if (ctx->velements == cso->data)
187 static INLINE boolean delete_cso(struct cso_context *ctx,
212 struct cso_context *ctx = (struct cso_context *)user_data; local
255 struct cso_context *ctx = CALLOC_STRUCT(cso_context); local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_extensions.c 38 * Initializes potential list of extensions if ctx == NULL, or actually enables
42 intelInitExtensions(struct gl_context *ctx)
44 struct intel_context *intel = intel_context(ctx);
46 ctx->Extensions.ARB_draw_elements_base_vertex = true;
47 ctx->Extensions.ARB_explicit_attrib_location = true;
48 if (_mesa_is_desktop_gl(ctx))
49 ctx->Extensions.ARB_framebuffer_object = true;
50 ctx->Extensions.ARB_half_float_pixel = true;
51 ctx->Extensions.ARB_map_buffer_range = true;
52 ctx->Extensions.ARB_point_sprite = true
    [all...]
  /device/generic/goldfish/opengl/system/GLESv1_enc/
gl_entry.cpp 306 #define GET_CONTEXT gl_client_context_t * ctx = getCurrentContext()
312 ctx->glAlphaFunc(ctx, func, ref);
318 ctx->glClearColor(ctx, red, green, blue, alpha);
324 ctx->glClearDepthf(ctx, depth);
330 ctx->glClipPlanef(ctx, plane, equation);
336 ctx->glColor4f(ctx, red, green, blue, alpha)
    [all...]
  /device/generic/goldfish/opengl/system/GLESv2_enc/
gl2_entry.cpp 223 #define GET_CONTEXT gl2_client_context_t * ctx = getCurrentContext()
229 ctx->glActiveTexture(ctx, texture);
235 ctx->glAttachShader(ctx, program, shader);
241 ctx->glBindAttribLocation(ctx, program, index, name);
247 ctx->glBindBuffer(ctx, target, buffer);
253 ctx->glBindFramebuffer(ctx, target, framebuffer)
    [all...]

Completed in 887 milliseconds

1 2 3 4 5 6 7 8 91011>>