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

1 2

  /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...]
attrib.c 51 #include "scissor.h"
118 GLboolean Scissor;
312 attr->Scissor = ctx->Scissor.Enabled;
409 memcpy( attr, &ctx->Scissor, sizeof(struct gl_scissor_attrib) );
599 TEST_AND_UPDATE(ctx->Scissor.Enabled, enable->Scissor, GL_SCISSOR_TEST);
1202 const struct gl_scissor_attrib *scissor; local
    [all...]
enable.c 654 if (ctx->Scissor.Enabled == state)
657 ctx->Scissor.Enabled = state;
    [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...]
st_atom_rasterizer.c 237 if (ctx->Scissor.Enabled)
238 raster->scissor = 1;
  /frameworks/base/libs/hwui/renderstate/
Scissor.cpp 16 #include "renderstate/Scissor.h"
25 Scissor::Scissor()
33 bool Scissor::setEnabled(bool enabled) {
46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) {
76 void Scissor::set(int viewportHeight, const Rect& clip) {
96 void Scissor::reset() {
100 void Scissor::invalidate() {
106 void Scissor::dump() {
107 ALOGD("Scissor: enabled %d, %d %d %d %d"
    [all...]
Scissor.h 27 class Scissor {
37 Scissor();
RenderState.h 26 #include "renderstate/Scissor.h"
98 Scissor& scissor() { return *mScissor; } function in class:android::uirenderer::RenderState
118 Scissor* mScissor = nullptr;
RenderState.cpp 47 mScissor = new Scissor();
191 scissor().invalidate();
201 scissor().setEnabled(false);
401 scissor().dump();
  /external/mesa3d/src/glx/apple/
apple_glapi.c 79 __ogl_framework_api->Scissor(x, y, width, height);
  /external/skia/src/gpu/gl/
GrGLIRect.h 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
GrGLAssembleInterface.cpp 197 GET_PROC(Scissor);
630 GET_PROC(Scissor);
    [all...]
  /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);
meta.c 58 #include "main/scissor.h"
129 struct gl_scissor_attrib Scissor;
611 save->Scissor = ctx->Scissor; /* struct copy */
929 _mesa_set_enable(ctx, GL_SCISSOR_TEST, save->Scissor.Enabled);
930 _mesa_Scissor(save->Scissor.X, save->Scissor.Y,
931 save->Scissor.Width, save->Scissor.Height);
    [all...]
  /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. "
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...]
gen6_sf_state.c 197 if (ctx->Scissor.Enabled)
gen7_sf_state.c 246 if (ctx->Scissor.Enabled)
  /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/clang/lib/CodeGen/
CGRecordLayoutBuilder.cpp 66 /// SCISSOR. If LLVM were updated to read base types (which it probably
68 /// type anyway) then we could eliminate the SCISSOR.
80 enum InfoKind { VFPtr, VBPtr, Field, Base, VBase, Scissor } Kind;
477 // before the nvsize and set the scissor offset to that, instead of the
491 Members.push_back(MemberInfo(ScissorOffset, MemberInfo::Scissor, nullptr,
552 // Only members with data and the scissor can cut into tail padding.
553 if (!Member->Data && Member->Kind != MemberInfo::Scissor)
    [all...]
  /frameworks/base/libs/hwui/
Android.mk 25 renderstate/Scissor.cpp \

Completed in 203 milliseconds

1 2