History log of /external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a0176bf033c780bb92396220db8140f30948345 30-Jan-2018 Greg Daniel <egdaniel@google.com> Add ref counted wrapped around GrTexture ReleaseProc

Bug: skia:
Change-Id: I0cd11a539fd6b16d4b3f9512694f84e0a429518c
Reviewed-on: https://skia-review.googlesource.com/101341
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
f35fd8d2f26ef7217368d1a09d231ee68ed0cb2f 22-Jan-2018 Robert Phillips <robertphillips@google.com> Move more internal methods from GrContext to GrContextPriv (take 3)

Change-Id: Ied630e61cf95780bf85032867e6ce663e1ef9c2f
Reviewed-on: https://skia-review.googlesource.com/98000
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
2914555e004676465c5255d8b42ee0d25887ac73 20-Jan-2018 Leon Scroggins <scroggo@google.com> Revert "Move more internal methods from GrContext to GrContextPriv (take 2)"

This reverts commit c22e50bd317fe3658445c04e18a6e319d746c510.

Reason for revert: Speculative fix for Android roll

Original change's description:
> Move more internal methods from GrContext to GrContextPriv (take 2)
>
> Change-Id: I47108910517d61edeb52f82793d384fdb5605d45
> Reviewed-on: https://skia-review.googlesource.com/97241
> Commit-Queue: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>

TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com

Change-Id: I3a77ac33c5f48529357cf9c683d5f4cacaa2379f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/97582
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
c22e50bd317fe3658445c04e18a6e319d746c510 19-Jan-2018 Robert Phillips <robertphillips@google.com> Move more internal methods from GrContext to GrContextPriv (take 2)

Change-Id: I47108910517d61edeb52f82793d384fdb5605d45
Reviewed-on: https://skia-review.googlesource.com/97241
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
adbe1328789071d1f742023edd93b6948eed9470 17-Jan-2018 Robert Phillips <robertphillips@google.com> Remove GrSurfaceProxy::MakeWrapped (take 2)

TBR=bsalomon@google.com
Change-Id: I26fd911da502fb00addacb8b2c1a263efc5aa4ec
Reviewed-on: https://skia-review.googlesource.com/95881
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
6be756b673b823881e90a2ef68c12b640ddde549 16-Jan-2018 Robert Phillips <robertphillips@google.com> Move resourceProvider accessor to GrContextPriv (take 2)

TBR=bsalomon@google.com
Change-Id: I3fd46ebfad0d04b8a2bfa6190f81308f3a6be620
Reviewed-on: https://skia-review.googlesource.com/95121
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
65c7f662ba4ec1c78dc5fc67b184ee9c7b614f55 30-Oct-2017 Greg Daniel <egdaniel@google.com> Add mip support to GrAHardwareBufferImageGenerator

Bug: skia:
Change-Id: I482d8f9937c86ed441016afef2d8f924282dd17a
Reviewed-on: https://skia-review.googlesource.com/63861
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
f88c12ea2047c5ccb13613534b1794944bb233e8 09-Oct-2017 Greg Daniel <egdaniel@google.com> Add api for passing mipped hint into ImageGenerator onGenerateTexture

This does not actually add any additional functionality to the generators.
Once this lands I will enable the generators one at a time to more easily
monitor the effects of each one.

Bug: skia:
Change-Id: I382a1acfaebcbf9ad44c9873b87cdbbe02a13602
Reviewed-on: https://skia-review.googlesource.com/57083
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
b0e93a22bbfad05bb834e33387880ece56e0f6d2 29-Aug-2017 Robert Phillips <robertphillips@google.com> Remove origin field from GrSurface (take 2)

This mainly consists of rm origin from GrSurface and the wrapBackEnd*
methods and then re-adding an explicit origin parameter to all the
GrGpu methods that need it.

TBR=bsalomon@google.com

Change-Id: I4248b2a4749ef844da4233ce53b0dc504bc9eb74
Reviewed-on: https://skia-review.googlesource.com/30280
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
7294b851d277d8e703b23657e1a990f1ae24ead6 01-Aug-2017 Robert Phillips <robertphillips@google.com> Revert "Remove origin field from GrSurface"

This reverts commit df0e09feacb29290fe94d37f921731b18f2edae0.

Reason for revert: Experimental revert to see if this is blocking the roll


Original change's description:
> Remove origin field from GrSurface
>
> This mainly consists of rm origin from GrSurface and the wrapBackEnd*
> methods and then re-adding an explicit origin parameter to all the
> GrGpu methods that need it.
>
> Change-Id: Iabd79ae98b227b5b9409f3ab5bbcc48af9613c18
> Reviewed-on: https://skia-review.googlesource.com/26363
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

TBR=bsalomon@google.com,robertphillips@google.com

Change-Id: Id606aa01e84e2b83be71d833eefca477c1ad0d01
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/29220
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
df0e09feacb29290fe94d37f921731b18f2edae0 28-Jul-2017 Robert Phillips <robertphillips@google.com> Remove origin field from GrSurface

This mainly consists of rm origin from GrSurface and the wrapBackEnd*
methods and then re-adding an explicit origin parameter to all the
GrGpu methods that need it.

Change-Id: Iabd79ae98b227b5b9409f3ab5bbcc48af9613c18
Reviewed-on: https://skia-review.googlesource.com/26363
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
066f020bb6cb9dbb12b977fcddd93982201777fe 25-Jul-2017 Robert Phillips <robertphillips@google.com> Reduce dependence on GrSurface's origin field (take 3)

TBR=bsalomon@google.com

Change-Id: I8c95c6774897dbd87e3c5c87d92f75c5b64d4e76
Reviewed-on: https://skia-review.googlesource.com/26424
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
af1813e3bf617edc663bef2e5bb07d3f5eb4da2e 20-Jul-2017 Leon Scroggins III <scroggo@google.com> Update call to new signature of wrapBackendTexture

d17f6584df9e48146dac28a1df56fb4978de6ba3 dropped flags and sampleCount,
and GrBackendTextureFlags itself. Drop these here to fix the Android
build.

Change-Id: I44e65b8eba79d8d2a9db9f64b2323f2ba006a8eb
Reviewed-on: https://skia-review.googlesource.com/24866
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
77e966647f6b495fe44772086c709528c711fc6e 08-Jul-2017 Christopher Cameron <ccameron@chromium.org> Make SkImage_Lazy::onMakeColorSpace return a SkImage_Lazy

Make SkImage_Lazy::onMakeColorSpace return a new SkImage_Lazy
with the color space of SkImage_Lazy::fInfo changed.

Update the call to SkImageGenerator::getPixels to specify
image info with this new color space.

Update the call to SkImageGenerator::generateTexture to specify
this new color space. Update SkPictureImageGenerator to respect
the color space argument. Add a SkTransferFunctionBehavior
argument to SkImageGenerator::generateTexture to indicate if
color conversion is to be doing using an xform canvas.

Update Generator_GrYUVProvider::refAsTextureProxy to include a
color conversion step to respect this new color space.

TBR=reed@google.com
Bug:739559
Change-Id: I156a858884659e9dfae739a653bab2ef89274959
Reviewed-on: https://skia-review.googlesource.com/21605
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Christopher Cameron <ccameron@chromium.org>
Reviewed-by: Christopher Cameron <ccameron@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
dbba55de7026c0ffbf1eff057d7bf87c19ec80d1 28-Jun-2017 Stan Iliev <stani@google.com> Cache GrTexture in GrAHardwareBufferImageGenerator

Cache last GrTexture needed by onGenerateTexture. Make sure
GrTexture is destroyed by the thread that owns its GrContext.
This CL avoids frequent eglDestroyImageKHR calls, which can take
more than 7ms.

Bug: skia:
Change-Id: Ic8472e7e4c55c0f559d96e16845054dc54ec8efa
Reviewed-on: https://skia-review.googlesource.com/20989
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Stan Iliev <stani@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
7a86987815be3af78fe3801d4f347ebb0c63141a 27-Jun-2017 Derek Sollenberger <djsollen@google.com> Use the NDK headers for AHardwareBuffer.

Bug: 6672
Change-Id: I5abd86149e912d91234853109ebd2a6b0ac5eaa2
Reviewed-on: https://skia-review.googlesource.com/20980
Reviewed-by: Stan Iliev <stani@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
ade9f618e563cf7564f75dcfb83aa8c6a3363bc5 16-Jun-2017 Robert Phillips <robertphillips@google.com> Add GrTextureProxy.h to GrAHardwareBufferImageGenerator.cpp (for Android roll)

TBR=rmistry@google.com

Change-Id: Id08f821447dc6b1229667a07b7845f87399b1cce
Reviewed-on: https://skia-review.googlesource.com/20140
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
000182881a65ef4b12ca3739d47c5e21e79ca919 15-Jun-2017 Robert Phillips <robertphillips@google.com> Readd GrResourceProvider.h to GrAHardwareBufferImageGenerator.cpp (for Android roll)

TBR=rmistry@google.com

Change-Id: If6aa6a024bcc87846c3b24b0d004ffe7177895a8
Reviewed-on: https://skia-review.googlesource.com/20052
Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
fbcef6eb8abad142daf45418516550f7635b4a52 15-Jun-2017 Robert Phillips <robertphillips@google.com> Clean up GrResourceProvider usage

The only substantive changes are the removal of GrProxy instantiation in:

SkGpuBlurUtils::GaussianBlur
GrSimpleTextureEffect::Make*

Change-Id: I10970609693bd6ff5b3a3c21b41d82642bb277bc
Reviewed-on: https://skia-review.googlesource.com/19965
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
847d4c5714ff4e1420ce69611cffd68487cb9422 14-Jun-2017 Robert Phillips <robertphillips@google.com> Add GrTexture.h include to GrAHardwareBufferImageGenerator.cpp

TBR=bsalomon@google.com
Change-Id: I0cee1dc3f6cdfeaf86d1fbe2eb033c78ff8fe686
Reviewed-on: https://skia-review.googlesource.com/19725
Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp
7e910df7f133e80293117bdd069ed25998d10f8c 02-Jun-2017 Stan Iliev <stani@google.com> Implement an SkImage backed by a Android hardware buffer

Create a new SkImage public API to make an image from an Android
hardware buffer. Implementation is using a SkImageGenerator
derived class GrAndroidBufferImageGenerator.
A new EGLImage texture is created, which is then wrapped with
GrTextureProxy.

Bug: skia:
Change-Id: I610a4c5a58198686ce7c03e9a0adad3f9d2342e0
Reviewed-on: https://skia-review.googlesource.com/17789
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Stan Iliev <stani@google.com>
/external/skia/src/gpu/GrAHardwareBufferImageGenerator.cpp