Searched refs:ref (Results 1 - 25 of 498) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dpointer.hpp66 ref_holder(const ref_holder &ref) : argument
67 ref_holder(*ref.p) {
70 ref_holder(ref_holder &&ref) : argument
71 p(ref.p) {
72 ref.p = NULL;
81 operator=(ref_holder ref) { argument
82 std::swap(ref.p, p);
87 operator==(const ref_holder &ref) const {
88 return p == ref.p;
92 operator!=(const ref_holder &ref) cons
180 intrusive_ref(const intrusive_ref & ref) argument
184 intrusive_ref(intrusive_ref && ref) argument
195 operator =(intrusive_ref ref) argument
230 intrusive_ref<T> ref { *new T(std::forward<As>(as)...) }; local in function:clover::create
[all...]
/xsrc/external/mit/MesaLib/dist/docs/gallium/
H A Dindex.rst25 * :ref:`genindex`
26 * :ref:`modindex`
27 * :ref:`search`
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/
H A Dnouveau_fence.h26 int ref; member in struct:nouveau_fence
46 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) argument
49 ++fence->ref;
51 if (*ref) {
52 if (--(*ref)->ref == 0)
53 nouveau_fence_del(*ref);
56 *ref = fence;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/
H A Dnouveau_fence.h26 int ref; member in struct:nouveau_fence
47 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) argument
50 ++fence->ref;
52 if (*ref) {
53 if (--(*ref)->ref == 0)
54 nouveau_fence_del(*ref);
57 *ref = fence;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
H A Dpointer.hpp77 ref_holder(const ref_holder &ref) : argument
78 ref_holder(*ref.p) {
81 ref_holder(ref_holder &&ref) : argument
82 p(ref.p) {
83 ref.p = NULL;
92 operator=(ref_holder ref) { argument
93 std::swap(ref.p, p);
98 operator==(const ref_holder &ref) const {
99 return p == ref.p;
103 operator!=(const ref_holder &ref) cons
191 intrusive_ref(const intrusive_ref & ref) argument
195 intrusive_ref(intrusive_ref && ref) argument
206 operator =(intrusive_ref ref) argument
241 intrusive_ref<T> ref { *new T(std::forward<As>(as)...) }; local in function:clover::create
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c55 LLVMValueRef ref,
78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one);
81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref);
87 test = lp_build_cmp(&bld, func, alpha, ref);
49 lp_build_alpha_test(struct gallivm_state * gallivm,unsigned func,struct lp_type type,const struct util_format_description * cbuf_format_desc,struct lp_build_mask_context * mask,LLVMValueRef alpha,LLVMValueRef ref,boolean do_branch) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c55 LLVMValueRef ref,
78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one);
81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref);
87 test = lp_build_cmp(&bld, func, alpha, ref);
49 lp_build_alpha_test(struct gallivm_state * gallivm,unsigned func,struct lp_type type,const struct util_format_description * cbuf_format_desc,struct lp_build_mask_context * mask,LLVMValueRef alpha,LLVMValueRef ref,boolean do_branch) argument
H A Dlp_scene.c250 /* Decrement texture ref counts
253 struct resource_ref *ref; local in function:lp_scene_end_rasterization
256 for (ref = scene->resources; ref; ref = ref->next) {
257 for (i = 0; i < ref->count; i++) {
261 (void *) ref->resource[i],
262 ref->resource[i]->width0,
263 ref
279 struct shader_ref *ref; local in function:lp_scene_end_rasterization
396 struct resource_ref *ref, **last = &scene->resources; local in function:lp_scene_add_resource_reference
460 struct shader_ref *ref, **last = &scene->frag_shaders; local in function:lp_scene_add_frag_shader_reference
507 const struct resource_ref *ref; local in function:lp_scene_is_resource_referenced
[all...]
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Dbasic-rectangle.c33 struct test_target out, ref; local in function:zrect_tests
42 test_target_create_render(&t->ref, target, &ref);
43 clear(&t->ref, &ref);
55 draw_rect(&t->ref, ref.draw, alu,
61 ref.draw, ref.format,
69 test_target_destroy_render(&t->ref,
74 struct test_target out, ref; local in function:hrect_tests
116 struct test_target out, ref; local in function:vrect_tests
158 struct test_target out, ref; local in function:rect_tests
[all...]
H A Drender-glyphs.c80 } ref, out; member in struct:glyph_iter
91 gi->ref.dpy = &t->ref;
92 test_target_create_render(&t->ref, target, &gi->ref.tt);
212 if (gi->ref.glyphset)
213 XRenderFreeGlyphSet(gi->ref.dpy->dpy,
214 gi->ref.glyphset);
215 gi->ref.glyphset = create_glyphs(gi->ref
[all...]
H A Dbasic-stress.c31 struct test_target *ref)
41 fill_rect(ref, alu, color, x, y, w, h);
45 struct test_target *ref)
47 int sx = rand() % (2*out->width) - ref->width;
48 int sy = rand() % (2*out->height) - ref->height;
49 int dx = rand() % (2*out->width) - ref->width;
50 int dy = rand() % (2*out->height) - ref->height;
62 XChangeGC(ref->dpy->dpy, ref->gc, GCFunction, &val);
63 XCopyArea(ref
30 fill(struct test_target * out,struct test_target * ref) argument
44 copy(struct test_target * out,struct test_target * ref) argument
93 put(struct test_target * out,struct test_target * ref) argument
109 struct test_target out, ref; local in function:rect_tests
[all...]
H A Dbasic-copyarea-size.c48 struct draw out, ref; local in function:main
56 target_init(&test.ref, &ref, size);
78 XCopyArea(test.ref.dpy,
79 order ? ref.a : ref.b,
80 (!order) ? ref.a : ref.b,
81 ref.gc,
90 ref
[all...]
H A DDrawSegments.c85 struct test_target out, ref; local in function:hv0
95 test_target_create_render(&t->ref, target, &ref);
157 clear(&t->ref, &ref);
161 draw(&t->ref, &ref, alu, 0, LineSolid, cap,
166 ref.draw, ref.format,
174 test_target_destroy_render(&t->ref,
182 struct test_target out, ref; local in function:general
[all...]
H A Drender-copyarea-size.c56 struct draw out, ref; local in function:main
64 target_init(&test.ref, &ref, size);
90 XRenderComposite(test.ref.dpy, PictOpSrc,
91 order ? ref.pa : ref.pb,
93 (!order) ? ref.pa : ref.pb,
103 ref.a, ref
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Dbasic-rectangle.c33 struct test_target out, ref; local in function:zrect_tests
42 test_target_create_render(&t->ref, target, &ref);
43 clear(&t->ref, &ref);
55 draw_rect(&t->ref, ref.draw, alu,
61 ref.draw, ref.format,
69 test_target_destroy_render(&t->ref,
74 struct test_target out, ref; local in function:hrect_tests
116 struct test_target out, ref; local in function:vrect_tests
158 struct test_target out, ref; local in function:rect_tests
[all...]
H A Dbasic-stress.c31 struct test_target *ref)
41 fill_rect(ref, alu, color, x, y, w, h);
45 struct test_target *ref)
47 int sx = rand() % (2*out->width) - ref->width;
48 int sy = rand() % (2*out->height) - ref->height;
49 int dx = rand() % (2*out->width) - ref->width;
50 int dy = rand() % (2*out->height) - ref->height;
62 XChangeGC(ref->dpy->dpy, ref->gc, GCFunction, &val);
63 XCopyArea(ref
30 fill(struct test_target * out,struct test_target * ref) argument
44 copy(struct test_target * out,struct test_target * ref) argument
93 put(struct test_target * out,struct test_target * ref) argument
109 struct test_target out, ref; local in function:rect_tests
[all...]
H A Dbasic-copyarea-size.c48 struct draw out, ref; local in function:main
56 target_init(&test.ref, &ref, size);
78 XCopyArea(test.ref.dpy,
79 order ? ref.a : ref.b,
80 (!order) ? ref.a : ref.b,
81 ref.gc,
90 ref
[all...]
H A DDrawSegments.c85 struct test_target out, ref; local in function:hv0
95 test_target_create_render(&t->ref, target, &ref);
157 clear(&t->ref, &ref);
161 draw(&t->ref, &ref, alu, 0, LineSolid, cap,
166 ref.draw, ref.format,
174 test_target_destroy_render(&t->ref,
182 struct test_target out, ref; local in function:general
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_fine_fence.c10 &batch->fine_fences.ref.offset, &batch->fine_fences.ref.res,
19 batch->fine_fences.ref.res = NULL;
44 pipe_resource_reference(&fine->ref.res, NULL);
64 pipe_resource_reference(&fine->ref.res, batch->fine_fences.ref.res);
65 fine->ref.offset = batch->fine_fences.ref.offset;
80 crocus_resource_bo(fine->ref.res),
81 fine->ref
[all...]
H A Dcrocus_fence.h34 struct pipe_reference ref; member in struct:crocus_syncobj
54 if (pipe_reference(&(*dst)->ref, &src->ref))
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_fine_fence.c10 &batch->fine_fences.ref.offset, &batch->fine_fences.ref.res,
19 batch->fine_fences.ref.res = NULL;
40 pipe_resource_reference(&fine->ref.res, NULL);
58 pipe_resource_reference(&fine->ref.res, batch->fine_fences.ref.res);
59 fine->ref.offset = batch->fine_fences.ref.offset;
74 iris_resource_bo(fine->ref.res),
75 fine->ref
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_fence.h34 struct pipe_reference ref; member in struct:iris_syncpt
54 if (pipe_reference(&(*dst)->ref, &src->ref))
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_alpha.c43 mask[i] &= (ALPHA < ref); \
49 mask[i] &= (ALPHA <= ref); \
55 mask[i] &= (ALPHA >= ref); \
61 mask[i] &= (ALPHA > ref); \
67 mask[i] &= (ALPHA != ref); \
73 mask[i] &= (ALPHA == ref); \
114 GLubyte ref; local in function:_swrast_alpha_test
115 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef);
120 GLushort ref; local in function:_swrast_alpha_test
121 CLAMPED_FLOAT_TO_USHORT(ref, ct
126 const GLfloat ref = ctx->Color.AlphaRef; local in function:_swrast_alpha_test
136 GLubyte ref; local in function:_swrast_alpha_test
143 GLushort ref; local in function:_swrast_alpha_test
150 const GLfloat ref = ctx->Color.AlphaRef; local in function:_swrast_alpha_test
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_alpha.c43 mask[i] &= (ALPHA < ref); \
49 mask[i] &= (ALPHA <= ref); \
55 mask[i] &= (ALPHA >= ref); \
61 mask[i] &= (ALPHA > ref); \
67 mask[i] &= (ALPHA != ref); \
73 mask[i] &= (ALPHA == ref); \
114 GLubyte ref; local in function:_swrast_alpha_test
115 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef);
120 GLushort ref; local in function:_swrast_alpha_test
121 CLAMPED_FLOAT_TO_USHORT(ref, ct
126 const GLfloat ref = ctx->Color.AlphaRef; local in function:_swrast_alpha_test
136 GLubyte ref; local in function:_swrast_alpha_test
143 GLushort ref; local in function:_swrast_alpha_test
150 const GLfloat ref = ctx->Color.AlphaRef; local in function:_swrast_alpha_test
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/
H A Dindex.rst29 * :ref:`genindex`
30 * :ref:`modindex`
31 * :ref:`search`

Completed in 42 milliseconds

1234567891011>>