Home
last modified time | relevance | path

Searched refs:scissor (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp270 Rect scissor = globalTransform.transform(viewport); in setProjection() local
271 if (scissor.isEmpty()) { in setProjection()
272 scissor = displayBounds; in setProjection()
286 frame, viewport, scissor, needsFiltering); in setProjection()
353 return mCompositionDisplay->getState().scissor; in getScissor()
DDisplayDevice.h302 const Rect& scissor = mDevice->getScissor(); in getSourceCrop() local
323 translatePhysical.set(scissor.left, scissor.top); in getSourceCrop()
DSurfaceFlinger.cpp3444 clientCompositionDisplay.physicalDisplay = displayState.scissor; in doComposeSurfaces()
3445 clientCompositionDisplay.clip = displayState.scissor; in doComposeSurfaces()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageGLWallpaper.java216 void adjustTextureCoordinates(Rect surface, Rect scissor, float xOffset, float yOffset) { in adjustTextureCoordinates() argument
219 if (surface == null || scissor == null) { in adjustTextureCoordinates()
227 int scissorWidth = scissor.width(); in adjustTextureCoordinates()
228 int scissorHeight = scissor.height(); in adjustTextureCoordinates()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp64 const Rect& viewport, const Rect& scissor, bool needsFiltering) { in setProjection() argument
67 mState.scissor = scissor; in setProjection()
DOutputCompositionState.cpp38 dumpVal(out, "scissor", scissor); in dump()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp120 const Rect scissor{9, 10, 11, 12}; in TEST_F() local
123 mOutput.setProjection(transform, orientation, frame, viewport, scissor, needsFiltering); in TEST_F()
129 EXPECT_EQ(scissor, mOutput.getState().scissor); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h61 Rect scissor; member
DOutput.h43 const Rect& viewport, const Rect& scissor, bool needsFiltering) override;
/frameworks/native/opengl/libagl/
Dmatrix.cpp642 c->viewport.scissor.x, in ogles_surfaceport()
643 c->viewport.scissor.y, in ogles_surfaceport()
644 c->viewport.scissor.w, in ogles_surfaceport()
645 c->viewport.scissor.h); in ogles_surfaceport()
657 c->viewport.scissor.x = x; in ogles_scissor()
658 c->viewport.scissor.y = y; in ogles_scissor()
659 c->viewport.scissor.w = w; in ogles_scissor()
660 c->viewport.scissor.h = h; in ogles_scissor()
666 c->rasterizer.procs.scissor(c, x, y, w, h); in ogles_scissor()
Dcontext.h534 } scissor; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h62 const Rect& viewport, const Rect& scissor, bool needsFiltering) = 0;