Home
last modified time | relevance | path

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

/system/core/libpixelflinger/tests/codegen/
Dcodegen.cpp26 ScanlineAssembly(needs_t needs, size_t size) in ScanlineAssembly() argument
27 : Assembly(size), mKey(needs) { } in ScanlineAssembly()
36 needs_t needs; in ggl_test_codegen() local
37 needs.n = n; in ggl_test_codegen()
38 needs.p = p; in ggl_test_codegen()
39 needs.t[0] = t0; in ggl_test_codegen()
40 needs.t[1] = t1; in ggl_test_codegen()
41 sp<ScanlineAssembly> a(new ScanlineAssembly(needs, ASSEMBLY_SCRATCH_SIZE)); in ggl_test_codegen()
43 int err = assembler.scanline(needs, (context_t*)c); in ggl_test_codegen()
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp61 int GGLAssembler::scanline(const needs_t& needs, context_t const* c) in scanline() argument
67 err = scanline_core(needs, c); in scanline()
82 needs.p, needs.n, needs.t[0], needs.t[1], per_fragment_ops); in scanline()
93 int GGLAssembler::scanline_core(const needs_t& needs, context_t const* c) in scanline_core() argument
100 mAA = GGL_READ_NEEDS(P_AA, needs.p); in scanline_core()
101 mDithering = GGL_READ_NEEDS(P_DITHER, needs.p); in scanline_core()
102 mAlphaTest = GGL_READ_NEEDS(P_ALPHA_TEST, needs.p) + GGL_NEVER; in scanline_core()
103 mDepthTest = GGL_READ_NEEDS(P_DEPTH_TEST, needs.p) + GGL_NEVER; in scanline_core()
104 mFog = GGL_READ_NEEDS(P_FOG, needs.p) != 0; in scanline_core()
105 mSmooth = GGL_READ_NEEDS(SHADE, needs.n) != 0; in scanline_core()
[all …]
DGGLAssembler.h182 int scanline(const needs_t& needs, context_t const* c);
183 int scanline_core(const needs_t& needs, context_t const* c);
337 needs_t needs; member
399 const needs_t& needs);
423 void decodeLogicOpNeeds(const needs_t& needs);
425 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.cpp246 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.cpp270 ScanlineAssembly(needs_t needs, size_t size) in ScanlineAssembly() argument
271 : Assembly(size), mKey(needs) { } in ScanlineAssembly()
313 const uint32_t cb_format = GGL_READ_NEEDS(CB_FORMAT, c->state.needs.n); in pick_scanline()
314 if (GGL_READ_NEEDS(T_FORMAT, c->state.needs.t[0]) == cb_format) { in pick_scanline()
315 if (c->state.needs.match(noblend1to1)) { in pick_scanline()
320 &(c->formats[GGL_READ_NEEDS(T_FORMAT, c->state.needs.t[0])]); in pick_scanline()
335 if (c->state.needs.match(fill16noblend)) { in pick_scanline()
346 if (c->state.needs.match(shortcuts[i].filter)) { in pick_scanline()
355 c->state.needs.n, c->state.needs.p, in pick_scanline()
356 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.h501 needs_t needs;
/system/core/adb/
Dprotocol.txt18 that if it needs to be reimplemented in another environment (Java