HomeSort by relevance Sort by last modified time
    Searched refs:ctx (Results 551 - 575 of 3875) sorted by null

<<21222324252627282930>>

  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_viewport.c 44 struct gl_context *ctx = st->ctx; local
49 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_TOP) {
54 yBias = (GLfloat)ctx->DrawBuffer->Height;
65 GLfloat x = (GLfloat)ctx->Viewport.X;
66 GLfloat y = (GLfloat)ctx->Viewport.Y;
67 GLfloat z = ctx->Viewport.Near;
68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f;
69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f;
70 GLfloat half_depth = (GLfloat)(ctx->Viewport.Far - ctx->Viewport.Near) * 0.5f
    [all...]
st_atom_stipple.c 67 const struct gl_context *ctx = st->ctx; local
69 assert(sz == sizeof(ctx->PolygonStipple));
71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) {
75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz);
77 invert_stipple(newStipple.stipple, ctx->PolygonStipple,
78 ctx->DrawBuffer->Height);
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
p_seal.c 69 int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek,
76 EVP_CIPHER_CTX_init(ctx);
77 if(!EVP_EncryptInit_ex(ctx,type,NULL,NULL,NULL)) return 0;
81 if (EVP_CIPHER_CTX_rand_key(ctx, key) <= 0)
83 if (EVP_CIPHER_CTX_iv_length(ctx))
84 RAND_pseudo_bytes(iv,EVP_CIPHER_CTX_iv_length(ctx));
86 if(!EVP_EncryptInit_ex(ctx,NULL,NULL,key,iv)) return 0;
90 ekl[i]=EVP_PKEY_encrypt_old(ek[i],key,EVP_CIPHER_CTX_key_length(ctx),
98 void EVP_SealUpdate(ctx,out,outl,in,inl)
99 EVP_CIPHER_CTX *ctx;
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_context.c 49 nv04_context_engine(struct gl_context *ctx)
51 struct nv04_context *nctx = to_nv04_context(ctx);
52 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw;
53 struct nouveau_pushbuf *push = context_push(ctx);
56 if ((ctx->Texture.Unit[0]._ReallyEnabled &&
57 texunit_needs_combiners(&ctx->Texture.Unit[0])) ||
58 ctx->Texture.Unit[1]._ReallyEnabled ||
59 ctx->Stencil.Enabled ||
60 !(ctx->Color.ColorMask[0][RCOMP] &&
61 ctx->Color.ColorMask[0][GCOMP] &
146 struct gl_context *ctx; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_fog.c 95 radeonComputeFogBlendFactor( struct gl_context *ctx, GLfloat fogcoord )
97 GLfloat end = ctx->Fog.End;
101 switch (ctx->Fog.Mode) {
103 if (ctx->Fog.Start == ctx->Fog.End)
106 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start);
111 d = ctx->Fog.Density;
116 d = ctx->Fog.Density*ctx->Fog.Density
    [all...]
radeon_state.h 43 extern void radeonInitStateFuncs( struct gl_context *ctx );
45 extern void radeonUpdateMaterial( struct gl_context *ctx );
47 extern void radeonUpdateViewportOffset( struct gl_context *ctx );
48 extern void radeonUpdateWindow( struct gl_context *ctx );
49 extern void radeonUpdateDrawBuffer( struct gl_context *ctx );
53 extern GLboolean radeonValidateState( struct gl_context *ctx );
56 extern void radeonFallback( struct gl_context *ctx, GLuint bit, GLboolean mode );
  /external/mesa3d/src/mesa/state_tracker/
st_atom_viewport.c 44 struct gl_context *ctx = st->ctx; local
49 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_TOP) {
54 yBias = (GLfloat)ctx->DrawBuffer->Height;
65 GLfloat x = (GLfloat)ctx->Viewport.X;
66 GLfloat y = (GLfloat)ctx->Viewport.Y;
67 GLfloat z = ctx->Viewport.Near;
68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f;
69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f;
70 GLfloat half_depth = (GLfloat)(ctx->Viewport.Far - ctx->Viewport.Near) * 0.5f
    [all...]
st_atom_stipple.c 67 const struct gl_context *ctx = st->ctx; local
69 assert(sz == sizeof(ctx->PolygonStipple));
71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) {
75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz);
77 invert_stipple(newStipple.stipple, ctx->PolygonStipple,
78 ctx->DrawBuffer->Height);
  /external/openssl/crypto/evp/
p_seal.c 69 int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek,
76 EVP_CIPHER_CTX_init(ctx);
77 if(!EVP_EncryptInit_ex(ctx,type,NULL,NULL,NULL)) return 0;
81 if (EVP_CIPHER_CTX_rand_key(ctx, key) <= 0)
83 if (EVP_CIPHER_CTX_iv_length(ctx))
84 RAND_pseudo_bytes(iv,EVP_CIPHER_CTX_iv_length(ctx));
86 if(!EVP_EncryptInit_ex(ctx,NULL,NULL,key,iv)) return 0;
90 ekl[i]=EVP_PKEY_encrypt_old(ek[i],key,EVP_CIPHER_CTX_key_length(ctx),
98 void EVP_SealUpdate(ctx,out,outl,in,inl)
99 EVP_CIPHER_CTX *ctx;
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
api_text.c 40 struct vg_context *ctx = vg_current_context(); local
43 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
53 struct vg_context *ctx = vg_current_context(); local
56 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
60 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
74 struct vg_context *ctx = vg_current_context(); local
79 !vg_context_is_object_valid(ctx, VG_OBJECT_FONT, font)) {
80 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
85 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
89 !vg_context_is_object_valid(ctx, VG_OBJECT_PATH, path))
107 struct vg_context *ctx = vg_current_context(); local
136 struct vg_context *ctx = vg_current_context(); local
154 struct vg_context *ctx = vg_current_context(); local
178 struct vg_context *ctx = vg_current_context(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_state.h 43 extern void radeonInitStateFuncs( struct gl_context *ctx );
45 extern void radeonUpdateMaterial( struct gl_context *ctx );
47 extern void radeonUpdateViewportOffset( struct gl_context *ctx );
48 extern void radeonUpdateWindow( struct gl_context *ctx );
49 extern void radeonUpdateDrawBuffer( struct gl_context *ctx );
53 extern GLboolean radeonValidateState( struct gl_context *ctx );
56 extern void radeonFallback( struct gl_context *ctx, GLuint bit, GLboolean mode );
  /external/mesa3d/src/gallium/state_trackers/vega/
api_text.c 40 struct vg_context *ctx = vg_current_context(); local
43 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
53 struct vg_context *ctx = vg_current_context(); local
56 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
60 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
74 struct vg_context *ctx = vg_current_context(); local
79 !vg_context_is_object_valid(ctx, VG_OBJECT_FONT, font)) {
80 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
85 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
89 !vg_context_is_object_valid(ctx, VG_OBJECT_PATH, path))
107 struct vg_context *ctx = vg_current_context(); local
136 struct vg_context *ctx = vg_current_context(); local
154 struct vg_context *ctx = vg_current_context(); local
178 struct vg_context *ctx = vg_current_context(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
quad-sample.c 30 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context
81 ctx->set_viewport_state( ctx, &vp );
97 handle = ctx->create_vertex_elements_state(ctx, 2, ve);
98 ctx->bind_vertex_elements_state(ctx, handle);
103 vbuf.buffer = pipe_buffer_create_with_data(ctx,
109 ctx->set_vertex_buffers(ctx, 1, &vbuf)
    [all...]
fs-fragcoord.c 64 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
65 info.ctx->bind_vertex_elements_state(info.ctx, handle);
70 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
76 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
94 handle = graw_parse_vertex_shader(info.ctx, text);
95 info.ctx->bind_vs_state(info.ctx, handle)
    [all...]
fs-write-z.c 90 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
91 info.ctx->bind_vertex_elements_state(info.ctx, handle);
96 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
102 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
120 handle = graw_parse_vertex_shader(info.ctx, text);
121 info.ctx->bind_vs_state(info.ctx, handle)
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
quad-sample.c 30 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context
81 ctx->set_viewport_state( ctx, &vp );
97 handle = ctx->create_vertex_elements_state(ctx, 2, ve);
98 ctx->bind_vertex_elements_state(ctx, handle);
103 vbuf.buffer = pipe_buffer_create_with_data(ctx,
109 ctx->set_vertex_buffers(ctx, 1, &vbuf)
    [all...]
fs-fragcoord.c 64 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
65 info.ctx->bind_vertex_elements_state(info.ctx, handle);
70 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
76 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
94 handle = graw_parse_vertex_shader(info.ctx, text);
95 info.ctx->bind_vs_state(info.ctx, handle)
    [all...]
  /device/generic/goldfish/opengl/system/GLESv2_enc/
GL2Encoder.cpp 32 ctx->setError(err); \
39 ctx->setError(err); \
123 GL2Encoder *ctx = (GL2Encoder *)self; local
124 GLenum err = ctx->getError();
126 ctx->setError(GL_NO_ERROR);
130 return ctx->m_glGetError_enc(self);
136 GL2Encoder *ctx = (GL2Encoder *) self; local
137 ctx->m_glFlush_enc(self);
138 ctx->m_stream->flush();
163 GL2Encoder *ctx = (GL2Encoder *)self local
172 GL2Encoder *ctx = (GL2Encoder *) self; local
181 GL2Encoder *ctx = (GL2Encoder *) self; local
    [all...]
  /hardware/qcom/display/msm8974/libcopybit/
copybit_c2d.cpp 218 copybit_context_t* ctx = (copybit_context_t*)(ptr); local
223 while(ctx->stop_thread == false) {
224 pthread_mutex_lock(&ctx->wait_cleanup_lock);
225 while(ctx->wait_timestamp == false && !ctx->stop_thread) {
226 pthread_cond_wait(&(ctx->wait_cleanup_cond),
227 &(ctx->wait_cleanup_lock));
229 if(ctx->wait_timestamp) {
230 if(LINK_c2dWaitTimestamp(ctx->time_stamp)) {
233 ctx->wait_timestamp = false
632 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
661 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
698 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
781 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
874 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
1092 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
1404 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
1422 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
1481 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local
1497 struct copybit_context_t *ctx; local
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/pi_generator/
pi_generator.cc 34 bool Render(PSContext2D_t* ctx) {
35 PSContext2DGetBuffer(ctx);
37 if (NULL == ctx->data)
45 int px = x * ctx->width;
46 int py = (1.0 - y) * ctx->height;
47 uint32_t color = ctx->data[ctx->width * py + px];
61 ctx->data[ctx->width * py + px] = color | kOpaqueColorMask;
64 PSContext2DSwapBuffer(ctx);
78 PSContext2D_t* ctx = PSContext2DAllocate(PP_IMAGEDATAFORMAT_BGRA_PREMUL); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
va_image.c 53 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats)
55 if (!ctx)
74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image)
76 if (!ctx)
106 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image)
108 if (!ctx)
115 vlVaDestroyImage(VADriverContextP ctx, VAImageID image)
117 if (!ctx)
124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette)
126 if (!ctx)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/vbo/
vbo_context.h 94 static inline struct vbo_context *vbo_context(struct gl_context *ctx)
96 return (struct vbo_context *)(ctx->swtnl_im);
105 get_program_mode( struct gl_context *ctx )
107 if (!ctx->VertexProgram._Current)
109 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
111 else if (ctx->VertexProgram._Current->IsNVProgram)
133 struct gl_context *ctx = vbo->exec.ctx; local
137 ctx->Array._DrawArrays = vbo->exec.array.inputs
    [all...]
  /external/mesa3d/src/gallium/state_trackers/va/
va_image.c 53 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats)
55 if (!ctx)
74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image)
76 if (!ctx)
106 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image)
108 if (!ctx)
115 vlVaDestroyImage(VADriverContextP ctx, VAImageID image)
117 if (!ctx)
124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette)
126 if (!ctx)
    [all...]
  /external/mesa3d/src/mesa/vbo/
vbo_context.h 94 static inline struct vbo_context *vbo_context(struct gl_context *ctx)
96 return (struct vbo_context *)(ctx->swtnl_im);
105 get_program_mode( struct gl_context *ctx )
107 if (!ctx->VertexProgram._Current)
109 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
111 else if (ctx->VertexProgram._Current->IsNVProgram)
133 struct gl_context *ctx = vbo->exec.ctx; local
137 ctx->Array._DrawArrays = vbo->exec.array.inputs
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/tnl/
t_vb_normals.c 50 run_normal_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage)
53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
62 if (_math_matrix_is_general_scale(ctx->ModelviewMatrixStack.Top))
67 store->NormalTransform( ctx->ModelviewMatrixStack.Top,
68 ctx->_ModelViewInvScale,
92 validate_normal_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage)
96 if (ctx->VertexProgram._Current ||
97 (!ctx->Light.Enabled &&
98 !(ctx->Texture._GenFlags & TEXGEN_NEED_NORMALS))) {
103 if (ctx->_NeedEyeCoords)
    [all...]

Completed in 1801 milliseconds

<<21222324252627282930>>