diff options
author | 2017-05-23 19:02:57 +0000 | |
---|---|---|
committer | 2017-05-23 19:03:01 +0000 | |
commit | a9e795eab5f59a52d96b8fdc39351452835f5eb9 (patch) | |
tree | 485e9f49fdb82f416014eea8d7fb397938466fd9 /src/gpu/gl/GrGLGpu.h | |
parent | e8fa42768106bd7f4ca7bf5c72dde442a29d43cf (diff) |
Revert "Add a flag to GrSurfaceFlags that requires the texture to be cleared upon creation. "
This reverts commit 45e5068a6d10f4e4fd4658824310f8871f02ccf7.
Reason for revert: :'(
Original change's description:
> Add a flag to GrSurfaceFlags that requires the texture to be cleared upon creation.
>
> Bug: chromium:656320
>
> Change-Id: I940bfa24540516ab83a2ed52f761b96eb6ad19f1
> Reviewed-on: https://skia-review.googlesource.com/17391
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Brian Salomon <bsalomon@google.com>
>
TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Bug: chromium:656320
Change-Id: I8a4f71537e45f3c4cf37b10b2dc8ee38fe6959ba
Reviewed-on: https://skia-review.googlesource.com/17765
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index d19f2ef6ee..a4706c79ed 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -371,9 +371,9 @@ private: kDst_TempFBOTarget }; - // Binds a surface as a FBO for copying, reading, or clearing. If the surface already owns an - // FBO ID then that ID is bound. If not the surface is temporarily bound to a FBO and that FBO - // is bound. This must be paired with a call to unbindSurfaceFBOForPixelOps(). + // Binds a surface as a FBO for copying or reading. If the surface already owns an FBO ID then + // that ID is bound. If not the surface is temporarily bound to a FBO and that FBO is bound. + // This must be paired with a call to unbindSurfaceFBOForPixelOps(). void bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, TempFBOTarget tempFBOTarget); |