History log of /external/skia/src/core/SkDeferredDisplayListRecorder.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fde6fa0903b3cedc463c1a753268ffcf30ad7a38 02-Mar-2018 Robert Phillips <robertphillips@google.com> Fix creation of extra GrContextThreadSafeProxies in DDL world

For the DDLContexts we simply want to reuse the threadSafeProxy from the main thread but we, obviously, still need to create one for the main DirectContext.

TBR=bsalomon@google.com
Change-Id: I99449bc375172c9004e2e80c21d95ab2d7708309
Reviewed-on: https://skia-review.googlesource.com/110781
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
83373a82747ab600e91873f594cd8df65e1676a4 14-Feb-2018 Robert Phillips <robertphillips@google.com> Fix compilation of opList-based DDL implementation

Change-Id: Id8d034d85e0d4e67573ae13295fbbac634d366c3
Reviewed-on: https://skia-review.googlesource.com/107180
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
fc711a2b0143aa4f559ef041068af1c04d7dab85 13-Feb-2018 Robert Phillips <robertphillips@google.com> Add SkCharacterization creation helper to GrContextThreadSafeProxy (take 2)

TBR=bsalomon@google.com
Change-Id: Id96d4fdbb6889065f10a4a7e0c22a03ad9aa5fef
Reviewed-on: https://skia-review.googlesource.com/107000
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
559823d1fee3a9e26170d0ac1f3aaa87b3a3c66a 13-Feb-2018 Cary Clark <caryclark@google.com> Revert "Add SkCharacterization creation helper to GrContextThreadSafeProxy"

This reverts commit d76e56d93c27856b10d6636882a5ffcd79a9d967.

Reason for revert: broke NexusPlayer Vulkan

Original change's description:
> Add SkCharacterization creation helper to GrContextThreadSafeProxy
>
> Change-Id: I8ad7cf335f2b586cf501eaa70573690fbbd53efa
> Reviewed-on: https://skia-review.googlesource.com/106105
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

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

Change-Id: I72b75ff700d39839f7207955566e48bb544aaf6b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/106968
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
d76e56d93c27856b10d6636882a5ffcd79a9d967 13-Feb-2018 Robert Phillips <robertphillips@google.com> Add SkCharacterization creation helper to GrContextThreadSafeProxy

Change-Id: I8ad7cf335f2b586cf501eaa70573690fbbd53efa
Reviewed-on: https://skia-review.googlesource.com/106105
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
e8fabb2665d12ee289bc3af5b7e93c5b12396e2d 04-Feb-2018 Robert Phillips <robertphillips@google.com> Update LazyProxy creation to allow for a non-textureable result

Change-Id: Ic284b4f4220afa714159e07f57798a94fd40d63a
Reviewed-on: https://skia-review.googlesource.com/102484
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
620003692923dc6c6df5a1b66288988b6783a69f 01-Feb-2018 Robert Phillips <robertphillips@google.com> Implement GPU/OpList DDLs

This relies on https://skia-review.googlesource.com/c/skia/+/102101 (Add SkSurface_Gpu::MakeWrappedRenderTarget method) landing first

TBR=bsalomon@google.com
Change-Id: I4d2d66af5800407f638ef32d7b19ce49084bd4e4
Reviewed-on: https://skia-review.googlesource.com/102263
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
d5f9cdd4b3a6ab0e49bb1a56f2e52e2f40edd0fa 31-Jan-2018 Robert Phillips <robertphillips@google.com> Add SkSurface_Gpu::MakeWrappedRenderTarget method

This is pulled out of https://skia-review.googlesource.com/c/skia/+/101480 (Implement GPU/OpList DDLs)

Change-Id: I12b1ac346c7c1fa10f2120bc92bee63c93fc2249
Reviewed-on: https://skia-review.googlesource.com/102101
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
88260b549fcff1715ab9bb9b1a442e0abacce2e5 19-Jan-2018 Robert Phillips <robertphillips@google.com> Split GrContext into Normal/DDL flavors

Change-Id: If37d8a236bd71e2d7121eaafb9d7c7b08328b10f
Reviewed-on: https://skia-review.googlesource.com/84863
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
e42edcc8ef257d4c430344d6d208e994f20f9320 13-Dec-2017 Robert Phillips <robertphillips@google.com> Add stubbed out GrContext

This CL mainly just:
stores the GrContextOptions in GrContextThreadSafeProxy (so they can be passed on to a stubbed out GrContext)
adds a method to create a stubbed out GrContext that has a GrStubGpu
- the stubbed out GrContext isn't quite ready for prime time yet

Change-Id: I31be6763640e406c5963e6f0714489ac358339e4
Reviewed-on: https://skia-review.googlesource.com/79601
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
7ffbcf909d365eb22c5e22b776aeac7b7472fbf3 04-Dec-2017 Robert Phillips <robertphillips@google.com> Add unit test for SkDeferredDisplayLists (take 2)

Change-Id: I76a4c77d5b9418cb7fe677bd55ba32a2e336924d
Reviewed-on: https://skia-review.googlesource.com/79820
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
8172c0a24a79f9b4c3e48c79759f0e0f7059ddf5 04-Dec-2017 Robert Phillips <robertphillips@google.com> Revert "Add unit test for SkDeferredDisplayLists"

This reverts commit 8458a2807b4a7220c9849f8032dc611438818641.

Reason for revert: ??
Original change's description:
> Add unit test for SkDeferredDisplayLists
>
> Change-Id: I015094145cb0af6cfe368c570a5d5280c11c8f28
> Reviewed-on: https://skia-review.googlesource.com/78660
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

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

Change-Id: Iec3abb18d3ed41fcfbec72bc2de14603f659f8ce
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/79720
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
8458a2807b4a7220c9849f8032dc611438818641 04-Dec-2017 Robert Phillips <robertphillips@google.com> Add unit test for SkDeferredDisplayLists

Change-Id: I015094145cb0af6cfe368c570a5d5280c11c8f28
Reviewed-on: https://skia-review.googlesource.com/78660
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
8def8bffe98ee58af6c088f3ab6e4a41f32b732f 30-Nov-2017 Robert Phillips <robertphillips@google.com> Add a GrContextThreadSafeProxy to SkSurfaceCharacterization

Ganesh will require access to the GrCaps to make rendering decisions.

Change-Id: I6dee42a3f0dc638f052706b8d1ea6e02b589e062
Reviewed-on: https://skia-review.googlesource.com/77681
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp
ad8a43f7698071f00ce024a935b0bc04a4b19a41 30-Aug-2017 Robert Phillips <robertphillips@google.com> DeferredDisplayList API proposal

Chrome would like to perform cpu-side preprocessing for gpu draws in parallel.
They do not want to go through a picture (since they have their own display list format).


The general idea is that we add a new SkDeferredDisplayListRecorder class to
perform all of Ganesh's cpu-side preprocessing ahead of time and in parallel.

The SkDDLRecorder operates like SkPictureRecorder. The user can get an SkCanvas
from the SkDDLRecorder and feed it draw operations. Once finished, the user
calls 'detach' to get an SkDeferredDisplayList. All the work up to and
including the 'detach' call can be done in parallel and will not touch
the GPU. To actually get pixels the client must call SkSurface::draw(SkDDL)
on an SkSurface that is "compatible" with the surface characterization
initially given to the SkDDLMaker.

The surface characterization contains the minimum amount of information Ganesh needs
to know about the ultimate destination in order to perform its cpu-side work
(i.e., caps, width, height, config).



Change-Id: I75faa483ab5a6b779c8de56ea56b9d90b990f43a
Reviewed-on: https://skia-review.googlesource.com/30140
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/core/SkDeferredDisplayListRecorder.cpp