Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 7 of 7) sorted by relevance

/system/core/libpixelflinger/codeflinger/
Dblending.cpp40 integer_t fragment(temp.reg, temp.h, temp.flags); in build_fog() local
59 build_blendFOneMinusF(temp, factor, fragment, fogColor); in build_fog()
142 integer_t fragment(temp.reg, temp.size(), temp.flags); in build_blending() local
147 fragment.reg = scratches.obtain(); in build_blending()
148 MOV(AL, 0, fragment.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
149 fragment.flags |= CORRUPTIBLE; in build_blending()
157 fragment.flags &= ~CORRUPTIBLE; in build_blending()
163 fragment.flags &= ~CORRUPTIBLE; in build_blending()
171 component, pixel, fragment, fb, scratches); in build_blending()
174 build_blendFOneMinusF(temp, factor, fragment, fb); in build_blending()
[all …]
DGGLAssembler.cpp532 component_t fragment; in build_incoming_component() local
535 build_iterated_color(fragment, parts, component, regs); in build_incoming_component()
538 build_texture_environment(fragment, parts, component, regs); in build_incoming_component()
541 if (need_expander && (fragment.size() < dst_size)) { in build_incoming_component()
544 expand(fragment, fragment, dst_size); in build_incoming_component()
549 (mInfo[component].needed || fragment.size()<dst_size)) in build_incoming_component()
553 if (fragment.l) { in build_incoming_component()
554 component_t incoming(fragment); in build_incoming_component()
555 modify(fragment, regs); in build_incoming_component()
556 MOV(AL, 0, fragment.reg, reg_imm(incoming.reg, LSR, incoming.l)); in build_incoming_component()
[all …]
Dtexturing.cpp177 component_t& fragment, in build_iterated_color() argument
182 fragment.setTo( regs.obtain(), 0, 32, CORRUPTIBLE); in build_iterated_color()
189 extract(fragment, parts.iterated, component); in build_iterated_color()
191 fragment.h = GGL_COLOR_BITS; in build_iterated_color()
192 fragment.l = GGL_COLOR_BITS - 8; in build_iterated_color()
193 fragment.flags |= CLEAR_LO; in build_iterated_color()
200 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c); in build_iterated_color()
202 ADD(AL, 0, dx, fragment.reg, dx); in build_iterated_color()
205 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c); in build_iterated_color()
210 regs.recycle(fragment.reg); in build_iterated_color()
[all …]
DGGLAssembler.h428 void build_iterated_color( component_t& fragment,
464 void build_texture_environment( component_t& fragment,
485 integer_t& fragment,
491 const integer_t& fragment,
496 const integer_t& fragment,
499 void build_coverage_application(component_t& fragment,
503 void build_alpha_test(component_t& fragment, const fragment_parts_t& parts);
/system/core/libpixelflinger/
Dscanline.cpp469 static void blending(context_t* c, pixel_t* fragment, pixel_t* fb);
496 void blending(context_t* c, pixel_t* fragment, pixel_t* fb) in blending() argument
498 rescale(fragment->c[0], fragment->s[0], fb->c[0], fb->s[0]); in blending()
499 rescale(fragment->c[1], fragment->s[1], fb->c[1], fb->s[1]); in blending()
500 rescale(fragment->c[2], fragment->s[2], fb->c[2], fb->s[2]); in blending()
501 rescale(fragment->c[3], fragment->s[3], fb->c[3], fb->s[3]); in blending()
504 blend_factor(c, &sf, c->state.blend.src, fragment, fb); in blending()
505 blend_factor(c, &df, c->state.blend.dst, fragment, fb); in blending()
507 fragment->c[1] = in blending()
508 gglMulAddx(fragment->c[1], sf.c[1], gglMulx(fb->c[1], df.c[1])); in blending()
[all …]
/system/bt/stack/l2cap/
Dl2cap_client.c387 BT_HDR *fragment = osi_malloc(client->remote_mtu + L2CAP_MIN_OFFSET); in fragment_packet() local
388 fragment->offset = L2CAP_MIN_OFFSET; in fragment_packet()
389 fragment->len = client->remote_mtu; in fragment_packet()
390 …memcpy(fragment->data + fragment->offset, bt_packet->data + bt_packet->offset, client->remote_mtu); in fragment_packet()
392 list_append(client->outbound_fragments, fragment); in fragment_packet()
/system/connectivity/shill/net/
Dbyte_string_unittest.cc118 ByteString fragment(kTest1 + 3, 4); in TEST_F() local
119 EXPECT_TRUE(fragment.Equals(bs1.GetSubstring(3, 4))); in TEST_F()