Home
last modified time | relevance | path

Searched refs:needs (Results 1 – 10 of 10) sorted by relevance

/system/core/libpixelflinger/tests/codegen/
Dcodegen.cpp31 ScanlineAssembly(needs_t needs, size_t size) in ScanlineAssembly() argument
32 : Assembly(size), mKey(needs) { } in ScanlineAssembly()
41 needs_t needs; in ggl_test_codegen() local
42 needs.n = n; in ggl_test_codegen()
43 needs.p = p; in ggl_test_codegen()
44 needs.t[0] = t0; in ggl_test_codegen()
45 needs.t[1] = t1; in ggl_test_codegen()
46 sp<ScanlineAssembly> a(new ScanlineAssembly(needs, ASSEMBLY_SCRATCH_SIZE)); in ggl_test_codegen()
56 int err = assembler.scanline(needs, (context_t*)c); in ggl_test_codegen()
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp62 int GGLAssembler::scanline(const needs_t& needs, context_t const* c) in scanline() argument
68 err = scanline_core(needs, c); in scanline()
83 needs.p, needs.n, needs.t[0], needs.t[1], per_fragment_ops); in scanline()
94 int GGLAssembler::scanline_core(const needs_t& needs, context_t const* c) in scanline_core() argument
101 mAA = GGL_READ_NEEDS(P_AA, needs.p); in scanline_core()
102 mDithering = GGL_READ_NEEDS(P_DITHER, needs.p); in scanline_core()
103 mAlphaTest = GGL_READ_NEEDS(P_ALPHA_TEST, needs.p) + GGL_NEVER; in scanline_core()
104 mDepthTest = GGL_READ_NEEDS(P_DEPTH_TEST, needs.p) + GGL_NEVER; in scanline_core()
105 mFog = GGL_READ_NEEDS(P_FOG, needs.p) != 0; in scanline_core()
106 mSmooth = GGL_READ_NEEDS(SHADE, needs.n) != 0; in scanline_core()
[all …]
DGGLAssembler.h186 int scanline(const needs_t& needs, context_t const* c);
187 int scanline_core(const needs_t& needs, context_t const* c);
341 needs_t needs; member
403 const needs_t& needs);
427 void decodeLogicOpNeeds(const needs_t& needs);
429 void decodeTMUNeeds(const needs_t& needs, context_t const* c);
Dtexturing.cpp46 const needs_t& needs = mBuilderContext.needs; in init_iterated_color() local
232 void GGLAssembler::decodeLogicOpNeeds(const needs_t& needs) in decodeLogicOpNeeds() argument
235 const int opcode = GGL_READ_NEEDS(LOGIC_OP, needs.n) | GGL_CLEAR; in decodeLogicOpNeeds()
266 void GGLAssembler::decodeTMUNeeds(const needs_t& needs, context_t const* c) in decodeTMUNeeds() argument
280 tmu.format_idx = GGL_READ_NEEDS(T_FORMAT, needs.t[i]); in decodeTMUNeeds()
283 tmu.swrap = GGL_READ_NEEDS(T_S_WRAP, needs.t[i]); in decodeTMUNeeds()
284 tmu.twrap = GGL_READ_NEEDS(T_T_WRAP, needs.t[i]); in decodeTMUNeeds()
285 tmu.env = ggl_needs_to_env(GGL_READ_NEEDS(T_ENV, needs.t[i])); in decodeTMUNeeds()
286 tmu.pot = GGL_READ_NEEDS(T_POT, needs.t[i]); in decodeTMUNeeds()
287 tmu.linear = GGL_READ_NEEDS(T_LINEAR, needs.t[i]) in decodeTMUNeeds()
[all …]
Dload_store.cpp250 const needs_t& needs = mBuilderContext.needs; in downshift() local
/system/core/libpixelflinger/
Dpicker.cpp40 needs_t new_needs(c->state.needs); in ggl_pick()
162 if (new_needs != c->state.needs) { in ggl_pick()
163 c->state.needs = new_needs; in ggl_pick()
Dscanline.cpp286 ScanlineAssembly(needs_t needs, size_t size) in ScanlineAssembly() argument
287 : Assembly(size), mKey(needs) { } in ScanlineAssembly()
329 const uint32_t cb_format = GGL_READ_NEEDS(CB_FORMAT, c->state.needs.n); in pick_scanline()
330 if (GGL_READ_NEEDS(T_FORMAT, c->state.needs.t[0]) == cb_format) { in pick_scanline()
331 if (c->state.needs.match(noblend1to1)) { in pick_scanline()
336 &(c->formats[GGL_READ_NEEDS(T_FORMAT, c->state.needs.t[0])]); in pick_scanline()
351 if (c->state.needs.match(fill16noblend)) { in pick_scanline()
362 if (c->state.needs.match(shortcuts[i].filter)) { in pick_scanline()
371 c->state.needs.n, c->state.needs.p, in pick_scanline()
372 c->state.needs.t[0], c->state.needs.t[1]); in pick_scanline()
[all …]
Dtrap.cpp140 if (c->state.needs.p & GGL_NEED_MASK(P_AA)) { in pointx_validate()
340 if (c->state.needs.p & GGL_NEED_MASK(P_AA)) { in linex_validate()
466 if (c->state.needs.p & GGL_NEED_MASK(P_AA)) { in trianglex_debug()
497 if (c->state.needs.p & GGL_NEED_MASK(P_AA)) { in trianglex_validate()
/system/core/include/private/pixelflinger/
Dggl_context.h521 needs_t needs;
/system/core/adb/
Dprotocol.txt18 that if it needs to be reimplemented in another environment (Java