Home
last modified time | relevance | path

Searched refs:GrGLIRect (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLIRect.h20 struct GrGLIRect { struct
32 GR_STATIC_ASSERT(0 == offsetof(GrGLIRect, fLeft)); in asInts() argument
33 GR_STATIC_ASSERT(4 == offsetof(GrGLIRect, fBottom)); in asInts()
34 GR_STATIC_ASSERT(8 == offsetof(GrGLIRect, fWidth)); in asInts()
35 GR_STATIC_ASSERT(12 == offsetof(GrGLIRect, fHeight)); in asInts()
36 GR_STATIC_ASSERT(16 == sizeof(GrGLIRect)); // For an array of GrGLIRect. in asInts()
49 GR_STATIC_ASSERT(sizeof(GrGLIRect) == 4*sizeof(GrGLint)); in setFromGLViewport() argument
56 void setRelativeTo(const GrGLIRect& glViewport, const SkIRect& devRect, GrSurfaceOrigin org) { in setRelativeTo() argument
61 void setRelativeTo(const GrGLIRect& glRect, in setRelativeTo() argument
80 bool contains(const GrGLIRect& glRect) const { in contains() argument
[all …]
DGrGLRenderTarget.h39 void setViewport(const GrGLIRect& rect) { fViewport = rect; } in setViewport()
40 const GrGLIRect& getViewport() const { return fViewport; } in getViewport()
104 GrGLIRect fViewport;
DGrGLGpu.h345 const GrGLIRect& rtViewport,
363 void flushViewport(const GrGLIRect&);
396 void bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport,
431 GrGLIRect fRect;
448 void set(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, in set()
455 bool knownEqualTo(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, in knownEqualTo()
470 GrGLIRect fViewport;
474 GrGLIRect fHWViewport;
DGrGLGpu.cpp1455 GrGLIRect viewport; in onCreateTexture()
1711 const GrGLIRect& rtViewport, in flushScissor()
1714 GrGLIRect scissor; in flushScissor()
1757 GrGLIRect glwindows[GrWindowRectangles::kMaxWindows]; in flushWindowRectangles()
2113 GrGLIRect vp; in readPixelsSupported()
2312 GrGLIRect glvp; in onReadPixels()
2338 GrGLIRect readRect; in onReadPixels()
2470 void GrGLGpu::flushViewport(const GrGLIRect& viewport) { in flushViewport()
2647 const GrGLIRect& vp = rt->getViewport(); in onResolveRenderTarget()
2666 GrGLIRect rect; in onResolveRenderTarget()
[all …]
/external/skia/gn/
Dgpu.gni413 "$_src/gpu/gl/GrGLIRect.h",