Searched defs:box (Results 126 - 150 of 255) sorted by relevance

1234567891011

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c174 const struct pipe_box *box)
183 xfr->base.box.x = box->x;
184 xfr->base.box.width = box->width;
207 nouveau_buffer_upload(nv, buf, transfer->box.x, transfer->box.width);
258 uint32_t offset = xfr->base.box.x;
291 const struct pipe_box *box)
296 unsigned offset = res->offset + transfer->box
171 nouveau_buffer_transfer_get(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
289 nouveau_buffer_transfer_flush_region(struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_blit.c464 struct pipe_box box; local
519 box = *src_box;
520 src_box = &box;
526 box.width = align(box.width, 4);
527 box.height = align(box.height, 4);
537 box.x /= 2;
538 box.width /= 2;
551 box
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Doutput.c193 struct pipe_box box; local
209 box = RectToPipeBox(source_rect, res);
210 transfer = pipe->get_transfer(pipe, res, 0, PIPE_TRANSFER_READ, &box);
224 box.width, box.height, map, transfer->stride, 0, 0);
292 struct pipe_box box; local
340 box.x = box.y = box.z = 0;
341 box
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dfs-test.c115 struct pipe_box box; local
139 u_box_2d(0,0,sizeof(constants1),1, &box);
145 &box,
156 u_box_2d(0,0,sizeof(constants2),1, &box);
162 &box,
294 struct pipe_box box; local
355 u_box_2d(0,0,SIZE,SIZE, &box);
361 &box,
H A Dgs-test.c152 struct pipe_box box; local
172 u_box_2d(0,0,sizeof(constants1),1, &box);
178 &box,
189 u_box_2d(0,0,sizeof(constants2),1, &box);
195 &box,
358 struct pipe_box box; local
419 u_box_2d(0,0,SIZE,SIZE, &box);
425 &box,
H A Dvs-test.c83 struct pipe_box box; local
101 u_box_2d(0,0,sizeof(constants),1, &box);
107 &box,
245 struct pipe_box box; local
306 u_box_2d(0,0,SIZE,SIZE, &box);
312 &box,
/external/chromium_org/third_party/skia/src/views/
H A DSkWidgets.cpp300 SkTextBox box; local
301 box.setMode(SkTextBox::kOneLine_Mode);
302 box.setSpacingAlign(SkTextBox::kCenter_SpacingAlign);
303 box.setBox(0, 0, this->width(), this->height());
310 box.draw(canvas, label.c_str(), label.size(), p);
459 SkTextBox box;
461 box.setMode(fMode == kAutoWidth_Mode ? SkTextBox::kOneLine_Mode : SkTextBox::kLineBreak_Mode);
462 box.setSpacingAlign(this->getSpacingAlign());
463 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY);
464 box
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c174 const struct pipe_box *box)
183 xfr->base.box.x = box->x;
184 xfr->base.box.width = box->width;
207 nouveau_buffer_upload(nv, buf, transfer->box.x, transfer->box.width);
258 uint32_t offset = xfr->base.box.x;
291 const struct pipe_box *box)
296 unsigned offset = res->offset + transfer->box
171 nouveau_buffer_transfer_get(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
289 nouveau_buffer_transfer_flush_region(struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_blit.c464 struct pipe_box box; local
519 box = *src_box;
520 src_box = &box;
526 box.width = align(box.width, 4);
527 box.height = align(box.height, 4);
537 box.x /= 2;
538 box.width /= 2;
551 box
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Doutput.c193 struct pipe_box box; local
209 box = RectToPipeBox(source_rect, res);
210 transfer = pipe->get_transfer(pipe, res, 0, PIPE_TRANSFER_READ, &box);
224 box.width, box.height, map, transfer->stride, 0, 0);
292 struct pipe_box box; local
340 box.x = box.y = box.z = 0;
341 box
[all...]
/external/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c115 struct pipe_box box; local
139 u_box_2d(0,0,sizeof(constants1),1, &box);
145 &box,
156 u_box_2d(0,0,sizeof(constants2),1, &box);
162 &box,
294 struct pipe_box box; local
355 u_box_2d(0,0,SIZE,SIZE, &box);
361 &box,
H A Dgs-test.c152 struct pipe_box box; local
172 u_box_2d(0,0,sizeof(constants1),1, &box);
178 &box,
189 u_box_2d(0,0,sizeof(constants2),1, &box);
195 &box,
358 struct pipe_box box; local
419 u_box_2d(0,0,SIZE,SIZE, &box);
425 &box,
H A Dvs-test.c83 struct pipe_box box; local
101 u_box_2d(0,0,sizeof(constants),1, &box);
107 &box,
245 struct pipe_box box; local
306 u_box_2d(0,0,SIZE,SIZE, &box);
312 &box,
/external/opencv/cv/src/
H A Dcvrotcalipers.cpp351 CvBox2D box; local
356 memset(&box, 0, sizeof(box));
443 box.center.x = out[0].x + (out[1].x + out[2].x)*0.5f;
444 box.center.y = out[0].y + (out[1].y + out[2].y)*0.5f;
445 box.size.height = (float)sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y);
446 box.size.width = (float)sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y);
447 box.angle = (float)atan2( -(double)out[1].y, (double)out[1].x );
451 box.center.x = (points[0].x + points[1].x)*0.5f;
452 box
[all...]
/external/pixman/pixman/
H A Dpixman-trap.c410 pixman_box32_t *box)
420 box->x1 = 0;
421 box->y1 = 0;
422 box->x2 = dest->bits.width;
423 box->y2 = dest->bits.height;
427 box->x1 = INT32_MAX;
428 box->y1 = INT32_MAX;
429 box->x2 = INT32_MIN;
430 box->y2 = INT32_MIN;
441 if (y1 < box
408 get_trap_extents(pixman_op_t op, pixman_image_t *dest, const pixman_trapezoid_t *traps, int n_traps, pixman_box32_t *box) argument
520 pixman_box32_t box; local
[all...]
/external/skia/src/views/
H A DSkWidgets.cpp300 SkTextBox box; local
301 box.setMode(SkTextBox::kOneLine_Mode);
302 box.setSpacingAlign(SkTextBox::kCenter_SpacingAlign);
303 box.setBox(0, 0, this->width(), this->height());
310 box.draw(canvas, label.c_str(), label.size(), p);
459 SkTextBox box;
461 box.setMode(fMode == kAutoWidth_Mode ? SkTextBox::kOneLine_Mode : SkTextBox::kLineBreak_Mode);
462 box.setSpacingAlign(this->getSpacingAlign());
463 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY);
464 box
[all...]
/external/chromium_org/cc/base/
H A Dmath_util.cc810 void MathUtil::AddToTracedValue(const gfx::BoxF& box, argument
812 res->AppendInteger(box.x());
813 res->AppendInteger(box.y());
814 res->AppendInteger(box.z());
815 res->AppendInteger(box.width());
816 res->AppendInteger(box.height());
817 res->AppendInteger(box.depth());
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DPosition.cpp464 for (InlineTextBox *box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) {
465 int start = box->start();
466 int end = box->start() + box->len();
473 result += box->len();
605 for (InlineTextBox* box = textRenderer->firstTextBox(); box; bo
1091 InlineTextBox* box; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLImageElement.cpp406 RenderBox* box = renderBox(); local
407 return box ? adjustForAbsoluteZoom(box->contentBoxRect().pixelSnappedWidth(), box) : 0;
429 RenderBox* box = renderBox(); local
430 return box ? adjustForAbsoluteZoom(box->contentBoxRect().pixelSnappedHeight(), box) : 0;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderTreeAsText.cpp195 // FIXME: Would be better to dump the bounding box x and y rather than the first run's x and y, but that would involve updating
208 // FIXME: Deliberately dump the "inner" box of table cells, since that is what current results reflect. We'd like
209 // to clean up the results to dump both the outer box and the intrinsic padding so that both bits of information are
254 const RenderBoxModelObject& box = toRenderBoxModelObject(o); local
255 if (box.borderTop() || box.borderRight() || box.borderBottom() || box.borderLeft()) {
259 if (!box.borderTop())
262 ts << " (" << box
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGRenderTreeAsText.cpp387 SVGRootInlineBox* box = toSVGRootInlineBox(text.firstRootBox()); local
388 if (!box)
391 ts << " " << enclosingIntRect(FloatRect(text.location(), FloatSize(box->logicalWidth(), box->logicalHeight())));
458 for (InlineTextBox* box = text.firstTextBox(); box; box = box->nextTextBox()) {
459 if (!box->isSVGInlineTextBox())
462 writeSVGInlineTextBox(ts, toSVGInlineTextBox(box), inden
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_aaline.c443 struct pipe_box box; local
450 u_box_origin_2d( size, size, &box );
458 &box);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_inlines.h261 struct pipe_box box; local
268 u_box_1d(offset, length, &box);
274 &box);
316 struct pipe_box box; local
320 assert(transfer->box.x <= offset);
321 assert(offset + length <= transfer->box.x + transfer->box.width);
327 transfer_offset = offset - transfer->box.x;
329 u_box_1d(transfer_offset, length, &box);
331 pipe->transfer_flush_region(pipe, transfer, &box);
341 struct pipe_box box; local
374 struct pipe_box box; local
431 struct pipe_box box; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_resource_texture.c719 const struct pipe_box *box)
732 transfer->b.box = *box;
772 u_box_origin_2d(itransfer->b.box.width, itransfer->b.box.height, &sbox);
774 itransfer->b.box.x, itransfer->b.box.y, itransfer->b.box.z,
792 struct pipe_box *box = &itransfer->b.box; local
715 i915_texture_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
836 i915_transfer_inline_write( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/
H A Dnoop_pipe.c153 const struct pipe_box *box)
163 transfer->box = *box;
179 const struct pipe_box *box)
199 const struct pipe_box *box,
149 noop_get_transfer(struct pipe_context *context, struct pipe_resource *resource, unsigned level, enum pipe_transfer_usage usage, const struct pipe_box *box) argument
177 noop_transfer_flush_region(struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
195 noop_transfer_inline_write(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument

Completed in 9149 milliseconds

1234567891011