History log of /external/skia/include/gpu/GrGpuResourceRef.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d9ffaed6d21f85c717117904da26a2bac2295607 10-Nov-2015 reed <reed@google.com> apply mozilla patch

BUG=skia:4547

Review URL: https://codereview.chromium.org/1421793009
/external/skia/include/gpu/GrGpuResourceRef.h
2766c00fc0b6a07d46e5f74cdad45da2ef625237 26-Jun-2015 mtklein <mtklein@chromium.org> remove SkInstCnt

It's been outclassed by Valgrind and leak sanitizer,
and it seems to be causing problems for external folks building Skia.

I'm not sure why our own builds seem unaffected.

Latest thread:
https://groups.google.com/forum/#!topic/skia-discuss/oj9FsQwwSF0

BUG=skia:

Review URL: https://codereview.chromium.org/1217573002
/external/skia/include/gpu/GrGpuResourceRef.h
6f07665768dc84453316e7b2bbd6049576764cb1 13-Jan-2015 mtklein <mtklein@chromium.org> Simplify SkInstCnt

This code requires fewer macros to use it (just one), has less code in macro
definitions, and has simpler synchronization code (just atomic ints, no SkOnce,
no SkMutex, etc.)

A minor downside, we lose indentation and reverse-ordering in the final report:
Leaked SkRefCntBase: 7
Leaked SkFontMgr: 1
Leaked SkWeakRefCnt: 1
Leaked SkTypeface: 1
Leaked SkFlattenable: 3
Leaked SkXfermode: 3
Leaked SkPathRef: 1
Leaked SkPixelRef: 1
Leaked SkMallocPixelRef: 1
becomes
Leaked SkXfermode: 3
Leaked SkMallocPixelRef: 1
Leaked SkPixelRef: 1
Leaked SkPathRef: 1
Leaked SkFlattenable: 3
Leaked SkTypeface: 1
Leaked SkWeakRefCnt: 1
Leaked SkFontMgr: 1
Leaked SkRefCntBase: 7

This is motivated by wanting to land https://codereview.chromium.org/806473006/,
which makes sure all static use of SkOnce are in global scope. The current
implementation of SkInstCnt uses them in function scope, which isn't safe.
BUG=skia:

No public API changes.
TBR=reed@google.com

Review URL: https://codereview.chromium.org/841263004
/external/skia/include/gpu/GrGpuResourceRef.h
932f8669875f5d63b8c04571931e6f4224e66e0b 24-Nov-2014 bsalomon <bsalomon@google.com> Create GrOptDrawState directly in the cmd buffer in GrIODB.

Review URL: https://codereview.chromium.org/746243002
/external/skia/include/gpu/GrGpuResourceRef.h
b03c4a35bd319d883925a39871b4972ff1b2c0cc 20-Nov-2014 bsalomon <bsalomon@google.com> Don't use NULL GrOptDrawState to indicate that draw should be skipped.

Review URL: https://codereview.chromium.org/742853002
/external/skia/include/gpu/GrGpuResourceRef.h
7eb8c7b00a5d776bebaf33a8687357df95c1aa43 18-Nov-2014 joshualitt <joshualitt@chromium.org> drawinfo carries bufferinfo

BUG=skia:

Review URL: https://codereview.chromium.org/737723003
/external/skia/include/gpu/GrGpuResourceRef.h
37dd331b20a92ce79cc26556e065dec98a66cb0b 03-Nov-2014 bsalomon <bsalomon@google.com> Add class GrGLTextureRenderTarget for GL texture/rendertarget objects

BUG=skia:2889

Review URL: https://codereview.chromium.org/695813003
/external/skia/include/gpu/GrGpuResourceRef.h
bcf0a52d4f4221b158e68a06ba0c4cc4db011060 08-Oct-2014 bsalomon <bsalomon@google.com> GrResourceCache2 manages scratch texture.

BUG=skia:2889

Review URL: https://codereview.chromium.org/608883003
/external/skia/include/gpu/GrGpuResourceRef.h
89af44a0f1323dc136b238c00ccf143e15abb243 26-Sep-2014 egdaniel <egdaniel@google.com> Split GrDrawState and GrOptDrawState into separate classes and remove base class.

Besides splitting the two classes, there are no logical changes here and mostly moving code around.

BUG=skia:
R=bsalomon@google.com

Author: egdaniel@google.com

Review URL: https://codereview.chromium.org/597323002
/external/skia/include/gpu/GrGpuResourceRef.h
45725db1d82615d43408ec488549aec6218f80e4 19-Sep-2014 bsalomon <bsalomon@google.com> Move IOType to GrGpuRef and rename that to GrIORef. Template GrPendingIORef on IOType.

BUG=skia:2889
R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/579403003
/external/skia/include/gpu/GrGpuResourceRef.h
b3e3a955b6628acc540ef14854b57abb089e62df 19-Sep-2014 bsalomon <bsalomon@google.com> Make GrIODB keep pending IO refs on all resources it records into its cmd stream.

BUG=skia:2889
R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/581123002
/external/skia/include/gpu/GrGpuResourceRef.h
f96ba02513eadd9fa24d75396ec9f2d6682e464c 17-Sep-2014 bsalomon <bsalomon@google.com> Rename GrProgramResource to GrGpuResourceRef

BUG=skia:2889
R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/574333003
/external/skia/include/gpu/GrGpuResourceRef.h