HomeSort by relevance Sort by last modified time
    Searched refs:Scissor (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /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...]
framebuffer.c 309 /* update scissor / window bounds */
379 ctx->NewState |= _NEW_BUFFERS; /* to update scissor / window bounds */
436 * the scissor box, if it's enabled.
457 if (ctx->Scissor.Enabled) {
458 if (ctx->Scissor.X > buffer->_Xmin) {
459 buffer->_Xmin = ctx->Scissor.X;
461 if (ctx->Scissor.Y > buffer->_Ymin) {
462 buffer->_Ymin = ctx->Scissor.Y;
464 if (ctx->Scissor.X + ctx->Scissor.Width < buffer->_Xmax)
    [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...]
framebuffer.c 309 /* update scissor / window bounds */
379 ctx->NewState |= _NEW_BUFFERS; /* to update scissor / window bounds */
436 * the scissor box, if it's enabled.
457 if (ctx->Scissor.Enabled) {
458 if (ctx->Scissor.X > buffer->_Xmin) {
459 buffer->_Xmin = ctx->Scissor.X;
461 if (ctx->Scissor.Y > buffer->_Ymin) {
462 buffer->_Ymin = ctx->Scissor.Y;
464 if (ctx->Scissor.X + ctx->Scissor.Width < buffer->_Xmax)
    [all...]
  /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/glx/apple/
apple_glapi.c 79 __ogl_framework_api->Scissor(x, y, width, height);
  /external/mesa3d/src/glx/apple/
apple_glapi.c 79 __ogl_framework_api->Scissor(x, y, width, height);
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLIRect.h 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
  /external/skia/src/gpu/gl/
GrGLIRect.h 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
driverfuncs.c 149 driver->Scissor = NULL;
270 ctx->Driver.Enable(ctx, GL_SCISSOR_TEST, ctx->Scissor.Enabled);
298 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y,
299 ctx->Scissor.Width, ctx->Scissor.Height);
  /external/mesa3d/src/mesa/drivers/common/
driverfuncs.c 149 driver->Scissor = NULL;
270 ctx->Driver.Enable(ctx, GL_SCISSOR_TEST, ctx->Scissor.Enabled);
298 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y,
299 ctx->Scissor.Width, ctx->Scissor.Height);
  /external/chromium_org/gpu/command_buffer/service/
gles2_cmd_decoder_unittest_0_autogen.h 63 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight))
gles2_cmd_decoder_unittest_2_autogen.h 16 EXPECT_CALL(*gl_, Scissor(1, 2, 3, 4));
17 SpecializedSetup<cmds::Scissor, 0>(true);
18 cmds::Scissor cmd;
25 EXPECT_CALL(*gl_, Scissor(_, _, _, _)).Times(0);
26 SpecializedSetup<cmds::Scissor, 0>(false);
27 cmds::Scissor cmd;
34 EXPECT_CALL(*gl_, Scissor(_, _, _, _)).Times(0);
35 SpecializedSetup<cmds::Scissor, 0>(false);
36 cmds::Scissor cmd;
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_clear.c 110 if (ctx->Scissor.Enabled) {
111 perf_debug("Failed to fast clear depth due to scissor being enabled. "
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_clear.c 110 if (ctx->Scissor.Enabled) {
111 perf_debug("Failed to fast clear depth due to scissor being enabled. "
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
i830_vtbl.c 843 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y,
844 ctx->Scissor.Width, ctx->Scissor.Height);
i915_vtbl.c 814 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y,
815 ctx->Scissor.Width, ctx->Scissor.Height);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_common.c 37 - Scissor implementation
100 if (radeon->state.scissor.enabled)
110 GLint x = ctx->Scissor.X, y = ctx->Scissor.Y;
111 GLsizei w = ctx->Scissor.Width, h = ctx->Scissor.Height;
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x);
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y);
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x);
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
i830_vtbl.c 843 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y,
844 ctx->Scissor.Width, ctx->Scissor.Height);
i915_vtbl.c 814 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y,
815 ctx->Scissor.Width, ctx->Scissor.Height);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_common.c 37 - Scissor implementation
100 if (radeon->state.scissor.enabled)
110 GLint x = ctx->Scissor.X, y = ctx->Scissor.Y;
111 GLsizei w = ctx->Scissor.Width, h = ctx->Scissor.Height;
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x);
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y);
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x);
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y)
    [all...]
  /external/chromium_org/cc/test/
test_gles2_interface.h 49 virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height)

Completed in 551 milliseconds

1 2 3 4 5