HomeSort by relevance Sort by last modified time
    Searched full:scissor (Results 1 - 25 of 423) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_scissor.c 41 * Scissor depends on the scissor box, and the framebuffer dimensions.
46 struct pipe_scissor_state scissor; local
51 scissor.minx = 0;
52 scissor.miny = 0;
53 scissor.maxx = fb->Width;
54 scissor.maxy = fb->Height;
56 if (ctx->Scissor.Enabled) {
58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width)
    [all...]
st_cb_clear.c 313 /* draw quad matching scissor rect */
338 if (ctx->Scissor.Enabled &&
339 (ctx->Scissor.X != 0 ||
340 ctx->Scissor.Y != 0 ||
341 ctx->Scissor.Width < rb->Width ||
342 ctx->Scissor.Height < rb->Height))
368 if (ctx->Scissor.Enabled &&
369 (ctx->Scissor.X != 0 ||
370 ctx->Scissor.Y != 0 ||
371 ctx->Scissor.Width < rb->Width |
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_scissor.c 41 * Scissor depends on the scissor box, and the framebuffer dimensions.
46 struct pipe_scissor_state scissor; local
51 scissor.minx = 0;
52 scissor.miny = 0;
53 scissor.maxx = fb->Width;
54 scissor.maxy = fb->Height;
56 if (ctx->Scissor.Enabled) {
58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width)
    [all...]
st_cb_clear.c 313 /* draw quad matching scissor rect */
338 if (ctx->Scissor.Enabled &&
339 (ctx->Scissor.X != 0 ||
340 ctx->Scissor.Y != 0 ||
341 ctx->Scissor.Width < rb->Width ||
342 ctx->Scissor.Height < rb->Height))
368 if (ctx->Scissor.Enabled &&
369 (ctx->Scissor.X != 0 ||
370 ctx->Scissor.Y != 0 ||
371 ctx->Scissor.Width < rb->Width |
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
scissor.c 29 #include "main/scissor.h"
54 * Define the scissor box.
56 * \param x, y coordinates of the scissor box lower-left corner.
57 * \param width width of the scissor box.
58 * \param height height of the scissor box.
62 * Verifies the parameters and updates __struct gl_contextRec::Scissor. On a
64 * the dd_function_table::Scissor callback.
70 if (x == ctx->Scissor.X &&
71 y == ctx->Scissor.Y &&
72 width == ctx->Scissor.Width &
    [all...]
  /external/mesa3d/src/mesa/main/
scissor.c 29 #include "main/scissor.h"
54 * Define the scissor box.
56 * \param x, y coordinates of the scissor box lower-left corner.
57 * \param width width of the scissor box.
58 * \param height height of the scissor box.
62 * Verifies the parameters and updates __struct gl_contextRec::Scissor. On a
64 * the dd_function_table::Scissor callback.
70 if (x == ctx->Scissor.X &&
71 y == ctx->Scissor.Y &&
72 width == ctx->Scissor.Width &
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
gen6_scissor_state.c 40 struct gen6_scissor_rect *scissor; local
43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE,
44 sizeof(*scissor), 32, &scissor_state_offset);
48 /* The scissor only needs to handle the intersection of drawable and
49 * scissor rect. Clipping to the boundaries of static shared buffers
57 /* If the scissor was out of bounds and got clamped to 0
60 * anything. Instead, just provide a min > max scissor inside
63 scissor->xmin = 1;
64 scissor->xmax = 0;
65 scissor->ymin = 1
    [all...]
brw_sf_state.c 78 /* The scissor only needs to handle the intersection of drawable
79 * and scissor rect, since there are no longer cliprects for shared
88 /* If the scissor was out of bounds and got clamped to 0
91 * anything. Instead, just provide a min > max scissor inside
94 sfv->scissor.xmin = 1;
95 sfv->scissor.xmax = 0;
96 sfv->scissor.ymin = 1;
97 sfv->scissor.ymax = 0;
100 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin;
101 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen6_scissor_state.c 40 struct gen6_scissor_rect *scissor; local
43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE,
44 sizeof(*scissor), 32, &scissor_state_offset);
48 /* The scissor only needs to handle the intersection of drawable and
49 * scissor rect. Clipping to the boundaries of static shared buffers
57 /* If the scissor was out of bounds and got clamped to 0
60 * anything. Instead, just provide a min > max scissor inside
63 scissor->xmin = 1;
64 scissor->xmax = 0;
65 scissor->ymin = 1
    [all...]
brw_sf_state.c 78 /* The scissor only needs to handle the intersection of drawable
79 * and scissor rect, since there are no longer cliprects for shared
88 /* If the scissor was out of bounds and got clamped to 0
91 * anything. Instead, just provide a min > max scissor inside
94 sfv->scissor.xmin = 1;
95 sfv->scissor.xmax = 0;
96 sfv->scissor.ymin = 1;
97 sfv->scissor.ymax = 0;
100 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin;
101 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1
    [all...]
  /system/core/libpixelflinger/
raster.cpp 75 // clip to scissor
76 if (xd < GGLint(c->state.scissor.left)) {
77 GGLint offset = GGLint(c->state.scissor.left) - xd;
78 xd = GGLint(c->state.scissor.left);
82 if (yd < GGLint(c->state.scissor.top)) {
83 GGLint offset = GGLint(c->state.scissor.top) - yd;
84 yd = GGLint(c->state.scissor.top);
88 if ((xd + width) > GGLint(c->state.scissor.right)) {
89 width = GGLint(c->state.scissor.right) - xd;
91 if ((yd + height) > GGLint(c->state.scissor.bottom))
    [all...]
trap.cpp 215 // scissor...
216 if (l < GGLint(c->state.scissor.left)) {
217 xstart += TRI_FROM_INT(c->state.scissor.left-l);
218 l = GGLint(c->state.scissor.left);
220 if (t < GGLint(c->state.scissor.top)) {
221 ystart += TRI_FROM_INT(c->state.scissor.top-t);
222 t = GGLint(c->state.scissor.top);
224 if (r > GGLint(c->state.scissor.right)) {
225 r = GGLint(c->state.scissor.right);
227 if (b > GGLint(c->state.scissor.bottom))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
i915_state_dynamic.c 249 * Scissor enable
257 "SCISSOR ENABLE",
265 * Scissor rect
269 unsigned x1 = i915->scissor.minx;
270 unsigned y1 = i915->scissor.miny;
271 unsigned x2 = i915->scissor.maxx - 1;
272 unsigned y2 = i915->scissor.maxy - 1;
283 "SCISSOR RECT",
  /external/mesa3d/src/gallium/drivers/i915/
i915_state_dynamic.c 249 * Scissor enable
257 "SCISSOR ENABLE",
265 * Scissor rect
269 unsigned x1 = i915->scissor.minx;
270 unsigned y1 = i915->scissor.miny;
271 unsigned x2 = i915->scissor.maxx - 1;
272 unsigned y2 = i915->scissor.maxy - 1;
283 "SCISSOR RECT",
  /frameworks/base/libs/hwui/
Properties.h 123 * Used to enable/disable scissor optimization. The accepted values are
126 * When scissor optimization is enabled, OpenGLRenderer will attempt to
127 * minimize the use of scissor by selectively enabling and disabling the
128 * GL scissor test.
130 * scissor test enabled and change the scissor rect as needed.
132 * the scissor rect often than when enabling/disabling the scissor test
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_state_clip.c 62 const struct pipe_scissor_state *scissor)
68 llvmpipe->scissor = *scissor; /* struct copy */
lp_setup.h 79 boolean scissor,
120 const struct pipe_scissor_state *scissor );
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
sp_state_clip.c 62 const struct pipe_scissor_state *scissor)
68 softpipe->scissor = *scissor; /* struct copy */
sp_state_derived.c 174 * Recompute cliprect from scissor bounds, scissor enable and surface size.
186 if (sp->rasterizer->scissor) {
190 * clip to scissor rect:
192 sp->cliprect.minx = MAX2(sp->scissor.minx, 0);
193 sp->cliprect.miny = MAX2(sp->scissor.miny, 0);
194 sp->cliprect.maxx = MIN2(sp->scissor.maxx, surfWidth);
195 sp->cliprect.maxy = MIN2(sp->scissor.maxy, surfHeight);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_clip.c 62 const struct pipe_scissor_state *scissor)
68 llvmpipe->scissor = *scissor; /* struct copy */
lp_setup.h 79 boolean scissor,
120 const struct pipe_scissor_state *scissor );
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_state_clip.c 62 const struct pipe_scissor_state *scissor)
68 softpipe->scissor = *scissor; /* struct copy */
  /external/chromium_org/android_webview/public/browser/
draw_gl.h 21 // of the OpenGL scissor rect. Both the OpenGL scissor rect and viewport are
34 // the scissor box set by the caller to the actual View location and size.
43 // The viewport and scissor box are set by the caller to the whole surface.
  /external/chromium_org/content/test/data/gpu/
webgl.html 15 gl.scissor(0, 0, w, h/2);
19 gl.scissor(0, h/2, w, h/2);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv04_state_fb.c 94 /* Recompute the scissor state. */
95 context_dirty(ctx, SCISSOR);

Completed in 1435 milliseconds

1 2 3 4 5 6 7 8 91011>>