Home
last modified time | relevance | path

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

/external/skqp/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.h43 void setViewport(const GrGLIRect& rect) { fViewport = rect; } in setViewport()
44 const GrGLIRect& getViewport() const { return fViewport; } in getViewport()
112 GrGLIRect fViewport;
DGrGLGpu.h345 const GrGLIRect& rtViewport,
367 void flushViewport(const GrGLIRect&);
405 void bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport,
445 GrGLIRect fRect;
462 void set(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, in set()
469 bool knownEqualTo(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, in knownEqualTo()
484 GrGLIRect fViewport;
488 GrGLIRect fHWViewport;
DGrGLGpu.cpp1605 GrGLIRect viewport; in onCreateTexture()
1865 const GrGLIRect& rtViewport, in flushScissor()
1868 GrGLIRect scissor; in flushScissor()
1906 GrGLIRect glwindows[GrWindowRectangles::kMaxWindows]; in flushWindowRectangles()
2288 GrGLIRect vp; in readPixelsSupported()
2337 GrGLIRect glvp; in onReadPixels()
2362 GrGLIRect readRect; in onReadPixels()
2494 void GrGLGpu::flushViewport(const GrGLIRect& viewport) { in flushViewport()
2688 const GrGLIRect& vp = rt->getViewport(); in onResolveRenderTarget()
2709 GrGLIRect rect; in onResolveRenderTarget()
[all …]
/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.h43 void setViewport(const GrGLIRect& rect) { fViewport = rect; } in setViewport()
44 const GrGLIRect& getViewport() const { return fViewport; } in getViewport()
112 GrGLIRect fViewport;
DGrGLGpu.h353 const GrGLIRect& rtViewport,
379 void flushViewport(const GrGLIRect&);
417 void bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport,
457 GrGLIRect fRect;
474 void set(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, in set()
481 bool knownEqualTo(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, in knownEqualTo()
496 GrGLIRect fViewport;
500 GrGLIRect fHWViewport;
DGrGLGpu.cpp1640 GrGLIRect viewport; in onCreateTexture()
1894 const GrGLIRect& rtViewport, in flushScissor()
1897 GrGLIRect scissor; in flushScissor()
1935 GrGLIRect glwindows[GrWindowRectangles::kMaxWindows]; in flushWindowRectangles()
2319 GrGLIRect vp; in readPixelsSupported()
2368 GrGLIRect glvp; in onReadPixels()
2393 GrGLIRect readRect; in onReadPixels()
2525 void GrGLGpu::flushViewport(const GrGLIRect& viewport) { in flushViewport()
2726 const GrGLIRect& vp = rt->getViewport(); in onResolveRenderTarget()
2747 GrGLIRect rect; in onResolveRenderTarget()
[all …]
/external/skqp/gn/
Dgpu.gni433 "$_src/gpu/gl/GrGLIRect.h",
/external/skia/gn/
Dgpu.gni444 "$_src/gpu/gl/GrGLIRect.h",