diff options
author | 2017-05-05 11:26:15 -0400 | |
---|---|---|
committer | 2017-05-05 15:53:36 +0000 | |
commit | fe199b7d512a7cfc56deaaa134260e1d47a1e7e0 (patch) | |
tree | 24fc11a386071faf994735e193c8f37095a589d4 /gn/gpu.gni | |
parent | 9d687dfa3e341bc4bae7806b6e3262ae3d441889 (diff) |
Add postFlush call to GrOnFlushCallbackObject
Adds a new postFlush method and renames the class to
GrOnFlushCallbackObject. Also removes the ref counting in favor of
making the callback object a purely virtual interface. ref/unref on the
callback interface would conflict with existing ref/unref methods on the
subclass. It is now the caller’s responsibility to ensure the lifetime
of the callback is tied to that of the context.
Bug: skia:
Change-Id: I2fc1f98c700032e296a36f3a9a09c0753ab47aea
Reviewed-on: https://skia-review.googlesource.com/15463
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'gn/gpu.gni')
-rw-r--r-- | gn/gpu.gni | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni index 2b3423244e..92dc7d6092 100644 --- a/gn/gpu.gni +++ b/gn/gpu.gni @@ -122,8 +122,8 @@ skia_gpu_sources = [ "$_src/gpu/GrPathUtils.cpp", "$_src/gpu/GrPathUtils.h", "$_src/gpu/GrPendingProgramElement.h", - "$_src/gpu/GrPreFlushResourceProvider.cpp", - "$_src/gpu/GrPreFlushResourceProvider.h", + "$_src/gpu/GrOnFlushResourceProvider.cpp", + "$_src/gpu/GrOnFlushResourceProvider.h", "$_src/gpu/GrPipeline.cpp", "$_src/gpu/GrPipeline.h", "$_src/gpu/GrPipelineBuilder.h", |