47710a52505e9b8d2ae6ef8521f6b7a022542b9e |
|
28-Mar-2018 |
Robert Phillips <robertphillips@google.com> |
Add new GrResourceCache::purgeUnlockedResources variant TBR=bsalomon@google.com Change-Id: I05bef1f8a271474db878a046cc1f6ac7b60a15f1 Reviewed-on: https://skia-review.googlesource.com/116801 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> (cherry picked from commit 6eba063b63efbf824aff8ec6b32af05e4d54c38b) Reviewed-on: https://skia-review.googlesource.com/116981
/external/skia/src/gpu/GrContext.cpp
|
10fc6fddf24878f4f34e75c1bcc11e4499edfcc0 |
|
02-Mar-2018 |
Brian Osman <brianosman@google.com> |
Revert "Revert "Add 1010102 support to Ganesh"" This reverts commit ded47a50143470d1acdafa03e878cc7da5608038. Bug: skia: Change-Id: I7d7552e6ccc8591cae91426407ab13b628b93b68 Reviewed-on: https://skia-review.googlesource.com/111760 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
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/gpu/GrContext.cpp
|
ded47a50143470d1acdafa03e878cc7da5608038 |
|
01-Mar-2018 |
Brian Osman <brianosman@google.com> |
Revert "Add 1010102 support to Ganesh" This reverts commit 44b61204d9f5681b9474db017577d56f42a32d66. Reason for revert: TSAN bot crashing Original change's description: > Add 1010102 support to Ganesh > > Adds gl1010102, gles1010102, vk1010102, and mtl1010102 > configs to DM. > > This uses the same saveLayer approach as CPU, switching > to 8888 so that we have enough alpha precision. > > Change-Id: I9f5b63747ec01031c8db97dadfc42f77e4863ccb > Reviewed-on: https://skia-review.googlesource.com/110500 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Osman <brianosman@google.com> TBR=mtklein@google.com,bsalomon@google.com,brianosman@google.com Change-Id: I782e740763044c1ae78fb219161e37eec7617c74 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/111580 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1056eb821f1f43b034962aa6defb80aeeb75d22d |
|
01-Mar-2018 |
Robert Phillips <robertphillips@google.com> |
Move atlas manager creation to GrContext derived classes (take 2) TBR=bsalomon@google.com Change-Id: Ie10b7e770e24104d10c36ce7882126dd8551a8ba Reviewed-on: https://skia-review.googlesource.com/110822 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c4039ea466d39ede0ea44fc7a18f1174f893f11d |
|
01-Mar-2018 |
Robert Phillips <robertphillips@google.com> |
Fission GrAtlasGlyphCache in two (take 2) Reland all the things This CL splits the old GrAtlasGlyphCache into a GrAtlasGlyphCache and an GrAtlasManager. The GrAtlasManager itself is split into a rather limited base class (GrRestrictedAtlasManager) and the all powerful GrAtlasManager. The GrRestrictedAtlasManager is available at op creation time and provides access to the proxies backing the atlases. The full GrAtlasManager is only available at flush time and allows instantiation of the proxies and uploading to them. In the DDL world all of the DDL Contexts will receive a GrRestrictedAtlasManager-version of the GrAtlasManager in the main thread. This future atlas manager will have had all of its GrDrawOpAtlases created (but not instantiated) so there should be no race conditions. TBR=jvanverth@google.com Change-Id: I05c6cd8d301bf2decca39765e5cae62993d9da04 Reviewed-on: https://skia-review.googlesource.com/111362 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
44b61204d9f5681b9474db017577d56f42a32d66 |
|
01-Mar-2018 |
Brian Osman <brianosman@google.com> |
Add 1010102 support to Ganesh Adds gl1010102, gles1010102, vk1010102, and mtl1010102 configs to DM. This uses the same saveLayer approach as CPU, switching to 8888 so that we have enough alpha precision. Change-Id: I9f5b63747ec01031c8db97dadfc42f77e4863ccb Reviewed-on: https://skia-review.googlesource.com/110500 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4bc7011802e411da74eb2d213d6328e42f7dce1c |
|
01-Mar-2018 |
Robert Phillips <robertphillips@google.com> |
Separate creation time & flush time behavior in GrDrawOpAtlas (take 3) This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. For the GrDrawOpAtlas: At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas It now carries a GrProxyProvider for when it needs to create an atlas It passes in a GrResourceProvider* at flush time to allow instantiation. It does not, yet, allocate that GrDrawOpAtlases it might ever require. TBR=bsalomon@google.com Change-Id: I276d339d81e7b709140e082a7b58c5584f73ab70 Reviewed-on: https://skia-review.googlesource.com/111100 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
ba7a16519468dc49ea02d9256ee06f319edf9511 |
|
28-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Revert "Revert "Revert "Separate creation time & flush time behavior in GrDrawOpAtlas (take 2)""" This reverts commit 934c3d0c548d254a0d986963ee751caf0ffcb500. Reason for revert: Chrome Original change's description: > Revert "Revert "Separate creation time & flush time behavior in GrDrawOpAtlas (take 2)"" > > This reverts commit 84d823a5e2a03b09f7db4964218b9e04e821c878. > > Reason for revert: The DFT diffs don't repro on Windows so I'm chalking it up to minor device differences > > Original change's description: > > Revert "Separate creation time & flush time behavior in GrDrawOpAtlas (take 2)" > > > > This reverts commit 96165ebeaa36a2aae0eedaf12d81f53d3caf999a. > > > > Reason for revert: DFT GMs w/ LCD text are slightly different > > > > Original change's description: > > > Separate creation time & flush time behavior in GrDrawOpAtlas (take 2) > > > > > > This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. > > > > > > For the GrDrawOpAtlas: > > > At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. > > > > > > The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush > > > > > > GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. > > > > > > During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. > > > > > > The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas > > > It now carries a GrProxyProvider for when it needs to create an atlas > > > It passes in a GrResourceProvider* at flush time to allow instantiation. > > > > > > It does not, yet, allocate that GrDrawOpAtlases it might ever require. > > > > > > Change-Id: Ie9b64b13e261b01ee14be09fbf7e17841b7781dc > > > Reviewed-on: https://skia-review.googlesource.com/109749 > > > Reviewed-by: Jim Van Verth <jvanverth@google.com> > > > Commit-Queue: Robert Phillips <robertphillips@google.com> > > > > TBR=jvanverth@google.com,robertphillips@google.com > > > > Change-Id: I62efc61c8394477e54d6e79fa2f65180c91a4515 > > No-Presubmit: true > > No-Tree-Checks: true > > No-Try: true > > Reviewed-on: https://skia-review.googlesource.com/110220 > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > Commit-Queue: Robert Phillips <robertphillips@google.com> > > TBR=jvanverth@google.com,robertphillips@google.com > > Change-Id: I7c87b4523f9b53285f0de5c2d741a25893522d9a > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/110221 > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=jvanverth@google.com,robertphillips@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I7dd73ab0159f38595f21b21eef3becc10aa0934d Reviewed-on: https://skia-review.googlesource.com/111080 Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5c56af1790f58e24d7e9a887c73637fee9b97b38 |
|
28-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Revert "Fission GrAtlasGlyphCache in two" This reverts commit acf17904d6286f2a63a5d895541804d0ea1be646. Reason for revert: Chrome Original change's description: > Fission GrAtlasGlyphCache in two > > This CL splits the old GrAtlasGlyphCache into a GrAtlasGlyphCache and an GrAtlasManager. > > The GrAtlasManager itself is split into a rather limited base class (GrRestrictedAtlasManager) > and the all powerful GrAtlasManager. The GrRestrictedAtlasManager is available at op creation > time and provides access to the proxies backing the atlases. The full GrAtlasManager is > only available at flush time and allows instantiation of the proxies and uploading to them. > > In the DDL world all of the DDL Contexts will receive a GrRestrictedAtlasManager-version of the > GrAtlasManager in the main thread. This future atlas manager will have had all of its > GrDrawOpAtlases created (but not instantiated) so there should be no race conditions. > > Change-Id: I9967d3a4116af50128f390c5039a712b8cd4db08 > Reviewed-on: https://skia-review.googlesource.com/108001 > Commit-Queue: Robert Phillips <robertphillips@google.com> > Reviewed-by: Jim Van Verth <jvanverth@google.com> TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I7c760ea1a9f041a310b96d552aa1497ee5902cd8 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/111040 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
0551818a01f5cab18a9660b4bb21d9f5890e3130 |
|
28-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Revert "Move atlas manager creation to GrContext derived classes" This reverts commit e5b7ceeac865fb8a3bab82a73d65752c78682718. Reason for revert: Breaking Mus/Viz tests in Chrome roll Original change's description: > Move atlas manager creation to GrContext derived classes > > This CL relies on: https://skia-review.googlesource.com/c/skia/+/108001 (Fission GrAtlasGlyphCache in two) > > TBR=bsalomon@google.com > Change-Id: Ic3f91cea2238221b970f8ebbda99b10202925cd8 > Reviewed-on: https://skia-review.googlesource.com/110621 > Commit-Queue: Robert Phillips <robertphillips@google.com> > Reviewed-by: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I3973463b7b837145d9732171a91d82f0f0cea148 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/110821 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3d86a19f420c2b406620b086c319732eb4135d33 |
|
27-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Refactor GrCaps::renderTargetWritePixelsSupported to support for some GL workarounds Make indirect path in writeSurfacePixels2 use a copy rather than a draw. Fix issue in GrVkGpu where render target dirty region is not updated after copy-as-draw Remove unnecessary resolve of MSAA RT in GrVkCopyManager. Splits WritePixelsNonTexture_Gpu test into MSAA and non-MSAA variants. MSAA variant blacklisted on Adreno because of: Bug: skia:7663 ~~~~~~AND~~~~~~~ Revert "Suppress CopySurface test on Nexus 7" This reverts commit b42b6169d52408a1712c2740655300465cd6ff1e. Bug: skia:7658 Change-Id: I8337d718efb41e266537744bbf5ff8b1545322a7 Reviewed-on: https://skia-review.googlesource.com/110700 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e5b7ceeac865fb8a3bab82a73d65752c78682718 |
|
28-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Move atlas manager creation to GrContext derived classes This CL relies on: https://skia-review.googlesource.com/c/skia/+/108001 (Fission GrAtlasGlyphCache in two) TBR=bsalomon@google.com Change-Id: Ic3f91cea2238221b970f8ebbda99b10202925cd8 Reviewed-on: https://skia-review.googlesource.com/110621 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
acf17904d6286f2a63a5d895541804d0ea1be646 |
|
27-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Fission GrAtlasGlyphCache in two This CL splits the old GrAtlasGlyphCache into a GrAtlasGlyphCache and an GrAtlasManager. The GrAtlasManager itself is split into a rather limited base class (GrRestrictedAtlasManager) and the all powerful GrAtlasManager. The GrRestrictedAtlasManager is available at op creation time and provides access to the proxies backing the atlases. The full GrAtlasManager is only available at flush time and allows instantiation of the proxies and uploading to them. In the DDL world all of the DDL Contexts will receive a GrRestrictedAtlasManager-version of the GrAtlasManager in the main thread. This future atlas manager will have had all of its GrDrawOpAtlases created (but not instantiated) so there should be no race conditions. Change-Id: I9967d3a4116af50128f390c5039a712b8cd4db08 Reviewed-on: https://skia-review.googlesource.com/108001 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
f44cb487523c21b3998772458726b958c31f31be |
|
27-Feb-2018 |
Greg Daniel <egdaniel@google.com> |
Fix unit tests that were causes vulkan unitialized memory warnings in validation Bug: skia: Change-Id: Id9df92b76c9f948f41f4108bcecdb2687233f841 Reviewed-on: https://skia-review.googlesource.com/110761 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5f33a8ccac141dfaddddc7b9fc39a8428cc233fe |
|
26-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Start on new GPU pixel ops implementation. The new ops attempt to be less optimal by falling back to CPU conversions rather than relying on intermediate draws and complex coordination between GrContext and GrGpu to determine how conversions are performed. This adds the new writePixels implementation. Change-Id: I7496d86d5a40277ed2ca63668881c160e54d80d3 Reviewed-on: https://skia-review.googlesource.com/109880 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
934c3d0c548d254a0d986963ee751caf0ffcb500 |
|
26-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Revert "Revert "Separate creation time & flush time behavior in GrDrawOpAtlas (take 2)"" This reverts commit 84d823a5e2a03b09f7db4964218b9e04e821c878. Reason for revert: The DFT diffs don't repro on Windows so I'm chalking it up to minor device differences Original change's description: > Revert "Separate creation time & flush time behavior in GrDrawOpAtlas (take 2)" > > This reverts commit 96165ebeaa36a2aae0eedaf12d81f53d3caf999a. > > Reason for revert: DFT GMs w/ LCD text are slightly different > > Original change's description: > > Separate creation time & flush time behavior in GrDrawOpAtlas (take 2) > > > > This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. > > > > For the GrDrawOpAtlas: > > At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. > > > > The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush > > > > GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. > > > > During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. > > > > The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas > > It now carries a GrProxyProvider for when it needs to create an atlas > > It passes in a GrResourceProvider* at flush time to allow instantiation. > > > > It does not, yet, allocate that GrDrawOpAtlases it might ever require. > > > > Change-Id: Ie9b64b13e261b01ee14be09fbf7e17841b7781dc > > Reviewed-on: https://skia-review.googlesource.com/109749 > > Reviewed-by: Jim Van Verth <jvanverth@google.com> > > Commit-Queue: Robert Phillips <robertphillips@google.com> > > TBR=jvanverth@google.com,robertphillips@google.com > > Change-Id: I62efc61c8394477e54d6e79fa2f65180c91a4515 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/110220 > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=jvanverth@google.com,robertphillips@google.com Change-Id: I7c87b4523f9b53285f0de5c2d741a25893522d9a No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/110221 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
84d823a5e2a03b09f7db4964218b9e04e821c878 |
|
26-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Revert "Separate creation time & flush time behavior in GrDrawOpAtlas (take 2)" This reverts commit 96165ebeaa36a2aae0eedaf12d81f53d3caf999a. Reason for revert: DFT GMs w/ LCD text are slightly different Original change's description: > Separate creation time & flush time behavior in GrDrawOpAtlas (take 2) > > This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. > > For the GrDrawOpAtlas: > At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. > > The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush > > GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. > > During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. > > The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas > It now carries a GrProxyProvider for when it needs to create an atlas > It passes in a GrResourceProvider* at flush time to allow instantiation. > > It does not, yet, allocate that GrDrawOpAtlases it might ever require. > > Change-Id: Ie9b64b13e261b01ee14be09fbf7e17841b7781dc > Reviewed-on: https://skia-review.googlesource.com/109749 > Reviewed-by: Jim Van Verth <jvanverth@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=jvanverth@google.com,robertphillips@google.com Change-Id: I62efc61c8394477e54d6e79fa2f65180c91a4515 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/110220 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
96165ebeaa36a2aae0eedaf12d81f53d3caf999a |
|
23-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Separate creation time & flush time behavior in GrDrawOpAtlas (take 2) This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. For the GrDrawOpAtlas: At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas It now carries a GrProxyProvider for when it needs to create an atlas It passes in a GrResourceProvider* at flush time to allow instantiation. It does not, yet, allocate that GrDrawOpAtlases it might ever require. Change-Id: Ie9b64b13e261b01ee14be09fbf7e17841b7781dc Reviewed-on: https://skia-review.googlesource.com/109749 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
59ddc6d5ee39c026e78bf39361cc788e30ca0afa |
|
21-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Revert "Separate creation time & flush time behavior in GrDrawOpAtlas" This reverts commit 056c1a821afcfbe606615ad1a7d1b554549d0846. Reason for revert: GM issues Original change's description: > Separate creation time & flush time behavior in GrDrawOpAtlas > > This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. > > For the GrDrawOpAtlas: > At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. > > The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush > > GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. > > During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. > > The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas > It now carries a GrProxyProvider for when it needs to create an atlas > It passes in a GrResourceProvider* at flush time to allow instantiation. > > It does not, yet, allocate that GrDrawOpAtlases it might ever require. > > Change-Id: I54909b7a3ba4bec2db5f1218f6a2a3a1636f66d6 > Reviewed-on: https://skia-review.googlesource.com/108520 > Commit-Queue: Robert Phillips <robertphillips@google.com> > Reviewed-by: Jim Van Verth <jvanverth@google.com> TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I36eafe46209380f533aa84e831d1c9d18844b6be No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/109280 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
056c1a821afcfbe606615ad1a7d1b554549d0846 |
|
21-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Separate creation time & flush time behavior in GrDrawOpAtlas This CL clarifies what is going on in the GrDrawOpAtlas and GrAtlasGlyphCache. For the GrDrawOpAtlas: At creation time all the allowed pages are created (with their backing GrTextureProxies) but they aren't instantiated. The GrDrawOpAtlas::instantiate call is called in preFlushCB and allocates any pages known to be needed at the start of flush GrDrawOpAtlas::addToAtlas is called at flush time and, if a new page is activated, will instantiated it at that time. During compaction, an unused page will be deInstantiated but its Plots and backing GrTextureProxy will remain alive. The GrAtlasGlyphCache reflects the changes to the GrDrawOpAtlas It now carries a GrProxyProvider for when it needs to create an atlas It passes in a GrResourceProvider* at flush time to allow instantiation. It does not, yet, allocate that GrDrawOpAtlases it might ever require. Change-Id: I54909b7a3ba4bec2db5f1218f6a2a3a1636f66d6 Reviewed-on: https://skia-review.googlesource.com/108520 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c320b1576850745a1011ada0bcef3de5f9b9f649 |
|
20-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Introduce GrColorType This begins the journey towards using different types to refer to CPU data and GPU texture formats. This is one part of removing GrPixelConfig and more directly using GL/VK texture formats GrColorType represents a particular layout of color/gray/alpha channels in CPU memory. It does not refer to texture formats or sRGB-encoding. It is basically SkColorType specialized to the GPU backend with some formats added and some removed. Read/WritePixel interfaces use GrColorType to describe the CPU side of the transaction. There's still a lot of punting to GrPixelConfig in API-specific code. There's a lot more to be done. Bug: 6718 Bug: 7580 Change-Id: I8d813ae9a4416a06596f22a4b87da02091989718 Reviewed-on: https://skia-review.googlesource.com/107264 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
303cd58870cf1d0d128ff3f37d1dc26778cad5af |
|
15-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Update GrTextBlobCache for DDL Although, theoretically, we could update the DDLs to maintain pointers to the GrMemoryPools being used by their GrAtlasTextBlobs this method seems simpler. Change-Id: I4835284630b9cd29eb78cf25bcdfe5c56974a8cb Reviewed-on: https://skia-review.googlesource.com/107345 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
9b009bb069aa81425438d5403a1a29f2d047f77f |
|
14-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Prepare sRGB encoding conversion for the removal of GrPixelConfig Standardizes that GrGpu subclass's onRead/WritePixels never do sRGB<->linear conversion. This means that they can eventually take a color type rather than config. It also means direct callers of GrGpu::read/writePixels can never expect conversion (which in practice is no change). Consolidate logic about whether to do sRGB<->linear encoding conversions in GrContext::read/writeSurfacePixels helpers. No change in when conversions are done (yet). This prepares this logic to operate on SkColorSpace and color type rather than config WRT the CPU data. Bug: skia:6718 Change-Id: I346d669624861578f1bb9ea465a7ab4b549117fa Reviewed-on: https://skia-review.googlesource.com/105286 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.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/gpu/GrContext.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/gpu/GrContext.cpp
|
8a83ca4e9afc9e3c08b4e8c33a74392f9b3154d7 |
|
12-Feb-2018 |
Brian Osman <brianosman@google.com> |
Add "sharpen" option to SkSL, to LOD bias all textures This adds a fixed bias (-0.5) to the computed LOD of all mip-mapped texture fetches. (Technically, to all texture fetches, but that only matters for mip-mapped ones). Clients can opt-in with a new GrContextOption. Bug: skia:7541 Bug: chromium:562162 Change-Id: Ie3cd0679c4ab66f62d2dc32e7e68e5c99355115e Reviewed-on: https://skia-review.googlesource.com/106322 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.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/gpu/GrContext.cpp
|
366093f2124c38fa5c590c9ed2d1811817fed8ee |
|
13-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Make it so that GrSurfaceContext with a sRGB GrPixelConfig must have a color space with a sRGB-like gamma. Change-Id: I99b80a9846caacd6848b0f9f55ed0f7f23e69b90 Reviewed-on: https://skia-review.googlesource.com/106640 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7fcfb621998648ba018e3b89e2cab3135bd46a1f |
|
09-Feb-2018 |
Mike Reed <reed@google.com> |
move a bunch of helpers from SkImageInfo.h into priv Bug: skia: Change-Id: I8c91cfdb89e4f22448d1201d391556fe43d86dca Reviewed-on: https://skia-review.googlesource.com/105289 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Reviewed-by: Cary Clark <caryclark@google.com>
/external/skia/src/gpu/GrContext.cpp
|
db9ee2d202e813bf7595713bf114a25d585f0172 |
|
08-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Remove unused class GrDDLGpu Change-Id: I66c0bb988e187cb6be43b2d2a726023b0bb25b69 Reviewed-on: https://skia-review.googlesource.com/105764 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4150eea6c49ecec882a8d3e1c61d6a25fcd1e905 |
|
07-Feb-2018 |
Robert Phillips <robertphillips@google.com> |
Move control of explicit GPU resource allocation to GrContextOptions Change-Id: Ic284acc79bab5936f0007d5ae5fb1e7a9929e2af Reviewed-on: https://skia-review.googlesource.com/104880 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5711133a1b216bfa5d1d24aaffd32dc02c64b333 |
|
05-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Remove integer texture support Change-Id: I0db1c4d705711b8d980bbe0d986013daec6c8ef3 Reviewed-on: https://skia-review.googlesource.com/103762 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
bdecacfbe47bc7211336bb847bb33c00ef85ea3e |
|
03-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" This reverts commit 3a2cc2c2ec124de36d2544b2a523ef1dd317ca32. Fix code with samplecnt=0 that slipped in between trybots/CQ and landing of previous version Change-Id: Iab19f2e8d1e9901601c8c76244d7a88c5d707fab Reviewed-on: https://skia-review.googlesource.com/103181 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3a2cc2c2ec124de36d2544b2a523ef1dd317ca32 |
|
03-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend.""""" This reverts commit 5bb82cbecd740d21b92e8d2944280ab6eb6af7a6. Reason for revert: <INSERT REASONING HERE> Original change's description: > Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""" > > This reverts commit 18c52a7b52211de5d0dcd86dc048adef758c6c75. > > Also relands "More sample count cleanup:" and "Add new GrContext queries for imagability, surfacability, and max sample count of color types" > > > Bug: skia: > Change-Id: I4028105a3a1f16ce3944e134619eb6245af6b947 > Reviewed-on: https://skia-review.googlesource.com/102940 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> TBR=egdaniel@google.com,bsalomon@google.com Change-Id: Idee23be2f1719f0bdc9305043e95a2d589bee8d1 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/103220 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5bb82cbecd740d21b92e8d2944280ab6eb6af7a6 |
|
02-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""" This reverts commit 18c52a7b52211de5d0dcd86dc048adef758c6c75. Also relands "More sample count cleanup:" and "Add new GrContext queries for imagability, surfacability, and max sample count of color types" Bug: skia: Change-Id: I4028105a3a1f16ce3944e134619eb6245af6b947 Reviewed-on: https://skia-review.googlesource.com/102940 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
18c52a7b52211de5d0dcd86dc048adef758c6c75 |
|
02-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend.""" This reverts commit d0d7270fcc32546005b8e847df516cb11592cd30. Revert "More sample count cleanup:" This reverts commit d653cac70ed17983125ceed053138c09f1401846. Revert "Add new GrContext queries for imagability, surfacability, and max sample count of color types" This reverts commit 85ae7159c9c8a9186a4c7e74304eabb35bca9a79. Need to understand NVPR perf changes before relanding Change-Id: I0db075fb42438ef2a1f9885df184dce52892ac4b Reviewed-on: https://skia-review.googlesource.com/102780 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
85ae7159c9c8a9186a4c7e74304eabb35bca9a79 |
|
02-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Add new GrContext queries for imagability, surfacability, and max sample count of color types Bug: skia:7538 Change-Id: I235fc1aa947ba57faa7aef5e7e7ce9241b315fff Reviewed-on: https://skia-review.googlesource.com/99704 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d653cac70ed17983125ceed053138c09f1401846 |
|
01-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
More sample count cleanup: rename getSampleCount -> getRenderTargetSampleCount because it will return 0 when a config is not renderable but *is* supported as a texture format. (Old name kept around until Chrome stops calling it) Add virtual GrCaps::maxRenderTargetSampleCount(GrPixelConfig). Devirtualize isConfigRenderable() and implement as maxRTSC != 0. Separate implementation for version with bool withMSAA param to be removed after Flutter is updated to no longer call. Consolidate various file static GrSurfaceDesc validators fns into GrCaps::validateSurfaceDesc(). Bug: skia: Change-Id: Ie30a291aa027e910df3bd90fac8518ccdb39e53f Reviewed-on: https://skia-review.googlesource.com/102141 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d0d7270fcc32546005b8e847df516cb11592cd30 |
|
01-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Redefine the meaning of sample counts in GPU backend."" Fixes gpu config default samples to be 1 and updates config parsing test accordingly. This reverts commit c1ce2f7966babaae0deb150f93f1227ee5af9285. Bug: skia: Change-Id: I456973b1f52ced85a2011ea10fc49449bfc5846f Reviewed-on: https://skia-review.googlesource.com/102147 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c1ce2f7966babaae0deb150f93f1227ee5af9285 |
|
01-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Revert "Redefine the meaning of sample counts in GPU backend." This reverts commit 48825b11ad25c98b9a4884d5cc0edd4e290c4409. Reason for revert: nanobench Original change's description: > Redefine the meaning of sample counts in GPU backend. > > Old: 0 -> nonMSAA > 1+ -> MSAA > > New: > 0 -> error/unsupported > 1 -> nonMSAA > 2+ -> MSAA > > We still allow 0 to mean nonMSAA in three sets of public APIs for backwards compatibility: > > 1) SkSurface factories > 2) GrBackendRenderTarget constructors > 3) GrCaps::getSampleCnt()'s requestedCount parameter > > However, we immediately clamp to 1 and treat 0 as invalid/non-renderable internally. > > This also changes the behavior when using a large sample count. We now fail in that case rather than using the largest sample available sample count. GrCaps::getSampleCount() will return 0 in this case. > > > Bug: skia: > Change-Id: Ida22c6b22c1365e563c9046b611e88bf5eb3ff33 > Reviewed-on: https://skia-review.googlesource.com/101560 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> TBR=egdaniel@google.com,bsalomon@google.com Change-Id: Ic257619a8a5ee9ac15419ecf10259e42daed7f82 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/102662 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
48825b11ad25c98b9a4884d5cc0edd4e290c4409 |
|
01-Feb-2018 |
Brian Salomon <bsalomon@google.com> |
Redefine the meaning of sample counts in GPU backend. Old: 0 -> nonMSAA 1+ -> MSAA New: 0 -> error/unsupported 1 -> nonMSAA 2+ -> MSAA We still allow 0 to mean nonMSAA in three sets of public APIs for backwards compatibility: 1) SkSurface factories 2) GrBackendRenderTarget constructors 3) GrCaps::getSampleCnt()'s requestedCount parameter However, we immediately clamp to 1 and treat 0 as invalid/non-renderable internally. This also changes the behavior when using a large sample count. We now fail in that case rather than using the largest sample available sample count. GrCaps::getSampleCount() will return 0 in this case. Bug: skia: Change-Id: Ida22c6b22c1365e563c9046b611e88bf5eb3ff33 Reviewed-on: https://skia-review.googlesource.com/101560 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.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/gpu/GrContext.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/gpu/GrContext.cpp
|
33bf56d6b48180ca48c85de0f4f0747b61c1d315 |
|
26-Jan-2018 |
Brian Salomon <bsalomon@google.com> |
Remove GrContext::getRecommendedSampleCount and SkPictureContentInfo::suitableForGpuRasterization Change-Id: I8c5521f87c5eae185e68622aa104cb8911efa8c8 Reviewed-on: https://skia-review.googlesource.com/100183 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 |
|
25-Jan-2018 |
Jim Van Verth <jvanverth@google.com> |
Use int when possible to calculate atlas indices in shaders. On certain iOS devices half has a mantissa of only 10 bits, which is not enough to perform the floating point trickery to get the lower bits out of the "texture coordinates". Instead we use int if available, and float if not available. Also re-enables multitexturing for iOS and adds a sample which stresses the issue, and a version of fontcache that tests multitexturing. Bug: skia:7285 Change-Id: Ia541b6a418c1860c941071750ceb26459eb846ea Reviewed-on: https://skia-review.googlesource.com/99800 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2e6feed858c2b14b9083cf7d2b040a177dcb62ea |
|
22-Jan-2018 |
Robert Phillips <robertphillips@google.com> |
Fix crash in ~GrContext BUG=804352, 804111 Change-Id: Ia8475a4a8a6de77438cde7df53931dc70c405b16 Reviewed-on: https://skia-review.googlesource.com/98341 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.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/gpu/GrContext.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/GrContext.cpp
|
be46e24d57537f7ab6854fcd6f6ec07e2c50495c |
|
16-Jan-2018 |
Hal Canary <halcanary@google.com> |
Revert "Move resourceProvider accessor to GrContextPriv" This reverts commit 1f9ed8501b0007846b3032f4bfc38aee98c175a1. Reason for revert: 1. breaking android roll 2. breaking Build-Debian9-Clang-arm-Release-Android_API26 Original change's description: > Move resourceProvider accessor to GrContextPriv > > Change-Id: I5cddd620a7ec4b006b7359864ede58e9d4dd684e > Reviewed-on: https://skia-review.googlesource.com/94340 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I20b2d267c0925f20453b635663654967199a1197 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/94964 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1f9ed8501b0007846b3032f4bfc38aee98c175a1 |
|
16-Jan-2018 |
Robert Phillips <robertphillips@google.com> |
Move resourceProvider accessor to GrContextPriv Change-Id: I5cddd620a7ec4b006b7359864ede58e9d4dd684e Reviewed-on: https://skia-review.googlesource.com/94340 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
0bd24dc41f2351d84f5fce32130668a5792d134b |
|
16-Jan-2018 |
Robert Phillips <robertphillips@google.com> |
Funnel most proxy creation through GrProxyProvider This is to provide a choke point for DDL to create Lazy Proxies. Change-Id: If178da13bc6447b31b7601810236d34502d9efbd Reviewed-on: https://skia-review.googlesource.com/93303 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1afd4cdb0800e2e395b465da24eb71e0e834dafa |
|
08-Jan-2018 |
Robert Phillips <robertphillips@google.com> |
Add GrProxyProvider This pulls all the proxy tracking & creation functionality out of the GrResourceCache and GrResourceProvider and consolidates it in the GrProxyProvider. Change-Id: I7256f7c544319a70c1bd93dd5a9ccbe5fa0a544f Reviewed-on: https://skia-review.googlesource.com/91501 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
b5086961f335d6757a88ce7507c445485aaba2e6 |
|
13-Dec-2017 |
Brian Salomon <bsalomon@google.com> |
Add matrix stack to SkAtlasTextTarget. Makes SkAtlasTextRenderer::SDFVertex now has a 3 component position vector. Change-Id: I7ec1a8068fb84388a82e1748d6e9d02820d55abd Reviewed-on: https://skia-review.googlesource.com/84202 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
474d68791965f20f8e0dfa2bfb4d87300f1f29e0 |
|
14-Dec-2017 |
Jim Van Verth <jvanverth@google.com> |
Send TextBlobCache purge messages only to owning cache. Bug: 703297 Change-Id: I95cdaa5bdebadd5ce88ae3ee468c59baa08353c6 Reviewed-on: https://skia-review.googlesource.com/85046 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.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/gpu/GrContext.cpp
|
76d917cef19aabfdc1247336f58237800bd71875 |
|
13-Dec-2017 |
Jim Van Verth <jvanverth@google.com> |
Ensure we flush TextBlobCache message queue. If we create and delete TextBlobs without actually renderering them, their deletion messages can back up in the message queue. This adds a routine to GrContext to ensure these messages get flushed. Bug: 703297 Change-Id: Icc222373ac2a954dc3b77190cad79070ea562ba2 Reviewed-on: https://skia-review.googlesource.com/82686 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
eace8cd22a65b1a47efc100639851f77a50f69b3 |
|
08-Dec-2017 |
Brian Salomon <bsalomon@google.com> |
Use sk_sp to own GrCaps in GrContext. Change-Id: I46cd37132ecdf0f93be4509c6a06fb74cb185076 Reviewed-on: https://skia-review.googlesource.com/82625 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
990014d082e82e34ae53de05fabc012af3a24778 |
|
07-Dec-2017 |
Brian Salomon <bsalomon@google.com> |
Temporarily readd old signature of GrContext::MakeGL Change-Id: I9c785dd2fd14e422b7e84067053d0565a4d782b6 Reviewed-on: https://skia-review.googlesource.com/82340 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
384fab467e2a5f1754ec26eecde946ce28046d20 |
|
07-Dec-2017 |
Brian Salomon <bsalomon@google.com> |
sk_spification of GrGpu creation. Make GrContext::MakeGL take interface as sk_sp. Make GrContext::MakeVulkan take GrVkBackendContext as sk_sp. Change-Id: I13c22a57bd281c51738f503d9ed3418d35a466df Reviewed-on: https://skia-review.googlesource.com/81842 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
8d1e67ed6b75909ac20211ae3aec130587920cec |
|
04-Dec-2017 |
Robert Phillips <robertphillips@google.com> |
Add resource cache limits to SkSurfaceCharacterization Change-Id: I4c3b2f1c6ecc39b2364cefae07d5dee5e3d20d60 Reviewed-on: https://skia-review.googlesource.com/79600 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c02cb8a86ce801f471a8cf7bd46880648c48f089 |
|
20-Nov-2017 |
Jim Van Verth <jvanverth@google.com> |
Revert "Use int when possible to calculate atlas indices in shaders." This reverts commit 999ec57291dc7cf1d8e3a745627670e6cadc1c12. Reason for revert: Causing issues with NexusPlayer Vulkan. Original change's description: > Use int when possible to calculate atlas indices in shaders. > > On certain iOS devices half has a mantissa of only 10 bits, which is not > enough to perform the floating point trickery to get the lower bits > out of the "texture coordinates". Instead we use int if available, and > float if not available. > > Also re-enables multitexturing for iOS and adds a sample which > stresses the issue. > > Bug: skia:7285 > Change-Id: I365532c7cbbcca7c7753af209bef46e05be49e11 > Reviewed-on: https://skia-review.googlesource.com/71181 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Jim Van Verth <jvanverth@google.com> TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I82801a73a2a8067588049b213f010ff25f4014f3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:7285 Reviewed-on: https://skia-review.googlesource.com/74001 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
999ec57291dc7cf1d8e3a745627670e6cadc1c12 |
|
20-Nov-2017 |
Jim Van Verth <jvanverth@google.com> |
Use int when possible to calculate atlas indices in shaders. On certain iOS devices half has a mantissa of only 10 bits, which is not enough to perform the floating point trickery to get the lower bits out of the "texture coordinates". Instead we use int if available, and float if not available. Also re-enables multitexturing for iOS and adds a sample which stresses the issue. Bug: skia:7285 Change-Id: I365532c7cbbcca7c7753af209bef46e05be49e11 Reviewed-on: https://skia-review.googlesource.com/71181 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
09b8c91b696925c6c6a25c35173f2da27abf0fbe |
|
15-Nov-2017 |
Jim Van Verth <jvanverth@google.com> |
Temporarily disable multitexturing for iOS Bug: skia:7285 Change-Id: Ia55084334dab7b1887320348fa7d291f64332fdb Reviewed-on: https://skia-review.googlesource.com/71780 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
aae47c878b83ab6d9742d92a6fa47e762f6b9204 |
|
10-Nov-2017 |
Ethan Nicholas <ethannicholas@google.com> |
sksl enum support Bug: skia: Change-Id: I4d505b31cf8b59de12bcdbca410aafc085977ba9 Reviewed-on: https://skia-review.googlesource.com/68621 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
/external/skia/src/gpu/GrContext.cpp
|
af597481143ca4b17884360604be954a71cc34cf |
|
07-Nov-2017 |
Brian Salomon <bsalomon@google.com> |
Add GrContextOptions to control distance field thresholds for small sizes and fallback to paths. Change-Id: Ib57c40b1b50c5afe079b2099d1a83986629ea287 Reviewed-on: https://skia-review.googlesource.com/68217 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
9f545bc18a1fdff64d40104028c6d8449e660a6e |
|
06-Nov-2017 |
Brian Salomon <bsalomon@google.com> |
Modify fontcache GM to actually spill atlas. Adds an option to GrDrawOpAtlas to disable multitexturing. Adds option to GrContextOptions to disable multitexturing for glyph atlases. Change-Id: If413ab7061538fa0e75628d252be4fd14215b6ba Reviewed-on: https://skia-review.googlesource.com/67802 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d1b2eec0d0f95977b52669025cb25038618c0335 |
|
01-Nov-2017 |
Ethan Nicholas <ethannicholas@google.com> |
API to cache shader binaries between runs of Skia. This CL does not include an actual implementation of said cache. Stan is working on the cache implementation on the Android side of things. Bug: skia: Change-Id: Iabe4f19b2dbacaaa1ead8bb3fa68d88c687b9a84 Reviewed-on: https://skia-review.googlesource.com/54780 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
/external/skia/src/gpu/GrContext.cpp
|
45d6303f6e8403db9499ab28494f672b2bcd034e |
|
30-Oct-2017 |
Greg Daniel <egdaniel@google.com> |
Have mip status match surface when snapping image from wrapped object Also fixes some bugs involved with creating mipped SkSurfaces. Bug: skia: Change-Id: I6e0109000eadd2bdee4a907d3ee2231104528165 Reviewed-on: https://skia-review.googlesource.com/65063 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.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/GrContext.cpp
|
f3569f0f6d312570c7344b345f8b3a03a892f751 |
|
24-Oct-2017 |
Brian Salomon <bsalomon@google.com> |
Add GrColorSpaceInfo and use in place of GrRenderTargetContext in paint conversion. This moves us closer to making GrAtlasTextContext and related classes usable without a GrRenderTargetContext. Change-Id: Ife52d69a3f925e23da88043acb4d8dc9f672a025 Reviewed-on: https://skia-review.googlesource.com/63304 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2240be96d97b5ac0886381d74a21f1e2a0928f55 |
|
18-Oct-2017 |
Brian Osman <brianosman@google.com> |
Remove color space xform from GrTextureDomain & GrSimpleTextureEffect Bug: skia: Change-Id: I31435d334da28cce9bbc654c4b98746b03078897 Reviewed-on: https://skia-review.googlesource.com/61460 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7bbbf62d6ec14aea43e7dff7933bf9fb98575dca |
|
17-Oct-2017 |
Robert Phillips <robertphillips@google.com> |
Fix GrContext::writePixels bug Bug: 769760 Change-Id: I63603c036a8eef5eec66afb6ac4e937f556bbb63 Reviewed-on: https://skia-review.googlesource.com/59681 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e1da1d9a7dfa6c9ebdcbd2845acebd045edd2a6f |
|
06-Oct-2017 |
Greg Daniel <egdaniel@google.com> |
Add option to create a deferred render target context with mips We need this since we have texture generators that draw the base level but nothing more. Thus we want them to be able to directly draw into a pre allocated mipped target instead of doing a copy later. TBR: bsalomon@google.com Bug: skia: Change-Id: I1dfae0da7153b21b30fdfa51a7061fc255739a1e Reviewed-on: https://skia-review.googlesource.com/54100 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
106b5c4917636d3df70ee6f59661ac5fa506d087 |
|
26-Sep-2017 |
Jim Van Verth <jvanverth@google.com> |
Shrink GrDrawOpAtlases when no longer needed, take 2. Bug: skia:3550 Change-Id: Id483a76b9edcf29f7ea0aad0dd8946a3655ba8f2 Reviewed-on: https://skia-review.googlesource.com/50600 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4935a019125a15f8c56bfd2a6b3d3629a64cad33 |
|
22-Sep-2017 |
Jim Van Verth <jvanverth@google.com> |
Revert "Shrink GrDrawOpAtlases when no longer needed" This reverts commit 7cf59526c9b1ab3682e875d449200e51f3b6ff32. Reason for revert: Red red bots... it's tearing me apart... Original change's description: > Shrink GrDrawOpAtlases when no longer needed > > Bug: skia:3550 > Change-Id: I7b09aa2b0fd22ed99694f32f9f395392ef80e238 > Reviewed-on: https://skia-review.googlesource.com/49901 > Commit-Queue: Jim Van Verth <jvanverth@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I8331ec79b0796e1f75d7cc53b9753f886aea7fcd No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:3550 Reviewed-on: https://skia-review.googlesource.com/50220 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7cf59526c9b1ab3682e875d449200e51f3b6ff32 |
|
22-Sep-2017 |
Jim Van Verth <jvanverth@google.com> |
Shrink GrDrawOpAtlases when no longer needed Bug: skia:3550 Change-Id: I7b09aa2b0fd22ed99694f32f9f395392ef80e238 Reviewed-on: https://skia-review.googlesource.com/49901 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
09dfc4759e99229e7c74891a88596e8b9b3d9026 |
|
13-Sep-2017 |
Robert Phillips <robertphillips@google.com> |
Pull non-substantive changes out of explicit GPU resource allocation CL Change-Id: Ib6a289553ecd15c722599b7dc0d347a7800801cb Reviewed-on: https://skia-review.googlesource.com/46284 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
195c05b6d5afbd65f803816938e24eebd51292c8 |
|
30-Aug-2017 |
Brian Osman <brianosman@google.com> |
Move several GrContextOptions fields behind GR_TEST_UTILS Bug: skia: Change-Id: I35bc08ad72fb94d8e47fe342d314c4496b954226 Reviewed-on: https://skia-review.googlesource.com/40881 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fb4a20c7f54110d6c43dee4b78801c163ad6c8f3 |
|
29-Aug-2017 |
Robert Phillips <robertphillips@google.com> |
Remove kDefault_GrSurfaceOrigin Change-Id: Ic55d488287add32e5a32b5a77415e16cebf4c1ee Reviewed-on: https://skia-review.googlesource.com/29120 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
b350ae24d5356ac094982aee2f45c90216db35db |
|
29-Aug-2017 |
Brian Osman <brianosman@google.com> |
Add GrContextOption to disable distance field path renderer We're going to hide the path renderer bitfield behind a testing-only flag, but clients may want to suppress this path renderer in particular, so a dedicated flag makes sense. Bug: skia: Change-Id: I6cc4049243b5d3c129a824dfe7c1a65a70a05ccd Reviewed-on: https://skia-review.googlesource.com/40083 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.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/GrContext.cpp
|
51279987957a64d0f1a9cf7d299a8689734a0e50 |
|
23-Aug-2017 |
Brian Osman <brianosman@google.com> |
Add an (optional) SkTaskGroup to GrContext GrContextOptions has an SkExecutor field, allowing clients to supply a thread pool. If present, the GrContext will create an SkTaskGroup that can be used for internal threading work. Bug: skia: Change-Id: I8b01245515a21a83f9fe838caf0a01c9a26c0003 Reviewed-on: https://skia-review.googlesource.com/37580 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
aff329b8e9b239bca1d93b13a914fbef45ccf7fe |
|
11-Aug-2017 |
Brian Salomon <bsalomon@google.com> |
Make GrFragmentProcessor be non-refcounted and use std::unique_ptr. Change-Id: I985e54a071338e99292a5aa2f42c92bc115b4008 Reviewed-on: https://skia-review.googlesource.com/32760 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
71a1889a1432715e515e000f1f4ef277e90e9ae1 |
|
10-Aug-2017 |
Brian Osman <brianosman@google.com> |
Revert "Revert "GrContext::dump that produces JSON formatted output"" This reverts commit 0f450acd76fd58a2f7464f99869ed6afbfac303c. Bug: skia: Change-Id: I97428fbbc6d82bf8b186ec5fdbf1a939c00e4126 Reviewed-on: https://skia-review.googlesource.com/32726 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
0f450acd76fd58a2f7464f99869ed6afbfac303c |
|
09-Aug-2017 |
Brian Osman <brianosman@google.com> |
Revert "GrContext::dump that produces JSON formatted output" This reverts commit 175af0d01177fc6e5a81e979cd2ae3009c375940. Reason for revert: Chrome doesn't know about portable format specifiers. Sigh. Original change's description: > GrContext::dump that produces JSON formatted output > > Includes caps, GL strings, and extensions > > Bug: skia: > Change-Id: I1e8b3dd50fb68357f9de8ca6149cf65443d027ef > Reviewed-on: https://skia-review.googlesource.com/32340 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> TBR=bsalomon@google.com,brianosman@google.com Change-Id: Ie280b25275725f0661da7541f54ed62897abb82f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/32861 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
175af0d01177fc6e5a81e979cd2ae3009c375940 |
|
09-Aug-2017 |
Brian Osman <brianosman@google.com> |
GrContext::dump that produces JSON formatted output Includes caps, GL strings, and extensions Bug: skia: Change-Id: I1e8b3dd50fb68357f9de8ca6149cf65443d027ef Reviewed-on: https://skia-review.googlesource.com/32340 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5131678123839cec0e974069b6d3f047c8a82049 |
|
02-Aug-2017 |
Greg Daniel <egdaniel@google.com> |
Revert "Revert "Revert "Revert "Add support for semaphores to be inserted on GrContext flush"""" This reverts commit cc8eb60c486eaf397685c60b28998682025fee1a. Reason for revert: Chrome change landed that should fix chrome roll Original change's description: > Revert "Revert "Revert "Add support for semaphores to be inserted on GrContext flush""" > > This reverts commit 876aed8758b7109574999ffac43b1ea47f359bd7. > > Reason for revert: the bots seem to be unhappily red with this CL > > Original change's description: > > Revert "Revert "Add support for semaphores to be inserted on GrContext flush"" > > > > This reverts commit 8724b4609996eb6369b454611e31b065f3d8d2cf. > > > > Reason for revert: Creating a test CL to see what happens on the bots > > > > Original change's description: > > > Revert "Add support for semaphores to be inserted on GrContext flush" > > > > > > This reverts commit cd1416efbc7af6f115dbaa09dce48e075d1d96ca. > > > > > > Reason for revert: speculative, to try to fix roll see gpu_tests.pixel_integration_test.PixelIntegrationTest.Pixel_GpuRasterization_ConcavePaths > > > > > > Original change's description: > > > > Add support for semaphores to be inserted on GrContext flush > > > > > > > > This also moves the logic of inserting semaphores down into GrDrawingManager > > > > and finishFlush on GrGpu. With it being on finishFlush, there should be no > > > > issues when the DrawingManager starts respecting the proxy passed in assuming > > > > it always calls finishFlush at the end (which it should). > > > > > > > > Bug: skia: > > > > Change-Id: I925c2a289dcbbb9159b9120878af1d34f21a2dc7 > > > > Reviewed-on: https://skia-review.googlesource.com/25641 > > > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > > > > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com > > > > > > Change-Id: I9c5b9cf8c060193e1861dbb8f0c10fb11dfb5249 > > > No-Presubmit: true > > > No-Tree-Checks: true > > > No-Try: true > > > Bug: skia: > > > Reviewed-on: https://skia-review.googlesource.com/25980 > > > Reviewed-by: Mike Reed <reed@google.com> > > > Commit-Queue: Mike Reed <reed@google.com> > > > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reed@google.com > > > > # Not skipping CQ checks because original CL landed > 1 day ago. > > > > Bug: skia: > > Change-Id: I5edbeaa0769670ee58f362f0ccaa78319410aa6c > > Reviewed-on: https://skia-review.googlesource.com/26160 > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reed@google.com > > Change-Id: I22fd6febafe70489a5fdb695c6f4263368eb423d > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/29422 > Reviewed-by: Yuqian Li <liyuqian@google.com> > Commit-Queue: Yuqian Li <liyuqian@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,liyuqian@google.com,reed@google.com Change-Id: Ie3eae818b02599a70f714ef6b6635ce7d171bde6 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/30000 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
cc8eb60c486eaf397685c60b28998682025fee1a |
|
01-Aug-2017 |
Yuqian Li <liyuqian@google.com> |
Revert "Revert "Revert "Add support for semaphores to be inserted on GrContext flush""" This reverts commit 876aed8758b7109574999ffac43b1ea47f359bd7. Reason for revert: the bots seem to be unhappily red with this CL Original change's description: > Revert "Revert "Add support for semaphores to be inserted on GrContext flush"" > > This reverts commit 8724b4609996eb6369b454611e31b065f3d8d2cf. > > Reason for revert: Creating a test CL to see what happens on the bots > > Original change's description: > > Revert "Add support for semaphores to be inserted on GrContext flush" > > > > This reverts commit cd1416efbc7af6f115dbaa09dce48e075d1d96ca. > > > > Reason for revert: speculative, to try to fix roll see gpu_tests.pixel_integration_test.PixelIntegrationTest.Pixel_GpuRasterization_ConcavePaths > > > > Original change's description: > > > Add support for semaphores to be inserted on GrContext flush > > > > > > This also moves the logic of inserting semaphores down into GrDrawingManager > > > and finishFlush on GrGpu. With it being on finishFlush, there should be no > > > issues when the DrawingManager starts respecting the proxy passed in assuming > > > it always calls finishFlush at the end (which it should). > > > > > > Bug: skia: > > > Change-Id: I925c2a289dcbbb9159b9120878af1d34f21a2dc7 > > > Reviewed-on: https://skia-review.googlesource.com/25641 > > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com > > > > Change-Id: I9c5b9cf8c060193e1861dbb8f0c10fb11dfb5249 > > No-Presubmit: true > > No-Tree-Checks: true > > No-Try: true > > Bug: skia: > > Reviewed-on: https://skia-review.googlesource.com/25980 > > Reviewed-by: Mike Reed <reed@google.com> > > Commit-Queue: Mike Reed <reed@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reed@google.com > > # Not skipping CQ checks because original CL landed > 1 day ago. > > Bug: skia: > Change-Id: I5edbeaa0769670ee58f362f0ccaa78319410aa6c > Reviewed-on: https://skia-review.googlesource.com/26160 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reed@google.com Change-Id: I22fd6febafe70489a5fdb695c6f4263368eb423d No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/29422 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
/external/skia/src/gpu/GrContext.cpp
|
876aed8758b7109574999ffac43b1ea47f359bd7 |
|
01-Aug-2017 |
Greg Daniel <egdaniel@google.com> |
Revert "Revert "Add support for semaphores to be inserted on GrContext flush"" This reverts commit 8724b4609996eb6369b454611e31b065f3d8d2cf. Reason for revert: Creating a test CL to see what happens on the bots Original change's description: > Revert "Add support for semaphores to be inserted on GrContext flush" > > This reverts commit cd1416efbc7af6f115dbaa09dce48e075d1d96ca. > > Reason for revert: speculative, to try to fix roll see gpu_tests.pixel_integration_test.PixelIntegrationTest.Pixel_GpuRasterization_ConcavePaths > > Original change's description: > > Add support for semaphores to be inserted on GrContext flush > > > > This also moves the logic of inserting semaphores down into GrDrawingManager > > and finishFlush on GrGpu. With it being on finishFlush, there should be no > > issues when the DrawingManager starts respecting the proxy passed in assuming > > it always calls finishFlush at the end (which it should). > > > > Bug: skia: > > Change-Id: I925c2a289dcbbb9159b9120878af1d34f21a2dc7 > > Reviewed-on: https://skia-review.googlesource.com/25641 > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com > > Change-Id: I9c5b9cf8c060193e1861dbb8f0c10fb11dfb5249 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/25980 > Reviewed-by: Mike Reed <reed@google.com> > Commit-Queue: Mike Reed <reed@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reed@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: skia: Change-Id: I5edbeaa0769670ee58f362f0ccaa78319410aa6c Reviewed-on: https://skia-review.googlesource.com/26160 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.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/GrContext.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/GrContext.cpp
|
16d8ec66cdce2f30ce89b87066d3ac7a244c460d |
|
27-Jul-2017 |
Robert Phillips <robertphillips@google.com> |
Pull non-substantive changes out of omnibus GrSurface CL https://skia-review.googlesource.com/c/26363 (Remove origin field from GrSurface) is already too large. This pulls some of the cosmetic changes out for separate review. Change-Id: I1d8b95522144b2f4cbd916ef38faa3dde6f78087 Reviewed-on: https://skia-review.googlesource.com/27840 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.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/GrContext.cpp
|
02611d9afdd887ee443825ac88377f2eea093380 |
|
25-Jul-2017 |
Greg Daniel <egdaniel@google.com> |
Add Make[backend] calls for creating GrContexts Docs-Preview: https://skia.org/?cl=26369 Bug: skia: Change-Id: I460ee63e466f85b05918479f068a2e5ca2d70550 Reviewed-on: https://skia-review.googlesource.com/26369 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
6af2a668f4343bc0db87d27d28b0edc60f5cd6b9 |
|
25-Jul-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Reduce dependence on GrSurface's origin field (take 2)" This reverts commit 22115b4fc6ab169d45a1cfb65dae2dc7e544c80a. Reason for revert: GrAHardwareBufferImageGenerator.cpp Original change's description: > Reduce dependence on GrSurface's origin field (take 2) > > TBR=bsalomon@google.com > Change-Id: Ia238fc66b0fe10a3626c7967b2ac1f1a4bf4cd71 > Reviewed-on: https://skia-review.googlesource.com/25800 > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=bsalomon@google.com,robertphillips@google.com Change-Id: I6dc77f02eed3073317128c48f0b426b81926787f No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/26480 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
22115b4fc6ab169d45a1cfb65dae2dc7e544c80a |
|
25-Jul-2017 |
Robert Phillips <robertphillips@google.com> |
Reduce dependence on GrSurface's origin field (take 2) TBR=bsalomon@google.com Change-Id: Ia238fc66b0fe10a3626c7967b2ac1f1a4bf4cd71 Reviewed-on: https://skia-review.googlesource.com/25800 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
8724b4609996eb6369b454611e31b065f3d8d2cf |
|
22-Jul-2017 |
Mike Reed <reed@google.com> |
Revert "Add support for semaphores to be inserted on GrContext flush" This reverts commit cd1416efbc7af6f115dbaa09dce48e075d1d96ca. Reason for revert: speculative, to try to fix roll see gpu_tests.pixel_integration_test.PixelIntegrationTest.Pixel_GpuRasterization_ConcavePaths Original change's description: > Add support for semaphores to be inserted on GrContext flush > > This also moves the logic of inserting semaphores down into GrDrawingManager > and finishFlush on GrGpu. With it being on finishFlush, there should be no > issues when the DrawingManager starts respecting the proxy passed in assuming > it always calls finishFlush at the end (which it should). > > Bug: skia: > Change-Id: I925c2a289dcbbb9159b9120878af1d34f21a2dc7 > Reviewed-on: https://skia-review.googlesource.com/25641 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: I9c5b9cf8c060193e1861dbb8f0c10fb11dfb5249 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/25980 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
cd1416efbc7af6f115dbaa09dce48e075d1d96ca |
|
21-Jul-2017 |
Greg Daniel <egdaniel@google.com> |
Add support for semaphores to be inserted on GrContext flush This also moves the logic of inserting semaphores down into GrDrawingManager and finishFlush on GrGpu. With it being on finishFlush, there should be no issues when the DrawingManager starts respecting the proxy passed in assuming it always calls finishFlush at the end (which it should). Bug: skia: Change-Id: I925c2a289dcbbb9159b9120878af1d34f21a2dc7 Reviewed-on: https://skia-review.googlesource.com/25641 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
96be9df1300b2281641b038ef11064157f6e0b41 |
|
21-Jul-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Reduce dependence on GrSurface's origin field" This reverts commit 467022b1861033d968195687da15270c208279ff. Reason for revert: GrAHardwareBufferImageGenerator.cpp Original change's description: > Reduce dependence on GrSurface's origin field > > Unfortunately, GrGPU and its ilk are still using the GrSurface's origin a lot. I will clean that up in a second CL. > > Change-Id: Iba729440ce8ea8d24bb7f4e5de55ed576a0f176d > Reviewed-on: https://skia-review.googlesource.com/24700 > Commit-Queue: Robert Phillips <robertphillips@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> TBR=bsalomon@google.com,robertphillips@google.com Change-Id: I1b3f5c3b82d250ac164beb1d5c83abb6c3c6ab3b No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/25620 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
467022b1861033d968195687da15270c208279ff |
|
21-Jul-2017 |
Robert Phillips <robertphillips@google.com> |
Reduce dependence on GrSurface's origin field Unfortunately, GrGPU and its ilk are still using the GrSurface's origin a lot. I will clean that up in a second CL. Change-Id: Iba729440ce8ea8d24bb7f4e5de55ed576a0f176d Reviewed-on: https://skia-review.googlesource.com/24700 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d17f6584df9e48146dac28a1df56fb4978de6ba3 |
|
20-Jul-2017 |
Brian Salomon <bsalomon@google.com> |
Remove GrBackendTextureDesc Change-Id: I2b123d1782400e97ab2ce2f11e3e3d325a13e6c8 Reviewed-on: https://skia-review.googlesource.com/24748 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
81e7bf8d6d338d944f3c5075b14c21580398aeb6 |
|
19-Jul-2017 |
Greg Daniel <egdaniel@google.com> |
Update gpu caps for valid sample counts. Instead of query and maxSampleCount and using that to cap, we now have each config store its supported values and when requested returns either the next highest or equal supported value, or if non the max config supported. Bug: skia: Change-Id: I8802d44c13b3b1703ee54a7e69b82102d4b8dc2d Reviewed-on: https://skia-review.googlesource.com/24302 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
dcbb9d90db0e07b7a3625bcdab3af11ab44c4cfe |
|
19-Jul-2017 |
Brian Salomon <bsalomon@google.com> |
Add SkDebugf trace event handler. Also adds more trace events to GPU backend. Change-Id: Ifa5f0cd4b1fd582f0cc30d37d9e6414dc498c75d Reviewed-on: https://skia-review.googlesource.com/24622 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
b76a72a659f53b8bf449c5ca2685045d08a21e43 |
|
13-Jul-2017 |
Greg Daniel <egdaniel@google.com> |
Add support for creating a GrContext backed by Metal. Also adds the support code to allow our TestContext to create a Metal backend. Bug: skia: Change-Id: Ia850687019d79b897bb16e2c151f4f8526721ad9 Reviewed-on: https://skia-review.googlesource.com/22644 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
79e4d1b5dd5901c34c732252f814fdea4358ed3b |
|
13-Jul-2017 |
Brian Salomon <bsalomon@google.com> |
Fail to make render target context if GrContext is abandoned Change-Id: I69eabbc0a8cd02ddd7292f81dd24e6b949bf38e5 Reviewed-on: https://skia-review.googlesource.com/23041 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1c9686bfa5e2de3e06f1d1b9691105afb6659e85 |
|
30-Jun-2017 |
Robert Phillips <robertphillips@google.com> |
Speculative "fix" for crash in analyzeProcessors From the bug it looks like a null fragment processors may be getting into the processor set. This CL tries to plug any gaps in our fragmentProcessor handling. The only real substantive part to this CL is the addition of some "if (!fp) { return nullptr; }" blocks. Everything else is just to add chokepoints for processor allocation. Bug: 734076 Change-Id: I4952b1a05bc6690d5aa09de977fa6dc54c80338a Reviewed-on: https://skia-review.googlesource.com/21267 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
91a3e52552c15751aea09b7a8a896e4edd09d42e |
|
23-Jun-2017 |
Brian Salomon <bsalomon@google.com> |
Move mock gpu and caps, add Gr prefix, and create via GrContext::Create Change-Id: I02427839f78372e337ed717b071c6baaa8ba4450 Reviewed-on: https://skia-review.googlesource.com/20622 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.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/GrContext.cpp
|
646e4293f06d9de6d44dbfa3c32cdc15a6f5906e |
|
13-Jun-2017 |
Robert Phillips <robertphillips@google.com> |
Retract GrTexture*.h & GrRenderTarget*.h from other headers This does push some additional work (& includes) into the .cpp files. Change-Id: I27c847e371802270d13594dcc22aae44039990bb Reviewed-on: https://skia-review.googlesource.com/19660 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
eee4d6e4e8cc5c4c79f065abcc3ce609f71238f9 |
|
05-Jun-2017 |
Robert Phillips <robertphillips@google.com> |
Make instantiate return a Boolean From an off-line conversation: The longer term idea will be to create a helper class isolates the ability to instantiate proxies until flush time. The peek* methods could then be moved to GrSurfaceProxy. Change-Id: I8e8c02c098475b77d515791c0d6b81f7e4a327dd Reviewed-on: https://skia-review.googlesource.com/18076 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3ea1798829df1a5d163b1851783046b624c29ea2 |
|
02-Jun-2017 |
Robert Phillips <robertphillips@google.com> |
Remove ImmediateFlush mode Change-Id: I7db113e66d81516b2beb5eefeddf488d9bfed2e5 Reviewed-on: https://skia-review.googlesource.com/18488 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fe50d9696a95717b994528cdfb99e433348c5ef3 |
|
01-Jun-2017 |
Robert Phillips <robertphillips@google.com> |
Remove GrSurface-based surfaceContext factories from GrContextPriv This relies on both: https://skia-review.googlesource.com/c/13001/ (Rm makeRenderTargetContext in favor of deferred version) https://skia-review.googlesource.com/c/11125/ (Remove discard from GrRenderTarget & force it to always go through a RenderTargetContext) Change-Id: Ia06469a6fa0048e162fb769ed4a11e4773cfacca Reviewed-on: https://skia-review.googlesource.com/13130 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5480a18d8799511034d0da219c72932cd8f25274 |
|
25-May-2017 |
Derek Sollenberger <djsollen@google.com> |
Add method to GrContext to purge unlocked resources. Beyond setting the total cache limits this method enables clients to request to purge a specific number of bytes, as well as specify their preference to purge scratch resources over resources of other types. Change-Id: I9259d5544d34251575d77eebe599388f213ff3ce Reviewed-on: https://skia-review.googlesource.com/17987 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>
/external/skia/src/gpu/GrContext.cpp
|
ee47914ae5661043c20754f46523665a6d31bc73 |
|
24-May-2017 |
Derek Sollenberger <djsollen@google.com> |
Add GrContext API to report the number of purgeable bytes in the cache. Change-Id: I1457eec9831736f386e3b3b80d9eac8dbb337a9b Reviewed-on: https://skia-review.googlesource.com/17829 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>
/external/skia/src/gpu/GrContext.cpp
|
bb5711a5e4b9c83f0fc49f2d4ee19ca1e4592e14 |
|
17-May-2017 |
Brian Salomon <bsalomon@google.com> |
Remove GrSurfaceDesc member from GrSurfaceProxy. Stores the config, origin, and dimensions in GrSurfaceProxy, sample count in GrRenderTargetProxy, and "was constructed with mip maps" in GrTextureProxy. Change-Id: Iee058674dce49107a991cca9d083cd33e3572809 Reviewed-on: https://skia-review.googlesource.com/17209 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
13dddce65fd87a8175a209a49f35615735a2886a |
|
09-May-2017 |
Brian Osman <brianosman@google.com> |
Added SkImage::MakeCrossContextFromEncoded Designed for Flutter's threading architecture, with an eye to being useful to other clients. Under the hood, uses a new image generator class to lazily wrap a texture for multiple GrContexts. Re-land of https://skia-review.googlesource.com/c/14180/ Bug: skia: Change-Id: I3dd382640629b79b3058f18fee68d043566e43e5 Reviewed-on: https://skia-review.googlesource.com/15895 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
449d78f5a8e73407b314aa6cb4e60a8273f0d410 |
|
08-May-2017 |
Brian Salomon <bsalomon@google.com> |
Revert "Added SkImage::MakeCrossContextFromEncoded" This reverts commit 83b1b3db36e8622f4bbc8c391d5c714e258d1e03. Reason for revert: unit test failing and asan leaks Original change's description: > Added SkImage::MakeCrossContextFromEncoded > > Designed for Flutter's threading architecture, with > an eye to being useful to other clients. Under the > hood, uses a new image generator class to lazily wrap > a texture for multiple GrContexts. > > Bug: skia: > Change-Id: I6c37b12c8ab5bce94b91190e5f0beb91d31ae81b > Reviewed-on: https://skia-review.googlesource.com/14180 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,brianosman@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I1f0bf580aa0ea2d132e18b64ff610ddac9d073a7 Reviewed-on: https://skia-review.googlesource.com/15892 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
83b1b3db36e8622f4bbc8c391d5c714e258d1e03 |
|
08-May-2017 |
Brian Osman <brianosman@google.com> |
Added SkImage::MakeCrossContextFromEncoded Designed for Flutter's threading architecture, with an eye to being useful to other clients. Under the hood, uses a new image generator class to lazily wrap a texture for multiple GrContexts. Bug: skia: Change-Id: I6c37b12c8ab5bce94b91190e5f0beb91d31ae81b Reviewed-on: https://skia-review.googlesource.com/14180 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
6d342285a4546b54cb17570aae7eeb8a123c81ae |
|
04-May-2017 |
Eric Karl <ericrk@chromium.org> |
Allow custom GrAtlasGlyphCache texture sizes A single glyph cache size doesn't make sense across the hardware Skia runs on. This change allows a custom size to be specified (via a byte limit), allowing cache size to be customized at context creation time. Bug: 717178 Change-Id: I4f7baddd1897b2eac4f6d6e4fff1f805e1cdd250 Reviewed-on: https://skia-review.googlesource.com/15135 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fe199b7d512a7cfc56deaaa134260e1d47a1e7e0 |
|
05-May-2017 |
Chris Dalton <csmartdalton@google.com> |
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>
/external/skia/src/gpu/GrContext.cpp
|
bcf612b5d0032f09d58c2ea5671de977130395db |
|
01-May-2017 |
Greg Daniel <egdaniel@google.com> |
Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" This reverts commit e3bd422fafc74dd3410c3de24a576635be92c3b4. Reason for revert: Pre-req changes have all landed in other projects at this point. Original change's description: > Revert "Plumb the use of GrBackendRenderTarget throughout Skia" > > This reverts commit fdd77daedbba3b7c53be74a82fb9fae891b51696. > > Reason for revert: Apparently I have a few more build files to update before this can land. > > Original change's description: > > Plumb the use of GrBackendRenderTarget throughout Skia > > > > Bug: skia: > > Change-Id: Ib99a58d9552f5c7b8d77c09dcc72fa88326c26aa > > Reviewed-on: https://skia-review.googlesource.com/14148 > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reviews@skia.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Change-Id: I984e1909870182474c4c3cce257f01b6a9d8581f > Reviewed-on: https://skia-review.googlesource.com/14531 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reviews@skia.org # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: Ib7ab94aada8a7cb80fe38f24daf32f9208c5b169 Reviewed-on: https://skia-review.googlesource.com/14826 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e3bd422fafc74dd3410c3de24a576635be92c3b4 |
|
27-Apr-2017 |
Greg Daniel <egdaniel@google.com> |
Revert "Plumb the use of GrBackendRenderTarget throughout Skia" This reverts commit fdd77daedbba3b7c53be74a82fb9fae891b51696. Reason for revert: Apparently I have a few more build files to update before this can land. Original change's description: > Plumb the use of GrBackendRenderTarget throughout Skia > > Bug: skia: > Change-Id: Ib99a58d9552f5c7b8d77c09dcc72fa88326c26aa > Reviewed-on: https://skia-review.googlesource.com/14148 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I984e1909870182474c4c3cce257f01b6a9d8581f Reviewed-on: https://skia-review.googlesource.com/14531 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fdd77daedbba3b7c53be74a82fb9fae891b51696 |
|
26-Apr-2017 |
Greg Daniel <egdaniel@google.com> |
Plumb the use of GrBackendRenderTarget throughout Skia Bug: skia: Change-Id: Ib99a58d9552f5c7b8d77c09dcc72fa88326c26aa Reviewed-on: https://skia-review.googlesource.com/14148 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
8185f59335e8055961ea63502e74c6a186e3a546 |
|
26-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Hardwire opList lookAhead & lookBack parameters If/when we double check these settings we can either re-add these parameters or change the code manually. The driving goal here is to shrink GrRenderTargetOpList. Change-Id: I7819de18f97e8282e8754e3438130f797ebb3c37 Reviewed-on: https://skia-review.googlesource.com/14381 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7ab6a7f40b23610577bd64fbcb6121a2a715469b |
|
25-Apr-2017 |
Brian Osman <brianosman@google.com> |
Fix writePixels of sRGB data to legacy GPU surface Adjusted unit test to verify this behavior. Bug: skia:6547 chromium:713632 chromium:713702 Change-Id: I6240937b2faf6ccb6adfc9477dc85ae961cdbbb7 Reviewed-on: https://skia-review.googlesource.com/14279 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
dd3b3f41829d32d7eaf3eb4903570d49c2ba9ff8 |
|
24-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Rm makeRenderTargetContext in favor of deferred version (take 3) This is a reland of: https://skia-review.googlesource.com/c/13001/ (Rm makeRenderTargetContext in favor of deferred version) TBR=bsalomon@google.com Change-Id: If81f4d9fb889c091cd37ffde133d906fb3e37773 Reviewed-on: https://skia-review.googlesource.com/14027 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2af746c1e74af30d0fb02d5c35a178e61d152965 |
|
21-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Rm makeRenderTargetContext in favor of deferred version (take 2)" This reverts commit 02242e82e4bf94a8f6862dadb5bf347ea5e31eb5. Reason for revert: Maybe breaking Chrome DEPS roll Original change's description: > Rm makeRenderTargetContext in favor of deferred version (take 2) > > This is a reland of: https://skia-review.googlesource.com/c/13001/ (Rm makeRenderTargetContext in favor of deferred version) > > Change-Id: Ife77b012d09c46895884a168fc5045bd92a4b919 > Reviewed-on: https://skia-review.googlesource.com/13196 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I2607116ed743f5d313da4a7b7f056776ed907702 Reviewed-on: https://skia-review.googlesource.com/14024 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
02242e82e4bf94a8f6862dadb5bf347ea5e31eb5 |
|
20-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Rm makeRenderTargetContext in favor of deferred version (take 2) This is a reland of: https://skia-review.googlesource.com/c/13001/ (Rm makeRenderTargetContext in favor of deferred version) Change-Id: Ife77b012d09c46895884a168fc5045bd92a4b919 Reviewed-on: https://skia-review.googlesource.com/13196 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7ef28f35a2f7d17b90c776f76d4b374ccee6c347 |
|
20-Apr-2017 |
Greg Daniel <egdaniel@google.com> |
Revert "Revert "Plumb GrBackendTexture throughout skia."" This reverts commit 7fa5c31c2c9af834bee66d5fcf476e250076c8d6. Reason for revert: Relanding this change now that other fixes have landed. Original change's description: > Revert "Plumb GrBackendTexture throughout skia." > > This reverts commit 7da62b9059f3c1d31624a0e4da96ee5f908f9c12. > > Reason for revert: fix android roll > > Original change's description: > > Plumb GrBackendTexture throughout skia. > > > > Bug: skia: > > Change-Id: I1bae6768ee7229818a83ba608035a1f7867e6875 > > Reviewed-on: https://skia-review.googlesource.com/13645 > > Commit-Queue: Greg Daniel <egdaniel@google.com> > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > > > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org,stani@google.com > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Change-Id: I5cb8763cc837c83ebc6d10366fe2dd3efe35fb89 > Reviewed-on: https://skia-review.googlesource.com/13773 > Reviewed-by: Stan Iliev <stani@google.com> > Commit-Queue: Stan Iliev <stani@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,reviews@skia.org,brianosman@google.com,stani@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I92bc074e4fe37fa5c83186afadc472c03802e8f2 Reviewed-on: https://skia-review.googlesource.com/13975 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
28804f3571e8eaa6f3b9d68bb1e72d99c990978a |
|
20-Apr-2017 |
Brian Osman <brianosman@google.com> |
Remove all config conversion modes except round-to-nearest On all GPUs where we can perfectly round-trip, this mode does so. This mode fails on Mali 400 and Tegra 3, but nothing works there. Bug: skia: Change-Id: Ifb045fc772a5b1c03b51b5cb2ae039fe792d17bb Reviewed-on: https://skia-review.googlesource.com/13271 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7b2391bc06a4cb5db83e3cd13402869fbe8b0bfd |
|
20-Apr-2017 |
Brian Osman <brianosman@google.com> |
Remove incorrect assert We only need to verify that we've tested the PM conversion if we're about to use GrConfigConversionEffect. For the else case, no such guarantee is made, so the assert is wrong. Bug: chromium:713462 Change-Id: I5ffcc0c5f7de4e9614e9ccd83140acc9ab4f7283 Reviewed-on: https://skia-review.googlesource.com/13962 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7fa5c31c2c9af834bee66d5fcf476e250076c8d6 |
|
19-Apr-2017 |
Stan Iliev <stani@google.com> |
Revert "Plumb GrBackendTexture throughout skia." This reverts commit 7da62b9059f3c1d31624a0e4da96ee5f908f9c12. Reason for revert: fix android roll Original change's description: > Plumb GrBackendTexture throughout skia. > > Bug: skia: > Change-Id: I1bae6768ee7229818a83ba608035a1f7867e6875 > Reviewed-on: https://skia-review.googlesource.com/13645 > Commit-Queue: Greg Daniel <egdaniel@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org,stani@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I5cb8763cc837c83ebc6d10366fe2dd3efe35fb89 Reviewed-on: https://skia-review.googlesource.com/13773 Reviewed-by: Stan Iliev <stani@google.com> Commit-Queue: Stan Iliev <stani@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7da62b9059f3c1d31624a0e4da96ee5f908f9c12 |
|
18-Apr-2017 |
Greg Daniel <egdaniel@google.com> |
Plumb GrBackendTexture throughout skia. Bug: skia: Change-Id: I1bae6768ee7229818a83ba608035a1f7867e6875 Reviewed-on: https://skia-review.googlesource.com/13645 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
f41c22fca369af85b06ff34bae8a41c6672aff43 |
|
18-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Pass GrSurfaceContext into read/writeSurfacePixels This is mainly so writeSurfacePixels can have continuity of surfaceContext when it draws. Change-Id: I34f1dc5c4c3dcfa7bf91aa3ad72b7a48ed9de1a9 Reviewed-on: https://skia-review.googlesource.com/13595 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
409e74fb2ca2d50f48e3d3e25016059ce57af7ee |
|
17-Apr-2017 |
Brian Osman <brianosman@google.com> |
Further refactor read/writeSurfacePixels Detect the situation where we're going to want to do PM/UPM, and want to use GrConfigConverionEffect, but be unable (due to the lack of a round-trip pair). This lets us hoist the SW premul work (in writeSurfacePixels), and avoid all the cascading failure logic in both functions. (We never try to create the PM/UPM effects unless we know that they're going to work). Bug: skia:5853 Change-Id: I0077447cd4be93bba273f8d2826b1ec0f4915c6c Reviewed-on: https://skia-review.googlesource.com/13592 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d2ca59a1cd39f81d4fb05be253bc3803daa23210 |
|
13-Apr-2017 |
Brian Osman <brianosman@google.com> |
Further unify logic in readSurfacePixels and writeSurfacePixels Hoist simple failure checks to the beginning, apply logic in the same sequence in both functions. Factor out some common logic. Remove redundant checking inside other helper functions (that are only used from here). I'm inching towards better sRGB and color-conversion support in these functions, but I don't want that intertwined with the legacy premul software fallback. Next step is probably to diverge at the top-level, and keep the current code as "legacy" versions, with new versions that don't have the fallback logic, only used for configs and color space scenarios where it doesn't matter. Bug: skia:5853 Change-Id: I327be5f0186a16ceda9440670fb0646acaef7766 Reviewed-on: https://skia-review.googlesource.com/13337 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Matt Sarett <msarett@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fc978fde4868079d22c2e708b7e4378cbfb22767 |
|
13-Apr-2017 |
Greg Daniel <egdaniel@google.com> |
Store the GrBackend we are using on GrContext As we start adding more functionality to external clients and passing data around, we will need to know what backend we are working with at a layer higher that GrGpu. TBR=bsalomon@google.com Bug: skia: Change-Id: Ifee527ea0c1046469401a39e0500f84a46bb3081 Reviewed-on: https://skia-review.googlesource.com/13275 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2d2da4f9ee4932720c71348d0aff0cd75ebd956b |
|
12-Apr-2017 |
Brian Osman <brianosman@google.com> |
Do sRGB premul/unpremul on the GPU Previously, the early check would decide that sRGB pixel configs were okay (because they're 8888-unorm). Then we'd go to make the effect and decide that we didn't want them to work. This led to the software fallback. The software fallback was obviously slower, but also doing non-linear premul/unpremul operations. Eventually, whether or not the premul is linear should be dictated by the destination color space, but for now, this is an improvement (and only affects the one GM that tests this feature). Bug: skia: Change-Id: I0cf1ad5a7f552135ac1da728c6db2977652a433b Reviewed-on: https://skia-review.googlesource.com/13321 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1119dc366e15ef737d05d3a087410ea40c508101 |
|
11-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Remove discard from GrRenderTarget & force it to always go through a RenderTargetContext This is a bit sloppy in that it ignores some instances where discards were being issued before. The creation of the temp RTContext in the RenderTarget's discard method was causing an extra split in the opLists. This is split out of: https://skia-review.googlesource.com/c/10284/ (Omnibus: Remove GrSurface-derived classes from ops) Change-Id: Ic366d303280635763b0fae238c4df37c04fb8503 Reviewed-on: https://skia-review.googlesource.com/11125 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
934292170bade335f972a050a2f64d2cca9ca299 |
|
11-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Rm makeRenderTargetContext in favor of deferred version" This reverts commit d83ec0441279b79551b4ecb4598696249ea55145. Reason for revert: various bot failures Original change's description: > Rm makeRenderTargetContext in favor of deferred version > > Change-Id: Ifdf67453607256ba7cdb0837263377bd83907212 > Reviewed-on: https://skia-review.googlesource.com/13001 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I4e67a20cbe658b24725dcf386ac8bfdd127647ea Reviewed-on: https://skia-review.googlesource.com/13131 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d83ec0441279b79551b4ecb4598696249ea55145 |
|
10-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Rm makeRenderTargetContext in favor of deferred version Change-Id: Ifdf67453607256ba7cdb0837263377bd83907212 Reviewed-on: https://skia-review.googlesource.com/13001 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
60cd57ed9fac7806ca6881b9ba9c810ebaebe747 |
|
06-Apr-2017 |
Brian Osman <brianosman@google.com> |
Factor out common work in readSurfacePixels and writeSurfacePixels Use more consistent structure between the two functions. BUG=skia:5853 Change-Id: I82465bee30025574d0d6fad9e287b187d75fff8d Reviewed-on: https://skia-review.googlesource.com/10042 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Eric Boren <borenet@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e78b7259c3d5cbed77b4390150cfb699b0b59cd4 |
|
06-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 3) This is in service of: https://skia-review.googlesource.com/c/11125/ (Add parallel proxyID to StencilOps & RenderTargetOpList) where I want a better choke point for texture creation to improve discard handling. This is a re-reland of: https://skia-review.googlesource.com/c/11200/ (Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv) Change-Id: Icfb9dd223418dd460405efd2bfd9d1c356beed1a Reviewed-on: https://skia-review.googlesource.com/11412 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1b35256f1166358056b2aad8ce09caa6f07912d5 |
|
05-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 2)" This reverts commit aaee31f18c0845417103d84285e365575def3c40. Reason for revert: possible valgrind leak Original change's description: > Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 2) > > This is in service of: https://skia-review.googlesource.com/c/11125/ (Add parallel proxyID to StencilOps & RenderTargetOpList) where I want a better choke point for texture creation to improve discard handling. > > This is a reland of: https://skia-review.googlesource.com/c/11200/ (Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv) > > Change-Id: Icd0a90d2beb483dc24ed87c3bace9c817019e148 > Reviewed-on: https://skia-review.googlesource.com/11326 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: Ia0b92bf6402cb5f9607310d356f43bff2e3e75eb Reviewed-on: https://skia-review.googlesource.com/11361 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
ee805329bfd5cea669d4af20a554e4b213dbf011 |
|
05-Apr-2017 |
Brian Osman <brianosman@google.com> |
Remove texture sampling from GrConfigConversionEffect Elevates default precision for the entire fragment program to maintain precision on some ES implementations. Re-land fixed version of: https://skia-review.googlesource.com/10026/ https://skia-review.googlesource.com/10056 BUG=skia: Change-Id: Ibe43dba9c223e430b2f9f8ed5cb97ed7a049e6c2 Reviewed-on: https://skia-review.googlesource.com/10160 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
aaee31f18c0845417103d84285e365575def3c40 |
|
05-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 2) This is in service of: https://skia-review.googlesource.com/c/11125/ (Add parallel proxyID to StencilOps & RenderTargetOpList) where I want a better choke point for texture creation to improve discard handling. This is a reland of: https://skia-review.googlesource.com/c/11200/ (Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv) Change-Id: Icd0a90d2beb483dc24ed87c3bace9c817019e148 Reviewed-on: https://skia-review.googlesource.com/11326 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
171cc5fc87ede62712923f5a01db58059a027700 |
|
05-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv" This reverts commit fb0bd98a43fa11e09705837418167dd72bb4a361. Reason for revert: ANGLE failures Original change's description: > Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv > > This is in service of: https://skia-review.googlesource.com/c/11125/ (Add parallel proxyID to StencilOps & RenderTargetOpList) where I want a better choke point for texture creation to improve discard handling. > > Change-Id: If57a7de47edc0853dae7bc61337d9acdc03d63b0 > Reviewed-on: https://skia-review.googlesource.com/11200 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I7241070dc1f9df47181061e07adab141f9857974 Reviewed-on: https://skia-review.googlesource.com/11324 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fb0bd98a43fa11e09705837418167dd72bb4a361 |
|
04-Apr-2017 |
Robert Phillips <robertphillips@google.com> |
Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv This is in service of: https://skia-review.googlesource.com/c/11125/ (Add parallel proxyID to StencilOps & RenderTargetOpList) where I want a better choke point for texture creation to improve discard handling. Change-Id: If57a7de47edc0853dae7bc61337d9acdc03d63b0 Reviewed-on: https://skia-review.googlesource.com/11200 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7ee385e1dc3cd6a47dc8f7297fef6e175eaba224 |
|
30-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Add GrSurfaceProxy* parameter to GrContext::flush Split out of: https://skia-review.googlesource.com/c/10284/ (Omnibus: Remove GrSurface-derived classes from ops) Change-Id: I12c66a6fa826c2363b21ece56391fb352d12d6b3 Reviewed-on: https://skia-review.googlesource.com/10541 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
769e80d23d1c1d240b1d510034ec57d19e768d07 |
|
29-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
More GrSurfaceProxy-clean up Split out of: https://skia-review.googlesource.com/c/10484/ (Omnibus: Push instantiation of GrTextures later (post TextureSampler)) Change-Id: I1ee39a23c749e420dce0ad561ee1c8b09bdcc763 Reviewed-on: https://skia-review.googlesource.com/10485 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
31f96a68af509f41ed0ffb2145f355229ae9aaf0 |
|
24-Mar-2017 |
Brian Osman <brianosman@google.com> |
Revert "Remove texture sampling from GrConfigConversionEffect" This reverts commit 3e7cddaf32e280fe9f32eec5bfdd8168ca4941b6. Reason for revert: Precision issue on some mobile GPUs. Original change's description: > Remove texture sampling from GrConfigConversionEffect > > Re-land fixed version of https://skia-review.googlesource.com/c/10026/ > > BUG=skia: > > Change-Id: I0754ffb72da2966eb57e5cd7ec818b1cdce84a74 > Reviewed-on: https://skia-review.googlesource.com/10056 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Osman <brianosman@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Change-Id: I66f52efe191b170612775e26d84a2af3d3f856af Reviewed-on: https://skia-review.googlesource.com/10118 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3e7cddaf32e280fe9f32eec5bfdd8168ca4941b6 |
|
23-Mar-2017 |
Brian Osman <brianosman@google.com> |
Remove texture sampling from GrConfigConversionEffect Re-land fixed version of https://skia-review.googlesource.com/c/10026/ BUG=skia: Change-Id: I0754ffb72da2966eb57e5cd7ec818b1cdce84a74 Reviewed-on: https://skia-review.googlesource.com/10056 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
9f01e38ad1d6377a734c14ac7ef45265598a04d0 |
|
23-Mar-2017 |
Brian Osman <brianosman@google.com> |
Revert "Remove texture sampling from GrConfigConversionEffect" This reverts commit 3bc9bfea5e31b697033e4f0e4c4e4710c34e0387. Reason for revert: I broke something subtle. Original change's description: > Remove texture sampling from GrConfigConversionEffect > > BUG=skia: > > Change-Id: If5df087d3fe11098f468deab5f2fc8beb782cc83 > Reviewed-on: https://skia-review.googlesource.com/10026 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Osman <brianosman@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Change-Id: Icca2f435b30512305f3e483689320a5930dc1467 Reviewed-on: https://skia-review.googlesource.com/10052 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3bc9bfea5e31b697033e4f0e4c4e4710c34e0387 |
|
23-Mar-2017 |
Brian Osman <brianosman@google.com> |
Remove texture sampling from GrConfigConversionEffect BUG=skia: Change-Id: If5df087d3fe11098f468deab5f2fc8beb782cc83 Reviewed-on: https://skia-review.googlesource.com/10026 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5e150851d0dd5ddb161449b44edf1bf52d18ac5a |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Add a new GrResourceCache purging mechanism for purging unused resources."" This reverts commit 20c322ef0cd04cf8e2592879d05d9f4e6cb19596. Change-Id: I6df9a8594484837672308dc2c21c7c29b76ffa2c Reviewed-on: https://skia-review.googlesource.com/10013 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
ce425510a07632f14b7b779ec3864f719cb4326b |
|
22-Mar-2017 |
Brian Osman <brianosman@google.com> |
Add Swizzle FP, and remove swizzle logic from GrConfigConversionEffect Trying to decompose read/writePixels into some reusable chunks. BUG=skia:5853 Change-Id: If08b004b008e8ca7d464d9dc47068e487bae850a Reviewed-on: https://skia-review.googlesource.com/10015 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
de1a60534648ca8a6eb3ae32e06a7a9e9c0591f3 |
|
22-Mar-2017 |
Brian Osman <brianosman@google.com> |
Support premul/unpremul of F16 during read/writePixels Added PremulOutput and UnpremulOutput FP helpers. These are used (rather than GrConfigConversionEffect) when working with FP16 textures (and will also be used for other configs that can't be round-tripped via rounding). BUG=skia:5853 Change-Id: I101592c26c4f0b379d5e5a8678ef7b2f08e6ad56 Reviewed-on: https://skia-review.googlesource.com/9980 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
20c322ef0cd04cf8e2592879d05d9f4e6cb19596 |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Revert "Add a new GrResourceCache purging mechanism for purging unused resources." This reverts commit fbb56ce83fc717b7c6722324bbccd1ae73c350a4. Reason for revert: Chrome's ancient libstdc++ doesn't like use of steady_clock Original change's description: > Add a new GrResourceCache purging mechanism for purging unused resources. > > The client may call GrContext::purgeResourceNotUsedSince() with a stead_clock::time_point and all resources that have been purgeable since before that time point are purged. > > This is intended to replace the "max unused flushes" purging mechanism once Chrome adopts it. > > Change-Id: I28881dd2959cc01c0acca81b2d6001ee5626439d > Reviewed-on: https://skia-review.googlesource.com/8920 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > Reviewed-by: Eric Karl <ericrk@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,ericrk@google.com,reviews@skia.org,ericrk@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I3baa3b2e80302315b757d4d625732459e13795d4 Reviewed-on: https://skia-review.googlesource.com/10004 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fbb56ce83fc717b7c6722324bbccd1ae73c350a4 |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Add a new GrResourceCache purging mechanism for purging unused resources. The client may call GrContext::purgeResourceNotUsedSince() with a stead_clock::time_point and all resources that have been purgeable since before that time point are purged. This is intended to replace the "max unused flushes" purging mechanism once Chrome adopts it. Change-Id: I28881dd2959cc01c0acca81b2d6001ee5626439d Reviewed-on: https://skia-review.googlesource.com/8920 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Eric Karl <ericrk@google.com>
/external/skia/src/gpu/GrContext.cpp
|
eb35f4dfaa10b9d751abbc9a1406456eb3b1649d |
|
21-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Add pre-Flush callback to GrDrawingManager (take 2) This will allow internal systems (e.g., fonts & path renderers) to create pre-flush atlases. Depends on: https://skia-review.googlesource.com/c/8988/ (Allow GrSurfaceProxy-derived classes to use flags when instantiating) Change-Id: I7ffc1b69defda625b6d4311e96776de4cf2abb87 Reviewed-on: https://skia-review.googlesource.com/9903 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
18ea816aad843117cdee99f7d996b3542e467b22 |
|
15-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Revert "Add pre-Flush callback to GrDrawingManager" This reverts commit d222ec492f5d0229986f529134d083e589bcc4a9. Reason for revert: TegraX1 Vulkan bot Original change's description: > Add pre-Flush callback to GrDrawingManager > > This will allow internal systems (e.g., fonts & path renderers) to create pre-flush atlases. > > Depends on: https://skia-review.googlesource.com/c/8988/ (Allow GrSurfaceProxy-derived classes to use flags when instantiating) > > Change-Id: I307796595d651cf376838bff1f9e4385c3753547 > Reviewed-on: https://skia-review.googlesource.com/8679 > Commit-Queue: Robert Phillips <robertphillips@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,csmartdalton@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I852648adc12d2aa58cd09c57d961c340d657776c Reviewed-on: https://skia-review.googlesource.com/9735 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d222ec492f5d0229986f529134d083e589bcc4a9 |
|
15-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Add pre-Flush callback to GrDrawingManager This will allow internal systems (e.g., fonts & path renderers) to create pre-flush atlases. Depends on: https://skia-review.googlesource.com/c/8988/ (Allow GrSurfaceProxy-derived classes to use flags when instantiating) Change-Id: I307796595d651cf376838bff1f9e4385c3753547 Reviewed-on: https://skia-review.googlesource.com/8679 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
296b1ccf9b8e9c8b945645efcbaa9c71c7135f58 |
|
15-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Retract GrContext from src/gpu/effects Change-Id: Iceb7263098286bafb2605ef17d1fe6bb25d71e97 Reviewed-on: https://skia-review.googlesource.com/9693 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
26c90e04797e15c37ec00e0f836292b8a207d294 |
|
14-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Add GrRenderTargetContext::resourceProvider & GrResourceProvider::caps and retract GrSurfaceContextPriv a bit Change-Id: Id47af1052f9bda4fe7c85b3ce46b3ebe37797524 Reviewed-on: https://skia-review.googlesource.com/9647 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c1e37059a84044db2db5ae90fa0dd7c7278d9f66 |
|
09-Mar-2017 |
Brian Osman <brianosman@google.com> |
Remove more unused ownership arguments Technically, we only ever pass kAdopt along one specific code path, but the remaining functions that have it are at least all similar. This was another outlier that seems unlikely to ever benefit. BUG=skia: Change-Id: If9a1275a2a0b83417225660f5e18c2133681830a Reviewed-on: https://skia-review.googlesource.com/9494 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c65aec97619682b2c0191554f44ddf35f618a94d |
|
09-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Make GrClip.h private BUG=skia: Change-Id: I4aa3c2707811ece3a63d161035e316c3bbc1cd15 Reviewed-on: https://skia-review.googlesource.com/9482 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3b65598bceb65736486db27ed49a56d787032747 |
|
07-Mar-2017 |
Brian Osman <brianosman@google.com> |
Make SkGr.h private and remove unused functions BUG=skia: Change-Id: I6699d00c5412ed9d9bf14b032a08b06b1c766bce Reviewed-on: https://skia-review.googlesource.com/9398 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d85f97d6968c9a287a27d6ba10da8fff3b0230e2 |
|
07-Mar-2017 |
Greg Daniel <egdaniel@google.com> |
Control making of GrSemaphore objects inside of GrResourceProvider This change will help us get to the point of not needing access to the GrGpu object from GrContext. BUG=skia: Change-Id: Icff9815c73f1791d2ce34a4d27c57898a36f2b8f Reviewed-on: https://skia-review.googlesource.com/9391 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/GrContext.cpp
|
32342f032e1dfd133040324f851f0365f9d4cb51 |
|
04-Mar-2017 |
Brian Osman <brianosman@google.com> |
Rebase and fix chromium Combine texture provider and resource provider Largely mechanical. Only three places that were calling createApprox via texture provider (ie without flags), so that was simple. BUG=skia: Change-Id: I876367bcdc6a8db736deedab1028de1972015509 Reviewed-on: https://skia-review.googlesource.com/9176 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e370cbe2bf26a785017d0bef3fa3d0c170e5080a |
|
03-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Remove clip to bounds GrContextOption Change-Id: I02da998640a3dd8848426179a91a9105d1024f0e Reviewed-on: https://skia-review.googlesource.com/9225 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2f49314227053dd5acc011e04681faee05c5e0ff |
|
03-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Make GrSurface::MakeDeferred return sk_sp<GrTextureProxy> This should make upcoming changes less tedious Change-Id: I313ae9df724f109a64cf5708a974e8bfeb963025 Reviewed-on: https://skia-review.googlesource.com/9183 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fe3b51636d4216c4ea6cb74ed0964c1d315ca487 |
|
02-Mar-2017 |
Brian Osman <brianosman@google.com> |
Use GrSemaphore rather than GrFence for external texture data BUG=skia: Change-Id: I0d23eb9dcf5c01c71d3571ef97690af68b900807 Reviewed-on: https://skia-review.googlesource.com/9141 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7928e768728fe7eef9345345c74e810435dd3eac |
|
28-Feb-2017 |
Robert Phillips <robertphillips@google.com> |
Disable deferred gpu resources for Chrome branch Chrome's branch is coming up and it seems unlikely that I will be able to push instantiation all the way to flush time (where failure will be easier to deal with) before then. This CL should silence the P1 bug but could introduce layout test diffs. Ideally this wouldn't land until after: https://codereview.chromium.org/2718353004/ (Add flag for upcoming Skia change) so the layout test differences will be visible on the DEPS roll BUG=688811 Change-Id: I86c42ee02e6672834353aa7126b00ed4f3521948 Reviewed-on: https://skia-review.googlesource.com/9064 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2c2bc11aea4dfcd7ee2f5859838a2aa0a56939e0 |
|
28-Feb-2017 |
Brian Osman <brianosman@google.com> |
Add GrExternalTextureData and SkCrossContextImageData GrExternalTextureData is an API for exporting the backend-specific information about a texture in a type-safe way, and without pointing into the GrTexture. The new detachBackendTexture API lets us release ownership of a texture to the client. SkCrossContextImageData is the public API that lets clients upload textures on one thread/GrContext, then safely transfer ownership to another thread and GrContext for rendering. Only GL is implemented/supported right now. Vulkan support requires that we add thread-safe memory pools, or otherwise transfer the actual memory block containing the texture to the new context. Re-land of https://skia-review.googlesource.com/c/8529/ BUG=skia: Change-Id: I48ebd57d1ea0cfd3a1db10c475f2903afb821966 Reviewed-on: https://skia-review.googlesource.com/8960 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
aa1ab8905e74096f0460af467f126fdb1998a5f9 |
|
24-Feb-2017 |
Brian Osman <brianosman@google.com> |
Revert "Add GrExternalTextureData and SkCrossContextImageData" This reverts commit 9ad1f92e2fceea33215c0f13cee42a679fb88d44. Reason for revert: Breaking lots of bots Original change's description: > Add GrExternalTextureData and SkCrossContextImageData > > GrExternalTextureData is an API for exporting the backend-specific > information about a texture in a type-safe way, and without pointing > into the GrTexture. The new detachBackendTexture API lets us release > ownership of a texture to the client. > > SkCrossContextImageData is the public API that lets clients upload > textures on one thread/GrContext, then safely transfer ownership to > another thread and GrContext for rendering. > > Only GL is implemented/supported right now. Vulkan support requires > that we add thread-safe memory pools, or otherwise transfer the > actual memory block containing the texture to the new context. > > BUG=skia: > > Change-Id: I784a3a74be69807df038c7d192eaed002c7e45ca > Reviewed-on: https://skia-review.googlesource.com/8529 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org,chinmaygarde@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Change-Id: If27d1f4c3a169efb6533170f67a172664c0fe8ce Reviewed-on: https://skia-review.googlesource.com/8955 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
9ad1f92e2fceea33215c0f13cee42a679fb88d44 |
|
23-Feb-2017 |
Brian Osman <brianosman@google.com> |
Add GrExternalTextureData and SkCrossContextImageData GrExternalTextureData is an API for exporting the backend-specific information about a texture in a type-safe way, and without pointing into the GrTexture. The new detachBackendTexture API lets us release ownership of a texture to the client. SkCrossContextImageData is the public API that lets clients upload textures on one thread/GrContext, then safely transfer ownership to another thread and GrContext for rendering. Only GL is implemented/supported right now. Vulkan support requires that we add thread-safe memory pools, or otherwise transfer the actual memory block containing the texture to the new context. BUG=skia: Change-Id: I784a3a74be69807df038c7d192eaed002c7e45ca Reviewed-on: https://skia-review.googlesource.com/8529 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
008b9d80ab9adbf2656eceaf54d11cd15e4dda05 |
|
22-Feb-2017 |
csmartdalton <csmartdalton@google.com> |
Add the ability to enable/disable GPU path renderers Adds a bitfield to GrContextOptions that masks out path renderers. Adds commandline flags support to set this bitfield in tools apps. Removes GrGLInterfaceRemoveNVPR since we can now accomplish the same thing in the context options. BUG=skia: Change-Id: Icf2a4df36374b3ba2f69ebf0db56e8aedd6cf65f Reviewed-on: https://skia-review.googlesource.com/8786 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
/external/skia/src/gpu/GrContext.cpp
|
485c499a2797c1eb0e750fa4aaec57192799b424 |
|
14-Feb-2017 |
Matt Sarett <msarett@google.com> |
Rename SkConfig8888/SkPixelInfo to SkConvertPixels BUG=skia: Change-Id: I4f3c6370b3ef4247aa446716c7c154899925d089 Reviewed-on: https://skia-review.googlesource.com/8442 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
/external/skia/src/gpu/GrContext.cpp
|
46da1cc9f20c277f7789355038d426931195aa65 |
|
14-Feb-2017 |
Brian Osman <brianosman@google.com> |
GrContext option to prevent GPU based YUV -> RGB Rob and I spent a long time debugging why this wasn't working for Flutter - doing the more complex operations on the loading thread produces a blank texture when it's used later on the drawing thread. Limiting ourselves to just creating and uploading RGBA data fixes that. We need to debug what's going wrong, but in the meantime, this lets Flutter use Skia APIs to manage GPU uploading and lifetime of texture-backed images, while still doing those uploads on their IO thread. BUG=skia: Change-Id: Ibf5c37f2439814544beab8c93c2a646f7a9e779d Reviewed-on: https://skia-review.googlesource.com/8443 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c7b29089475772a51541323a93a15baad2a5feaa |
|
09-Feb-2017 |
Matt Sarett <msarett@google.com> |
Refactor pixel conversion: premul and unpremul Just going for simpler and more code sharing. BUG=skia: Change-Id: I84c20cd4dbb6950f7b4d0bc659c4b3b5a2af201c Reviewed-on: https://skia-review.googlesource.com/8287 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Matt Sarett <msarett@google.com>
/external/skia/src/gpu/GrContext.cpp
|
77b3f32936dd069fa6a27f870b3b30035733d940 |
|
01-Feb-2017 |
Robert Phillips <robertphillips@google.com> |
Broaden checking of GrSurfaceProxy::MakeDeferred's return value We now expect MakeDeferred to baulk if the ultimate texture/rendertarget will not be instantiable. Added checks for MakeWrapped too since, technically, it too can baulk. BUG=676753 Change-Id: I3e052ebf98303fc46124272082c10f303d89da27 Reviewed-on: https://skia-review.googlesource.com/7830 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
08c5ec71303aa58d6f081914f3e868fa5cce9f4c |
|
30-Jan-2017 |
Robert Phillips <robertphillips@google.com> |
Make blur utils take GrTextureProxies - take 2 This is a re-land of https://skia-review.googlesource.com/c/7738/ (Make blur utils take GrTextureProxies) with a fix for the Nexus7 Change-Id: I5821a26b1e986daa11d960ae826a1207512cd2a0 Reviewed-on: https://skia-review.googlesource.com/7746 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
26caf898f1db66bc6923b61ef902132bbdff51dd |
|
27-Jan-2017 |
Robert Phillips <robertphillips@google.com> |
Add utilities to create GrSurfaceProxy & GrSurfaceContext from backend descs Change-Id: Iff2278de8ddd6c0dff74e5cf1996702bad31217b Reviewed-on: https://skia-review.googlesource.com/7647 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
964dec3948721808491b21b4ff4ff41a466443ec |
|
26-Jan-2017 |
Brian Osman <brianosman@google.com> |
Move SkGammaColorFilter to tools, limit to sRGB Similarly, limit GrGammaEffect to sRGB (and rename it). BUG=skia: Change-Id: I88feef11ab7040bca2fa4c2eed71923ded87a0d0 Reviewed-on: https://skia-review.googlesource.com/7375 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
757914d26b337b04cf270875bce28d7d1e2407de |
|
25-Jan-2017 |
Robert Phillips <robertphillips@google.com> |
Switch GrConfigConversionEffect over to taking GrTextureProxies Change-Id: Ic8be773e210e1ac05dcb9aad6c89dcd63e9e4ba2 Reviewed-on: https://skia-review.googlesource.com/7521 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
67c18d6b5188a0497f6912a73d964c763d2f8f84 |
|
20-Jan-2017 |
Robert Phillips <robertphillips@google.com> |
Continue making Ganesh use absolute texture coordinates - take 2 The idea here is that the GrCoordTransform will actually hold a GrTextureProxy (rather than a GrTexture) and then, in GrGLSLPrimitiveProcessor::GetTransformMatrix, use the instantiated width & height (when uploading the transform matrix) Relanding of: https://skia-review.googlesource.com/c/6977/ Change-Id: Ibc9b9e354f7fc23b1a6e6e4fe7c9fe3cef771c02 Reviewed-on: https://skia-review.googlesource.com/7265 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2c86249465c28a532c8be55b6ba497021e3110ec |
|
18-Jan-2017 |
Robert Phillips <robertphillips@google.com> |
Move read/write-Pixels up to GrSurfaceContext This still needs to be propagated out in several ways: replace more instances of GrSurface::read/write-Pixels add colorSpace to more instances of the TextureContext but it establishes a beach-head and is exciting enough as is. Change-Id: If86035aa0245e70b54541e83722b3c75bc5ade13 Reviewed-on: https://skia-review.googlesource.com/7172 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
a7d61a65ee7f7b2a2f6fce59faaca0762cef4c67 |
|
17-Jan-2017 |
Joe Gregorio <jcgregorio@google.com> |
Revert "Continue making Ganesh use absolute texture coordinates" This reverts commit 4493a9dc9df8cf306a974bde7e0e9c5470ebcdc9. Reason for revert: Continuing failures https://luci-milo.appspot.com/swarming/task/33c693c3539a1410 Change-Id: Id371d6df6a875a5f6872f4ebd91b08a354d949de Reviewed-on: https://skia-review.googlesource.com/7125 Commit-Queue: Joe Gregorio <jcgregorio@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4493a9dc9df8cf306a974bde7e0e9c5470ebcdc9 |
|
17-Jan-2017 |
Robert Phillips <robertphillips@google.com> |
Continue making Ganesh use absolute texture coordinates The idea here is that the GrCoordTransform will actually hold a GrTextureProxy (rather than a GrTexture) and then, in GrGLSLPrimitiveProcessor::GetTransformMatrix, use the instantiated width & height (when uploading the transform matrix) Change-Id: Ibac3a540fcb1967ceef571157d41c1937acfadf8 Reviewed-on: https://skia-review.googlesource.com/6977 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
78f20e0e97472c39377bcb610d845ae6ef5d6ace |
|
12-Jan-2017 |
Brian Osman <brianosman@google.com> |
Cleanup GrPixelConfig helper functions Remove unused functions, and convert another to switch style. BUG=skia: Change-Id: I93edbece54f147d868801bb008e6f935a8cb997f Reviewed-on: https://skia-review.googlesource.com/6947 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d0be1ef36c64c2a420cbd82f4c033704d4c54a07 |
|
11-Jan-2017 |
Brian Osman <brianosman@google.com> |
Remove kIndex_8_GrPixelConfig It's been disabled for a long time (GPUs don't support it, and it actually caused performance regression in testing). BUG=skia:4333 Change-Id: I6e2bf755f765168fd616de6c9c023c6fbd5abd20 Reviewed-on: https://skia-review.googlesource.com/6897 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
82f44319159bb98dcacdbbec7ea643dde5ed024b |
|
11-Jan-2017 |
Brian Salomon <bsalomon@google.com> |
Make GrPaints move their GrProcessor ownership into GrPipelineBuilder. This makes GrPaints usable only once. In some places we must make copies in order to issue draws with the same paint state. Change-Id: Ie816e5185ce93a064111cad64c6880e1e21184c2 Reviewed-on: https://skia-review.googlesource.com/6844 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
986563bcff26300ea4317b4dd84917d5240bb723 |
|
10-Jan-2017 |
Brian Osman <brianosman@google.com> |
Add Gray8 pixel config This is still just linear (non-sRGB), but adding sRGB will be the next step. I've verified that this is really making R8 textures when uploading Gray8 bitmaps. Tests pass, and the all_bitmap_configs GM still renders correctly (unlike when we just mapped Gray8 to Alpha8). This adds another pixel config, which could grow our cache footprint, but the benefits of not using 4bpp for 1bpp data should outweigh that? Re-land of https://skia-review.googlesource.com/c/6817/, with fixes for Vulkan. BUG=skia:6110 Change-Id: Ia763c276808be28027ed0005ee4b88637306583f Reviewed-on: https://skia-review.googlesource.com/6839 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4641d7d0550c6abcb6ffbda9941f6add268c017c |
|
10-Jan-2017 |
Brian Osman <brianosman@google.com> |
Revert "Add Gray8 pixel config" This reverts commit f2956459f707de596dcb2c79a7ee1fa62d599c0d. Reason for revert: GM and image failures on some bots (rendering red, not gray). Original change's description: > Add Gray8 pixel config > > This is still just linear (non-sRGB), but adding sRGB will > be the next step. I've verified that this is really making > R8 textures when uploading Gray8 bitmaps. Tests pass, and > the all_bitmap_configs GM still renders correctly (unlike > when we just mapped Gray8 to Alpha8). > > This adds another pixel config, which could grow our cache > footprint, but the benefits of not using 4bpp for 1bpp data > should outweigh that? > > BUG=skia:6110 > > Change-Id: I4fc4c2479fc25f1d278e174a9bb5b542a0cb184c > Reviewed-on: https://skia-review.googlesource.com/6817 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Osman <brianosman@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org BUG=skia:6110 NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I95a4fc0450a569d5791f6bceb7fae61c7e5eba61 Reviewed-on: https://skia-review.googlesource.com/6838 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
f2956459f707de596dcb2c79a7ee1fa62d599c0d |
|
09-Jan-2017 |
Brian Osman <brianosman@google.com> |
Add Gray8 pixel config This is still just linear (non-sRGB), but adding sRGB will be the next step. I've verified that this is really making R8 textures when uploading Gray8 bitmaps. Tests pass, and the all_bitmap_configs GM still renders correctly (unlike when we just mapped Gray8 to Alpha8). This adds another pixel config, which could grow our cache footprint, but the benefits of not using 4bpp for 1bpp data should outweigh that? BUG=skia:6110 Change-Id: I4fc4c2479fc25f1d278e174a9bb5b542a0cb184c Reviewed-on: https://skia-review.googlesource.com/6817 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3afa628e50e30b3e4398280f342e449ae64de230 |
|
05-Jan-2017 |
Brian Osman <brianosman@google.com> |
Revert "Explicitly fail read/writePixels in invalid color space scenarios" This reverts commit efcc41805b43347444b83c1705d3d60c8d0caa70. Reason for revert: Possible culprit for Chromium failures. Original change's description: > Explicitly fail read/writePixels in invalid color space scenarios > > It's not well defined what to do when moving from a nullptr color space to > a tagged destination (drawing, reading, writing, etc...). In these > scenarios, at least, we can choose to disallow the operation (rather than > produce an unexpected or inconsistent result). > > BUG=skia: > > Change-Id: I033b23c6f2bb00664efc8fdab1b3f52053d77695 > Reviewed-on: https://skia-review.googlesource.com/6600 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > Reviewed-by: Matt Sarett <msarett@google.com> > TBR=mtklein@google.com,bsalomon@google.com,msarett@google.com,brianosman@google.com,reviews@skia.org BUG=skia: NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I17791f9285089ede42b7921324e0dc264865be1d Reviewed-on: https://skia-review.googlesource.com/6628 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
efcc41805b43347444b83c1705d3d60c8d0caa70 |
|
05-Jan-2017 |
Brian Osman <brianosman@google.com> |
Explicitly fail read/writePixels in invalid color space scenarios It's not well defined what to do when moving from a nullptr color space to a tagged destination (drawing, reading, writing, etc...). In these scenarios, at least, we can choose to disallow the operation (rather than produce an unexpected or inconsistent result). BUG=skia: Change-Id: I033b23c6f2bb00664efc8fdab1b3f52053d77695 Reviewed-on: https://skia-review.googlesource.com/6600 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Matt Sarett <msarett@google.com>
/external/skia/src/gpu/GrContext.cpp
|
b62ea2240ffbc28bdf2469464e232f674f59584b |
|
22-Dec-2016 |
Brian Osman <brianosman@google.com> |
Change GPU read/write pixels API to support color space conversion GrContext still doesn't convert, but it has the source and destination color spaces, and call sites are supplying appropriate values where it makes sense. BUG=skia: Change-Id: Ia88733125b8090776cfc9b0dc8030cce365b0b8b Reviewed-on: https://skia-review.googlesource.com/6400 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
09d994ecb30de2e62a31af2c16307af31fe0e0b3 |
|
21-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Misc batch->op cleanup Part 1 of 2 Change-Id: I80f951976558a284e55386e0a368f08bd835d8ca Reviewed-on: https://skia-review.googlesource.com/6359 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
f856fd1ccdd839646159767f6aa9a2f2a1b97f04 |
|
16-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Rename GrBatchFontCache->GrAtlasGlyphCache Change-Id: Ie21e18b631daa24e70df630b9f910213f62bdbdf Reviewed-on: https://skia-review.googlesource.com/6164 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
895274391db8df7357334aec260edca2e1735626 |
|
16-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
move src/gpu/batches -> src/gpu/ops Change-Id: I6410eae41f051ce38bef6f38d670924c3483c325 Reviewed-on: https://skia-review.googlesource.com/6163 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e2f7d1899d890c2f08571e1bd6c7fa2c5ea1be0b |
|
15-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Add a deferred copy surface (take 3) This CL forces all GrSurface copies to go through a GrSurfaceContext (rather than GrContext). There is a bit of goofiness going on here until read/writePixels is also consolidated in GrSurfaceContext and a proxy-backed SkImage/SkSurface is added. This is a reland of https://skia-review.googlesource.com/c/5773/ (Add a deferred copy surface) Change-Id: Ib8fd96d0569274ef781366eb900ed8ee839ae9bd Reviewed-on: https://skia-review.googlesource.com/6109 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
7dae46a6783de5f6bc461870306eb7d648386980 |
|
14-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Some more batch->op renaming Change-Id: I5cbdc606170186d2d908d518af0e0fd1094fcf78 Reviewed-on: https://skia-review.googlesource.com/6089 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
31c2608e859b1f1c25eeea429f5ab2fee1529fac |
|
14-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Demote savePixels to save_pixels This CL again only really makes sense in the bigger picture of moving readPixels off of GrTexture Change-Id: Ib76482d8a773144e8fc7c6e55b2c7fa7b3ea0ecf Reviewed-on: https://skia-review.googlesource.com/6086 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
e305cc1f2a44e47d6a0dcc0ff34e2692349aed5d |
|
14-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Partially defer GrSWMaskHelper This is intended to position the writePixels in GrSWMaskHelper::toTexture for moving to GrSurfaceContext Change-Id: I6c3d24eb3b1db3b0efc63f7f4f1240a7a00ee88a Reviewed-on: https://skia-review.googlesource.com/6032 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
65115a1b1a5c72b47492dc447d1d282353ae3121 |
|
13-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Remove mutex guards from GrContext::readSurfacePixels Change-Id: Ief4f0faae7abeb996bdfc993e368e64755da15a7 Reviewed-on: https://skia-review.googlesource.com/5929 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d316e77c1e1967b439a9a6c11146c54e367bff71 |
|
14-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Revert "Add a deferred copy surface (take 2)" This reverts commit 398487a850431cf495330d4023607df5305a311f. Reason for revert: See if this is causing the roll failure Original change's description: > Add a deferred copy surface (take 2) > > This CL forces all GrSurface copies to go through a GrSurfaceContext (rather than GrContext). > > There is a bit of goofiness going on here until read/writePixels is also consolidated in GrSurfaceContext and a proxy-backed SkImage/SkSurface is added. > > This is a reland of https://skia-review.googlesource.com/c/5773/ (Add a deferred copy surface) > > Change-Id: Ide560f569aede5e622420dc2f30eef76357d69f4 > Reviewed-on: https://skia-review.googlesource.com/5939 > Reviewed-by: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I1ef40f0d5fb0bca62031f94f10eb18acd753e913 Reviewed-on: https://skia-review.googlesource.com/6024 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
398487a850431cf495330d4023607df5305a311f |
|
13-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Add a deferred copy surface (take 2) This CL forces all GrSurface copies to go through a GrSurfaceContext (rather than GrContext). There is a bit of goofiness going on here until read/writePixels is also consolidated in GrSurfaceContext and a proxy-backed SkImage/SkSurface is added. This is a reland of https://skia-review.googlesource.com/c/5773/ (Add a deferred copy surface) Change-Id: Ide560f569aede5e622420dc2f30eef76357d69f4 Reviewed-on: https://skia-review.googlesource.com/5939 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
293d696fcfb9f1c83019c4b15c4864cd6649ed78 |
|
13-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Revert "Add a deferred copy surface" This reverts commit 4431de6af930a8638c194b072558ea3a4b79d908. Reason for revert: ANGLE errors (at the very least) Original change's description: > Add a deferred copy surface > > This CL forces all GrSurface copies to go through a GrSurfaceContext (rather than GrContext). > > There is a bit of goofiness going on here until read/writePixels is also consolidated in GrSurfaceContext and a proxy-backed SkImage/SkSurface is added. > > Change-Id: Iab1867668d8146a766201158a251b9174438ee2b > Reviewed-on: https://skia-review.googlesource.com/5773 > Reviewed-by: Brian Osman <brianosman@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I61408d9e306b9b1ab32f93ab086e95184e12857f Reviewed-on: https://skia-review.googlesource.com/5938 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4431de6af930a8638c194b072558ea3a4b79d908 |
|
13-Dec-2016 |
Robert Phillips <robertphillips@google.com> |
Add a deferred copy surface This CL forces all GrSurface copies to go through a GrSurfaceContext (rather than GrContext). There is a bit of goofiness going on here until read/writePixels is also consolidated in GrSurfaceContext and a proxy-backed SkImage/SkSurface is added. Change-Id: Iab1867668d8146a766201158a251b9174438ee2b Reviewed-on: https://skia-review.googlesource.com/5773 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
0e8fc8b9e6a138cf4a66b421fb824679df717329 |
|
09-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Relandx2 "Remove antialiasing control from GrPaint." Fixes a bad merge. This reverts commit 073285c0595d46205d1482cc19af2d7d891bfeae. Change-Id: I5e92339d9b33d3a6dc58b9fcd2a1b3a5684e8f8a Reviewed-on: https://skia-review.googlesource.com/5774 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
073285c0595d46205d1482cc19af2d7d891bfeae |
|
09-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Revert "Reland "Remove antialiasing control from GrPaint."" This reverts commit 3944484020d98ff8f386378296106c321279482b. Reason for revert: Merges badly with a recent change. Will rebase and reland. Original change's description: > Reland "Remove antialiasing control from GrPaint." > > This contains fixes for GLPrograms test and mixed samples rendering. > > This reverts commit 419d81eed4a010e6080db199795117cbedf9e6e4. > > BUG=skia: > > Change-Id: If8f002fbfaaaab6d1607403f2b15ccc7f1e17e87 > Reviewed-on: https://skia-review.googlesource.com/5763 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org BUG=skia: NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: Iff9657041e28604a845bc5a9acec7c9b248c53bd Reviewed-on: https://skia-review.googlesource.com/5772 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3944484020d98ff8f386378296106c321279482b |
|
09-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Reland "Remove antialiasing control from GrPaint." This contains fixes for GLPrograms test and mixed samples rendering. This reverts commit 419d81eed4a010e6080db199795117cbedf9e6e4. BUG=skia: Change-Id: If8f002fbfaaaab6d1607403f2b15ccc7f1e17e87 Reviewed-on: https://skia-review.googlesource.com/5763 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
419d81eed4a010e6080db199795117cbedf9e6e4 |
|
08-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Revert "Remove antialiasing control from GrPaint." This reverts commit 9f549358b3ac9f61e78b194e39d6ac6eb322e35e. Reason for revert: hitting asserts Change-Id: I542d34edc05ecf72b7646263f25736a0950c78e7 Reviewed-on: https://skia-review.googlesource.com/5707 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
9f549358b3ac9f61e78b194e39d6ac6eb322e35e |
|
08-Dec-2016 |
Brian Salomon <bsalomon@google.com> |
Remove antialiasing control from GrPaint. This adds an additional param (of new enum type GrAA) to draws that can antialias and a new enum GrAAType to indicate the AA technique (none, fragment shader computed coverage, msaa). Some GMs change due to this: 1) In some places we weren't disabling MSAA when the draw was supposed to be unantialiased. 2) Some bounding rect draws that use GrFragmentProcessors were unnecessarily turning on antialiasing, by disabling it a very small number of pixel LSBs change. Change-Id: I7d8d8793dda70bcd373d09055beb9949c1a8a4d0 Reviewed-on: https://skia-review.googlesource.com/5608 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
5c1c8d15f5f077b3fbec647139b3df31b74a4d95 |
|
30-Nov-2016 |
Brian Salomon <bsalomon@google.com> |
Remove batch bounds drawing debug option Change-Id: I6b8ffc81a1255974f8acd1dfc47cfd406fd4b0bf Reviewed-on: https://skia-review.googlesource.com/5335 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
45580d3e3024c1536e8e1b2017b704805442b634 |
|
23-Nov-2016 |
Brian Osman <brianosman@google.com> |
Added GrSurfaceContext and GrTextureContext This lets copy-to-texture to be treated like copy-to-rt. To match current behavior, though, copies to texture are still executed immediately (forcing a flush). Once MDB is enabled, copies to texture will be deferred. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5093 Change-Id: Icc0ce5435507a5f0a237c22eedef879824952367 Reviewed-on: https://skia-review.googlesource.com/5093 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
d728f0c1a94fe926b59d8ebc9ae174019ccd3606 |
|
21-Nov-2016 |
robertphillips <robertphillips@google.com> |
Defer more renderTargetContexts in the GPU image filter paths - take 2 This is a reland of https://skia-review.googlesource.com/c/4767/ (Defer more renderTargetContexts in the GPU image filter paths). The addition of guards on instantiation && accessRenderTarget failure should prevent a reoccurence of this Nexus7 failures. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2514543002 TBR=bsalomon@google.com Review-Url: https://codereview.chromium.org/2514543002
/external/skia/src/gpu/GrContext.cpp
|
833dcf48844dd053ddf7ecea20e3e1c2b6b47e01 |
|
18-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Add handling for instantiate failure up the call stack The following two CLs were created via grep: https://skia-review.googlesource.com/c/4929/ (Guard against instantiate & accessRenderTarget failures) https://skia-review.googlesource.com/c/4961/ (Remove accessRenderTarget call in SkGpuDevice ctor) This CL was created by running through all the tests and having instantiate fail so it catches up-stack failures to handle a null return. BUG=665681,665500,665621 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4991 Change-Id: I6611eec8d36679123eef140538ee2526fb18628f Reviewed-on: https://skia-review.googlesource.com/4991 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
4e344c8b93c7c2d1ef3cb7fd339bba55c479ece0 |
|
15-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Revert "Defer more renderTargetContexts in the GPU image filter paths" This reverts commit fd01ce05ef7902c49b0272b3524a389693c72b35. Reason for revert: see if this is the cause of the Nexus7 assertion failure Original change's description: > Defer more renderTargetContexts in the GPU image filter paths > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4767 > > Change-Id: I4c1f27247ef340a49d1ac96761810e77e6047ca2 > Reviewed-on: https://skia-review.googlesource.com/4767 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I158f96ec1252481345fc5dca15086ffd4b47cb95 Reviewed-on: https://skia-review.googlesource.com/4875 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
fd01ce05ef7902c49b0272b3524a389693c72b35 |
|
14-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Defer more renderTargetContexts in the GPU image filter paths GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4767 Change-Id: I4c1f27247ef340a49d1ac96761810e77e6047ca2 Reviewed-on: https://skia-review.googlesource.com/4767 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
bf7b620b1e44985b164a8bd68031a7613fe0bb9b |
|
11-Nov-2016 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Add integer texture support."" This reverts commit 9c7edb8311409a141b0dc1d5e480c68c629f1997. Fixes ASAN errors GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4736 Change-Id: I1b1dae754d357b01da7169c8e7c59d7d8d8a10f6 Reviewed-on: https://skia-review.googlesource.com/4736 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
9c7edb8311409a141b0dc1d5e480c68c629f1997 |
|
10-Nov-2016 |
Leon Scroggins <scroggo@google.com> |
Revert "Add integer texture support." This reverts commit 434c534bd0ec08cb355fecfb6d2110197b523e74. Reason for revert: Undefined behavior. From https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-Clang-Golo-GPU-GT610-x86_64-Debug-ASAN/builds/1272/steps/test_skia%20on%20Ubuntu/logs/stdio ../../../tests/IntTextureTest.cpp:51:44: runtime error: left shift of negative value -1 #0 0x2257480 in test_IntTexture(skiatest::Reporter*, sk_gpu_test::ContextInfo const&) (/b/swarm_slave/w/ir0aO1sa/out/Debug/dm+0x2257480) #1 0x1ca1066 in skiatest::RunWithGPUTestContexts(void (*)(skiatest::Reporter*, sk_gpu_test::ContextInfo const&), bool (*)(sk_gpu_test::GrContextFactory::ContextType), skiatest::Reporter*, sk_gpu_test::GrContextFactory*) (/b/swarm_slave/w/ir0aO1sa/out/Debug/dm+0x1ca1066) #2 0x1ca080d in run_test(skiatest::Test) (/b/swarm_slave/w/ir0aO1sa/out/Debug/dm+0x1ca080d) #3 0x1c9e5e9 in dm_main() (/b/swarm_slave/w/ir0aO1sa/out/Debug/dm+0x1c9e5e9) #4 0x7f2d2ba8df44 in __libc_start_main /build/eglibc-oGUzwX/eglibc-2.19/csu/libc-start.c:287 #5 0x1bb3028 in _start (/b/swarm_slave/w/ir0aO1sa/out/Debug/dm+0x1bb3028) SUMMARY: AddressSanitizer: undefined-behavior ../../../tests/IntTextureTest.cpp:51:44 in step returned non-zero exit code: 1 Original change's description: > Add integer texture support. > > This allows us to create integer textures and sample them from a GrProcessor's code. > > Filtering is limited to NEAREST. > > Adds tests for reading/writing pixels, copying, and drawing. These operations are not allowed to convert to fixed/float configs. > > Vulkan support is TBD. > > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4348 > > Change-Id: If38d89a03285d4bd98d1f14f9638b0320977e43d > Reviewed-on: https://skia-review.googlesource.com/4348 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Chris Dalton <csmartdalton@google.com> > TBR=bsalomon@google.com,csmartdalton@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I39f1a0a0dd3e6cde1143c8cc1217d2e3d5977b21 Reviewed-on: https://skia-review.googlesource.com/4663 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com>
/external/skia/src/gpu/GrContext.cpp
|
434c534bd0ec08cb355fecfb6d2110197b523e74 |
|
10-Nov-2016 |
Brian Salomon <bsalomon@google.com> |
Add integer texture support. This allows us to create integer textures and sample them from a GrProcessor's code. Filtering is limited to NEAREST. Adds tests for reading/writing pixels, copying, and drawing. These operations are not allowed to convert to fixed/float configs. Vulkan support is TBD. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4348 Change-Id: If38d89a03285d4bd98d1f14f9638b0320977e43d Reviewed-on: https://skia-review.googlesource.com/4348 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Chris Dalton <csmartdalton@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3743013f755d23c215d852af7d829c3cd74f34a2 |
|
09-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Consolidate GrSurfaceProxy Make methods I think GrSurfaceDesc is still the most compact way to communicate the deferred GrSurface's settings to the Proxy but this CL, at least, reduces where it is used. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4559 Change-Id: Ica599c28a5aef1ed4094f47a4ac119e2d204d652 Reviewed-on: https://skia-review.googlesource.com/4559 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
144caf55ffc692bcda77703a73bb9a894f7d024f |
|
07-Nov-2016 |
Hal Canary <halcanary@google.com> |
src/gpu: s/SkAutoTUnref/sk_sp/g GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4527 Change-Id: I23f0548f98e7c355da05e143e8baa330d4bc04cc Reviewed-on: https://skia-review.googlesource.com/4527 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
/external/skia/src/gpu/GrContext.cpp
|
abacf0978fc06f88278d073655dff6ff8503a612 |
|
02-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Update ProxyTests GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4306 Change-Id: I0753047eeda71a22b6126f932fc14dd242c5a2e7 Reviewed-on: https://skia-review.googlesource.com/4306 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
c7635fa374b87711e5ccd8222957a8fbdc772f7b |
|
28-Oct-2016 |
Robert Phillips <robertphillips@google.com> |
Make GrDrawContext be GrRenderTargetProxy-backed This is split out of https://codereview.chromium.org/2215323003/ (Start using RenderTargetProxy (omnibus)) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3841 CQ_INCLUDE_TRYBOTS=master.client.skia.android:Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Debug-GN_Android-Trybot Change-Id: I1a47f19ed1ac0c249e6ccac8db74095d7f456db4 Reviewed-on: https://skia-review.googlesource.com/3841 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/GrContext.cpp
|
693a540272a771c6b0830094c461397cb77543b1 |
|
27-Oct-2016 |
Brian Osman <brianosman@google.com> |
Rename renderTargetContextPriv to priv, and some more leftover DCs API change is for non-public API. TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4060 Change-Id: I5011d753c3c6d1145ff242eab6baff2ae0647ba3 Reviewed-on: https://skia-review.googlesource.com/4060 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1105224f9701e57ec5ce0354d6a380b664f5c638 |
|
27-Oct-2016 |
Brian Osman <brianosman@google.com> |
Rename GrDrawContext to GrRenderTargetContext This is in preparation for GrTextureContext and GrSurfaceContext BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4030 Change-Id: Ie58c93052e68f3f1f5fe8d15d63760de274a6fbd Reviewed-on: https://skia-review.googlesource.com/4030 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
6bd5284415bd983b0628c4941dff5def40018f5a |
|
27-Oct-2016 |
bungeman <bungeman@google.com> |
Remove SkAutoTUnref and SkAutoTDelete from public includes. This also makes the required changed to src, tests, and tools. The few public APIs modified by this change appear to be unused outside of Skia. Removing these from the public API makes it easier to ensure users are no longer using them. This also updates GrGpu::wrapBackendXXX and the ::onWrapBackendXXX methods to clarify ownership. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2448593002 Review-Url: https://codereview.chromium.org/2448593002
/external/skia/src/gpu/GrContext.cpp
|
f2361d2d93c200cd4555b5e8ecea4531801abaaa |
|
25-Oct-2016 |
Robert Phillips <robertphillips@google.com> |
Add GrOpList and rename GrDrawTarget to GrRenderTargetOpList GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3910 Change-Id: I026aa26ecc61a0d002e98892dca728536259e8b1 Reviewed-on: https://skia-review.googlesource.com/3910 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/GrContext.cpp
|
374772bd61951f01bf84fe17bf53d8867681c9ae |
|
06-Oct-2016 |
reed <reed@google.com> |
Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" This reverts commit c245574ba3d0e2ade6c94b2812de3baa383bf4c4. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2396953002 TBR= Review-Url: https://codereview.chromium.org/2396953002
/external/skia/src/gpu/GrContext.cpp
|
c245574ba3d0e2ade6c94b2812de3baa383bf4c4 |
|
05-Oct-2016 |
Mike Reed <reed@google.com> |
Revert[7] "replace SkXfermode obj with SkBlendMode enum in paints" This reverts commit Ib4a154cdd5f5d1dcac921ef50d53b79a2d6a1be8. Reason for revert: new assert from 100K bot Original change's description: > Revert[6] "replace SkXfermode obj with SkBlendMode enum in paints" > > - perform version check in CreateProc for XfermodeImageFilter and ArithmeticImageFilter > This reverts commit 3ed485f4249e17abb4b11f5018d03175fd1afb44. > > BUG=skia: > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2992 > > Change-Id: Ib4a154cdd5f5d1dcac921ef50d53b79a2d6a1be8 > Reviewed-on: https://skia-review.googlesource.com/2992 > Reviewed-by: Mike Reed <reed@google.com> > Commit-Queue: Mike Reed <reed@google.com> > TBR=reed@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I848e5a69c5cd67f2c14889f4f0a346652578c4ff Reviewed-on: https://skia-review.googlesource.com/3023 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2b2fc7db4f8a4a4d4a51d7eb4df6aa62e309928d |
|
05-Oct-2016 |
Mike Reed <reed@google.com> |
Revert[6] "replace SkXfermode obj with SkBlendMode enum in paints" - perform version check in CreateProc for XfermodeImageFilter and ArithmeticImageFilter This reverts commit 3ed485f4249e17abb4b11f5018d03175fd1afb44. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2992 Change-Id: Ib4a154cdd5f5d1dcac921ef50d53b79a2d6a1be8 Reviewed-on: https://skia-review.googlesource.com/2992 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
3ed485f4249e17abb4b11f5018d03175fd1afb44 |
|
04-Oct-2016 |
Mike Reed <reed@google.com> |
Revert[5] "replace SkXfermode obj with SkBlendMode enum in paints" This reverts commit I0fa5c58af428f3da8565465d1219a34ef8417d9a. Reason for revert: failing to deserialize some of the 100K Original change's description: > Revert[4] "replace SkXfermode obj with SkBlendMode enum in paints" > > This reverts commit 2cbcd12281ee807214df094964c584c78932e10b. > > BUG=skia: > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2924 > > Change-Id: I0fa5c58af428f3da8565465d1219a34ef8417d9a > Reviewed-on: https://skia-review.googlesource.com/2924 > Reviewed-by: Mike Reed <reed@google.com> > Commit-Queue: Mike Reed <reed@google.com> > TBR=reed@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I1805a57eef5ebcac203da5989c8539345ecf806f Reviewed-on: https://skia-review.googlesource.com/2962 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
1834242ec6e3cd62669227d394bc79e1cd66dcfb |
|
04-Oct-2016 |
Mike Reed <reed@google.com> |
Revert[4] "replace SkXfermode obj with SkBlendMode enum in paints" This reverts commit 2cbcd12281ee807214df094964c584c78932e10b. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2924 Change-Id: I0fa5c58af428f3da8565465d1219a34ef8417d9a Reviewed-on: https://skia-review.googlesource.com/2924 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
2cbcd12281ee807214df094964c584c78932e10b |
|
03-Oct-2016 |
Mike Reed <reed@google.com> |
Revert "Revert "Revert "replace SkXfermode obj with SkBlendMode enum in paints""" This reverts commit I86875511a13497112827cbaed1dbd7639e9e3d10. legacy (100K) skp failure Original change's description: > Revert "Revert "replace SkXfermode obj with SkBlendMode enum in paints"" > > This reverts commit ce02e7175872abde3721df9e5d3ec0ab8384cd8e. > > BUG=skia: > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2878 > > Change-Id: I86875511a13497112827cbaed1dbd7639e9e3d10 > Reviewed-on: https://skia-review.googlesource.com/2878 > Reviewed-by: Matt Sarett <msarett@google.com> > Commit-Queue: Mike Reed <reed@google.com> > TBR=msarett@google.com,reed@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: Ife6f0cf3a22b3e8cf885a188f7f44e1ff62e06a5 Reviewed-on: https://skia-review.googlesource.com/2881 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
70cdb396eb5ffbbed128b902532e9292b5ec0e9d |
|
03-Oct-2016 |
Mike Reed <reed@google.com> |
Revert "Revert "replace SkXfermode obj with SkBlendMode enum in paints"" This reverts commit ce02e7175872abde3721df9e5d3ec0ab8384cd8e. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2878 Change-Id: I86875511a13497112827cbaed1dbd7639e9e3d10 Reviewed-on: https://skia-review.googlesource.com/2878 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
ce02e7175872abde3721df9e5d3ec0ab8384cd8e |
|
03-Oct-2016 |
Mike Reed <reed@google.com> |
Revert "replace SkXfermode obj with SkBlendMode enum in paints" This reverts commit I4fb489ba6b3f77b458f7e4a99f79c7ad10859135. Reason for revert: <INSERT REASONING HERE> Original change's description: > replace SkXfermode obj with SkBlendMode enum in paints > > BUG=skia:5814 > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2714 > > Change-Id: I4fb489ba6b3f77b458f7e4a99f79c7ad10859135 > Reviewed-on: https://skia-review.googlesource.com/2714 > Reviewed-by: Florin Malita <fmalita@chromium.org> > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Mike Reed <reed@google.com> > TBR=bsalomon@google.com,fmalita@chromium.org,fmalita@google.com,reed@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I3e43f79ef5c1709929663fe63cc1f67cd78270b7 Reviewed-on: https://skia-review.googlesource.com/2871 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
0591897548c8fcb7d53cc94053e01702e58f1ac5 |
|
03-Oct-2016 |
Mike Reed <reed@google.com> |
replace SkXfermode obj with SkBlendMode enum in paints BUG=skia:5814 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2714 Change-Id: I4fb489ba6b3f77b458f7e4a99f79c7ad10859135 Reviewed-on: https://skia-review.googlesource.com/2714 Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Reed <reed@google.com>
/external/skia/src/gpu/GrContext.cpp
|
39ef7fb885d7be648b9f0ecd027bc400d1213cec |
|
21-Sep-2016 |
bsalomon <bsalomon@google.com> |
Add optional sw generated path coverage mask caching BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2335343008 All the bots except the painfully slow windows compiler have finished so, NOTRY=true Review-Url: https://codereview.chromium.org/2335343008
/external/skia/src/gpu/GrContext.cpp
|
6b2552f10983d1b6d33303e3e9965ae71944c1d5 |
|
15-Sep-2016 |
bsalomon <bsalomon@google.com> |
Add GrContextOptions flag to disable distance field path renderer. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339213002 Review-Url: https://codereview.chromium.org/2339213002
/external/skia/src/gpu/GrContext.cpp
|
6a2b1941c1da272f704439e417f212932eed2004 |
|
08-Sep-2016 |
bsalomon <bsalomon@google.com> |
Move prepareForExternalIO implementation from GrContext to GrDrawingManager GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2324473002 Review-Url: https://codereview.chromium.org/2324473002
/external/skia/src/gpu/GrContext.cpp
|
b77a907c2fb4402b7e70e9fff70eb71482354e67 |
|
07-Sep-2016 |
bsalomon <bsalomon@google.com> |
Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. Consolidates all flush actions into GrDrawingManager and makes GrContext::flush a passthrough. Removes the unused and untested discard flush variation. Replaces the indirect overbudget callback mechanism of GrResourceCache with a flag set by resource cache when it wants to flush that is checked after each draw by GrDrawContext. Modifies GrResourceCache::notifyFlushOccurred() to take a param indicating whether it triggered the flush that just occurred. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2307053002 Committed: https://skia.googlesource.com/skia/+/1dbb207babecdae8f1f74ed9d9900c73064df744 Review-Url: https://codereview.chromium.org/2307053002
/external/skia/src/gpu/GrContext.cpp
|
5eb41fdf94187d6cc22702444622ed7897c8039a |
|
06-Sep-2016 |
bsalomon <bsalomon@google.com> |
Revert of Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. (patchset #4 id:60001 of https://codereview.chromium.org/2307053002/ ) Reason for revert: Causing assertions on bots Original issue's description: > Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. > > Consolidates all flush actions into GrDrawingManager and makes GrContext::flush a passthrough. > > Removes the unused and untested discard flush variation. > > Replaces the indirect overbudget callback mechanism of GrResourceCache with a flag set by resource cache when it wants to flush that is checked after each draw by GrDrawContext. > > Modifies GrResourceCache::notifyFlushOccurred() to take a param indicating whether it triggered the > flush that just occurred. > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2307053002 > > Committed: https://skia.googlesource.com/skia/+/1dbb207babecdae8f1f74ed9d9900c73064df744 TBR=robertphillips@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2312123003
/external/skia/src/gpu/GrContext.cpp
|
1dbb207babecdae8f1f74ed9d9900c73064df744 |
|
06-Sep-2016 |
bsalomon <bsalomon@google.com> |
Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. Consolidates all flush actions into GrDrawingManager and makes GrContext::flush a passthrough. Removes the unused and untested discard flush variation. Replaces the indirect overbudget callback mechanism of GrResourceCache with a flag set by resource cache when it wants to flush that is checked after each draw by GrDrawContext. Modifies GrResourceCache::notifyFlushOccurred() to take a param indicating whether it triggered the flush that just occurred. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2307053002 Review-Url: https://codereview.chromium.org/2307053002
/external/skia/src/gpu/GrContext.cpp
|
48fde9c4127860ca5851b88ba123169b9889445c |
|
06-Sep-2016 |
robertphillips <robertphillips@google.com> |
Add a makeDrawContextWithFallback that handles config fallback This fixes a bug in find_or_create_rrect_blur_mask where an A8-based drawContext was desired but creation was failing b.c. A8 wasn't renderable. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2296193005 Review-Url: https://codereview.chromium.org/2296193005
/external/skia/src/gpu/GrContext.cpp
|
bde96c6263112de755a2573f6f5f02703386f328 |
|
31-Aug-2016 |
csmartdalton <csmartdalton@google.com> |
Move clip mask generation into GrReducedClip This is a temporary solution to facilitate window rectangles and make clip mask generation more accessible for testing. The eventual goal is to simplify clips and merge GrReducedClip into GrClipStackClip. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2263343002 Review-Url: https://codereview.chromium.org/2263343002
/external/skia/src/gpu/GrContext.cpp
|
dc43898bbbd06202562514ae785116e0cc40f825 |
|
31-Aug-2016 |
bsalomon <bsalomon@google.com> |
Don't purge resources for trivial GrContext flushes GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2298003003 Review-Url: https://codereview.chromium.org/2298003003
/external/skia/src/gpu/GrContext.cpp
|
95243ebb68cae9ff4821ea57b9a32a194f2a87cf |
|
24-Aug-2016 |
ajuma <ajuma@chromium.org> |
Make GrTextureStripAtlas flush pending IO on newly acquired texture GrTextureStripAtlas uses its own lock counts to protect against overwriting its own earlier writes, but that doesn't protect against IO that was pending when a texture was first acquired. BUG=chromium:637678 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2262233002 Review-Url: https://codereview.chromium.org/2262233002
/external/skia/src/gpu/GrContext.cpp
|
a95d46b4ac8e41c9beb2b750cd389b1c6ebaf0a7 |
|
15-Aug-2016 |
egdaniel <egdaniel@google.com> |
Fix copying of data in vulkan testing texture BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2248703002 Review-Url: https://codereview.chromium.org/2248703002
/external/skia/src/gpu/GrContext.cpp
|
29f9fe45ef0a7994f6f46c55d288bbdb696295f3 |
|
05-Aug-2016 |
robertphillips <robertphillips@google.com> |
Rename GrDrawingManager::drawContext to makeDrawContext This was violating our naming convention GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2216643002 Review-Url: https://codereview.chromium.org/2216643002
/external/skia/src/gpu/GrContext.cpp
|
4fd74aec9f6c68c66483bcc6735793440b1ba184 |
|
03-Aug-2016 |
robertphillips <robertphillips@google.com> |
Move GrContext::makeDrawContext to new GrContextPriv object We don't want external clients to be able to call the wrapping makeDrawContext. The "creating" makeDrawContext needs to be public for external image filters. The 3 specialized drawContext creators on GrContextPriv (to wrap backend objects) are also to be kept from public use and will be used to remove SkSurface::MakeRenderTargetDirect. Split out of: https://codereview.chromium.org/2176333002/ (Remove SkSurface::MakeRenderTargetDirect) TBR=bsalomon@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2211473002 Review-Url: https://codereview.chromium.org/2211473002
/external/skia/src/gpu/GrContext.cpp
|
1e8761809d76429961dac92f874e7e0a36a0e5c4 |
|
29-Jul-2016 |
robertphillips <robertphillips@google.com> |
Remove GrContext::applyGamma GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2191323002 Review-Url: https://codereview.chromium.org/2191323002
/external/skia/src/gpu/GrContext.cpp
|
6738c702423226619ee0172c12a3a007c5f68e57 |
|
27-Jul-2016 |
robertphillips <robertphillips@google.com> |
Rename GrContext's newDrawContext & drawContext to makeDrawContext These both return sk_sp. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2186073002 Review-Url: https://codereview.chromium.org/2186073002
/external/skia/src/gpu/GrContext.cpp
|
3a0dbde1cfa84b08c7dd5b597142e9f6179f2d07 |
|
26-Jul-2016 |
brianosman <brianosman@google.com> |
Remove SkSurfaceProps gamma-correctness flag entirely. This is no longer required - gamma-correctness is now just based on the presence or absence of a color space. Public API change is just removal of (unused) flag. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2188463002 TBR=bsalomon@google.com Review-Url: https://codereview.chromium.org/2188463002
/external/skia/src/gpu/GrContext.cpp
|
396fcdba14a0101ed43dcc3863585bf50c4ed6cc |
|
22-Jul-2016 |
brianosman <brianosman@google.com> |
Cleanup of code that converts from GPU-backed resources to SkImageInfo Functions like GrMakeInfoFromTexture encouraged incorrect code to be written. Similarly, the ability to construct an info from any GrSurface was never going to be correct. Luckily, the only client of that had all of the correct parameters much higher on the stack (and dictated or replaced most of the properties of the returned info anyway). With this, I can finally remove the color space as an output of the pixel config -> color type conversion, which was never going to be correct. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2173513002 Review-Url: https://codereview.chromium.org/2173513002
/external/skia/src/gpu/GrContext.cpp
|
dfe4f2e4fe5b162d4adb4486fe751f1e3b30bea7 |
|
21-Jul-2016 |
brianosman <brianosman@google.com> |
Add SkColorSpace to GrDrawContext BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164363002 Review-Url: https://codereview.chromium.org/2164363002
/external/skia/src/gpu/GrContext.cpp
|
b117ff194ff888ef9107a4797aad053b0d76be30 |
|
19-Jul-2016 |
bsalomon <bsalomon@google.com> |
Convert readSurfacePixels to use a draw context instead of a texture GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2165523003 Review-Url: https://codereview.chromium.org/2165523003
/external/skia/src/gpu/GrContext.cpp
|
54f30c13fc0a5d89797fc9be5f0fb1050d96b6f4 |
|
18-Jul-2016 |
brianosman <brianosman@google.com> |
Introduce GrColorSpaceXform, for gamut conversion on textures GrTextureAccess optionally includes an instance, computed from the src and dst color spaces. In all common cases (no color space for either src or dst, or same color space for both), no object is allocated. This change is orthogonal to my attempts to get color space attached to render targets - regardless of how we choose to do that, this will give us the source color space at all points where we are connecting src to dst. There are many dangling injection points where I've been inserting nullptr, but I have a record of all of them. Additionally, there are now three places (the most common simple paths for bitmap/image rendering) where things are plumbed enough that I expect to have access to the dst color space (all marked with XFORMTODO). In addition to getting the dst color space, I need to inject shader code and uniform uploading for appendTextureLookup and friends. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2154753003 Review-Url: https://codereview.chromium.org/2154753003
/external/skia/src/gpu/GrContext.cpp
|
dda54455a20dcd89de610bdb80e4a8e9137b80a4 |
|
13-Jul-2016 |
robertphillips <robertphillips@google.com> |
Remove GrLayerHoister This relies on https://codereview.chromium.org/1944013002/ (Add legacy flag to allow Skia to remove Ganesh layer hoister) landing first so as to not break the DEPS roll. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1950523002 Review-Url: https://codereview.chromium.org/1950523002
/external/skia/src/gpu/GrContext.cpp
|
52ede1d905728cdcaa98db1e4a33724f5a85c62d |
|
20-Jun-2016 |
brianosman <brianosman@google.com> |
More removal of SkColorProfileType... Scrub GMs. Remove the gDefaultProfile thing (it's unused now), along with the command line flag that was setting it in DM and nanobench. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2071393002 Committed: https://skia.googlesource.com/skia/+/944876f2745a62a839e49275daf93a0329372e67 Review-Url: https://codereview.chromium.org/2071393002
/external/skia/src/gpu/GrContext.cpp
|
802acec1876bb647aaab1bbcfd97748bba54da8f |
|
18-Jun-2016 |
egdaniel <egdaniel@google.com> |
Revert of More removal of SkColorProfileType... (patchset #2 id:20001 of https://codereview.chromium.org/2071393002/ ) Reason for revert: This was still used in chrome Original issue's description: > More removal of SkColorProfileType... > > Scrub GMs. Remove the gDefaultProfile thing (it's unused now), along with > the command line flag that was setting it in DM and nanobench. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2071393002 > > Committed: https://skia.googlesource.com/skia/+/944876f2745a62a839e49275daf93a0329372e67 TBR=msarett@google.com,reed@google.com,bsalomon@google.com,brianosman@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review-Url: https://codereview.chromium.org/2074103004
/external/skia/src/gpu/GrContext.cpp
|
944876f2745a62a839e49275daf93a0329372e67 |
|
17-Jun-2016 |
brianosman <brianosman@google.com> |
More removal of SkColorProfileType... Scrub GMs. Remove the gDefaultProfile thing (it's unused now), along with the command line flag that was setting it in DM and nanobench. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2071393002 Review-Url: https://codereview.chromium.org/2071393002
/external/skia/src/gpu/GrContext.cpp
|
06ca8ec87cf6fab57cadd043a5ac18c4154a4129 |
|
09-Jun-2016 |
bungeman <bungeman@google.com> |
sk_sp for Ganesh. Convert use of GrFragmentProcessor, GrGeometryProcessor, and GrXPFactory to sk_sp. This clarifies ownership and should reduce reference count churn by moving ownership. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2041113004 Review-Url: https://codereview.chromium.org/2041113004
/external/skia/src/gpu/GrContext.cpp
|
a167e74b4bb78cfbbec3d8768e5853cd0b9314ab |
|
24-May-2016 |
brianosman <brianosman@google.com> |
Remove sRGB overrides on GrTextureParams. Use GrPaint flags instead. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2002253002 Review-Url: https://codereview.chromium.org/2002253002
/external/skia/src/gpu/GrContext.cpp
|
ca6eafc0f7e59ed89f03a9891b9fdf7de64f1f35 |
|
17-May-2016 |
robertphillips <robertphillips@google.com> |
(Mostly) Retract GrRenderTarget from SkGpuDevice This gets us most of the way to having SkGpuDevice exclusively use a GrDrawContext instead of a GrRenderTarget. There are a few other refactorings (e.g., rm need for fLegacyBitmap and accessRenderTarget) before the GrRenderTarget can be completely removed. Has calved off: https://codereview.chromium.org/1925313002/ (Tighten up SkSpecialSurface factory functions) https://codereview.chromium.org/1925803004/ (Add sk_sp to SkSurface_Gpu and SkGpuDevice) https://codereview.chromium.org/1956473002/ (Retract GrRenderTarget a bit within SkGpuDevice) https://codereview.chromium.org/1979913002/ (Rename GrDrawingMgr::abandon to wasAbandoned & add a matching entry point to GrDrawingContext) https://codereview.chromium.org/1982583002/ (Add isUnifiedMultisampled entry point to GrDrawContext) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1930013002 Review-Url: https://codereview.chromium.org/1930013002
/external/skia/src/gpu/GrContext.cpp
|
7761d61876ea479dd9672b684fd5c7601932a767 |
|
16-May-2016 |
robertphillips <robertphillips@google.com> |
Rename GrDrawingMgr::abandon to wasAbandoned & add a matching entry point to GrDrawingContext Since GrDrawingContext is generally replacing GrRenderTarget, this is to provide functionality similar to GrRenderTarget::wasDestroyed. This is split out of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1979913002 Review-Url: https://codereview.chromium.org/1979913002
/external/skia/src/gpu/GrContext.cpp
|
846c051a4800b3cea341a0195db24297d6d9047f |
|
13-May-2016 |
cdalton <cdalton@nvidia.com> |
Convert GrClip to an abstract base class Converts GrClip to an abstract base class and adds a "GrFixedClip" implementation. GrFixedClip denotes a clip implemented with fixed- function hardware. GrFixedClip allows us to remove the stateful "fClipMode" member from GrClipMaskManager, and in the future will be able to nicely encapsulate window rectangles. After this change GrClipMaskManager is just a wrapper around GrDrawTarget. We may want to consider removing it altogether. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1971343002 Review-Url: https://codereview.chromium.org/1971343002
/external/skia/src/gpu/GrContext.cpp
|
fe4d5d3af53e2c6903abf9bdac2503e3e69ceffe |
|
11-May-2016 |
brianosman <brianosman@google.com> |
Make GrGammaEffect have explicit sRGB modes, plus exponential mode. Convert it to a "standard" FP that just transforms the input color. For now, we still infer the sRGB transfer curves from the exponent, but I'm hoping that eventually SkGammas will provide us with the exact curve we're supposed to be applying. In any case, this adds support for doing the inverse transformation, as well, which will be needed in an upcoming Vulkan YUV change, among other things. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1954863002 Committed: https://skia.googlesource.com/skia/+/2139303e4c0a9cbcfac695977a80eb026a9296ab Review-Url: https://codereview.chromium.org/1954863002
/external/skia/src/gpu/GrContext.cpp
|
3e11da7fa9b7ab26df6d6197c3f6a71d0826c97e |
|
11-May-2016 |
robertphillips <robertphillips@google.com> |
Revert of Make GrGammaEffect have explicit sRGB modes, plus exponential mode. (patchset #4 id:60001 of https://codereview.chromium.org/1954863002/ ) Reason for revert: Shader compilation appears to be failing Original issue's description: > Make GrGammaEffect have explicit sRGB modes, plus exponential mode. > > Convert it to a "standard" FP that just transforms the input color. > > For now, we still infer the sRGB transfer curves from the exponent, > but I'm hoping that eventually SkGammas will provide us with the > exact curve we're supposed to be applying. In any case, this adds > support for doing the inverse transformation, as well, which will > be needed in an upcoming Vulkan YUV change, among other things. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1954863002 > > Committed: https://skia.googlesource.com/skia/+/2139303e4c0a9cbcfac695977a80eb026a9296ab TBR=bsalomon@google.com,brianosman@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review-Url: https://codereview.chromium.org/1964943003
/external/skia/src/gpu/GrContext.cpp
|
2139303e4c0a9cbcfac695977a80eb026a9296ab |
|
11-May-2016 |
brianosman <brianosman@google.com> |
Make GrGammaEffect have explicit sRGB modes, plus exponential mode. Convert it to a "standard" FP that just transforms the input color. For now, we still infer the sRGB transfer curves from the exponent, but I'm hoping that eventually SkGammas will provide us with the exact curve we're supposed to be applying. In any case, this adds support for doing the inverse transformation, as well, which will be needed in an upcoming Vulkan YUV change, among other things. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1954863002 Review-Url: https://codereview.chromium.org/1954863002
/external/skia/src/gpu/GrContext.cpp
|
a8966a8a34f32bf3bb1dd2f9b6a77cdb1ebe1809 |
|
09-May-2016 |
robertphillips <robertphillips@google.com> |
Reland of Simplify SkGpuBlurUtils::GaussianBlur method (patchset #1 id:1 of https://codereview.chromium.org/1956023002/ ) Reason for revert: May not be as bad as was thought Original issue's description: > Revert of Simplify SkGpuBlurUtils::GaussianBlur method (patchset #2 id:20001 of https://codereview.chromium.org/1958603002/ ) > > Reason for revert: > Looks like it's causing some issues with the bleed_image GM. > > Original issue's description: > > Simplify SkGpuBlurUtils::GaussianBlur method > > > > No one was using the canClobberSrc capability and moving the direct filtering case forward makes the rest of the logic simpler. > > > > Split out of: https://codereview.chromium.org/1959493002/ (Retract GrRenderTarget from SkGpuBlurUtils) > > > > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1958603002 > > > > Committed: https://skia.googlesource.com/skia/+/56a85e69a8d034e0fdee00e8207cda0a9da06fee > > TBR=bsalomon@google.com,robertphillips@google.com > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Committed: https://skia.googlesource.com/skia/+/67a58dcd4a1e79e5832161ae953526d27893aa61 TBR=bsalomon@google.com,jvanverth@google.com # Not skipping CQ checks because original CL landed more than 1 days ago. Review-Url: https://codereview.chromium.org/1961953002
/external/skia/src/gpu/GrContext.cpp
|
67a58dcd4a1e79e5832161ae953526d27893aa61 |
|
06-May-2016 |
jvanverth <jvanverth@google.com> |
Revert of Simplify SkGpuBlurUtils::GaussianBlur method (patchset #2 id:20001 of https://codereview.chromium.org/1958603002/ ) Reason for revert: Looks like it's causing some issues with the bleed_image GM. Original issue's description: > Simplify SkGpuBlurUtils::GaussianBlur method > > No one was using the canClobberSrc capability and moving the direct filtering case forward makes the rest of the logic simpler. > > Split out of: https://codereview.chromium.org/1959493002/ (Retract GrRenderTarget from SkGpuBlurUtils) > > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1958603002 > > Committed: https://skia.googlesource.com/skia/+/56a85e69a8d034e0fdee00e8207cda0a9da06fee TBR=bsalomon@google.com,robertphillips@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/1956023002
/external/skia/src/gpu/GrContext.cpp
|
56a85e69a8d034e0fdee00e8207cda0a9da06fee |
|
06-May-2016 |
robertphillips <robertphillips@google.com> |
Simplify SkGpuBlurUtils::GaussianBlur method No one was using the canClobberSrc capability and moving the direct filtering case forward makes the rest of the logic simpler. Split out of: https://codereview.chromium.org/1959493002/ (Retract GrRenderTarget from SkGpuBlurUtils) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1958603002 Review-Url: https://codereview.chromium.org/1958603002
/external/skia/src/gpu/GrContext.cpp
|
2d1ee7936e3536e45c963db004e3b512bb415fd8 |
|
05-May-2016 |
brianosman <brianosman@google.com> |
Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel buffer. (Only on Windows at the moment). Uses new effect to do the final gamma adjustment BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1919993002 Review-Url: https://codereview.chromium.org/1919993002
/external/skia/src/gpu/GrContext.cpp
|
76948d4faaca9fd7730576e2f79790ca8d93c10b |
|
04-May-2016 |
robertphillips <robertphillips@google.com> |
Add Gr*Proxy classes This isn't wired in anywhere yet. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002 Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 Committed: https://skia.googlesource.com/skia/+/92605b35efa0155c44d24bd8415b4cc1db8831db Review-Url: https://codereview.chromium.org/1937553002
/external/skia/src/gpu/GrContext.cpp
|
4f16e6361db190d3cf1b6e8a117071cb0b54d0f5 |
|
03-May-2016 |
robertphillips <robertphillips@google.com> |
Revert of Add Gr*Proxy classes (patchset #10 id:220001 of https://codereview.chromium.org/1937553002/ ) Reason for revert: ASAN Original issue's description: > Add Gr*Proxy classes > > This isn't wired in anywhere yet. > > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002 > > Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 > > Committed: https://skia.googlesource.com/skia/+/92605b35efa0155c44d24bd8415b4cc1db8831db TBR=bsalomon@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/1944953002
/external/skia/src/gpu/GrContext.cpp
|
92605b35efa0155c44d24bd8415b4cc1db8831db |
|
03-May-2016 |
robertphillips <robertphillips@google.com> |
Add Gr*Proxy classes This isn't wired in anywhere yet. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002 Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 Review-Url: https://codereview.chromium.org/1937553002
/external/skia/src/gpu/GrContext.cpp
|
89d09a1f70280cd0317d8a8d4e8973e5fa43182c |
|
03-May-2016 |
robertphillips <robertphillips@google.com> |
Revert of Add Gr*Proxy classes (patchset #9 id:160001 of https://codereview.chromium.org/1937553002/ ) Reason for revert: Seems to be breaking N7 & ANGLE bots Original issue's description: > Add Gr*Proxy classes > > This isn't wired in anywhere yet. > > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002 > > Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 TBR=bsalomon@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/1949463002
/external/skia/src/gpu/GrContext.cpp
|
de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 |
|
03-May-2016 |
robertphillips <robertphillips@google.com> |
Add Gr*Proxy classes This isn't wired in anywhere yet. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002 Review-Url: https://codereview.chromium.org/1937553002
/external/skia/src/gpu/GrContext.cpp
|
d4c741e3d0e0fa633399691c47f76b6c7841ee83 |
|
28-Apr-2016 |
robertphillips <robertphillips@google.com> |
Refactor drawContext/RenderTarget creation GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1914883002 Committed: https://skia.googlesource.com/skia/+/2f1c42e8448bbbadeb3df1c626faa90aa33f8907 Review-Url: https://codereview.chromium.org/1914883002
/external/skia/src/gpu/GrContext.cpp
|
aa19a5fbc58e372df11443c90a25f02a04ecef52 |
|
28-Apr-2016 |
robertphillips <robertphillips@google.com> |
Revert of Refactor drawContext/RenderTarget creation (patchset #8 id:140001 of https://codereview.chromium.org/1914883002/ ) Reason for revert: Experimental revert to see if this is blocking the DEPS roll. Original issue's description: > Refactor drawContext/RenderTarget creation > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1914883002 > > Committed: https://skia.googlesource.com/skia/+/2f1c42e8448bbbadeb3df1c626faa90aa33f8907 TBR=bsalomon@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/1929833004
/external/skia/src/gpu/GrContext.cpp
|
2f1c42e8448bbbadeb3df1c626faa90aa33f8907 |
|
27-Apr-2016 |
robertphillips <robertphillips@google.com> |
Refactor drawContext/RenderTarget creation GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1914883002 Review-Url: https://codereview.chromium.org/1914883002
/external/skia/src/gpu/GrContext.cpp
|
6c7e325236b7fbb9c9b14ebb4715f88a59718695 |
|
27-Apr-2016 |
robertphillips <robertphillips@google.com> |
Bring sk_sp to GrDrawContext This is split out of: https://codereview.chromium.org/1914883002/ (Refactor drawContext/RenderTarget creation) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1918003003 Review-Url: https://codereview.chromium.org/1918003003
/external/skia/src/gpu/GrContext.cpp
|
898235c4864df66aa7f6d32bc2a8b8551040ce1e |
|
06-Apr-2016 |
brianosman <brianosman@google.com> |
SkSurfaceProps now has a gamma-correct ("AllowSRGBInputs") flag. That's propagated in a few places so that the backend can do the right thing for L32 vs S32 mode. Also added SkSurfaceProps to SkSpecialImage, so that Image -> Surface conversion can preserve the desired behavior during filtering. Many small changes, including a bunch of comments about places where we may be losing information right now. My approach was to ensure that if anything fails, it will always fall back to "legacy" mode - gamma-correctness is opt-in, so I'll just have to feed things through as missing cases are exposed. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1838953007 Review URL: https://codereview.chromium.org/1845283003
/external/skia/src/gpu/GrContext.cpp
|
6e2aad4e9f6280aa2b710e7324458fdc6d699ec5 |
|
01-Apr-2016 |
bsalomon <bsalomon@google.com> |
Add GrContext::releaseAndAbandonContext() Like abandonContext() this disconnects the GrContext from the underlying 3D API. However, unlike abandonContext it first frees all allocated GPU resources. BUG=skia:5142 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852733002 Review URL: https://codereview.chromium.org/1852733002
/external/skia/src/gpu/GrContext.cpp
|
41b952c296e343eeabb07d52b6a55ba7565a286b |
|
11-Mar-2016 |
bsalomon <bsalomon@google.com> |
Add deferred texture upload API. Performs thread-safe decoding of SkImage in order to later create a texture-backed SkImage. The client allocates storage for the data. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1776693002 Review URL: https://codereview.chromium.org/1776693002
/external/skia/src/gpu/GrContext.cpp
|
aecc018f86d911198b7c7775cee04f61bd10b430 |
|
07-Mar-2016 |
bsalomon <bsalomon@google.com> |
Attempt to combine batches in forward direction before flush GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1763883005 Review URL: https://codereview.chromium.org/1763883005
/external/skia/src/gpu/GrContext.cpp
|
5ec26ae9bfca635ccc98283aad5deda11519d826 |
|
25-Feb-2016 |
bsalomon <bsalomon@google.com> |
Move Budgeted enum out of SkSurface, use in GrTextureProvider BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005 DOCS_PREVIEW= https://skia.org/?cl=1728093005 Committed: https://skia.googlesource.com/skia/+/57599fe6c0336feaeeeb9b1996e77b70219b483c CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot Review URL: https://codereview.chromium.org/1728093005
/external/skia/src/gpu/GrContext.cpp
|
bd500f09ce5b1ca464431d693f9ec5da60a59230 |
|
25-Feb-2016 |
bsalomon <bsalomon@google.com> |
Revert of Move Budgeted enum out of SkSurface, use in GrTextureProvider (patchset #6 id:100001 of https://codereview.chromium.org/1728093005/ ) Reason for revert: Need workaround for chrome to build Original issue's description: > Move Budgeted enum out of SkSurface, use in GrTextureProvider > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005 > DOCS_PREVIEW= https://skia.org/?cl=1728093005 > > Committed: https://skia.googlesource.com/skia/+/57599fe6c0336feaeeeb9b1996e77b70219b483c TBR=reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1734043002
/external/skia/src/gpu/GrContext.cpp
|
57599fe6c0336feaeeeb9b1996e77b70219b483c |
|
25-Feb-2016 |
bsalomon <bsalomon@google.com> |
Move Budgeted enum out of SkSurface, use in GrTextureProvider BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005 DOCS_PREVIEW= https://skia.org/?cl=1728093005 Review URL: https://codereview.chromium.org/1728093005
/external/skia/src/gpu/GrContext.cpp
|
ed828001da75f4a3a5d31d9f1c1935e3595ce920 |
|
16-Feb-2016 |
cblume <cblume@chromium.org> |
There is an unused rowBytes parameter being passed along. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1636873002 Review URL: https://codereview.chromium.org/1636873002
/external/skia/src/gpu/GrContext.cpp
|
b8fea97a7a493897fcff33aa2932d875c572f163 |
|
16-Feb-2016 |
bsalomon <bsalomon@google.com> |
Make copySurface work for texture dsts, return a bool, & add unit test. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684313002 Committed: https://skia.googlesource.com/skia/+/7ea5e28065e5eb797e95f5d81c1a65cf3209d741 Review URL: https://codereview.chromium.org/1684313002
/external/skia/src/gpu/GrContext.cpp
|
0eed945294fa0b2dee7d971c16dc9beefab2ec1c |
|
11-Feb-2016 |
kjlubick <kjlubick@google.com> |
Revert of Make copySurface work for texture dsts, return a bool, & add unit test. (patchset #6 id:100001 of https://codereview.chromium.org/1684313002/ ) Reason for revert: Copy surface tests are not happy for Windows, Android and probably others: https://uberchromegw.corp.google.com/i/client.skia.android/builders/Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release/builds/4161 https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Win8-MSVC-ShuttleA-GPU-GTX960-x86_64-Release/builds/3694 Original issue's description: > Make copySurface work for texture dsts, return a bool, & add unit test. > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684313002 > > Committed: https://skia.googlesource.com/skia/+/7ea5e28065e5eb797e95f5d81c1a65cf3209d741 TBR=robertphillips@google.com,bsalomon@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1690053002
/external/skia/src/gpu/GrContext.cpp
|
7ea5e28065e5eb797e95f5d81c1a65cf3209d741 |
|
11-Feb-2016 |
bsalomon <bsalomon@google.com> |
Make copySurface work for texture dsts, return a bool, & add unit test. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684313002 Review URL: https://codereview.chromium.org/1684313002
/external/skia/src/gpu/GrContext.cpp
|
f49c75a8f1eacf8e6cb19ce0dcc1cc9bcbf1f96e |
|
05-Feb-2016 |
benjaminwagner <benjaminwagner@google.com> |
Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files. Reapplies https://codereview.chromium.org/1656143003; removing the implicit constructors for GLPtr and GLPtrAlias resolves the build issue on Android. Also reverts https://codereview.chromium.org/1663013004 Does not change the public API. TBR=reed GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1666203002 Review URL: https://codereview.chromium.org/1666203002
/external/skia/src/gpu/GrContext.cpp
|
67e8bd207261ed4a4b30c4e488a6a2b6baf04d7a |
|
03-Feb-2016 |
benjaminwagner <benjaminwagner@google.com> |
Revert of Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files. (patchset #2 id:50001 of https://codereview.chromium.org/1656143003/ ) Reason for revert: See https://codereview.chromium.org/1665603002 Original issue's description: > Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files. > > Does not change the public API. > > TBR=reed > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1656143003 > > Committed: https://skia.googlesource.com/skia/+/c92159c8250c62cc47b7b63686538d61d54d2835 TBR=mtklein@google.com,reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1666503002
/external/skia/src/gpu/GrContext.cpp
|
c92159c8250c62cc47b7b63686538d61d54d2835 |
|
02-Feb-2016 |
benjaminwagner <benjaminwagner@google.com> |
Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files. Does not change the public API. TBR=reed GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1656143003 Review URL: https://codereview.chromium.org/1656143003
/external/skia/src/gpu/GrContext.cpp
|
6121405df5689875c7309c20632a82897fce4127 |
|
26-Jan-2016 |
cblume <cblume@chromium.org> |
Cleaning up trailing spaces and typos. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1631993002 Review URL: https://codereview.chromium.org/1631993002
/external/skia/src/gpu/GrContext.cpp
|
6c9cd55f00beeba3ded3f28bcbdd6ef030c4dac7 |
|
22-Jan-2016 |
bsalomon <bsalomon@google.com> |
Make swizzling in read/write pixel copy code more generic BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1617433002 Review URL: https://codereview.chromium.org/1617433002
/external/skia/src/gpu/GrContext.cpp
|
eed519e6a2d0e61b0733a388de9320af897ed197 |
|
15-Jan-2016 |
egdaniel <egdaniel@google.com> |
Differentiate maxColorSamples and maxStencilSamples in GrCaps BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1592803002 Review URL: https://codereview.chromium.org/1592803002
/external/skia/src/gpu/GrContext.cpp
|
bc90735170b5d85a19b24df0baa865f7cf87d348 |
|
13-Jan-2016 |
joshualitt <joshualitt@chromium.org> |
GrAuditTrail hooks in GrContext + GrDrawContext TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1580023002 Review URL: https://codereview.chromium.org/1580023002
/external/skia/src/gpu/GrContext.cpp
|
6d0872d9bd97de5301214a258e141dd5fbeecffc |
|
11-Jan-2016 |
joshualitt <joshualitt@google.com> |
Reland of Add guards to GrTextureProvider (patchset #1 id:1 of https://codereview.chromium.org/1565313003/ ) Reason for revert: should be fixed Original issue's description: > Revert of Add guards to GrTextureProvider (patchset #5 id:80001 of https://codereview.chromium.org/1567983002/ ) > > Reason for revert: > breaking asan bot > > Original issue's description: > > Add guards to GrTextureProvider > > > > TBR=bsalomon@google.com > > BUG=skia: > > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1567983002 > > > > Committed: https://skia.googlesource.com/skia/+/b30dd1db1d914b85a691b4724713ba1b0f16cd6c > > TBR=robertphillips@google.com,joshualitt@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/9a9515e081c54efdd5a0b0 f662c013cbeef6d63f TBR=bsalomon@google.com TBR=robertphillips@google.com,joshualitt@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=skia: Review URL: https://codereview.chromium.org/1575093002
/external/skia/src/gpu/GrContext.cpp
|
de8dc7e9201a14759076ea4090bdf8a54791817b |
|
08-Jan-2016 |
joshualitt <joshualitt@google.com> |
Reland of Make a single GrSingleOwner in GrContext (patchset #1 id:1 of https://codereview.chromium.org/1565303003/ ) Reason for revert: trying again Original issue's description: > Revert of Make a single GrSingleOwner in GrContext (patchset #3 id:40001 of https://codereview.chromium.org/1563703004/ ) > > Reason for revert: > breaking asan > > Original issue's description: > > Make a single GrSingleOwner in GrContext > > > > TBR=bsalomon@google.com > > BUG=skia: > > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563703004 > > > > Committed: https://skia.googlesource.com/skia/+/f9bc796e0dbd31674c22b34761913ee6e8fdd66a > > TBR=robertphillips@google.com,joshualitt@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/94da292e39db0d41da08b1d6055ca5e0d6b498cc TBR=robertphillips@google.com,joshualitt@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1572653002
/external/skia/src/gpu/GrContext.cpp
|
94da292e39db0d41da08b1d6055ca5e0d6b498cc |
|
07-Jan-2016 |
joshualitt <joshualitt@google.com> |
Revert of Make a single GrSingleOwner in GrContext (patchset #3 id:40001 of https://codereview.chromium.org/1563703004/ ) Reason for revert: breaking asan Original issue's description: > Make a single GrSingleOwner in GrContext > > TBR=bsalomon@google.com > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563703004 > > Committed: https://skia.googlesource.com/skia/+/f9bc796e0dbd31674c22b34761913ee6e8fdd66a TBR=robertphillips@google.com,joshualitt@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1565303003
/external/skia/src/gpu/GrContext.cpp
|
9a9515e081c54efdd5a0b0f662c013cbeef6d63f |
|
07-Jan-2016 |
joshualitt <joshualitt@google.com> |
Revert of Add guards to GrTextureProvider (patchset #5 id:80001 of https://codereview.chromium.org/1567983002/ ) Reason for revert: breaking asan bot Original issue's description: > Add guards to GrTextureProvider > > TBR=bsalomon@google.com > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1567983002 > > Committed: https://skia.googlesource.com/skia/+/b30dd1db1d914b85a691b4724713ba1b0f16cd6c TBR=robertphillips@google.com,joshualitt@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1565313003
/external/skia/src/gpu/GrContext.cpp
|
b30dd1db1d914b85a691b4724713ba1b0f16cd6c |
|
07-Jan-2016 |
joshualitt <joshualitt@chromium.org> |
Add guards to GrTextureProvider TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1567983002 Review URL: https://codereview.chromium.org/1567983002
/external/skia/src/gpu/GrContext.cpp
|
f9bc796e0dbd31674c22b34761913ee6e8fdd66a |
|
07-Jan-2016 |
joshualitt <joshualitt@chromium.org> |
Make a single GrSingleOwner in GrContext TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563703004 Review URL: https://codereview.chromium.org/1563703004
/external/skia/src/gpu/GrContext.cpp
|
1de610a5287cf61d4f3a1fdc7413bd74827a8b6a |
|
06-Jan-2016 |
joshualitt <joshualitt@chromium.org> |
Create debug only SkSingleOwner This is so Gpu code can guard against improper multithreaded usage in debug builds TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1555953004 Review URL: https://codereview.chromium.org/1555953004
/external/skia/src/gpu/GrContext.cpp
|
489147c78b2091b87a80dac50a3e8f0f8eb42124 |
|
14-Dec-2015 |
bsalomon <bsalomon@google.com> |
Add option to control maximum GrBatch lookback Review URL: https://codereview.chromium.org/1498653002
/external/skia/src/gpu/GrContext.cpp
|
e804292e805917002cc3d7baa7f967fb20d2c7cb |
|
11-Dec-2015 |
joshualitt <joshualitt@chromium.org> |
Move all text stuff to its own folder BUG=skia: Review URL: https://codereview.chromium.org/1521453002
/external/skia/src/gpu/GrContext.cpp
|
6dea83f244cfdea52901eef6b31cee60b07a8ea0 |
|
03-Dec-2015 |
bsalomon <bsalomon@google.com> |
Add option to draw wireframe batch bounds Committed: https://skia.googlesource.com/skia/+/26489ef21ff5df33b8cb5943fddfd4604e203960 Review URL: https://codereview.chromium.org/1494473005
/external/skia/src/gpu/GrContext.cpp
|
e2725f584095cd0a2cc5100fb6f1dc6a1740284e |
|
03-Dec-2015 |
scroggo <scroggo@google.com> |
Revert of Add option to draw wireframe batch bounds (patchset #6 id:100001 of https://codereview.chromium.org/1494473005/ ) Reason for revert: Looks to be responsible for breaking builds e.g. https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug/builds/3030/steps/dm/logs/stdio Original issue's description: > Add option to draw wireframe batch bounds > > Committed: https://skia.googlesource.com/skia/+/26489ef21ff5df33b8cb5943fddfd4604e203960 TBR=joshualitt@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1492633007
/external/skia/src/gpu/GrContext.cpp
|
26489ef21ff5df33b8cb5943fddfd4604e203960 |
|
03-Dec-2015 |
bsalomon <bsalomon@google.com> |
Add option to draw wireframe batch bounds Review URL: https://codereview.chromium.org/1494473005
/external/skia/src/gpu/GrContext.cpp
|
69cfe95b7be386cf7d349b61388e93ea7c3cd386 |
|
30-Nov-2015 |
bsalomon <bsalomon@google.com> |
Add debug option to clip each GrBatch to its device bounds Review URL: https://codereview.chromium.org/1471083002
/external/skia/src/gpu/GrContext.cpp
|
c4b72720e75313079212e69e46a5ef7c474b2305 |
|
23-Nov-2015 |
egdaniel <egdaniel@google.com> |
Don't create a GXPFactory when blend is SrcOver BUG=skia: Review URL: https://codereview.chromium.org/1471053002
/external/skia/src/gpu/GrContext.cpp
|
0dfa62c97707ac9b0fc0bdba7acfc8405db5c836 |
|
16-Nov-2015 |
robertphillips <robertphillips@google.com> |
Update testing frameworks/tests for MDB This CL: Fixes an ordering problem w.r.t. drawTarget clean up in GrContext::abandonContext (for text test that abandons context) Fixes when the lastDrawTarget field is set on a RenderTarget (now in GrDrawTarget ctor) due to GrTestTarget use case Updates the ProgramUnitTest to use multiple drawTargets Adds renderTarget creation to GrTestTargets (in MDB drawTargets require them) BUG=skia:4094 Committed: https://skia.googlesource.com/skia/+/9c8605144a0f15e3e69a4e1dcd5d3e63f339380e Review URL: https://codereview.chromium.org/1441533003
/external/skia/src/gpu/GrContext.cpp
|
1d5127327111e00d0e4530adae73b11ad2ee3f42 |
|
13-Nov-2015 |
egdaniel <egdaniel@google.com> |
Revert of Update testing frameworks/tests for MDB (patchset #4 id:60001 of https://codereview.chromium.org/1441533003/ ) Reason for revert: Speculative revert for leaks based on ASAN bot (and some local valgrind testing) Original issue's description: > Update testing frameworks/tests for MDB > > This CL: > > Fixes an ordering problem w.r.t. drawTarget clean up in GrContext::abandonContext (for text test that abandons context) > Fixes when the lastDrawTarget field is set on a RenderTarget (now in GrDrawTarget ctor) due to GrTestTarget use case > Updates the ProgramUnitTest to use multiple drawTargets > Adds renderTarget creation to GrTestTargets (in MDB drawTargets require them) > > BUG=skia:4094 > > Committed: https://skia.googlesource.com/skia/+/9c8605144a0f15e3e69a4e1dcd5d3e63f339380e TBR=joshualitt@chromium.org,joshualitt@google.com,robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:4094 Review URL: https://codereview.chromium.org/1450513002
/external/skia/src/gpu/GrContext.cpp
|
9c8605144a0f15e3e69a4e1dcd5d3e63f339380e |
|
13-Nov-2015 |
robertphillips <robertphillips@google.com> |
Update testing frameworks/tests for MDB This CL: Fixes an ordering problem w.r.t. drawTarget clean up in GrContext::abandonContext (for text test that abandons context) Fixes when the lastDrawTarget field is set on a RenderTarget (now in GrDrawTarget ctor) due to GrTestTarget use case Updates the ProgramUnitTest to use multiple drawTargets Adds renderTarget creation to GrTestTargets (in MDB drawTargets require them) BUG=skia:4094 Review URL: https://codereview.chromium.org/1441533003
/external/skia/src/gpu/GrContext.cpp
|
caef3450488f98aa0bc429c4e2d8e29d6a7fece4 |
|
11-Nov-2015 |
robertphillips <robertphillips@google.com> |
Readd "immediate" mode This isn't an exact replacement. The accumulated batches are now flushed at drawContext-entry-point granularity (via the AutoCheckFlush objects) rather than per batch. TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1439533003
/external/skia/src/gpu/GrContext.cpp
|
a13e202563979fd5076936606dcc1d660da8c632 |
|
11-Nov-2015 |
robertphillips <robertphillips@google.com> |
Move GrBatchFlushState from GrDrawTarget to GrDrawingManager This CL: moves the flushState disables immediate mode (it was proving difficult to implement) also moves the program unit test to the drawing manager BUG=skia:4094 TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1437843002
/external/skia/src/gpu/GrContext.cpp
|
687378229aecefc0ab7e639181593774ec8a4290 |
|
29-Oct-2015 |
robertphillips <robertphillips@google.com> |
Remove GrPipelineBuilder from getPathRenderer call Logically this CL: Moves the PathRendererChain from GrContext to GrDrawManager - this was needed to untangled the Path-Chain/Renderer header mess - this entailed adding getDrawingMgr so the CMM could access the PathRenderingChain - this also entailed re-adding freeGpuResources to the GrDrawingMgr Moves the CanDrawArgs struct up stack Removes the GrPipelineBuilder from the CanDrawArgs struct Review URL: https://codereview.chromium.org/1407883004
/external/skia/src/gpu/GrContext.cpp
|
cf10b5a432c604088b6cc5df3630fda08895d829 |
|
27-Oct-2015 |
robertphillips <robertphillips@google.com> |
Cosmetic portion of reverted "Fix ClipMaskManager's SW-fallback logic" CL This CL isolates the cosmetic portion so the functional portion is clearer. It relies on https://codereview.chromium.org/1412883005/ (Fix ClipMaskManager's SW-fallback logic (take 2)) Review URL: https://codereview.chromium.org/1422023003
/external/skia/src/gpu/GrContext.cpp
|
24cdec1744892d499ce7ef59b81ea63b47193e24 |
|
26-Oct-2015 |
robertphillips <robertphillips@google.com> |
Revert of Fix ClipMaskManager's SW-fallback logic (patchset #4 id:60001 of https://codereview.chromium.org/1421533007/ ) Reason for revert: Logic may be incorrect Original issue's description: > Fix ClipMaskManager's SW-fallback logic > > > 'useSWOnlyPath' was not correctly toggling between stencil and color draws so there was a mismatch with the behavior in createAlphaClipMask (i.e., we were inadvertently rendering some of the elements in a clip using SW but using stenciling for others - precisely what 'useSWOnlyPath' was intended to prevent). > > Committed: https://skia.googlesource.com/skia/+/5c3ea4cd3921e8904d4f201bcdedfd5b8a726542 TBR=bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1426443008
/external/skia/src/gpu/GrContext.cpp
|
5c3ea4cd3921e8904d4f201bcdedfd5b8a726542 |
|
26-Oct-2015 |
robertphillips <robertphillips@google.com> |
Fix ClipMaskManager's SW-fallback logic 'useSWOnlyPath' was not correctly toggling between stencil and color draws so there was a mismatch with the behavior in createAlphaClipMask (i.e., we were inadvertently rendering some of the elements in a clip using SW but using stenciling for others - precisely what 'useSWOnlyPath' was intended to prevent). Review URL: https://codereview.chromium.org/1421533007
/external/skia/src/gpu/GrContext.cpp
|
b83bec5e0427be6fbe2a8f9802a5a031de91e11a |
|
23-Oct-2015 |
robertphillips <robertphillips@google.com> |
Narrow the distribution of GrDrawTarget a bit BUG=skia:4094 TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1420043002
/external/skia/src/gpu/GrContext.cpp
|
648c696438410fe0f0f5db9bb7935006fecf9cad |
|
23-Oct-2015 |
bsalomon <bsalomon@google.com> |
Add immediate mode option for gpu configs in dm Review URL: https://codereview.chromium.org/1421853002
/external/skia/src/gpu/GrContext.cpp
|
3dc6ae55ca01025a0d723c87d42ed72f5a4ff6ec |
|
20-Oct-2015 |
robertphillips <robertphillips@google.com> |
Move GrDrawingManager methods to their own .cpp file Small cleanup Review URL: https://codereview.chromium.org/1407393004
/external/skia/src/gpu/GrContext.cpp
|
4beb5c117b355599e2fd26b8b3d19de99512cb69 |
|
20-Oct-2015 |
robertphillips <robertphillips@google.com> |
Add debugging helper to GrDrawTarget This CL relies on https://codereview.chromium.org/1414773002/ (Add the machinery to GrDrawTarget to enable topological sorting) BUG=skia:4094 Review URL: https://codereview.chromium.org/1416753002
/external/skia/src/gpu/GrContext.cpp
|
6a18665a7e831a2bd5521968825c0f990d97a4f6 |
|
20-Oct-2015 |
robertphillips <robertphillips@google.com> |
Add the machinery to GrDrawTarget to enable topological sorting This relies on https://codereview.chromium.org/1414503003/ (Add SkTTopoSort) landing first. BUG=skia:4094 Review URL: https://codereview.chromium.org/1414773002
/external/skia/src/gpu/GrContext.cpp
|
7d974f5e4f8ded8834b58f560ac6e03aed370310 |
|
19-Oct-2015 |
benjaminwagner <benjaminwagner@google.com> |
Modifications to get 'blaze build -c opt //third_party/skia/HEAD/...' to work. BUG=skia: Review URL: https://codereview.chromium.org/1413973002
/external/skia/src/gpu/GrContext.cpp
|
77a2e52c7d5c77de73ecab5fec79072ee4460706 |
|
17-Oct-2015 |
robertphillips <robertphillips@google.com> |
Remove DrawingMgr shims from GrContext BUG=skia:4094 Review URL: https://codereview.chromium.org/1413673002
/external/skia/src/gpu/GrContext.cpp
|
a106c627532ad669cf7d879955ae8ea6a53233c1 |
|
16-Oct-2015 |
robertphillips <robertphillips@google.com> |
Loosen requirement that there be only one GrDrawTarget BUG=skia:4094 Review URL: https://codereview.chromium.org/1406173003
/external/skia/src/gpu/GrContext.cpp
|
2e1e51f04985f7c258b96f0decc190456f5dd74d |
|
15-Oct-2015 |
robertphillips <robertphillips@google.com> |
GrDrawContext now holds GrRenderTarget pointer Review URL: https://codereview.chromium.org/1404823005
/external/skia/src/gpu/GrContext.cpp
|
f276ac5c16d39a2b877300d760041f0291bb5ec9 |
|
09-Oct-2015 |
bsalomon <bsalomon@google.com> |
Move functions from SkGr to SkGrPriv.h Review URL: https://codereview.chromium.org/1397123002
/external/skia/src/gpu/GrContext.cpp
|
4a339529612a43871d021877e58698e067d6c4cd |
|
06-Oct-2015 |
bsalomon <bsalomon@google.com> |
Bye bye processor data manager. Review URL: https://codereview.chromium.org/1388113002
/external/skia/src/gpu/GrContext.cpp
|
2d70dcbe5cf4b1d26bb03070d4f8cffd756dd509 |
|
06-Oct-2015 |
robertphillips <robertphillips@google.com> |
Dynamically allocate the GrDrawContexts This CL moves the allocation and storage of the GrTextContexts into the DrawingManager. The GrDrawContexts now just get their GrTextContext from the DrawingManager. Review URL: https://codereview.chromium.org/1375153007
/external/skia/src/gpu/GrContext.cpp
|
473addf17617d441edb44e501786cdd97d3ebdfb |
|
02-Oct-2015 |
bsalomon <bsalomon@google.com> |
Remove separate cache for clip mask textures Review URL: https://codereview.chromium.org/1377943003
/external/skia/src/gpu/GrContext.cpp
|
0a5fa484fd58d27088f8696bdc11c8cc8f2b4866 |
|
15-Sep-2015 |
ericrk <ericrk@chromium.org> |
Add onMemoryDump to GrContext Adds an entry point to GrContext to allow enumeration and tracing of GPU resources via the newly added SkTraceMemoryDump. Plan is for Chrome to call this on each of its GrContexts. Dumps both the total size of GPU resources, as well as the total purgeable size. BUG=526261 Review URL: https://codereview.chromium.org/1313743002
/external/skia/src/gpu/GrContext.cpp
|
b3b9aec2215914c0e626d90db21b68b970526c2e |
|
10-Sep-2015 |
bsalomon <bsalomon@google.com> |
Remove GrClipTarget Review URL: https://codereview.chromium.org/1330353006
/external/skia/src/gpu/GrContext.cpp
|
512be5340c2a29550053d35bc058d3aecd5c1fc7 |
|
10-Sep-2015 |
bsalomon <bsalomon@google.com> |
Cleanup GrDrawTarget now that all paths lead to GrBatch Review URL: https://codereview.chromium.org/1315513008
/external/skia/src/gpu/GrContext.cpp
|
6c6f65885ba20ba9e8d8c36039f1c9eff4cc814b |
|
10-Sep-2015 |
bsalomon <bsalomon@google.com> |
Add a mutex to GrContext::readSurfacePixels to protect against multiple CPU raster threads accessing the same GrContext to read back GPU input data BUG=chromium:524717 TBR=reed@google.com Committed: https://skia.googlesource.com/skia/+/eb662bc407cec0585a821946fef123102cae64db Review URL: https://codereview.chromium.org/1329313002
/external/skia/src/gpu/GrContext.cpp
|
32ab260ee18ab53611bcd2eefde535b6e31f9d8d |
|
10-Sep-2015 |
bsalomon <bsalomon@google.com> |
Revert of Add a mutex to GrContext::readSurfacePixels to protect against multiple CPU raster threads accessin… (patchset #1 id:1 of https://codereview.chromium.org/1329313002/ ) Reason for revert: breaking the bots Original issue's description: > Add a mutex to GrContext::readSurfacePixels to protect against multiple CPU raster threads accessing the same GrContext to read back GPU input data > > BUG=chromium:524717 > > TBR=reed@google.com > > Committed: https://skia.googlesource.com/skia/+/eb662bc407cec0585a821946fef123102cae64db TBR=reed@google.com,reed@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:524717 Review URL: https://codereview.chromium.org/1334603002
/external/skia/src/gpu/GrContext.cpp
|
eb662bc407cec0585a821946fef123102cae64db |
|
10-Sep-2015 |
bsalomon <bsalomon@google.com> |
Add a mutex to GrContext::readSurfacePixels to protect against multiple CPU raster threads accessing the same GrContext to read back GPU input data BUG=chromium:524717 TBR=reed@google.com Review URL: https://codereview.chromium.org/1329313002
/external/skia/src/gpu/GrContext.cpp
|
c9a3706f1ee38c331610ec1e872d9a658566c397 |
|
01-Sep-2015 |
robertphillips <robertphillips@google.com> |
Limit lifetime of GrDrawContext objects GrDrawContext's are about to become real allocated objects. This CL sets up the machinery so they won't leak. Review URL: https://codereview.chromium.org/1321353002
/external/skia/src/gpu/GrContext.cpp
|
dac7005b877c7c1c6f36b6e298133dfc7b85b9c0 |
|
01-Sep-2015 |
joshualitt <joshualitt@chromium.org> |
Remove GrGpuTraceMarker hooks until we rethink the design TBR=bsalomon@google.com BUG=526308 Review URL: https://codereview.chromium.org/1323823003
/external/skia/src/gpu/GrContext.cpp
|
afcd7cd32497cc79035e61fd64b0baa03ed04bcc |
|
31-Aug-2015 |
bsalomon <bsalomon@google.com> |
Rename flag from "distance field" to "device independent." Review URL: https://codereview.chromium.org/1322433006
/external/skia/src/gpu/GrContext.cpp
|
96fcdcc219d2a0d3579719b84b28bede76efba64 |
|
27-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002
/external/skia/src/gpu/GrContext.cpp
|
ac856c97acc84dcb54d9cdb068ec8a02b8869647 |
|
27-Aug-2015 |
bsalomon <bsalomon@google.com> |
Remove GrStagedProcessor, remove the word Stage as it applies to FPs Committed: https://skia.googlesource.com/skia/+/24243446cdf7b7e4e132c2a0c387c7723777e0c7 Review URL: https://codereview.chromium.org/1307223004
/external/skia/src/gpu/GrContext.cpp
|
385fe4d4b62d7d1dd76116dd570df3290a2f487b |
|
26-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: SkNEW->new; SkDELETE->delete DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003
/external/skia/src/gpu/GrContext.cpp
|
4bf69f7bbc073c1dc257f93f8c5b2a530123cb3c |
|
26-Aug-2015 |
rmistry <rmistry@google.com> |
Revert of Remove GrStagedProcessor, remove the word Stage as it applies to FPs (patchset #6 id:90001 of https://codereview.chromium.org/1307223004/ ) Reason for revert: Causes bot failures: https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug/builds/1639 https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Debug/builds/1702 https://uberchromegw.corp.google.com/i/client.skia.android/builders/Test-Android-GCC-NexusPlayer-GPU-PowerVR-x86-Debug/builds/1223 Original issue's description: > Remove GrStagedProcessor, remove the word Stage as it applies to FPs > > Committed: https://skia.googlesource.com/skia/+/24243446cdf7b7e4e132c2a0c387c7723777e0c7 TBR=joshualitt@google.com,egdaniel@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1306803003
/external/skia/src/gpu/GrContext.cpp
|
24243446cdf7b7e4e132c2a0c387c7723777e0c7 |
|
26-Aug-2015 |
bsalomon <bsalomon@google.com> |
Remove GrStagedProcessor, remove the word Stage as it applies to FPs Review URL: https://codereview.chromium.org/1307223004
/external/skia/src/gpu/GrContext.cpp
|
63926683c583e8497d9d907977e773663cb4bd9e |
|
20-Aug-2015 |
robertphillips <robertphillips@google.com> |
Add ANGLE workaround to prefer flushes over VRAM usage On the whole, https://codereview.chromium.org/1286203002/ (Defer flushes if kPreferNoIO is specified) improved performance but it did cause a performance regression on ANGLE. This CL disables the deferral of flushes on ANGLE until we can add a separate incremental flushing mechanism. TBR=bsalomon@google.com BUG=skia:4201 BUG=521529 Review URL: https://codereview.chromium.org/1287193008
/external/skia/src/gpu/GrContext.cpp
|
7539856c1b9cbb1886a6a498cc534b77fc83ddb2 |
|
17-Aug-2015 |
bsalomon <bsalomon@google.com> |
Make GrVertexBatch objects hold their own draws during GrDrawTarget flush NO_MERGE_BUILDS Review URL: https://codereview.chromium.org/1286043004
/external/skia/src/gpu/GrContext.cpp
|
14205b114a7d834d0627b8c9acb234f4d809388d |
|
10-Aug-2015 |
joshualitt <joshualitt@chromium.org> |
Expand functionality of GrRectBatchFactory with AARects BUG=skia: Review URL: https://codereview.chromium.org/1279303002
/external/skia/src/gpu/GrContext.cpp
|
74417824cd988f7d6114858e09720ba00416ce11 |
|
07-Aug-2015 |
joshualitt <joshualitt@chromium.org> |
Make folder for batches BUG=skia: Review URL: https://codereview.chromium.org/1277233002
/external/skia/src/gpu/GrContext.cpp
|
eae6200acbec2255ac00ab363ffbe16758ec9076 |
|
31-Jul-2015 |
bsalomon <bsalomon@google.com> |
Some cleanup in GrTextureProvider and GrResourceProvider. Review URL: https://codereview.chromium.org/1261643004
/external/skia/src/gpu/GrContext.cpp
|
6cb3cbe8e67db5fb94ba7d98f60833229b008544 |
|
30-Jul-2015 |
bsalomon <bsalomon@google.com> |
Make GrGpu read/write pixels take GrSurface Review URL: https://codereview.chromium.org/1262473004
/external/skia/src/gpu/GrContext.cpp
|
636e8024f8df8df7b89813c8b2b1ea04d7481497 |
|
29-Jul-2015 |
bsalomon <bsalomon@google.com> |
Skip temp texture when config conversion test has already failed. Review URL: https://codereview.chromium.org/1261033005
/external/skia/src/gpu/GrContext.cpp
|
a52b7a03c61e38cff4236cc83eff97f00e465803 |
|
29-Jul-2015 |
bsalomon <bsalomon@google.com> |
Don't read from unref'ed RT in GrContext::readSurfacePixels BUG=chromium:514716 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/1258673009
/external/skia/src/gpu/GrContext.cpp
|
f0674516cb18f6b13e34f404ff5793d9b9ebb56c |
|
28-Jul-2015 |
bsalomon <bsalomon@google.com> |
Move draw on upload decision in GrGpu BUG=skia: Committed: https://skia.googlesource.com/skia/+/0341b4427e5f037e3b501ed6e57dfdb7b40f150e Review URL: https://codereview.chromium.org/1257073003
/external/skia/src/gpu/GrContext.cpp
|
c3fb74693e25cf6dffc8add8669c54c4b7ace3a2 |
|
28-Jul-2015 |
bsalomon <bsalomon@google.com> |
Revert of Move draw on upload decision in GrGpu (patchset #4 id:50001 of https://codereview.chromium.org/1257073003/) Reason for revert: breaking write pixels test on bots Original issue's description: > Move draw on upload decision in GrGpu > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/0341b4427e5f037e3b501ed6e57dfdb7b40f150e TBR=robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1260293004
/external/skia/src/gpu/GrContext.cpp
|
b542bae1f5a2726e52a15fa90acec7e7b935cb71 |
|
28-Jul-2015 |
joshualitt <joshualitt@chromium.org> |
Rename GrInOrderDrawBuffer to GrBufferedDrawTarget BUG=skia: Review URL: https://codereview.chromium.org/1261033002
/external/skia/src/gpu/GrContext.cpp
|
0341b4427e5f037e3b501ed6e57dfdb7b40f150e |
|
28-Jul-2015 |
bsalomon <bsalomon@google.com> |
Move draw on upload decision in GrGpu BUG=skia: Review URL: https://codereview.chromium.org/1257073003
/external/skia/src/gpu/GrContext.cpp
|
398260262f8508687614ec496a23b8152bcdc967 |
|
23-Jul-2015 |
bsalomon <bsalomon@google.com> |
Attempt to somewhat simplify GrContext::readSurfacePixels interaction with GrGpu. Review URL: https://codereview.chromium.org/1255483005
/external/skia/src/gpu/GrContext.cpp
|
e8d21e8f24aa676765d0ff8f433228665c75cdc2 |
|
16-Jul-2015 |
bsalomon <bsalomon@google.com> |
Make readpixels work on GrTextures Review URL: https://codereview.chromium.org/1234313002
/external/skia/src/gpu/GrContext.cpp
|
5f10b5c1b5744106312e24835d235b72fdba5802 |
|
09-Jul-2015 |
joshualitt <joshualitt@chromium.org> |
More threading of GrProcessorDataManager TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1230813003
/external/skia/src/gpu/GrContext.cpp
|
c49e8682ab0614e1b6816dadd00f65d770ab6999 |
|
30-Jun-2015 |
bsalomon <bsalomon@google.com> |
Rename flushForExternalRead->flushForExternalIO and always call in SkSurface::getTextureHandle Review URL: https://codereview.chromium.org/1216243003
/external/skia/src/gpu/GrContext.cpp
|
fcf7829b67b798aff4c41c4688daa9c7381991e6 |
|
19-Jun-2015 |
robertphillips <robertphillips@google.com> |
remove SkDeviceProperties There is a lot more clean up to do here but this is probably a big enough bite. Review URL: https://codereview.chromium.org/1196683003
/external/skia/src/gpu/GrContext.cpp
|
83bc22970364f1ff94751b99c4b4048b3c66e1a2 |
|
18-Jun-2015 |
joshualitt <joshualitt@chromium.org> |
Work around for nexus 6 TexSubImage issue BUG=skia: Committed: https://skia.googlesource.com/skia/+/c69fe20ef35df0776b179cbd5ce4d1bdc0ba4090 Review URL: https://codereview.chromium.org/1173203005
/external/skia/src/gpu/GrContext.cpp
|
274980cda1fbad2e8c61d268747070c7130c9de3 |
|
18-Jun-2015 |
joshualitt <joshualitt@google.com> |
Revert of Work around for nexus 6 TexSubImage issue (patchset #4 id:60001 of https://codereview.chromium.org/1173203005/) Reason for revert: breaks gms Original issue's description: > Work around for nexus 6 TexSubImage issue > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/c69fe20ef35df0776b179cbd5ce4d1bdc0ba4090 TBR=bsalomon@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1190463006
/external/skia/src/gpu/GrContext.cpp
|
c69fe20ef35df0776b179cbd5ce4d1bdc0ba4090 |
|
18-Jun-2015 |
joshualitt <joshualitt@chromium.org> |
Work around for nexus 6 TexSubImage issue BUG=skia: Review URL: https://codereview.chromium.org/1173203005
/external/skia/src/gpu/GrContext.cpp
|
bcd7ab5c0d0e5c3432a9aaeb44f1b703fea94282 |
|
18-Jun-2015 |
robertphillips <robertphillips@google.com> |
Add useDFT field to SkDeviceProperties Review URL: https://codereview.chromium.org/1191943002
/external/skia/src/gpu/GrContext.cpp
|
2334fb655f8d4ef5915770d32bf845c88d3627f4 |
|
17-Jun-2015 |
robertphillips <robertphillips@google.com> |
Make GrTextContext be owned by the GrDrawContext This CL makes the GrTextContext be owned (and hidden) by the GrDrawContext. This funnels all the drawText* calls through the GrDrawContext and hides the (dispreferred) GrPipelineBuilder drawText variant. Some consequences of this are: GrDrawContext now has to get the text drawing settings (i.e., SkDeviceProperties & useDFT). This means that we need a separate GrDrawContext for each combination of pixel geometry and DFT-use. All the GrTextContext-derived classes now get a back pointer to the originating GrDrawContext so their method calls no longer take one. Committed: https://skia.googlesource.com/skia/+/5b16e740fe6ab6d679083d06f07651602265081b Review URL: https://codereview.chromium.org/1175553002
/external/skia/src/gpu/GrContext.cpp
|
781d58215f03cfe43c6b5f7bf1a578bc3c9a1e6f |
|
17-Jun-2015 |
bsalomon <bsalomon@google.com> |
Revert of Make GrTextContext be owned by the GrDrawContext (patchset #7 id:120001 of https://codereview.chromium.org/1175553002/) Reason for revert: Breaking Test-Win8-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug ? https://build.chromium.org/p/client.skia/builders/Test-Win8-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug/builds/436/steps/dm/logs/stdio Original issue's description: > Make GrTextContext be owned by the GrDrawContext > > This CL makes the GrTextContext be owned (and hidden) by the GrDrawContext. This funnels all the drawText* calls through the GrDrawContext and hides the (dispreferred) GrPipelineBuilder drawText variant. > > Some consequences of this are: > > GrDrawContext now has to get the text drawing settings (i.e., SkDeviceProperties & useDFT). This means that we need a separate GrDrawContext for each combination of pixel geometry and DFT-use. > > All the GrTextContext-derived classes now get a back pointer to the originating GrDrawContext so their method calls no longer take one. > > Committed: https://skia.googlesource.com/skia/+/5b16e740fe6ab6d679083d06f07651602265081b TBR=joshualitt@chromium.org,joshualitt@google.com,jvanverth@google.com,reed@google.com,robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1178383003
/external/skia/src/gpu/GrContext.cpp
|
5b16e740fe6ab6d679083d06f07651602265081b |
|
16-Jun-2015 |
robertphillips <robertphillips@google.com> |
Make GrTextContext be owned by the GrDrawContext This CL makes the GrTextContext be owned (and hidden) by the GrDrawContext. This funnels all the drawText* calls through the GrDrawContext and hides the (dispreferred) GrPipelineBuilder drawText variant. Some consequences of this are: GrDrawContext now has to get the text drawing settings (i.e., SkDeviceProperties & useDFT). This means that we need a separate GrDrawContext for each combination of pixel geometry and DFT-use. All the GrTextContext-derived classes now get a back pointer to the originating GrDrawContext so their method calls no longer take one. Review URL: https://codereview.chromium.org/1175553002
/external/skia/src/gpu/GrContext.cpp
|
dded69693dd3779f081326cde24c3954505b129d |
|
12-Jun-2015 |
vbuzinov <vbuzinov@nvidia.com> |
Implement support for mixed sampled render targets Adds a new FBO type kStencil_MSFBOType that is selected whenever NV_framebuffer_mixed_samples extension is available. In this new FBO type a non-msaa color buffer is created with a multisampled stencil buffer attachment. Replaces numSamples() with separate numColorSamples and numStencilSamples methods in RenderTarget. In mixed samples mode non-MSAA codepaths are used to draw simple shapes, while NVPR-rendered paths and text are rendered with a multisampled stencil. BUG=skia:3177 Review URL: https://codereview.chromium.org/1001503002
/external/skia/src/gpu/GrContext.cpp
|
762286309545c8a1e4bbc05dcd1fe3085d2a1f47 |
|
29-May-2015 |
bsalomon <bsalomon@google.com> |
Add direct getter for GrCaps to GrContext. TBR=joshualitt@google.com Committed: https://skia.googlesource.com/skia/+/9138c46e572085870638b6f7ad7fcdfcdf3cac99 Review URL: https://codereview.chromium.org/1149773005
/external/skia/src/gpu/GrContext.cpp
|
084d1b61bca3b9e246cdf26377c373744ab6411c |
|
28-May-2015 |
bsalomon <bsalomon@google.com> |
Revert of Add direct getter for GrCaps to GrContext. (patchset #4 id:60001 of https://codereview.chromium.org/1149773005/) Reason for revert: Breaking Original issue's description: > Add direct getter for GrCaps to GrContext. > > TBR=joshualitt@google.com > > Committed: https://skia.googlesource.com/skia/+/9138c46e572085870638b6f7ad7fcdfcdf3cac99 TBR=joshualitt@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1164443002
/external/skia/src/gpu/GrContext.cpp
|
9138c46e572085870638b6f7ad7fcdfcdf3cac99 |
|
28-May-2015 |
bsalomon <bsalomon@google.com> |
Add direct getter for GrCaps to GrContext. TBR=joshualitt@google.com Review URL: https://codereview.chromium.org/1149773005
/external/skia/src/gpu/GrContext.cpp
|
4ee6bd86c500d9b464e2f8cb3565544b8c97c0a9 |
|
27-May-2015 |
bsalomon <bsalomon@google.com> |
Add caps overrides to GMs Review URL: https://codereview.chromium.org/1158963002
/external/skia/src/gpu/GrContext.cpp
|
ccb1b5751075506b4615d2112889d01ee8ad6436 |
|
27-May-2015 |
robertphillips <robertphillips@google.com> |
Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter This CL is ugly but it: removes the stored SkGpuDevice back pointer from GrTextContext (at the cost of passing more parameters) moves SkGpuDevice::internalDrawPath to GrDrawContext::drawPathFull Unfortunately, the GrTextContext-derived classes still need the SkGpuDevice for filterTextFlags calls but I will try removing that in a separate CL. Review URL: https://codereview.chromium.org/1157773003
/external/skia/src/gpu/GrContext.cpp
|
4b195e5d8f19ee5ef06ce32cc86473ab7c083e6a |
|
26-May-2015 |
robertphillips <robertphillips@google.com> |
Unblock DEPS roll by remove SkAutoTUnref from GrDrawContext BUG=skia: Review URL: https://codereview.chromium.org/1156103006
/external/skia/src/gpu/GrContext.cpp
|
ea4615034498aca2f9ca1753fb9a1ef10508d8cc |
|
26-May-2015 |
robertphillips <robertphillips@google.com> |
Split drawing functionality out of GrContext and into new GrDrawContext This is mainly a mechanical CL. There were some fiddly bits in GrContext.cpp where it no longer had access to the GrDrawTarget (and had to use the new GrDrawContext). I've converted GrAARectRenderer & GrOvalRenderer into static classes so I could stop allocating them. Review URL: https://codereview.chromium.org/1151283004
/external/skia/src/gpu/GrContext.cpp
|
682c269a1511200322916af83053e26004c0ec40 |
|
22-May-2015 |
bsalomon <bsalomon@google.com> |
Store context options on caps. Committed: https://skia.googlesource.com/skia/+/f28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc Review URL: https://codereview.chromium.org/1158433006
/external/skia/src/gpu/GrContext.cpp
|
08bf86d1b7b03cc6829f2488d9adcb0502e84b97 |
|
22-May-2015 |
bsalomon <bsalomon@google.com> |
Revert of Store context options on caps. (patchset #3 id:40001 of https://codereview.chromium.org/1158433006/) Reason for revert: breaking chromeos build (???) Original issue's description: > Store context options on caps. > > Committed: https://skia.googlesource.com/skia/+/f28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc TBR=joshualitt@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1151603005
/external/skia/src/gpu/GrContext.cpp
|
f28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc |
|
22-May-2015 |
bsalomon <bsalomon@google.com> |
Store context options on caps. Review URL: https://codereview.chromium.org/1158433006
/external/skia/src/gpu/GrContext.cpp
|
eb1cb5c5b50febad115d859faca91d2d6af3fff2 |
|
22-May-2015 |
bsalomon <bsalomon@google.com> |
rename GrDrawTargetCaps.h to GrCaps.h and move to include Review URL: https://codereview.chromium.org/1135113005
/external/skia/src/gpu/GrContext.cpp
|
806236e7974e8d05feecb8264eb361759f9db536 |
|
22-May-2015 |
kkinnunen <kkinnunen@nvidia.com> |
Mark SkPaths created by GrContext fallback draw logic as volatile GrContext draw functions (drawRect, drawRRect,...) fall back to GrContext::drawPath for complex cases. Mark the argument SkPath as volatile, since it is. Progressions for nvprmsaa: tabl_androidpolice.skp_1 11.6ms -> 10.3ms 0.89x desk_twitter.skp_1 9.21ms -> 8.08ms 0.88x tabl_sahadan.skp_1 8.97ms -> 7.65ms 0.85x desk_wikipedia.skp_1 5.63ms -> 4.5ms 0.8x desk_booking.skp_1 11.5ms -> 8.87ms 0.77x desk_ebay.skp_1 7ms -> 5.37ms 0.77x Makes rrects and rects go to "simple path" path cache (cached by contents). No change for msaa, gpu. BUG=skia: Review URL: https://codereview.chromium.org/1150993002
/external/skia/src/gpu/GrContext.cpp
|
bb87b2104b5fe5f61c88756af6e25fbd3f5ca773 |
|
19-May-2015 |
joshualitt <joshualitt@chromium.org> |
Adding immediate mode draw target for debug BUG=skia: Review URL: https://codereview.chromium.org/1126043007
/external/skia/src/gpu/GrContext.cpp
|
b8c241ad099f3f0c2cbf3e7c10f5f6207175d490 |
|
19-May-2015 |
joshualitt <joshualitt@chromium.org> |
Preliminary attempt to remove batch tracker BUG=skia: Committed: https://skia.googlesource.com/skia/+/cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 Review URL: https://codereview.chromium.org/1139723004
/external/skia/src/gpu/GrContext.cpp
|
d3a560fa80bfb3e2d2e989f951bb3b1c52316654 |
|
19-May-2015 |
joshualitt <joshualitt@google.com> |
Revert of Preliminary attempt to remove batch tracker (patchset #3 id:40001 of https://codereview.chromium.org/1139723004/) Reason for revert: breaking bots Original issue's description: > Preliminary attempt to remove batch tracker > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 TBR=robertphillips@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1132323003
/external/skia/src/gpu/GrContext.cpp
|
cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 |
|
19-May-2015 |
joshualitt <joshualitt@chromium.org> |
Preliminary attempt to remove batch tracker BUG=skia: Review URL: https://codereview.chromium.org/1139723004
/external/skia/src/gpu/GrContext.cpp
|
d156d36af871c23ce471a18764f4597f09cfca95 |
|
19-May-2015 |
kkinnunen <kkinnunen@nvidia.com> |
Make GrStrokeInfo inherit from SkStrokeRec Make the code more readable by inheriting GrStrokeInfo from SkStrokeRec. This should avoid the long .getStrokeRec() and .getStrokeRecPtr(). These were a bit cumbersome especially in cases where an alias variable was created for these, and then the reader had to keep track to which StrokeInfo member the StrokeRec alias was pointing. Removes SkStrokeRec::SkStrokeRec(const SkStrokeRec&). It was memcpying. Try to play it safe wrt compiler using the possible padding of superclass for subclass members. Instead, let the compiler generate the copy constructor. Assignment operator was already compiler-generated, so at least in that way this is consistent. Renames GrStrokeInfo::applyDash to applyDashToPath for consistency with superclass applyToPath. Review URL: https://codereview.chromium.org/1128113008
/external/skia/src/gpu/GrContext.cpp
|
6c891107ce0a8431f2327cb8b2f1bfd363cabbbe |
|
13-May-2015 |
joshualitt <joshualitt@chromium.org> |
GLProgramsTest 3.0 BUG=skia: Review URL: https://codereview.chromium.org/1139743002
/external/skia/src/gpu/GrContext.cpp
|
4c977868bbe100d6d95f9e53cf176d611eceb3dc |
|
13-May-2015 |
joshualitt <joshualitt@chromium.org> |
fix bounds for BW lines, AA Hairlines BUG=skia: Review URL: https://codereview.chromium.org/1123253003
/external/skia/src/gpu/GrContext.cpp
|
e590266294c4c92e4e4c2f06f267ac5751d07562 |
|
11-May-2015 |
joshualitt <joshualitt@chromium.org> |
Add unit tests for stroke rects and drawVertices TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1133613004
/external/skia/src/gpu/GrContext.cpp
|
e40d39725908d99d255496025411e5c9ca32663e |
|
07-May-2015 |
robertphillips <robertphillips@google.com> |
Isolate GrBufferAllocPools inside GrBatchTarget This CL refactors the location of the GrBufferAllocPools so they reside entirely inside the GrBatchTarget. This is in preparation for making them use scratch resources. Review URL: https://codereview.chromium.org/1131553002
/external/skia/src/gpu/GrContext.cpp
|
0acd0d33fd69b6603fa22f88fa45c96aa0907d4d |
|
07-May-2015 |
joshualitt <joshualitt@chromium.org> |
adding uniqueID to GrContext BUG=skia: Review URL: https://codereview.chromium.org/1128873009
/external/skia/src/gpu/GrContext.cpp
|
0c14bccc3195e395594d5a737f14b4a6ccd8859d |
|
05-May-2015 |
joshualitt <joshualitt@chromium.org> |
trivial fix for drawvertices bounds BUG=skia: Review URL: https://codereview.chromium.org/1127633003
/external/skia/src/gpu/GrContext.cpp
|
cb8979d088a66ebaf41f10ba6f5c830615aa0e03 |
|
05-May-2015 |
bsalomon <bsalomon@google.com> |
Move DrawInfo out from GrDrawTarget and rename to GrVertices. Review URL: https://codereview.chromium.org/1124733004
/external/skia/src/gpu/GrContext.cpp
|
b5238a7571c243ba4a154a62575570c3078b3741 |
|
05-May-2015 |
bsalomon <bsalomon@google.com> |
Start on simplifying generateGeometry() overrides Committed: https://skia.googlesource.com/skia/+/f28381c6866cad92af8ebe5b9d2db074613b1963 Review URL: https://codereview.chromium.org/1122673002
/external/skia/src/gpu/GrContext.cpp
|
07ab9f3beda017d06089797de8c79d833b5a7659 |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Don't attempt to draw path if dashing or stroking fails TBR=egdaniel@google.com Committed: https://skia.googlesource.com/skia/+/39202f12d37b6ef69ffaddcaa8cc92c621fcda41 Review URL: https://codereview.chromium.org/1119393002
/external/skia/src/gpu/GrContext.cpp
|
8415abe44cf205ac214b7793c076fd8c13272240 |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Revert of Start on simplifying generateGeometry() overrides (patchset #10 id:160001 of https://codereview.chromium.org/1122673002/) Reason for revert: Breaking bots Original issue's description: > Start on simplifying generateGeometry() overrides > > Committed: https://skia.googlesource.com/skia/+/f28381c6866cad92af8ebe5b9d2db074613b1963 TBR=joshualitt@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1124633003
/external/skia/src/gpu/GrContext.cpp
|
f28381c6866cad92af8ebe5b9d2db074613b1963 |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Start on simplifying generateGeometry() overrides Review URL: https://codereview.chromium.org/1122673002
/external/skia/src/gpu/GrContext.cpp
|
b327c3a84a90f966afa00c705f2e7f511321ef6e |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Revert of Don't attempt to draw path if dashing or stroking fails (patchset #1 id:1 of https://codereview.chromium.org/1119393002/) Reason for revert: Doesn't draw Original issue's description: > Don't attempt to draw path if dashing or stroking fails > > > TBR=egdaniel@google.com > > Committed: https://skia.googlesource.com/skia/+/39202f12d37b6ef69ffaddcaa8cc92c621fcda41 TBR=egdaniel@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1119423002
/external/skia/src/gpu/GrContext.cpp
|
39202f12d37b6ef69ffaddcaa8cc92c621fcda41 |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Don't attempt to draw path if dashing or stroking fails TBR=egdaniel@google.com Review URL: https://codereview.chromium.org/1119393002
/external/skia/src/gpu/GrContext.cpp
|
ed0bcad9c8147fd37c23bdda00ec27ec9ef8d66b |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Move instanced index buffer creation to flush time Committed: https://skia.googlesource.com/skia/+/ab622c7b8cc8c39f0a594e4392b9e31b7e1ddb26 Review URL: https://codereview.chromium.org/1116943004
/external/skia/src/gpu/GrContext.cpp
|
d8ed1b64a6c85a8364c23e825164b7bebb43a3a0 |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Revert of Move instanced index buffer creation to flush time (patchset #6 id:100001 of https://codereview.chromium.org/1116943004/) Reason for revert: messed up caching, recreating index buffers all the time. Original issue's description: > Move instanced index buffer creation to flush time > > Committed: https://skia.googlesource.com/skia/+/ab622c7b8cc8c39f0a594e4392b9e31b7e1ddb26 TBR=joshualitt@google.com,robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1126613003
/external/skia/src/gpu/GrContext.cpp
|
ab622c7b8cc8c39f0a594e4392b9e31b7e1ddb26 |
|
04-May-2015 |
bsalomon <bsalomon@google.com> |
Move instanced index buffer creation to flush time Review URL: https://codereview.chromium.org/1116943004
/external/skia/src/gpu/GrContext.cpp
|
99c7c07e0f1f7b78980eb21d84bebda8b45a7178 |
|
01-May-2015 |
joshualitt <joshualitt@chromium.org> |
Move bounds to GrBatch BUG=skia: Review URL: https://codereview.chromium.org/1121463002
/external/skia/src/gpu/GrContext.cpp
|
d309e7aa0efa2d5dd7e7b1af97026fcd3a047e98 |
|
30-Apr-2015 |
bsalomon <bsalomon@google.com> |
This replaces the texture creation/caching functions on GrContext with a GrTextureProvider interface. The goal is to pass this narrowly focused object in places that currently take a GrContext but don't need and shouldn't use its other methods. It also has an extended private interface for interacting with non-texture resource types. Review URL: https://codereview.chromium.org/1107973004
/external/skia/src/gpu/GrContext.cpp
|
a09c0461463a5976908af5232b755e1663b972bf |
|
30-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
Simple CL to Compute bounds in GrContext::drawVertices BUG=skia: Review URL: https://codereview.chromium.org/1117953003
/external/skia/src/gpu/GrContext.cpp
|
e9c0fc616d2a1632c285885b9b656b68ca8d4f24 |
|
29-Apr-2015 |
jvanverth <jvanverth@google.com> |
Pull out shader-specific caps into GrShaderCaps and GrGLSLCaps BUG=skia: Review URL: https://codereview.chromium.org/1116713002
/external/skia/src/gpu/GrContext.cpp
|
ecb8e3e394cbd081511e19ac83654b2437bd8bba |
|
29-Apr-2015 |
bsalomon <bsalomon@google.com> |
Remove unneeded features from GrBufferAllocPool Review URL: https://codereview.chromium.org/1103423004
/external/skia/src/gpu/GrContext.cpp
|
a73239a0096370221d3dfababf339dd6d3fed84f |
|
28-Apr-2015 |
bsalomon <bsalomon@google.com> |
Remove GrFlushToGpuDrawTarget and move functionality up to GrDrawTarget. Review URL: https://codereview.chromium.org/1117433002
/external/skia/src/gpu/GrContext.cpp
|
72e3ae486c66871c2043eac4f08d85d419fbca2a |
|
28-Apr-2015 |
bsalomon <bsalomon@google.com> |
Remove vertex/index buffer factilities from GrDrawTarget. Review URL: https://codereview.chromium.org/1105263002
/external/skia/src/gpu/GrContext.cpp
|
8f94bb2b25a30917746c5180614e58253c76ae77 |
|
28-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
remove old text contexts and fontcache BUG=skia: Review URL: https://codereview.chromium.org/1104343003
/external/skia/src/gpu/GrContext.cpp
|
d79c549467e5e7be025e38357f179b7965ed2ec3 |
|
27-Apr-2015 |
bsalomon <bsalomon@google.com> |
Make non-AA hairline stroke rects snap to pixels centers so they close. BUG=skia:3717 Review URL: https://codereview.chromium.org/1101663007
/external/skia/src/gpu/GrContext.cpp
|
1899651ffc459f5462aa989cd6d08507947b67e4 |
|
27-Apr-2015 |
kkinnunen <kkinnunen@nvidia.com> |
Extract gpu line dashing to GrDashLinePathRenderer Move line dashing logic from GrContext::drawPath to GrDashLinePathRenderer. This makes it possible to let path renderers render arbitrary dashed paths. End goal is to implement dashing in GrStencilAndCoverPathRenderer. Review URL: https://codereview.chromium.org/1100073003
/external/skia/src/gpu/GrContext.cpp
|
9bd2daff8e53a6f02c7e5d1e6aa330f89b8542a3 |
|
17-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
Initial CL to add distance field support to GrAtlasTextContext BUG=skia: Review URL: https://codereview.chromium.org/1082843002
/external/skia/src/gpu/GrContext.cpp
|
26ffc00bfa09fe85c22ddcbeb0fc54c0eacb7859 |
|
16-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
add textblob cache freeall BUG=skia: Review URL: https://codereview.chromium.org/1088683004
/external/skia/src/gpu/GrContext.cpp
|
8dc7c3a839b38b73af34cc2674a06f49eb1ce527 |
|
16-Apr-2015 |
egdaniel <egdaniel@google.com> |
Rename GrStencilBuffer to GrStencilAttachment BUG=skia: Review URL: https://codereview.chromium.org/1083133002
/external/skia/src/gpu/GrContext.cpp
|
f103cd85392e30d2a534a3a62a034e79abff2d4f |
|
13-Apr-2015 |
egdaniel <egdaniel@google.com> |
Set resScale on stroker when stroking path on gpu. BUG=skia:3686 Review URL: https://codereview.chromium.org/1048333003
/external/skia/src/gpu/GrContext.cpp
|
3033b9faac476fc22e264950764d3551a32e4db7 |
|
13-Apr-2015 |
bsalomon <bsalomon@google.com> |
Make GrContext::freeGpuResources() purge the resource cache BUG=skia: Review URL: https://codereview.chromium.org/1082783002
/external/skia/src/gpu/GrContext.cpp
|
0db6dfaeb2d1376ad393516fb22af7ecf62718fa |
|
10-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
The TextBlobCache needs the ability to trigger a flush because otherwise its entire budget can be used up, but it will not be able to free up any space due to blobs being stuck in the GrInOrderDrawBuffer. This was causing a segfault. After this CL the cache will try to purge, and then flush if it cannot purge enough. It will not purge the most recent addition to the cache. TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1071333002
/external/skia/src/gpu/GrContext.cpp
|
62db8ba68b980245e0927b792747864ebd6fcb6a |
|
09-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
fix for perf regression on ugamsolutions / msaa16 BUG=skia: Review URL: https://codereview.chromium.org/1076853002
/external/skia/src/gpu/GrContext.cpp
|
3f324321cdd8fde7976d958e2888a1ec4e657e35 |
|
08-Apr-2015 |
bsalomon <bsalomon@google.com> |
Add mechanism to proactively purge old resources in GrResourceCache. This change leaves the feature turned off by default. Review URL: https://codereview.chromium.org/1032873002
/external/skia/src/gpu/GrContext.cpp
|
b7133bed55af8dd4ca9427892bb1a5623dbaccf0 |
|
08-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
Adding a cache + memory pool for GPU TextBlobs BUG=skia: Review URL: https://codereview.chromium.org/1055843002
/external/skia/src/gpu/GrContext.cpp
|
95bc5f349561fef2d6fbae71adb08cf5c2eec0c9 |
|
08-Apr-2015 |
caryclark <caryclark@google.com> |
change isNestedRect to isNestedFillRect R=reed@google.com, bsalomon@google.com Let isNested(Fill)Rect return true if drawn path describes filled rectangles. Review URL: https://codereview.chromium.org/1073473002
/external/skia/src/gpu/GrContext.cpp
|
dbd3593e0b0cfb04f23b9d7bce623e6e32364b3f |
|
02-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
Rename GrBitmapTextContextB to GrAtlasTextContext BUG=skia: Review URL: https://codereview.chromium.org/1050173002
/external/skia/src/gpu/GrContext.cpp
|
1d89e8d1a46dfd8dd0a417edec5409721a1600a6 |
|
01-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
move Atlas Text Context to its own file BUG=skia: Review URL: https://codereview.chromium.org/1045723010
/external/skia/src/gpu/GrContext.cpp
|
7c3a2f834e0ba3f11a3129d5348b393efcc9b0e1 |
|
31-Mar-2015 |
joshualitt <joshualitt@chromium.org> |
BitmapTextBatch and BitmapTextBlob BUG=skia: Committed: https://skia.googlesource.com/skia/+/eed1dae04932483579b02c10f0706127d3f5d984 Review URL: https://codereview.chromium.org/1011403004
/external/skia/src/gpu/GrContext.cpp
|
c03391e792a55219ddcb033475dc6b80e6a3e2f9 |
|
31-Mar-2015 |
joshualitt <joshualitt@google.com> |
Revert of BitmapTextBatch and BitmapTextBlob (patchset #18 id:360001 of https://codereview.chromium.org/1011403004/) Reason for revert: Breaks a unit test on mac Original issue's description: > BitmapTextBatch and BitmapTextBlob > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/eed1dae04932483579b02c10f0706127d3f5d984 TBR=fmalita@chromium.org,reed@google.com,jvanverth@google.com,robertphillips@google.com,bsalomon@google.com,jvanverth@chromium.org,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1050633002
/external/skia/src/gpu/GrContext.cpp
|
eed1dae04932483579b02c10f0706127d3f5d984 |
|
31-Mar-2015 |
joshualitt <joshualitt@chromium.org> |
BitmapTextBatch and BitmapTextBlob BUG=skia: Review URL: https://codereview.chromium.org/1011403004
/external/skia/src/gpu/GrContext.cpp
|
36352bf5e38f45a70ee4f4fc132a38048d38206d |
|
26-Mar-2015 |
mtklein <mtklein@chromium.org> |
C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} NOPRESUBMIT=true BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1037793002 Review URL: https://codereview.chromium.org/1037793002
/external/skia/src/gpu/GrContext.cpp
|
6e8cd9671958c69babde9338c5c18a4c3d895575 |
|
20-Mar-2015 |
joshualitt <joshualitt@chromium.org> |
Let text contexts fall back directly to paths BUG=skia: Review URL: https://codereview.chromium.org/1015173002
/external/skia/src/gpu/GrContext.cpp
|
4b31de8328bbf3ee789157ae1dc6fe7cc74c796a |
|
05-Mar-2015 |
joshualitt <joshualitt@chromium.org> |
handle null vertex or index buffers in batch BUG=skia: Review URL: https://codereview.chromium.org/979343002
/external/skia/src/gpu/GrContext.cpp
|
d4c7d55594d94a00b6cecf6b2fdbb811836ce2ff |
|
27-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
nexus 9 fix TBR= BUG=skia: Review URL: https://codereview.chromium.org/966773004
/external/skia/src/gpu/GrContext.cpp
|
0823bfae151dd27f364db3a7f07017a7cef6bfdd |
|
27-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
Context batches BUG=skia: Review URL: https://codereview.chromium.org/913253003
/external/skia/src/gpu/GrContext.cpp
|
5f5a8d7599b8e248633ac122294b7a01401fedcb |
|
25-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
adding preabandon flag to DM BUG=skia: Review URL: https://codereview.chromium.org/929243004
/external/skia/src/gpu/GrContext.cpp
|
570d2f81a65fc868d6300a7edf34c0d5d048c5d6 |
|
25-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
I'd really like to land this before the branch so speedy reviews are appreciated. BUG=skia: Committed: https://skia.googlesource.com/skia/+/586d5d640b19860dfbbd903a5188da1bbbe87336 Review URL: https://codereview.chromium.org/936943002
/external/skia/src/gpu/GrContext.cpp
|
2907059d0eb1972a300ea1bf0cd4e4febabb9784 |
|
25-Feb-2015 |
joshualitt <joshualitt@google.com> |
Revert of Pass clip to context (patchset #8 id:180001 of https://codereview.chromium.org/936943002/) Reason for revert: Strange blur problems on nexus 5 Original issue's description: > I'd really like to land this before the branch so speedy reviews are appreciated. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/586d5d640b19860dfbbd903a5188da1bbbe87336 TBR=jvanverth@google.com,senorblanco@google.com,bsalomon@google.com,senorblanco@chromium.org,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/956083002
/external/skia/src/gpu/GrContext.cpp
|
586d5d640b19860dfbbd903a5188da1bbbe87336 |
|
25-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
I'd really like to land this before the branch so speedy reviews are appreciated. BUG=skia: Review URL: https://codereview.chromium.org/936943002
/external/skia/src/gpu/GrContext.cpp
|
44701df5ce572ac3cccec785cf52103d3d5d14a5 |
|
23-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
Move clip off of draw target BUG=skia: Review URL: https://codereview.chromium.org/947443003
/external/skia/src/gpu/GrContext.cpp
|
0bdeec9640640922eb6b0a9f798bcd85eb898f29 |
|
23-Feb-2015 |
egdaniel <egdaniel@google.com> |
Remove canApplyCoverage from XP and all related functions in gpu code. BUG=skia: Review URL: https://codereview.chromium.org/919683002
/external/skia/src/gpu/GrContext.cpp
|
6bc1b5fab8554a9cb643277b4867965dd4535cd6 |
|
23-Feb-2015 |
bsalomon <bsalomon@google.com> |
Dynamically create stencil buffer when needed. Review URL: https://codereview.chromium.org/938383004
/external/skia/src/gpu/GrContext.cpp
|
f99e961f55bb603d099c8cb57d05a2ae52a4e9ca |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Allow resources' unique keys to be changed. Review URL: https://codereview.chromium.org/938943002
/external/skia/src/gpu/GrContext.cpp
|
8718aafec239c93485e45bbe8fed19d9a8def079 |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Rename GrContentKey to GrUniqueKey Review URL: https://codereview.chromium.org/940463006
/external/skia/src/gpu/GrContext.cpp
|
25d9c154087d2132a51d1ca74a104726f60ef380 |
|
18-Feb-2015 |
joshualitt <joshualitt@chromium.org> |
Pass Rendertarget into context. Adding Jim for text context stuff, and Steven for image blur stuff. BUG=skia: Review URL: https://codereview.chromium.org/939623005
/external/skia/src/gpu/GrContext.cpp
|
3582d3ee9fffdec715f5e4949a241ab08e6271ec |
|
13-Feb-2015 |
bsalomon <bsalomon@google.com> |
Split out methods in GrGpuResource::CacheAccess that can be called outside of the cache. Review URL: https://codereview.chromium.org/923143002
/external/skia/src/gpu/GrContext.cpp
|
0ea80f43a1af05b8157a4ef387223bb5b0da35ed |
|
11-Feb-2015 |
bsalomon <bsalomon@google.com> |
Rename GrResourceCache2->GrResourceCache TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/921453002
/external/skia/src/gpu/GrContext.cpp
|
d0423587ac56ae84d3f1eb796d5c1e2dfba9646e |
|
06-Feb-2015 |
bsalomon <bsalomon@google.com> |
One createTexture function, attempt to recycle scratch in createTexture. Review URL: https://codereview.chromium.org/864383003
/external/skia/src/gpu/GrContext.cpp
|
d2a6f4e419393d3c8d8fe332f11c4c6f88382e1d |
|
04-Feb-2015 |
bsalomon <bsalomon@google.com> |
More cleanup around GrContext, textures, and SkGr.cpp Review URL: https://codereview.chromium.org/880983008
/external/skia/src/gpu/GrContext.cpp
|
b9eb4ac0f1c29d6fe10ad7ff81ed8326ac1ea043 |
|
03-Feb-2015 |
mtklein <mtklein@chromium.org> |
patch from issue 886233004 at patchset 40001 (http://crrev.com/886233004#ps40001) ... with changes proposed in the review. BUG=skia: Review URL: https://codereview.chromium.org/894013002
/external/skia/src/gpu/GrContext.cpp
|
37f9a2694c15f08e361ebda74fe9f0fffbf452aa |
|
02-Feb-2015 |
bsalomon <bsalomon@google.com> |
Move npot resizing out of GrContext and simplify GrContext texture functions. Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 Committed: https://skia.googlesource.com/skia/+/6c96672491b04cb782bce8fee778124df66524a0 Review URL: https://codereview.chromium.org/882223003
/external/skia/src/gpu/GrContext.cpp
|
e137db8569e7a10d809980609688b3acfaec612a |
|
01-Feb-2015 |
bsalomon <bsalomon@google.com> |
Revert of Move npot resizing out of GrContext and simplify GrContext texture functions. (patchset #10 id:200001 of https://codereview.chromium.org/882223003/) Reason for revert: perf fix didn't fix the cr webgl conformance tests Original issue's description: > Move npot resizing out of GrContext and simplify GrContext texture functions. > > Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 > > Committed: https://skia.googlesource.com/skia/+/6c96672491b04cb782bce8fee778124df66524a0 TBR=robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/887303002
/external/skia/src/gpu/GrContext.cpp
|
6c96672491b04cb782bce8fee778124df66524a0 |
|
01-Feb-2015 |
bsalomon <bsalomon@google.com> |
Move npot resizing out of GrContext and simplify GrContext texture functions. Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 Review URL: https://codereview.chromium.org/882223003
/external/skia/src/gpu/GrContext.cpp
|
6bfef2dfec3253efa48aec0b5ea108e0dc041d15 |
|
31-Jan-2015 |
fmalita <fmalita@chromium.org> |
Revert of Move npot resizing out of GrContext and simplify GrContext texture functions. (patchset #9 id:160001 of https://codereview.chromium.org/882223003/) Reason for revert: webGL conformance failures: WebglConformance.conformance_textures_tex_image_and_sub_image_2d_with_video WebglConformance.conformance_textures_texture_npot_video https://codereview.chromium.org/892773003/ http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/29272 Original issue's description: > Move npot resizing out of GrContext and simplify GrContext texture functions. > > Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 TBR=robertphillips@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/868233005
/external/skia/src/gpu/GrContext.cpp
|
8a8100349105c8c6de39fcb34e47679da7a67f54 |
|
30-Jan-2015 |
bsalomon <bsalomon@google.com> |
Move npot resizing out of GrContext and simplify GrContext texture functions. Review URL: https://codereview.chromium.org/882223003
/external/skia/src/gpu/GrContext.cpp
|
e167f9660cca8327afe48ae8c526a44e14c60f0e |
|
27-Jan-2015 |
bsalomon <bsalomon@google.com> |
Fix GPU resource cache related assertions. Review URL: https://codereview.chromium.org/879963003
/external/skia/src/gpu/GrContext.cpp
|
66e09a87d48acd7ac3300cce0e55b8c0896300f6 |
|
26-Jan-2015 |
bsalomon <bsalomon@google.com> |
discard scratch render targets when they are recycled. Review URL: https://codereview.chromium.org/871373007
/external/skia/src/gpu/GrContext.cpp
|
24db3b1c35fb935660229da164fc5ad31977387f |
|
23-Jan-2015 |
bsalomon <bsalomon@google.com> |
Add specialized content key class for resources. Review URL: https://codereview.chromium.org/858123002
/external/skia/src/gpu/GrContext.cpp
|
8dd688b7569df569a672a8a67b2db86a9d376cfc |
|
22-Jan-2015 |
egdaniel <egdaniel@google.com> |
Rename GrOptDrawState to GrPipeline and GrDrawState to GrPipelineBuilder BUG=skia: Review URL: https://codereview.chromium.org/858343002
/external/skia/src/gpu/GrContext.cpp
|
2fdeda04988867625bb9bc2f7f6037406a0a98ec |
|
22-Jan-2015 |
joshualitt <joshualitt@chromium.org> |
XPFactory lazily initializie in drawstate / GrPaint BUG=skia: Review URL: https://codereview.chromium.org/866573002
/external/skia/src/gpu/GrContext.cpp
|
5236cf480daf82b2f36e42795abdbbc915533a59 |
|
14-Jan-2015 |
bsalomon <bsalomon@google.com> |
Make uncached textures uncached from the get go. This avoids the problem of a newly created uncached texture causing a purge of cached resources. BUG=chromium:445885 Review URL: https://codereview.chromium.org/846303002
/external/skia/src/gpu/GrContext.cpp
|
7775c85611c734a2af709b3a9c127939a4296c48 |
|
30-Dec-2014 |
bsalomon <bsalomon@google.com> |
Add a simpler key type for scratch resource keys. BUG=skia:2889 Review URL: https://codereview.chromium.org/815833004
/external/skia/src/gpu/GrContext.cpp
|
8059eb9f6e24ed609393fbda4ad71edea03ac258 |
|
30-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
Move ViewMatrix off of drawstate BUG=skia: Review URL: https://codereview.chromium.org/815553003
/external/skia/src/gpu/GrContext.cpp
|
d27f73ef27ff65a6a0a5d00aa8e5b784b1a0b47e |
|
29-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
Remove coordchanges from drawstate BUG=skia: Review URL: https://codereview.chromium.org/818233002
/external/skia/src/gpu/GrContext.cpp
|
8fc6c2d82c1f30ff82274334c01f0799def6a609 |
|
23-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
This CL cleans up the last remaining users of localCoordChange on paint NOTREECHECKS=True BUG=skia: Review URL: https://codereview.chromium.org/817853002
/external/skia/src/gpu/GrContext.cpp
|
fa1e8a7cefd71f7b75f0b85f8eefe111814dd86f |
|
22-Dec-2014 |
jvanverth <jvanverth@google.com> |
Add sRGB texture support. Review URL: https://codereview.chromium.org/791823003
/external/skia/src/gpu/GrContext.cpp
|
16b278989532ee9f9a38e3eb4754b228ff495cb8 |
|
18-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
Change to create device coord coordset BUG=skia: Review URL: https://codereview.chromium.org/812063002
/external/skia/src/gpu/GrContext.cpp
|
5531d51ce7426bdae7563547326fcf0bf926a083 |
|
18-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
remove view matrix from context BUG=skia: Review URL: https://codereview.chromium.org/808703006
/external/skia/src/gpu/GrContext.cpp
|
a047f12bd71bc17c8f9a3b889cb5dc920bbd844e |
|
15-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
whitespace change to context to force rebuild of skia NOTREECHECKS=True NOTRY=True TBR= BUG=skia: Review URL: https://codereview.chromium.org/807663002
/external/skia/src/gpu/GrContext.cpp
|
56995b5cc00c9c83bd5fcf86bca9a67e939a96cb |
|
12-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
Remove GP from drawstate, revision of invariant output for GP BUG=skia: Committed: https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da Review URL: https://codereview.chromium.org/791743003
/external/skia/src/gpu/GrContext.cpp
|
8c0f615fdd41b8b8048bf398791bb2138c511826 |
|
10-Dec-2014 |
joshualitt <joshualitt@google.com> |
Revert of Remove GP from drawstate, revision of invariant output for GP (patchset #9 id:160001 of https://codereview.chromium.org/791743003/) Reason for revert: breaks mac Original issue's description: > Remove GP from drawstate, revision of invariant output for GP > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da TBR=bsalomon@google.com,egdaniel@google.com,joshualitt@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/794843002
/external/skia/src/gpu/GrContext.cpp
|
c6bc58eded89b0c0a36b8e20e193c200f297a0da |
|
10-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
Remove GP from drawstate, revision of invariant output for GP BUG=skia: Review URL: https://codereview.chromium.org/791743003
/external/skia/src/gpu/GrContext.cpp
|
2e3b3e369d79e78f7635d4c20e83a47ab571bdf2 |
|
09-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
This cl moves color and coverage off of drawstate. In an effort to keep this CL manageable, I have left the compute invariant input / output in a bit of a strange state(fixing this will be complicated). In addition, NVPR makes this very complicated, and I haven't quite figured out a good way to handle it, so for now color and coverage DO live on optstate, but I will figure out some way to refactor that in future CLs. BUG=skia: Review URL: https://codereview.chromium.org/783763002
/external/skia/src/gpu/GrContext.cpp
|
787cdf9ab06c5afc6fe480ab88268e983505bd32 |
|
04-Dec-2014 |
jvanverth <jvanverth@google.com> |
Ganesh text rendering cleanup. Rename GrTextStrike.{cpp.h} to GrFontCache.{cpp,h} Move contents of GrTextStrike_impl.h to GrFontCache.h Move glyph uploading to a separate function and remove harmful gotos Add assert on glyph upload failure (shouldn't happen) Review URL: https://codereview.chromium.org/780923002
/external/skia/src/gpu/GrContext.cpp
|
2dd1ae016d7f297b433c3ea3a771ef8e01657c1f |
|
03-Dec-2014 |
joshualitt <joshualitt@chromium.org> |
First step to moving vertex attributes to the geometryProcessor BUG=skia: Review URL: https://codereview.chromium.org/761563002
/external/skia/src/gpu/GrContext.cpp
|
e638d1c29b2895a4dcf41b5bc8868278192bf819 |
|
02-Dec-2014 |
derekf <derekf@osg.samsung.com> |
check matrix does not have rotation or perspective transformation When checking whether we need apply AA to a rect for non-msaa target, simply checking that the mapped rect is integer is not enough. We need to check whether the transformation matrix has transformations other than simple translation. Original-Author: Henry Song <henrysong@samsung.com> Review URL: https://codereview.chromium.org/772953002
/external/skia/src/gpu/GrContext.cpp
|
10e23caea3106be125acea10a637789e5a15c728 |
|
25-Nov-2014 |
bsalomon <bsalomon@google.com> |
Use scratch keys for stencil buffers. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/91175f19664a62851da4ca4e0984a7c7c45b258f Review URL: https://codereview.chromium.org/747043004
/external/skia/src/gpu/GrContext.cpp
|
19cd0f1813c4050e7604e1c5b9b5c7ca3de85e7b |
|
24-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert "Use scratch keys for stencil buffers." This reverts commit 91175f19664a62851da4ca4e0984a7c7c45b258f. Revert "Cleanup res cache bench and split out into a unit test." This reverts commit 4e4303f002c5958c6c958e7ba8e49b24c25f0b22. Revert "rebaselines" This reverts commit 65ba7b57759bfca60b24bc34dc46fc8caaf146f0. TBR=tomhudson@google.com Review URL: https://codereview.chromium.org/752233002
/external/skia/src/gpu/GrContext.cpp
|
91175f19664a62851da4ca4e0984a7c7c45b258f |
|
24-Nov-2014 |
bsalomon <bsalomon@google.com> |
Use scratch keys for stencil buffers. BUG=skia:2889 Review URL: https://codereview.chromium.org/747043004
/external/skia/src/gpu/GrContext.cpp
|
9853ccef19c200be93a6211f32589fa82a53067c |
|
17-Nov-2014 |
joshualitt <joshualitt@chromium.org> |
Drawstate on stack BUG=skia: Review URL: https://codereview.chromium.org/732693002
/external/skia/src/gpu/GrContext.cpp
|
84c8e62fad59f0e19b40ac718467f5b7884b431d |
|
17-Nov-2014 |
bsalomon <bsalomon@google.com> |
Allow GPU resources to not be counted against the cache budget. BUG=skia:2889 Review URL: https://codereview.chromium.org/721353002
/external/skia/src/gpu/GrContext.cpp
|
dace19ec17e85872df3fb35212e1b8bce72018b6 |
|
17-Nov-2014 |
bsalomon <bsalomon@google.com> |
Correct accounting for wrapped resources BUG=skia:2889 Review URL: https://codereview.chromium.org/720033004
/external/skia/src/gpu/GrContext.cpp
|
5478d427c6e67c986a3390162c8fec77c466058a |
|
15-Nov-2014 |
joshualitt <joshualitt@chromium.org> |
Push creation of default GP to the caller TBR= BUG=skia: Review URL: https://codereview.chromium.org/715903002
/external/skia/src/gpu/GrContext.cpp
|
71cb0c241e439b6ed746b90294d0b6916644a644 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 Committed: https://skia.googlesource.com/skia/+/407aa584d183c1bf314f5defd1cf0202e8a96c89 Review URL: https://codereview.chromium.org/716143004
/external/skia/src/gpu/GrContext.cpp
|
191bcc008ea6b4cc445e105f6d36cbc057246e29 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Fix ref-cnting bug in GrContext::readRenderTargetPixels TBR=egdaniel@google.com NOTRY=true Review URL: https://codereview.chromium.org/732713002
/external/skia/src/gpu/GrContext.cpp
|
ac49acda520292b059bc37fd368dff912626c3d9 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #7 id:120001 of https://codereview.chromium.org/716143004/) Reason for revert: broken again Original issue's description: > Replace GrResourceCache with GrResourceCache2. > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 > > Committed: https://skia.googlesource.com/skia/+/407aa584d183c1bf314f5defd1cf0202e8a96c89 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/726913002
/external/skia/src/gpu/GrContext.cpp
|
407aa584d183c1bf314f5defd1cf0202e8a96c89 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 Review URL: https://codereview.chromium.org/716143004
/external/skia/src/gpu/GrContext.cpp
|
f21dab95405979a4aff9f6a741c818304a67f220 |
|
13-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #6 id:100001 of https://codereview.chromium.org/716143004/) Reason for revert: Breaking stuff Original issue's description: > Replace GrResourceCache with GrResourceCache2. > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/715333003
/external/skia/src/gpu/GrContext.cpp
|
66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 |
|
13-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Review URL: https://codereview.chromium.org/716143004
/external/skia/src/gpu/GrContext.cpp
|
395ef0568dac793020f66cbec4b6ef86736d4db0 |
|
12-Nov-2014 |
bsalomon <bsalomon@google.com> |
Fix use of NULL ptr in GrContext::drawRect BUG=skia:3122 TBR=mtklein@google.com Review URL: https://codereview.chromium.org/724443002
/external/skia/src/gpu/GrContext.cpp
|
453cf40ac7702722695bb09ae2c6df44c19d008b |
|
11-Nov-2014 |
bsalomon <bsalomon@google.com> |
Add GrGpuResource::CacheAccess Internal only helper class for manipulating and accessing cache keys. BUG=skia:2889 Review URL: https://codereview.chromium.org/703303003
/external/skia/src/gpu/GrContext.cpp
|
d53a82706ebd227bc0e4dd535118cdd8298131bd |
|
11-Nov-2014 |
joshualitt <joshualitt@chromium.org> |
Snap optdrawstate in inorder draw buffer and pass into gpu BUG=skia: Review URL: https://codereview.chromium.org/709133003
/external/skia/src/gpu/GrContext.cpp
|
8b79d23f825cd9e0f9e3bf8aaa9e209940b17ef6 |
|
10-Nov-2014 |
bsalomon <bsalomon@google.com> |
Use GrResourceCache2 to service content key lookups BUG=skia:2889 Review URL: https://codereview.chromium.org/707493002
/external/skia/src/gpu/GrContext.cpp
|
3322fa432a96fdc94d54f2475faf918dfa05b919 |
|
07-Nov-2014 |
joshualitt <joshualitt@chromium.org> |
Refactor DrawTarget and GPU to be independent BUG=skia: Review URL: https://codereview.chromium.org/705593002
/external/skia/src/gpu/GrContext.cpp
|
334355742137cc238887d4f85856e6c4d9ec8aa8 |
|
05-Nov-2014 |
bsalomon <bsalomon@google.com> |
Add mock context and use in ResourceCacheTest. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/820dd6c335411aad889c1d7e8a857642ecd87e30 Review URL: https://codereview.chromium.org/702083003
/external/skia/src/gpu/GrContext.cpp
|
fdcf2c0863cdd5779bd6203d45b77d2daf21f159 |
|
05-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert of Add mock context and use in ResourceCacheTest. (patchset #4 id:60001 of https://codereview.chromium.org/702083003/) Reason for revert: Breaking tests Original issue's description: > Add mock context and use in ResourceCacheTest. > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/820dd6c335411aad889c1d7e8a857642ecd87e30 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/704563004
/external/skia/src/gpu/GrContext.cpp
|
820dd6c335411aad889c1d7e8a857642ecd87e30 |
|
05-Nov-2014 |
bsalomon <bsalomon@google.com> |
Add mock context and use in ResourceCacheTest. BUG=skia:2889 Review URL: https://codereview.chromium.org/702083003
/external/skia/src/gpu/GrContext.cpp
|
d1aa8ff8700cbc083c8c27b7368a8482e65cdb08 |
|
04-Nov-2014 |
joshualitt <joshualitt@chromium.org> |
removing setVertexArraySource from drawtarget BUG=skia: Review URL: https://codereview.chromium.org/699733002
/external/skia/src/gpu/GrContext.cpp
|
87a94eb1632d06eeeb89490a91565e786440d6d0 |
|
03-Nov-2014 |
bsalomon <bsalomon@google.com> |
Rename and clarify semantics of GrContext::resolveRenderTarget. Review URL: https://codereview.chromium.org/696293004
/external/skia/src/gpu/GrContext.cpp
|
0537f290c5181d3a6a64cd07d5fbb3cd40f35a13 |
|
03-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert changes to GrContext::resolveRenderTarget TBR=joshualitt@google.com,egdaniel@google.com Review URL: https://codereview.chromium.org/700483003
/external/skia/src/gpu/GrContext.cpp
|
89c62980c1eb50b2090f33312086c7e8c66739b4 |
|
03-Nov-2014 |
bsalomon <bsalomon@google.com> |
Don't allow renderTarget==NULL to GrContext::clear() and friends. Review URL: https://codereview.chromium.org/680413005
/external/skia/src/gpu/GrContext.cpp
|
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/src/gpu/GrContext.cpp
|
5c55fef032d1de01fed6b40ac39081aea9544a75 |
|
31-Oct-2014 |
joshualitt <joshualitt@chromium.org> |
GrContext no longer ever draws on Gpu BUG=skia: Committed: https://skia.googlesource.com/skia/+/7a75e5230872732e71ea99058d9afe5d4b6758b0 Review URL: https://codereview.chromium.org/683733005
/external/skia/src/gpu/GrContext.cpp
|
b9e8230b50fc383869ee64208e23e5b6403568a1 |
|
31-Oct-2014 |
joshualitt <joshualitt@google.com> |
Revert of GrContext no longer ever draws on Gpu (patchset #7 id:120001 of https://codereview.chromium.org/683733005/) Reason for revert: breaks some android bots Original issue's description: > GrContext no longer ever draws on Gpu > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/7a75e5230872732e71ea99058d9afe5d4b6758b0 TBR=bsalomon@google.com,joshualitt@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/694983002
/external/skia/src/gpu/GrContext.cpp
|
7a75e5230872732e71ea99058d9afe5d4b6758b0 |
|
31-Oct-2014 |
joshualitt <joshualitt@chromium.org> |
GrContext no longer ever draws on Gpu BUG=skia: Review URL: https://codereview.chromium.org/683733005
/external/skia/src/gpu/GrContext.cpp
|
38406c82b913350e55fa04af8c1941cd9b4aff52 |
|
31-Oct-2014 |
tfarina <tfarina@chromium.org> |
Cleanup: Go with SkDebugf instead of GrPrintf. Since GrPrintf is just defined to SkDebugf, we can go with the later directly. BUG=None TEST=None R=bsalomon@google.com Review URL: https://codereview.chromium.org/695663003
/external/skia/src/gpu/GrContext.cpp
|
f2703d83da3ab2ae18b45231fd4f11e16cce3184 |
|
28-Oct-2014 |
bsalomon <bsalomon@google.com> |
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags Review URL: https://codereview.chromium.org/682223002
/external/skia/src/gpu/GrContext.cpp
|
b44293e712ca22815fcab3fdec8ec21c661781cf |
|
28-Oct-2014 |
joshualitt <joshualitt@chromium.org> |
aa rect renderer takes a gpu on construction BUG=skia: Review URL: https://codereview.chromium.org/683483004
/external/skia/src/gpu/GrContext.cpp
|
183e98559c2edf6b262fa6c6fff7f3013eb42f5a |
|
21-Oct-2014 |
robertphillips <robertphillips@google.com> |
Widen the set of nested rects that can be drawn natively on the GPU GrAARectRenderer::fillAANestedRects only handles thin stroked rects correctly if the margins are all the same. It is also correct if all the margins are >= 1.0f. This CL allows such cases to use the fillAANestedRects fast path. This seems to halve the gpu rendering time of the picture in bug crbug.com/425427. Review URL: https://codereview.chromium.org/672473002
/external/skia/src/gpu/GrContext.cpp
|
000f829f14a9535a005082731af5de1526284c83 |
|
16-Oct-2014 |
bsalomon <bsalomon@google.com> |
Prefer to recycle non-RT scratch textures that don't have pending IO BUG=skia:2889 Review URL: https://codereview.chromium.org/650283002
/external/skia/src/gpu/GrContext.cpp
|
e30597375c19dfb5197fd065a3d1768401eb00fa |
|
14-Oct-2014 |
bsalomon <bsalomon@google.com> |
Remove uses of GrAutoScratchTexture. Rename GrContext::lockAndRefScratchTexture to refScratchTexture. GrSurface::writePixels returns bool instead of void. BUG=skia:2889 Review URL: https://codereview.chromium.org/638403003
/external/skia/src/gpu/GrContext.cpp
|
8c27a188a0b216021d439eb627622d17b9f78343 |
|
14-Oct-2014 |
jvanverth <jvanverth@google.com> |
Change GrTextContext fallbacks to be a linked list chain. Preliminary work for getting color emoji working with distance field text. BUG=skia:2887 Review URL: https://codereview.chromium.org/650273003
/external/skia/src/gpu/GrContext.cpp
|
81beccc4fb1396fe94af15bfce26e68b82b93809 |
|
13-Oct-2014 |
bsalomon <bsalomon@google.com> |
Devirtualize read/write pixels on surface. Consolidate read/write funcs in context. Remove support for reading pixels from a surface that's not a target. It's currently broken and neither used nor tested. Review URL: https://codereview.chromium.org/648863002
/external/skia/src/gpu/GrContext.cpp
|
1e2530babb65a883a01df5ee87147432f6707ce3 |
|
09-Oct-2014 |
bsalomon <bsalomon@google.com> |
Use presence of a content key as non-scratch indicator BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/9eefe0851eeaa8ded05b4774ebcb38ed201d5dbf Review URL: https://codereview.chromium.org/639873002
/external/skia/src/gpu/GrContext.cpp
|
0f9e8a720c583956ed6e291d018f40fa624bb40d |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
Revert of Use presence of a content key as non-scratch indicator (patchset #5 id:80001 of https://codereview.chromium.org/639873002/) Reason for revert: breaking nanobench on ubuntu Original issue's description: > Use presence of a content key as non-scratch indicator > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/9eefe0851eeaa8ded05b4774ebcb38ed201d5dbf TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/642493003
/external/skia/src/gpu/GrContext.cpp
|
9eefe0851eeaa8ded05b4774ebcb38ed201d5dbf |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
Use presence of a content key as non-scratch indicator BUG=skia:2889 Review URL: https://codereview.chromium.org/639873002
/external/skia/src/gpu/GrContext.cpp
|
bcf0a52d4f4221b158e68a06ba0c4cc4db011060 |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
/external/skia/src/gpu/GrContext.cpp
|
9323b8b8e16df4adcd63ee8496a6382e8df535c9 |
|
07-Oct-2014 |
Brian Salomon <bsalomon@google.com> |
Revert "GrResourceCache2 manages scratch texture." This reverts commit d14e1a27643125bfef37fa0ed314b64c1fae22b7.
/external/skia/src/gpu/GrContext.cpp
|
d14e1a27643125bfef37fa0ed314b64c1fae22b7 |
|
07-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
/external/skia/src/gpu/GrContext.cpp
|
f80bfedc42fde88ae3f8dbd7b21950a22258fd22 |
|
07-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrContext::copyTexture->GrContext::copySurface. Add a flush writes pixel ops flag. Add an explicit flush writes for GrSurface. BUG=skia:2977 Committed: https://skia.googlesource.com/skia/+/cf99b00980b6c9c557e71abf1a7c9f9b21217262 Review URL: https://codereview.chromium.org/622663002
/external/skia/src/gpu/GrContext.cpp
|
85d3427d4932c6cfaf02f8a7454f0c6f213b0c2e |
|
02-Oct-2014 |
bsalomon <bsalomon@google.com> |
Revert of GrContext::copyTexture->GrContext::copySurface. Add a flush writes pixel ops flag. (patchset #3 id:40001 of https://codereview.chromium.org/622663002/) Reason for revert: Breaking GMs on some bots Original issue's description: > GrContext::copyTexture->GrContext::copySurface. > > Add a flush writes pixel ops flag. > > Add an explicit flush writes for GrSurface. > > BUG=skia:2977 > > Committed: https://skia.googlesource.com/skia/+/cf99b00980b6c9c557e71abf1a7c9f9b21217262 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2977 Review URL: https://codereview.chromium.org/621073002
/external/skia/src/gpu/GrContext.cpp
|
cf99b00980b6c9c557e71abf1a7c9f9b21217262 |
|
02-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrContext::copyTexture->GrContext::copySurface. Add a flush writes pixel ops flag. Add an explicit flush writes for GrSurface. BUG=skia:2977 Review URL: https://codereview.chromium.org/622663002
/external/skia/src/gpu/GrContext.cpp
|
afbf2d6273cd22c683f20a7e5773843876af3085 |
|
30-Sep-2014 |
bsalomon <bsalomon@google.com> |
Make "priv" classes for GrTexure and GrSurface. R=robertphillips@google.com, egdaniel@google.com, joshualitt@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/596053002
/external/skia/src/gpu/GrContext.cpp
|
b06e5a2f558133b865cb0c3cc0b36e9bd2e594e2 |
|
30-Sep-2014 |
robertphillips <robertphillips@google.com> |
Revert of Make "priv" classes for GrTexure and GrSurface. (patchset #9 id:260001 of https://codereview.chromium.org/596053002/) Reason for revert: Breaking the Chrome builds with: lib/libcc.so: error: undefined reference to 'GrAutoScratchTexture::detach()' (http://108.170.220.120:10117/builders/Canary-Chrome-Ubuntu13.10-Ninja-x86_64-DRT/builds/2990/steps/Retry_BuildContentShell_1/logs/stdio) Original issue's description: > Make "priv" classes for GrTexure and GrSurface. R=egdaniel@google.com, joshualitt@google.com, bsalomon@google.com TBR=bsalomon@google.com, egdaniel@google.com, joshualitt@google.com NOTREECHECKS=true NOTRY=true Author: robertphillips@google.com Review URL: https://codereview.chromium.org/618733002
/external/skia/src/gpu/GrContext.cpp
|
dbe6074a06efc5fb6883bb5e4f251ed67c8c0ab4 |
|
30-Sep-2014 |
robertphillips <robertphillips@google.com> |
Revert of GrResourceCache2 manages scratch texture. (patchset #14 id:260001 of https://codereview.chromium.org/608883003/) Reason for revert: Turning bots red: Nanobench seems to be uniformly failing on Android (http://108.170.220.21:10117/builders/Perf-Android-Venue8-PowerVR-x86-Release/builds/99/steps/RunNanobench/logs/stdio) Ubuntu GTX660 32bit is failing in both Debug and Release on GM generation (it appears to be out of memory) (http://108.170.220.120:10117/builders/Test-Ubuntu12-ShuttleA-GTX660-x86-Debug/builds/2457/steps/GenerateGMs/logs/stdio) Original issue's description: > GrResourceCache2 manages scratch texture. > > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/3d398c876440deaab39bbf2a9b881c337e6dc8d4 R=bsalomon@google.com TBR=bsalomon@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: robertphillips@google.com Review URL: https://codereview.chromium.org/611383003
/external/skia/src/gpu/GrContext.cpp
|
3d398c876440deaab39bbf2a9b881c337e6dc8d4 |
|
30-Sep-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia: R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/608883003
/external/skia/src/gpu/GrContext.cpp
|
c0eb9b9818462471f5fc1c47fa549c6052d8bbae |
|
29-Sep-2014 |
bsalomon <bsalomon@google.com> |
Make "priv" classes for GrTexure and GrSurface. R=robertphillips@google.com, egdaniel@google.com, joshualitt@google.com, joshualitt@chromium.org Author: bsalomon@google.com Review URL: https://codereview.chromium.org/596053002
/external/skia/src/gpu/GrContext.cpp
|
656f2cd5588fabde2bbc2bd42763beb1347fc491 |
|
29-Sep-2014 |
bsalomon <bsalomon@google.com> |
Make writeRenderTargetPixels use draw buffer rather than GrGpu R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/586393005
/external/skia/src/gpu/GrContext.cpp
|
2bb52102b16cf197709797be5e2209868ee2dafe |
|
29-Sep-2014 |
junov <junov@chromium.org> |
Applying post-commit comments from https://codereview.chromium.org/607993002/ BUG=skia: R=robertphillips@google.com Author: junov@chromium.org Review URL: https://codereview.chromium.org/612063003
/external/skia/src/gpu/GrContext.cpp
|
96c118edff293af93db0a2b1b6775428117924b1 |
|
26-Sep-2014 |
junov <junov@chromium.org> |
Change GrContext::copyTexture to go through GrDrawTarget BUG=crbug.com/415100 R=bsalomon@google.com, robertphillips@google.com Author: junov@chromium.org Review URL: https://codereview.chromium.org/607993002
/external/skia/src/gpu/GrContext.cpp
|
34a9895baf8b2bf95c4f6944a7914be1a74f1524 |
|
24-Sep-2014 |
Brian Salomon <bsalomon@google.com> |
Revert "Use draw buffer for texture copy impl." This reverts commit e3d4bf234a04e14b6b0f33e11b3e1132b560c145. Conflicts: src/gpu/GrContext.cpp
/external/skia/src/gpu/GrContext.cpp
|
b0a8a377f832c59cee939ad721e1f87d378b7142 |
|
23-Sep-2014 |
joshualitt <joshualitt@chromium.org> |
Patch to create a distinct geometry processor. The vast majority of this patch is just a rename. The meat is in GrGeometryProcessor, GrProcessor, GrGL*Processor, GrProcessorStage, Gr*BackendProcessorFactory, GrProcessUnitTestFactory, and the builders BUG=skia: R=bsalomon@google.com Author: joshualitt@chromium.org Review URL: https://codereview.chromium.org/582963002
/external/skia/src/gpu/GrContext.cpp
|
e3d4bf234a04e14b6b0f33e11b3e1132b560c145 |
|
23-Sep-2014 |
bsalomon <bsalomon@google.com> |
Use draw buffer for texture copy impl. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/589143004
/external/skia/src/gpu/GrContext.cpp
|
8d034a154fec81167ecb696c07da389b98cc02a7 |
|
22-Sep-2014 |
bsalomon <bsalomon@google.com> |
Don't flush on read/write pixels unless necessary BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/150723b9298772a5096bec7acd2999c5c9d66239 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/586073002
/external/skia/src/gpu/GrContext.cpp
|
4401a1f7d6d4fad6315b8b8647d9bb7d1ae90141 |
|
22-Sep-2014 |
bsalomon <bsalomon@google.com> |
Revert of Don't flush on read/write pixels unless necessary (patchset #2 id:20001 of https://codereview.chromium.org/586073002/) Reason for revert: Breaking the tree Original issue's description: > Don't flush on read/write pixels unless necessary > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/150723b9298772a5096bec7acd2999c5c9d66239 R=robertphillips@google.com TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Author: bsalomon@google.com Review URL: https://codereview.chromium.org/594543004
/external/skia/src/gpu/GrContext.cpp
|
150723b9298772a5096bec7acd2999c5c9d66239 |
|
22-Sep-2014 |
bsalomon <bsalomon@google.com> |
Don't flush on read/write pixels unless necessary BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/586073002
/external/skia/src/gpu/GrContext.cpp
|
754f4e98d94d7c9ed76cd128cf983f9323a1885b |
|
18-Sep-2014 |
robertphillips <robertphillips@google.com> |
Add counting of some GL calls I would like this facility for tracking FBO switch improvements. R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/553583008
/external/skia/src/gpu/GrContext.cpp
|
4e205b10799730b887ae5d6ac7207570292c177f |
|
17-Sep-2014 |
cdalton <cdalton@nvidia.com> |
Remove createPath* from GrGpu and GrContext Now that we have the GrPathRendering class, it doesn't make sense to have a bunch of shims on on GrGpu. This updates the path rendering clients to make calls directly on the GrPathRendering object. BUG=skia:2939 R=bsalomon@google.com Author: cdalton@nvidia.com Review URL: https://codereview.chromium.org/578563002
/external/skia/src/gpu/GrContext.cpp
|
e3371304b8c06a29aa3581c8decd9046c712c5f6 |
|
17-Sep-2014 |
robertphillips <robertphillips@google.com> |
Fix typo R=jvanverth@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/579753003
/external/skia/src/gpu/GrContext.cpp
|
49f085dddff10473b6ebf832a974288300224e60 |
|
05-Sep-2014 |
bsalomon <bsalomon@google.com> |
"NULL !=" = NULL R=reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/544233002
/external/skia/src/gpu/GrContext.cpp
|
bd769d0f1c8cf6ccbb2738dfad1624a4c828e4eb |
|
04-Sep-2014 |
joshualitt <joshualitt@chromium.org> |
Initial change to create GeometryProcessor BUG=skia: R=bsalomon@google.com, robertphillips@google.com, egdaniel@google.com, jvanverth@google.com Author: joshualitt@chromium.org Review URL: https://codereview.chromium.org/509153002
/external/skia/src/gpu/GrContext.cpp
|
7b3d5ee72c2238aa239bce4d5b3aea98a437ca7a |
|
28-Aug-2014 |
egdaniel <egdaniel@google.com> |
Make setVertexAttribs in GrDrawState take a stride parameter. BUG=skia: Committed: https://skia.googlesource.com/skia/+/af013bf8afc4c77ab8ff230f536e2ade973427fa R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/511593004
/external/skia/src/gpu/GrContext.cpp
|
ea81ced1e573c98584e6830a92511f80593af0a4 |
|
27-Aug-2014 |
djsollen <djsollen@google.com> |
Revert of Make setVertexAttribs in GrDrawState take a stride parameter. (patchset #5 of https://codereview.chromium.org/511593004/) Reason for revert: GM failures on http://108.170.220.120:10115/builders/Test-Ubuntu12-ShuttleA-GTX660-x86-Release/builds/1867/ Original issue's description: > Make setVertexAttribs in GrDrawState take a stride parameter. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/af013bf8afc4c77ab8ff230f536e2ade973427fa R=bsalomon@google.com, egdaniel@google.com TBR=bsalomon@google.com, egdaniel@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: djsollen@google.com Review URL: https://codereview.chromium.org/502533004
/external/skia/src/gpu/GrContext.cpp
|
af013bf8afc4c77ab8ff230f536e2ade973427fa |
|
27-Aug-2014 |
egdaniel <egdaniel@google.com> |
Make setVertexAttribs in GrDrawState take a stride parameter. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/511593004
/external/skia/src/gpu/GrContext.cpp
|
5219e57a021303444ecd7e054fd56a9efc884904 |
|
27-Aug-2014 |
egdaniel <egdaniel@google.com> |
Remove skip draw check in GrContext BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/488563003
/external/skia/src/gpu/GrContext.cpp
|
02e36f2d3f1fd1d48dbe67eed59c76d07f4d6f93 |
|
22-Aug-2014 |
bsalomon <bsalomon@google.com> |
Fix leak of GrResourceCacheEntry R=robertphillips@google.com TBR=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/502543002
/external/skia/src/gpu/GrContext.cpp
|
c8dc1f74b6cdda9a43a638292a608c59c1d72d80 |
|
21-Aug-2014 |
bsalomon <bsalomon@google.com> |
Add GrResourceCache2. Currently it just replaces GrGpu as the owner of the linked list of resources. Committed: https://skia.googlesource.com/skia/+/94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f R=mtklein@google.com, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/481443002
/external/skia/src/gpu/GrContext.cpp
|
1d89ddc4a3aad153501cfdc93bc1d61eb49157f4 |
|
19-Aug-2014 |
bsalomon <bsalomon@google.com> |
Revert of Add GrResourceCache2. (patchset #4 of https://codereview.chromium.org/481443002/) Reason for revert: Likely caused a leak detected in Chromium after last Skia roll. Original issue's description: > Add GrResourceCache2. > > Currently it just replaces GrGpu as the owner of the linked list of resources. > > Committed: https://skia.googlesource.com/skia/+/94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f R=mtklein@google.com, robertphillips@google.com TBR=mtklein@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: bsalomon@google.com Review URL: https://codereview.chromium.org/477323006
/external/skia/src/gpu/GrContext.cpp
|
94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f |
|
19-Aug-2014 |
bsalomon <bsalomon@google.com> |
Add GrResourceCache2. Currently it just replaces GrGpu as the owner of the linked list of resources. R=robertphillips@google.com, mtklein@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/481443002
/external/skia/src/gpu/GrContext.cpp
|
c30aaa0e40a2957b847910f80665616e0d103d50 |
|
13-Aug-2014 |
bsalomon <bsalomon@google.com> |
Use combined color/coverage attribute when possible in aa rect renderer. Also restore the is_irect test to detect AA rects that are integer aligned. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/466873002
/external/skia/src/gpu/GrContext.cpp
|
b62508be81839be96f3d935d1e568e2ff3663670 |
|
13-Aug-2014 |
george <george@mozilla.com> |
Add a parameter GR_ALWAYS_ALLOCATE_ON_HEAP to allow for only ever creating temporary buffers on the heap instead of allowing stack allocation Unfortunately this can't be a GR_GL_* config like we'd discussed because there are SkAutoSMalloc buffers that are built outside of gl/ R=bsalomon@google.com, bsalomon BUG=skia: Author: george@mozilla.com Review URL: https://codereview.chromium.org/459263003
/external/skia/src/gpu/GrContext.cpp
|
9c6d4d744a9e0375d0e7d7a7b19558f5259fc3c3 |
|
12-Aug-2014 |
krajcevski <krajcevski@google.com> |
Change GR_COMPRESS_ALPHA_MASK from compile-time flag to run-time. We do this by introducing an Options struct to be passed to a GrContext on creation. R=robertphillips@google.com, bsalomon@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/459033002
/external/skia/src/gpu/GrContext.cpp
|
9c0822a4150e23cec9f9b72bd1abc2c5f9ea5a3b |
|
11-Aug-2014 |
bsalomon <bsalomon@google.com> |
Always use both a color and coverage attribute in GrAARectRenderer. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/435743002
/external/skia/src/gpu/GrContext.cpp
|
62c447d3a556e3042cdf5d23b3e2a618eaa3c100 |
|
08-Aug-2014 |
bsalomon <bsalomon@google.com> |
Add an opaqueness hint to GrDrawState. Check it when deciding whether to combine draw states. R=egdaniel@google.com, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/446953002
/external/skia/src/gpu/GrContext.cpp
|
6d7f5faeb3f1745bd1fb90c8a2a0655a9e416e4a |
|
04-Aug-2014 |
egdaniel <egdaniel@google.com> |
Enable gpu Debug markers if tracing category skia.gpu is enabled BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/438023004
/external/skia/src/gpu/GrContext.cpp
|
01c8da1eef36570374f7e8764a38b25bf16ab7a6 |
|
04-Aug-2014 |
bsalomon <bsalomon@google.com> |
Remove unused matrix param from GrContext/GrDrawTarget rect drawing functions. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/441623005
/external/skia/src/gpu/GrContext.cpp
|
41ebbddd76b747d5fb32c02dda0de3d03a3edda5 |
|
04-Aug-2014 |
bsalomon <bsalomon@google.com> |
Exit early when draw can be skipped. Be more robust against abandoned GrContext. R=egdaniel@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/428103003
/external/skia/src/gpu/GrContext.cpp
|
b414f25cf97a690034a180a2c704b4b3935b8ed0 |
|
29-Jul-2014 |
egdaniel <egdaniel@google.com> |
Remove support in the gpu to use hardware AA lines. Current code paths could not reach this code and thus was never used. The blend opt flag kDisableBlend should now be able to be removed, however it is left in this CL and will removed in its own. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/427823002
/external/skia/src/gpu/GrContext.cpp
|
b09bdd6bac5bfff12b0b2a95681761e783a4b432 |
|
29-Jul-2014 |
egdaniel <egdaniel@google.com> |
Revert of Remove gpu support for willUseHWAALines. (https://codereview.chromium.org/423943003/) Reason for revert: Breaking windows 7 compare gm's Original issue's description: > Remove gpu support for willUseHWAALines. > > By removing willUseHWAALines, we also no long reference the blend opt flag kDisableBlend so it has been removed > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/e6dfba868c19b00562f8c733b9bf37dd4ec9e68c R=bsalomon@google.com TBR=bsalomon@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: egdaniel@google.com Review URL: https://codereview.chromium.org/430493003
/external/skia/src/gpu/GrContext.cpp
|
944bcf0acb78f8f9da01e991f1307629959e338a |
|
29-Jul-2014 |
bsalomon <bsalomon@google.com> |
Some fixes around GrContext::abandonContext: Fix debug crash when GrResourceCache is destroyed after GrContext is abandoned while GrTextures are in the exlusive list. Notify debug GL context that GL resources are expected to remain undeleted when context is destroyed after being abandoned. Stop leaking program cache entries when context is abandoned. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/422323002
/external/skia/src/gpu/GrContext.cpp
|
e6dfba868c19b00562f8c733b9bf37dd4ec9e68c |
|
29-Jul-2014 |
egdaniel <egdaniel@google.com> |
Remove gpu support for willUseHWAALines. By removing willUseHWAALines, we also no long reference the blend opt flag kDisableBlend so it has been removed BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/423943003
/external/skia/src/gpu/GrContext.cpp
|
2354f8432a7205571f04f9638a0018fb0b1fb282 |
|
28-Jul-2014 |
bsalomon <bsalomon@google.com> |
Test abandoning GL context in dm/nanobench. Rename GrContext::contextDestroyed to GrContext::abandonContext. Remove GrContext::resetContext. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/422903002
/external/skia/src/gpu/GrContext.cpp
|
6d3fe022d68fd6dd32c0fab30e24fa5a4f048946 |
|
25-Jul-2014 |
bsalomon <bsalomon@google.com> |
Rename GrGpuObject to GrGpuResource R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/418143004
/external/skia/src/gpu/GrContext.cpp
|
c44be0e9e4cee5402909c06370a630eee188a8f3 |
|
25-Jul-2014 |
bsalomon <bsalomon@google.com> |
Merge GrGpuObject and GrCacheable. We want to create a new base class for "meta" gr resources as part of the GrResourceCache rewrite and this is an iterim step towards that goal.s R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/414013005
/external/skia/src/gpu/GrContext.cpp
|
dcabb05113a732636691abc16d643a091336aea5 |
|
21-Jul-2014 |
bsalomon <bsalomon@google.com> |
Make GrCacheable implement its own ref counting. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/392333008
/external/skia/src/gpu/GrContext.cpp
|
93a37bc91a40a7cd14f9f8eca6097535ab1099e4 |
|
21-Jul-2014 |
egdaniel <egdaniel@google.com> |
Add macro so that gpu trace marker can add an arg to the TRACE_EVENT it makes BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/379223004
/external/skia/src/gpu/GrContext.cpp
|
d78a168ec2ec2c07c0c1845e6a1781988e4a52d9 |
|
09-Jul-2014 |
egdaniel <egdaniel@google.com> |
Improve gpu tracing when applying markers directly to gpu target - Change the debug marker strings sent by the GrGpuGL target to only grab the last object added to the set of active markers. This improves the readability when we end up with a large stack of trace markers. Any trace markers the come from the IODB will continue to be squashed into a single debug marker - Added some more useful, high level markers BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/378933002
/external/skia/src/gpu/GrContext.cpp
|
83d081ae1d731b5039e99823620f5e287542ee39 |
|
08-Jul-2014 |
bsalomon <bsalomon@google.com> |
Goodbye GrEffectRef. Also, reworked some var names and comments around SkShader::asNewEffect. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/374923002
/external/skia/src/gpu/GrContext.cpp
|
4ec84da746d66e1bcb76ab2f8b94602b8e966589 |
|
24-Jun-2014 |
robertphillips <robertphillips@google.com> |
Move allocation of texture from SkGpuDevice to GrLayerCache In order to atlas the layers the GrLayerCache needs to be given more control over where a given layer's texture is allocated (i.e., it could be a raw scratch texture or in the cache). R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/350183006
/external/skia/src/gpu/GrContext.cpp
|
c6cb56f36c4aad8ed45486a3bb4de614bb822f1b |
|
24-Jun-2014 |
kkinnunen <kkinnunen@nvidia.com> |
Implement text rendering with NVPR Use path rendering to render the text from outlines if supported by the GPU. Implement this in GrStencilAndCoverTextContext by copying chunks of code from GrBitmapTextContext. The drawing is implemented with "instanced" path drawing functions. Moves the creation of the "main" text context from SkGpuDevice to the GrContext::createTextContext. This is done because the decision of which text renderer is optimal can be made only with the internal implementation-specific information of the context. Remove a windows assertion from SkScalerContext_GDI::getGDIGlyphPath. The GetGlyphOutlineW fails in fontmgr_match for the initial space char in the string " [700] ...". According to MSDN, this is a known problem. Just return that the glyph has no path data in these cases. R=jvanverth@google.com, bsalomon@google.com, mtklein@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/196133014
/external/skia/src/gpu/GrContext.cpp
|
bbcb38df4f7477aa0a38da00a0757586a0125954 |
|
19-Jun-2014 |
egdaniel <egdaniel@google.com> |
Allow gpu debug markers to be placed by using a GrContext If a marker is placed using a GrContext, it will add a marker to both the drawBuffer and gpu targets of that context. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/340893002
/external/skia/src/gpu/GrContext.cpp
|
e61c411c1258a323a010558c08de3d9f8d170dca |
|
12-Jun-2014 |
egdaniel <egdaniel@google.com> |
Use vertex attributes for dash effect in gpu This will allow us to batch dashed lines together when drawing. Also, this removes the need for a coord transform matrix in the shader, thus we save the cost of uploading a new matrix uniform everytime we do a simple transform to the dashed line we are drawing. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/326103002
/external/skia/src/gpu/GrContext.cpp
|
d58a0ba9cff9fcefe5047e88ccb4a6e76c591c40 |
|
11-Jun-2014 |
egdaniel <egdaniel@google.com> |
Push dash checks into GrContext. Add class to hold stroke and dash info. R=bsalomon@google.com, robertphillips@google.com, jvanverth@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/311183002
/external/skia/src/gpu/GrContext.cpp
|
f9dae780c2c46a1f08adbbe8de2faaba091254d4 |
|
06-Jun-2014 |
tfarina <tfarina@chromium.org> |
Remove GrIsPow2 in favor of SkIsPow2. Looks like there is no good reason to have two copies of this function doing the same thing with different name. BUG=None TEST=make tests R=bsalomon@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/318873002
/external/skia/src/gpu/GrContext.cpp
|
9c0e629c64c0fa93ac9bf5c2eaa1821370a6fbe5 |
|
02-Jun-2014 |
krajcevski <krajcevski@google.com> |
Initial work to get ETC1 data up to the GPU Committed: http://code.google.com/p/skia/source/detail?r=15001 R=bsalomon@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/302783002
/external/skia/src/gpu/GrContext.cpp
|
999cfd1076e23e7348623f7a59cf2905bdc6099d |
|
30-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Initial work to get ETC1 data up to the GPU (https://codereview.chromium.org/302783002/) Reason for revert: ETC1 linking problems with chrome. Original issue's description: > Initial work to get ETC1 data up to the GPU > > Committed: http://code.google.com/p/skia/source/detail?r=15001 R=bsalomon@google.com, robertphillips@google.com TBR=bsalomon@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: krajcevski@google.com Review URL: https://codereview.chromium.org/303273008 git-svn-id: http://skia.googlecode.com/svn/trunk@15004 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
af091a176dbf900a9ff4526ef3b6966a1de44775 |
|
30-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Initial work to get ETC1 data up to the GPU R=bsalomon@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/302783002 git-svn-id: http://skia.googlecode.com/svn/trunk@15001 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6e7ddaae0a077a777b8b8872ec27f8faab275536 |
|
30-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move the LATC and ETC1 enum values to GrPixelConfig. I also tried to put in checks in a few places to make sure that we weren't using these pixel configurations in places that we shouldn't be. LATC is a DXT-esque alpha compression format that goes by a few other names (RGTC, 3DC). It might be useful to investigate using it to compress the alpha masks that we get from software rasterization. This patch set adds enums for that and recognition whether or not the device can support it. R=bsalomon@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/304743004 git-svn-id: http://skia.googlecode.com/svn/trunk@14991 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f9bd04faffb936602f7f957413a8cd5b7fc44add |
|
29-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Constify the arguments to createTexture R=bsalomon@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/301993002 git-svn-id: http://skia.googlecode.com/svn/trunk@14975 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b0ce4b6fc8da4c3aa491fc43512e9187df1dfdae |
|
16-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix Gpu texture creation bug When creating a resizedTexture on a device that doesn't support non power of 2 tile (Tegras), we were creating the new stretched texture but were not actually saving the result BUG=skia:2561 R=bsalomon@google.com, robertphillips@google.com, jvanverth@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/284303005 git-svn-id: http://skia.googlecode.com/svn/trunk@14765 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e49157f0838c615b10da0ef2b297c742da662e34 |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Factor GrTexture into public GrTexture and private GrTextureImpl. Committed: http://code.google.com/p/skia/source/detail?r=14680 R=jvanverth@google.com, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/275903002 git-svn-id: http://skia.googlecode.com/svn/trunk@14687 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
59e7d238522145e00357c54d71a4216b279faf1c |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Factor GrTexture into public GrTexture and private GrTextureImpl. (https://codereview.chromium.org/275903002/) Reason for revert: Breaks chrome build. Original issue's description: > Factor GrTexture into public GrTexture and private GrTextureImpl. > > Committed: http://code.google.com/p/skia/source/detail?r=14680 R=jvanverth@google.com, robertphillips@google.com TBR=jvanverth@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: bsalomon@google.com Review URL: https://codereview.chromium.org/278073002 git-svn-id: http://skia.googlecode.com/svn/trunk@14681 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
bd465d141be875278d6bbc06becfdbb4acbbf557 |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Factor GrTexture into public GrTexture and private GrTextureImpl. R=jvanverth@google.com, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/275903002 git-svn-id: http://skia.googlecode.com/svn/trunk@14680 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
95c2003740c4cd01fd1b02ed93b9de7227b1d0f5 |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
cleanup GrContext resource cache api R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/275563005 git-svn-id: http://skia.googlecode.com/svn/trunk@14669 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
95a2b0e86d361c06716874f8a56782e1551c308e |
|
05-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow custom resources in the GrContext's cache Adds methods to GrContext for client code to store custom resources in the cache. BUG=skia: R=bsalomon@google.com Author: cdalton@nvidia.com Review URL: https://codereview.chromium.org/261593009 git-svn-id: http://skia.googlecode.com/svn/trunk@14577 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
089a780c3355129eefc942246534bc1f126b8ccb |
|
02-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split GrResource into GrCacheable/GrGpuObject Before this change, an object needed to inherit from GrResource (and thus be a GPU object) in order to live in the GrResourceCache. That was a problem for caching items that weren't GPU objects themselves, but owned GPU objects. This change splits GrResource into two classes: 1. GrCacheable: The base class for objects that can live in the GrResourceCache. 2. GrGpuObject, which inherits from GrCacheable: The base class for objects that get tracked by GrGpu. This change is purely a refactor; there is no change in functionality. Change-Id: I3e8daeb1f123041f414aa306c1366e959ae9e39e BUG=skia: R=bsalomon@google.com Author: cdalton@nvidia.com Review URL: https://codereview.chromium.org/251013002 git-svn-id: http://skia.googlecode.com/svn/trunk@14553 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0a09d7195b8d9945e5c9c76cc4cfe6ef65d6d390 |
|
09-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement drawDRRect for GPU BUG=skia:2259 R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/220233011 git-svn-id: http://skia.googlecode.com/svn/trunk@14118 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
94bd822801049e94ea808ba45c635444f842deb5 |
|
07-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Discard scratch render targets before reusing them. (https://codereview.chromium.org/225183012/) Reason for revert: Asserts in debug. Original issue's description: > Discard scratch render targets before reusing them. > > R=robertphillips@google.com > > Committed: http://code.google.com/p/skia/source/detail?r=14075 R=robertphillips@google.com TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: bsalomon@google.com Review URL: https://codereview.chromium.org/224963014 git-svn-id: http://skia.googlecode.com/svn/trunk@14077 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0f23ff1bcc9c725f0073a5b5689e86ea86c7f69b |
|
07-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Discard scratch render targets before reusing them. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/225183012 git-svn-id: http://skia.googlecode.com/svn/trunk@14075 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e930a075625d3d90c023c2570a6a4cae1a4b484f |
|
03-Apr-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add a GrLayerCache to GrContext https://codereview.chromium.org/217343006/ git-svn-id: http://skia.googlecode.com/svn/trunk@14038 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
972f9cd7a063d0544f8c919fd12b9a3adbd12b24 |
|
28-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h BUG=skia: R=bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/216503004 git-svn-id: http://skia.googlecode.com/svn/trunk@13982 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
28361fad1054d59ed4e6a320c7a8b8782a1487c7 |
|
28-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add discard API to SkCanvas, plumb it to glDiscardFramebuffer() BUG=skia:2349 R=robertphillips@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/211683002 git-svn-id: http://skia.googlecode.com/svn/trunk@13976 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4784182993a336b673619f3eb13ce2539aa890da |
|
27-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Implement text rendering with NVPR (https://codereview.chromium.org/196133014/) Reason for revert: This probably caused Win8 test bot fail during gm run: http://108.170.217.252:10117/builders/Test-Win8-ShuttleA-GTX660-x86-Debug/builds/574 I can not identify any errors from the logs, so maybe it hung or something? Original issue's description: > Implement text rendering with NVPR > > Use path rendering to render the text from outlines if supported by the > GPU. Implement this in GrStencilAndCoverTextContext by copying large > chunks of code from GrBitmapTextContext (drawText) and > GrDistanceFieldTextContext (drawPosText). > > The drawing is implemented with "instanced" path drawing > functions. > > Moves the creation of the "main" text context from SkGpuDevice to the > GrContext::createTextContext. This is done because the decision of which > text renderer is optimal can be made only with the internal > implementation-specific information of the context. > > Committed: http://code.google.com/p/skia/source/detail?r=13962 R=jvanverth@google.com, bsalomon@google.com, mtklein@google.com TBR=bsalomon@google.com, jvanverth@google.com, mtklein@google.com NOTREECHECKS=true NOTRY=true Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/213123014 git-svn-id: http://skia.googlecode.com/svn/trunk@13963 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
dcb8ef9e866b2674e8f9a70b761fcc4fec87dbbe |
|
27-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement text rendering with NVPR Use path rendering to render the text from outlines if supported by the GPU. Implement this in GrStencilAndCoverTextContext by copying large chunks of code from GrBitmapTextContext (drawText) and GrDistanceFieldTextContext (drawPosText). The drawing is implemented with "instanced" path drawing functions. Moves the creation of the "main" text context from SkGpuDevice to the GrContext::createTextContext. This is done because the decision of which text renderer is optimal can be made only with the internal implementation-specific information of the context. R=jvanverth@google.com, bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/196133014 git-svn-id: http://skia.googlecode.com/svn/trunk@13962 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7111d463cee893a479280c7af41757e709e33ef5 |
|
25-Mar-2014 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)" This reverts commit 9a90bd16dc6756395c422adf0f24560d033ed9ea. BUG=skia: R=bsalomon@google.com Review URL: https://codereview.chromium.org/211293002 git-svn-id: http://skia.googlecode.com/svn/trunk@13939 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2a05de0c049a8648942a55016126a1f92e1c14d6 |
|
25-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add Gpu Tracing to Ganesh BUG=skia:2316 R=bsalomon@google.com, tomhudson@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/184443003 git-svn-id: http://skia.googlecode.com/svn/trunk@13936 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
231f6b81c22001cac4ea87ea412c4d6fd10ffb8a |
|
25-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/) Reason for revert: Android bots segfaulting in tests. Original issue's description: > implement readPixels and writePixels natively, w/o using the (deprecated) > SkCanvas::Config8888 enum. > > Revert "Revert "hide Config8888 entirely". Broke a bunch of builds." > > This reverts commit 763277ba157fef0f651004bb98a189e9f1ac730b. > > Needs chrome to remove the READPIXELS guard from skia's .gyp > > Committed: https://code.google.com/p/skia/source/detail?r=13931 R=reed@google.com TBR=reed@google.com NOTREECHECKS=true NOTRY=true Author: mtklein@google.com Review URL: https://codereview.chromium.org/209233004 git-svn-id: http://skia.googlecode.com/svn/trunk@13932 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1121170477302e25ef2a020cf2092aa6b399b3ef |
|
25-Mar-2014 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
implement readPixels and writePixels natively, w/o using the (deprecated) SkCanvas::Config8888 enum. Revert "Revert "hide Config8888 entirely". Broke a bunch of builds." This reverts commit 763277ba157fef0f651004bb98a189e9f1ac730b. Needs chrome to remove the READPIXELS guard from skia's .gyp Review URL: https://codereview.chromium.org/199733016 git-svn-id: http://skia.googlecode.com/svn/trunk@13931 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
933e65d914eb86b1fbbf8ea9cf1da58ac7c42500 |
|
20-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
replace old SK_TRACE_EVENT macros with new TRACE_EVENT ones, and then remove them entirely! BUG=skia:353 R=tomhudson@google.com, epoger@google.com, reed@google.com, egdaniel@google.com, bsalomon@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/196133033 git-svn-id: http://skia.googlecode.com/svn/trunk@13884 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
180e36abf6e5da1688c9da5ef614a78c471834d5 |
|
20-Mar-2014 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "hide Config8888 entirely". Broke a bunch of builds. This reverts commit fa11c49cc11a6c9ebafbf9c59e118917f9b3cc56. Revert "Sanitizing source files in Housekeeper-Nightly" to make the above revert clean. This reverts commit b5787422c8eb2a27a9576777597fd9e06784acdb. TBR=reed@google.com TBR=jcgregorio@google.com Review URL: https://codereview.chromium.org/205963003 git-svn-id: http://skia.googlecode.com/svn/trunk@13872 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
be41d38f1c076c9e4dc595a6e1a4eb5ccdbd307b |
|
20-Mar-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13871 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e14792d99fc7a1a314ef5e2ca5b269239468355a |
|
19-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
hide Config8888 entirely BUG=skia: R=bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/203993002 git-svn-id: http://skia.googlecode.com/svn/trunk@13865 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d8a57af725e8fa8905207df3cf7465be50598752 |
|
19-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adding a new SkSurface factory for generating surfaces from the scratch texture pool. TEST=Surface unit test BUG=crbug.com/351798 R=bsalomon@google.com, robertphillips@google.com, reed@google.com Author: junov@chromium.org Review URL: https://codereview.chromium.org/201153023 git-svn-id: http://skia.googlecode.com/svn/trunk@13864 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b471a32460a44043e1f00d28cbefc87579dc30c5 |
|
10-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add API for GrContext to recommend rendertarget sample count Add GrContext::getRecommendedSampleCount method that can be used to determine which GPU backend and what exact sample count is recommendeded for a particular render target at particular dpi. Make this initially recommend 4xMSAA for contexts which have NVPR enabled if dpi is 250 or more, 16 if dpi is less than 250 and no MSAA for others. BUG=chromium:347962 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/188403003 git-svn-id: http://skia.googlecode.com/svn/trunk@13717 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e79f320ed6c5ec9f6164ba84be1ff586532e6517 |
|
11-Feb-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of r13384 (Stateful PathRenderer implementation) https://codereview.chromium.org/142543007/ git-svn-id: http://skia.googlecode.com/svn/trunk@13409 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1195a28892d37ae9632e81e1bc2407cf644522d2 |
|
11-Feb-2014 |
mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "SkBitmap now really stores SkImageInfo -- config is just a ruse" BUG=skia: Review URL: https://codereview.chromium.org/147733004 git-svn-id: http://skia.googlecode.com/svn/trunk@13395 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8ed6443e6c608007e1e62937acfaf29b7fe7b8b0 |
|
11-Feb-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13393 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3e0c64ad1e5e12aca2907a1384ee7dc3d39d5148 |
|
10-Feb-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Stateful PathRenderer implementation https://codereview.chromium.org/23926019/ git-svn-id: http://skia.googlecode.com/svn/trunk@13384 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f0c41e24d5322022c7678b60837274c1340fc109 |
|
14-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Initialize written paths and strokerecs lazily during GPU drawPath Initialize SkPaths and SkStrokeRecs lazily during GPU drawPath calls. The constructors seem to appear in some profiler results on ARM (~1%). R=bsalomon@google.com, robertphillips@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/118143002 git-svn-id: http://skia.googlecode.com/svn/trunk@13069 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5a56793b2a19eaf90b67d6f24441cc475d74ef17 |
|
08-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move geometry allocator for drawVertices inside autoflush scope. BUG=skia:1956 R=bsalomon@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/128893003 git-svn-id: http://skia.googlecode.com/svn/trunk@12973 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ab1c13864df34aecfd4840ea7d1e4f8730b44f4e |
|
05-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix compilation with SK_ENABLE_INST_COUNT=1 Add INHERITED declarations to class declarations that prevent compilation with the flag. Remove SK_DEFINE_INST_COUNT from all class implementations. Instead, use function-local static variables in the reference count helper classes to create the global instances to store the needed info. The accessor functions are defined inline in the helper classes, so definitions are not needed. The initialization point of the variables should be as well defined as previously. Remove SK_DECLARE_INST_COUNT_TEMPLATE and use SK_DECLARE_INST_COUNT instead. This avoids possible future compilation errors further. For SK_ENABLE_INST_COUNT=0 compilation, add an empty static member function to all classes that use SK_DECLARE_INST_COUNT and SK_DECLARE_INST_COUNT_ROOT macros. The function ensures that classes contain public INHERITED typedef. This member function seems to be compiled away. This shouĺd ensure that part of the compilation errors are caught earlier. Also adds DSK_DECLARE_INST_COUNT to few SkPDFDict subclasses. R=robertphillips@google.com, richardlin@chromium.org, bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/98703002 git-svn-id: http://skia.googlecode.com/svn/trunk@12501 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
db6f36e78471f0798d1003f3e24bf0e8d2fe6b93 |
|
04-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove problematic GrContext thread local instance counting R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/104893002 git-svn-id: http://skia.googlecode.com/svn/trunk@12485 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e0a868c84ebc34c5a16b5faa1546016abb9ca0ac |
|
22-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Apply hairline optimization only if the path renderer wants it Make the decision to convert thin, non-hairline paths to hairline paths at the renderer level. The current nv_path_rendering implementation does not render hairlines. Rendering the hairlines with normal renderers cause unneccessary gl program changes, which is quite slow. Changes the behavior of non-nv_path_rendering paths to always perform the optimization if the shape ends up being painted by a renderer that wants the optimization. Previously the optimization was applied only when callgraph started with SkCanvas::drawPath. Applies the optimization for GrAAHairLineRenderer and GrDefaultPathRenderer. This changes gm results for dashing3_{msaa4,gpu} and drawlooper_msaa4. R=bsalomon@google.com, jvanverth@google.com, rmistry@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/38573007 git-svn-id: http://skia.googlecode.com/svn/trunk@12357 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1b20a10f0205da2d53e0837e4ddc6b2bd3b8a462 |
|
08-Nov-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Do not apply hairline optimization for paths if nv_path_rendering is used" This reverts commit r12185. Review URL: https://codereview.chromium.org/66813002 git-svn-id: http://skia.googlecode.com/svn/trunk@12187 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
44fb865e81a57e0c72de3109d0ed5ea428aa1f44 |
|
08-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Do not apply hairline optimization for paths if nv_path_rendering is used Do not convert thin, non-hairline paths to hairline paths if nv_path_rendering is used. The current nv_path_rendering implementation does not render hairlines. Rendering the hairlines with normal renderers cause unneccessary gl program changes, which is quite slow. Changes the behavior of non-nv_path_rendering paths to always perform the optimization if the shape ends up being painted by the path-drawing code (GrContext::drawPathInternal). Previously the optimization was applied only when callgraph started with SkCanvas::drawPath. This changes drawlooper_msaa4, dashing3_msaa4 and dashing3_gpu R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/38573007 git-svn-id: http://skia.googlecode.com/svn/trunk@12185 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6006d0f8c4f19d19a12de20826f731f52ac822a7 |
|
06-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add bevel-stroke support in GrAARectRenderer Committed: http://code.google.com/p/skia/source/detail?r=12082 R=robertphillips@google.com, bsalomon@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/23712005 git-svn-id: http://skia.googlecode.com/svn/trunk@12148 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
32700ace30459b2166806bde9895084b03f89bc4 |
|
01-Nov-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r12082 (Add bevel-stroke support in GrAARectRenderer) due to GM failures git-svn-id: http://skia.googlecode.com/svn/trunk@12091 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5c8ee2539b9316b22416a991a1f560ef5cec7957 |
|
01-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrContext cache the gpu paths Creating paths for nv_path_rendering is costly. Try to reduce this cost by caching paths based on the SkPath "hash" (i.e. SkPathRef generation id) and stroke properties. Adds the paths to GrContext::fTextureCache instance. Later this should be renamed and the GrContext API should reflect the nature of the cache better. R=bsalomon@google.com, mtklein@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/26557003 git-svn-id: http://skia.googlecode.com/svn/trunk@12083 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e1e99ef0af69fef21f2897621e7dfc5257da7ce7 |
|
01-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add bevel-stroke support in GrAARectRenderer R=robertphillips@google.com, bsalomon@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/23712005 git-svn-id: http://skia.googlecode.com/svn/trunk@12082 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
18bb41e9563748fbde07c1540da9314cbb7d1dc8 |
|
01-Nov-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@12071 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
56ce48ade325f6f49acb0da31d6252806e4ed7ef |
|
31-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add can-ignore-rect hint to clear call https://codereview.chromium.org/53823003/ git-svn-id: http://skia.googlecode.com/svn/trunk@12064 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2d2e5c4e2425a1cb64d31d7d10832f4a3a9137a4 |
|
30-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make not-reusing-scratch-textures only apply to texture uploads https://codereview.chromium.org/53133002/ git-svn-id: http://skia.googlecode.com/svn/trunk@12037 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4e5559af8947ae7dc3df531b6d7a73323db20c3f |
|
30-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow specifying the max texture count on the bots https://codereview.chromium.org/50413011/ git-svn-id: http://skia.googlecode.com/svn/trunk@12020 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b77f0f4ae560e97cc4cd2758752d955549017c3c |
|
30-Oct-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@12013 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9ef0426e7c126f6ad6ba833d4543b92a197c95af |
|
29-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't reuse scratch textures patch https://codereview.chromium.org/24222004/ git-svn-id: http://skia.googlecode.com/svn/trunk@11997 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
50a3043194cf278a74ff51c33c6cdb52cbe1f8f9 |
|
24-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
We want to give SkPixelRef a way to signal over to GrResourceCache that it's become pointless to keep around textures based on that SkPixelRef when its pixels change, so that it can be a good citizen and free those textures. This adds an invalidation listener mechanism to SkPixelRef to let it send this message while still staying ignorant of who's listening. These messages are tricky to deliver. The SkPixelRefs they originates from and the GrResourceCaches they ultimately end up at may be on different threads; neither class is threadsafe; their object lifetimes are totally independent; it's a many-senders-to-many-receivers relation; and neither codebase should really know about the other. So I've added a per-message-type global message bus to broadcast messages to threadsafe inboxes. Anyone can post() a message, which will show up in all the inboxes of that type, read whenever the inbox's owner calls poll(). The implementation is _dumb_; it can be improved in several dimensions (inbox size limits, lock-free message delivery) if we find the need. I took some care to make sure not to send the invalidation message for any SkPixelRef that's sharing a generation ID with another SkPixelRef. BUG= R=bsalomon@google.com, scroggo@google.com, reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/26734003 git-svn-id: http://skia.googlecode.com/svn/trunk@11949 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
583b18a20959c9ac360316a366f4ddd9598bdf52 |
|
24-Oct-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@11934 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3f80dd5f01a194d4fd9ce502734bc9f56bf3fb9f |
|
23-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add support for reading non-rendertarget textures. Also removes rendertarget flag from GrAtlas texture creation (no longer needed) and re-enables GrFontCache::dump(). R=robertphillips@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/29263004 git-svn-id: http://skia.googlecode.com/svn/trunk@11917 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
950b1b079a782e208c2f38cf222184fa1ca1006d |
|
21-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix out of order destruction error https://codereview.chromium.org/33203002/ git-svn-id: http://skia.googlecode.com/svn/trunk@11888 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4b7d6730898abc9e02d1e12c2fd732945f4c1ab4 |
|
21-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More clang warning fixes. Mostly unused functions and variables removed. BUG=None TEST=ninja -C out/Debug most ninja -C out/Release most R=bsalomon@google.com, caryclark@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/27933002 git-svn-id: http://skia.googlecode.com/svn/trunk@11884 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8b169311b59ab84e8ca6f3630a1e960cc1be751e |
|
15-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Second wave of Win64 warning cleanup https://codereview.chromium.org/27343002/ git-svn-id: http://skia.googlecode.com/svn/trunk@11778 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8aaac8da36bb88ab13c62e84ee6ac9ebc5cb8466 |
|
15-Oct-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix build break in assert git-svn-id: http://skia.googlecode.com/svn/trunk@11771 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6b7938f9cb250086a7c6325cf31576f894ca4a1b |
|
15-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
separate state for msaa renderability R=robertphillips@google.com, brian@thesalomons.net Author: bsalomon@google.com Review URL: https://codereview.chromium.org/26695005 git-svn-id: http://skia.googlecode.com/svn/trunk@11770 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7388051d745590d7759e7ed49c233caec6bea0f7 |
|
14-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move renderable config list to GrDrawTargetCaps R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/26342006 git-svn-id: http://skia.googlecode.com/svn/trunk@11756 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5dbb149fda134941e5d168790127caf294d322e2 |
|
04-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
When cache is full delay flush until GrContext draw is finished R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/25673004 git-svn-id: http://skia.googlecode.com/svn/trunk@11613 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
03e3e89641c93df603dfb705d518848dfe81427e |
|
02-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add support to dump font cache texture for debug purposes R=robertphillips@google.com, bsalomon@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/25736002 git-svn-id: http://skia.googlecode.com/svn/trunk@11579 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4382330a15e13b9ef54010606eb758c0c66e1868 |
|
25-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace GR_*_BUILD by their SK_BUILD_FOR_* equivalents. BUG=None TEST=None, no functional changes. R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/24253009 git-svn-id: http://skia.googlecode.com/svn/trunk@11457 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5898dce287b0d1ec535a9cfc1c5870a9cdcf5d1b |
|
18-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Attempt to remove 64 bit min size for NPOT resized texture. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/24123003 git-svn-id: http://skia.googlecode.com/svn/trunk@11356 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e932c98069fd6831a03ff63d331271ef0e9703d9 |
|
10-Sep-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
re-enable GrIODB R=robertphillips@google.com BUG= Review URL: https://codereview.chromium.org/23542023 git-svn-id: http://skia.googlecode.com/svn/trunk@11189 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
82d1223aece4703bc9f3a3612cbabaa8c2f2809b |
|
09-Sep-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Two and three color GPU gradients without textures. R=bsalomon@google.com Review URL: https://codereview.chromium.org/22854005 git-svn-id: http://skia.googlecode.com/svn/trunk@11158 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a4de8c257ea0be8ff7081f645249b6afe5c48e7e |
|
09-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrRefCnt.h in favor of SkRefCnt.h This removes GrRefCnt.h with all its tyepdefs and #defines and just switch them to the Sk* equivalents. GrSafeSetNull was promoted to SkSafeSetNull in SkRefCnt.h. BUG=None TEST=none, no functional changes. R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23904003 git-svn-id: http://skia.googlecode.com/svn/trunk@11151 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1acc3d7cc28c5631b5300578ab13439bdefd4e33 |
|
07-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace uses of GR_DEBUGCODE by SkDEBUGCODE. BUG=None TEST=none, no functional changes. R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23703010 git-svn-id: http://skia.googlecode.com/svn/trunk@11142 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
bfe2b9d3a290d0153b82617cd6b65a4814fe89e3 |
|
06-Sep-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move oval and rect renderer includes to private interface R=bsalomon@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/23513016 git-svn-id: http://skia.googlecode.com/svn/trunk@11132 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
515dcd36032997ce335daa0163c6d67e851bcad1 |
|
28-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace uses of GR_DEBUG by SK_DEBUG. BUG=None R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23137022 git-svn-id: http://skia.googlecode.com/svn/trunk@10978 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8d3c640b5aa96d6316a3e52975602b35e1a66ac7 |
|
20-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix for nested rect drawing bug https://codereview.chromium.org/22824016/ git-svn-id: http://skia.googlecode.com/svn/trunk@10804 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f6de475e5cbd143f348ff7738919e397b7fe7f57 |
|
17-Aug-2013 |
tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace uses of GrAssert by SkASSERT. R=bsalomon@google.com Review URL: https://codereview.chromium.org/22850006 git-svn-id: http://skia.googlecode.com/svn/trunk@10789 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
24ab3b0ce50b3428f063849b6160e468f047487c |
|
14-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add blend optimization helpers and use to convert rect draws to clears. R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/22558003 git-svn-id: http://skia.googlecode.com/svn/trunk@10723 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
75796db3b3f685520eaec2dc0478bdbd4987bae6 |
|
07-Aug-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Add blend optimization helpers and use to convert rect draws to clears." This reverts commit r10537. git-svn-id: http://skia.googlecode.com/svn/trunk@10601 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c1cdf21ab88b63c07990e6bbce559397bf207b47 |
|
06-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add blend optimization helpers and use to convert rect draws to clears. Committed: http://code.google.com/p/skia/source/detail?r=10537 R=robertphillips@google.com, jvanverth@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/21877006 git-svn-id: http://skia.googlecode.com/svn/trunk@10562 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9b6a185e36f3145aa53732e8fb30c870ff38a93c |
|
05-Aug-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Add blend optimization helpers and use to convert rect draws to clears." This reverts commit r10537. git-svn-id: http://skia.googlecode.com/svn/trunk@10542 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
66017f6cc52770c04078dc74ddcda27349002652 |
|
05-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add blend optimization helpers and use to convert rect draws to clears. R=robertphillips@google.com, jvanverth@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/21877006 git-svn-id: http://skia.googlecode.com/svn/trunk@10537 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
19dd017a6256be636ccb550752bb563c4e7caeb5 |
|
05-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix a crash on stroking empty paths with nv_path_rendering enabled Fix the crash by defining that GrPathRenderer::drawPath and GrPathRenderer::stencilPath are called only with non-empty paths. Adds a new test "GpuDrawPath" and tests the condition. BUG=1477 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/22173002 git-svn-id: http://skia.googlecode.com/svn/trunk@10528 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b86add1ad37776818e1f730359ec587c9fdbff5f |
|
25-Jul-2013 |
humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make the filter mode for GrTextureAccess an enum so we can plumb down the paint's filter modes to the GPU BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/20362002 git-svn-id: http://skia.googlecode.com/svn/trunk@10368 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
44a91dcf2542c2aa93f159ebbb5bf813ae7362c0 |
|
25-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrContext::setMaxTextureSizeOverride https://codereview.chromium.org/20325002/ git-svn-id: http://skia.googlecode.com/svn/trunk@10358 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1f3c73825b8a1752abc6b74fbce978a430de6473 |
|
20-Jul-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@10223 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f64c6842c15e1ba126639be7578e4642cb396987 |
|
20-Jul-2013 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add a 'unique' method to SkRefCnt, document the usage, and add support. std::shared_ptr has a method called 'unique' which captures the concept that a reference count of 1 is special, and can be used to optimize copy on write. It also has some undocumented need for memory barriers in certain situations and those needs are documented here. The motivation for looking into this is crbug.com/258499 . The use of the reference count in this manner is a benign race with both ref() and unref(). By introducing sk_atomic_unprotected_read, it is possible for Chromium to annotate this read to tell ThreadSanitizer that this is known. R=bsalomon@google.com Review URL: https://codereview.chromium.org/18770007 git-svn-id: http://skia.googlecode.com/svn/trunk@10221 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e4eaea2d126d58d8ce4034a1ce921404e83fe3f4 |
|
19-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Alter resource cache and GrContext to (optionally) never reuse a scratch texture https://codereview.chromium.org/19482004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10193 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1622a6d950a4a1deb13048210bdb78d952375f05 |
|
18-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add purgeAsNeeded calls before addResource calls https://codereview.chromium.org/19591003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10145 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fd03d4a829efe2d77a712fd991927c55f59a2ffe |
|
17-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace all instances of GrRect with SkRect. And remove the typedef in GrRect.h. The same with GrIRect. R=robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/19449002 git-svn-id: http://skia.googlecode.com/svn/trunk@10130 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1836d337a85b82689287231091823f404d8cab43 |
|
17-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Missed this is r9949 (Allow the resource cache to (indirectly) flush the InOrderDrawBuffer - https://codereview.chromium.org/18466005/) R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/19401002 git-svn-id: http://skia.googlecode.com/svn/trunk@10118 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
736dd031f177681bfa284e19291ef031ad0822d5 |
|
15-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move gaussianBlur functionality to src\effects https://codereview.chromium.org/18771004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10080 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
42dacab4e7366d9f53989558cc8d045c3d065bcd |
|
13-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrPaint have a variable sized array of color and coverage stages rather than a fixed size. R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/18686007 git-svn-id: http://skia.googlecode.com/svn/trunk@10062 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ef284a84f503adfd08ee52b5aee142c548698ea4 |
|
12-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
The two leaks are: missing unrefs in megalooper GM missing reset capability in oval renderer This CL also expands the instance counting system to some recently adding classes (e.g., SkFontStyleSet) R=bsalomon@google.com, jvanverth@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/18461007 git-svn-id: http://skia.googlecode.com/svn/trunk@10030 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cae27fed5e45e8899e56ece22b27e8958ffc0162 |
|
10-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow the resource cache to (indirectly) flush the InOrderDrawBuffer R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/18466005 git-svn-id: http://skia.googlecode.com/svn/trunk@9949 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e7db8d6c0291371ae2766fd0b6fc0918a0ed1c03 |
|
04-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix for DEPS roll failure (a patch to r9898) git-svn-id: http://skia.googlecode.com/svn/trunk@9901 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1267fbd95290f58443652ca8d947bde50b212618 |
|
03-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor GrContext/GrInOrderDrawBuffer cleanup https://codereview.chromium.org/18341007/ git-svn-id: http://skia.googlecode.com/svn/trunk@9898 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0a208a117b2d7f2c2231aa357f1db4864dbdcba3 |
|
28-Jun-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add flag bits for partial GrContext reset BUG=248728 R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=9802 Review URL: https://codereview.chromium.org/17027003 git-svn-id: http://skia.googlecode.com/svn/trunk@9814 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ba669991e539211785ce3b958cc4dd8705f98c9e |
|
28-Jun-2013 |
edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
revert 9802 breacking tests on some configs git-svn-id: http://skia.googlecode.com/svn/trunk@9805 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cad107bbe723e5e71e625dccb5d7bcfe20c55c58 |
|
28-Jun-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add flag bits for partial GrContext reset BUG=248728 R=bsalomon@google.com Review URL: https://codereview.chromium.org/17027003 git-svn-id: http://skia.googlecode.com/svn/trunk@9802 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
eb6879f50a5564eeb981ec5616b55bf685eb76fc |
|
13-Jun-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace fixed-size array of effect stages in GrDrawState with two appendable arrays, one for color, one for coverage. R=robertphillips@google.com Review URL: https://codereview.chromium.org/16952006 git-svn-id: http://skia.googlecode.com/svn/trunk@9592 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
21c10c5ff50cb8f2fd995fc9396d435d3396258b |
|
13-Jun-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make text context responsible for setting GrPaint on GrDrawState. R=robertphillips@google.com Review URL: https://codereview.chromium.org/16928010 git-svn-id: http://skia.googlecode.com/svn/trunk@9588 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
137f1347abaf0bb6a945e91c2f6cb49f0ee69bc3 |
|
29-May-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace GrDrawState::AutoDeviceCoordDraw with GrDrawState::AutoViewMatrixRestore::setIdentity(). s R=robertphillips@google.com Review URL: https://codereview.chromium.org/15780002 git-svn-id: http://skia.googlecode.com/svn/trunk@9331 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
bb6a3178c3e79c8549b332e4ce84c64b59964f1e |
|
28-May-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrContext track the current matrix, render target, and clip directly rather than using GrDrawState. R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/15821008 git-svn-id: http://skia.googlecode.com/svn/trunk@9297 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5d1d79a1f9d351e6f2390d844e6a7361d7d607ca |
|
24-May-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix slowness of getImageData() for CanvasRenderingContext2D in linux due to un-optimized format for glReadPixels This is a continuation of https://codereview.chromium.org/15331003/ BUG=242093 R=robertphillips@google.com, jun.a.jiang@intel.com, bsalomon@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/15746007 git-svn-id: http://skia.googlecode.com/svn/trunk@9280 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
83d1a68141830cbfa0d5fca6f9c9bccf9c978ad2 |
|
17-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add special handling of rectori case for gpu https://codereview.chromium.org/15080010/ git-svn-id: http://skia.googlecode.com/svn/trunk@9175 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d09ab846789a33a969f9ea8428555270fe4de23e |
|
15-May-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't make dst copies when color stage requires dst but color writes are disabled. R=robertphillips@google.com Review URL: https://codereview.chromium.org/15001035 git-svn-id: http://skia.googlecode.com/svn/trunk@9146 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
eafdf126d44abadf01e7d2910739e228f557df51 |
|
15-May-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9135 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
afd1cba5237eba5394ee011106eede9f6c8074c8 |
|
14-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Re-add isIRect test for AA rect drawing https://codereview.chromium.org/14820035/ git-svn-id: http://skia.googlecode.com/svn/trunk@9128 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
28ac96e40d705f7fb08a61ac027e15de8d91823c |
|
13-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Partial revert of r9087 https://codereview.chromium.org/14858035/ git-svn-id: http://skia.googlecode.com/svn/trunk@9106 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
18136d1cf284bea42ae574e491fa8032aef4e7dd |
|
10-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove isIRect "optimization" & defer computation of device Rect in AA rect rendering https://chromiumcodereview.appspot.com/14890021/ git-svn-id: http://skia.googlecode.com/svn/trunk@9087 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2fd42c471c77f54ace35c13975651e17d5b2e8c6 |
|
03-May-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@8976 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4b140b5fbedcb75d0b9587fa9d232ce54d9c7eb5 |
|
02-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add geometry-based rotated AA rect drawing path https://codereview.chromium.org/14854005/ git-svn-id: http://skia.googlecode.com/svn/trunk@8961 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b19cb7f36785f3ad3b1512c342fc662ab79e3fca |
|
02-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Axis aligned shader-based rect drawing https://codereview.chromium.org/14314004/ git-svn-id: http://skia.googlecode.com/svn/trunk@8960 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
37d883d9d3c5945e9d121830bdcd1935160fd53b |
|
02-May-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Disable AA for ovals and roundrects if MSAA is enabled. Also remove GrPaint from a number of methods -- we only use it to get the AA state. R=bsalomon@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/14109033 git-svn-id: http://skia.googlecode.com/svn/trunk@8954 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c56009118970d634cdb6c50ff4616c8eb446cda0 |
|
29-Apr-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor optimization https://codereview.chromium.org/14495006/ git-svn-id: http://skia.googlecode.com/svn/trunk@8912 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cc83ff126ffaa2bfc1e765ea855358b0aa856b9e |
|
26-Apr-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove useless SkRect::sort https://codereview.chromium.org/14203008/ git-svn-id: http://skia.googlecode.com/svn/trunk@8871 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f2bfd54de32ffbcf90ddcd0e249aaebb1559d9c2 |
|
25-Apr-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GPU support for roundrects This uses the OvalRenderer to render roundrects as "stretched ovals." It adds an additional shader that handles the straight edges of ellipsoid roundrects better, and uses the circle shader for roundrects where the two radii are the same. Only axis-aligned, simple roundrects are supported. Handles fill, stroke and hairline. R=bsalomon@google.com, robertphillips@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/13852049 git-svn-id: http://skia.googlecode.com/svn/trunk@8859 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
733c062c09bfe3ec4a32658510136fc5850a6e2c |
|
24-Apr-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Exit ~GrContext early if GrContext::init() failed. Review URL: https://codereview.chromium.org/14049028 git-svn-id: http://skia.googlecode.com/svn/trunk@8841 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c9f3b38f67893b22c3e02a6a934bc676e36c5cfc |
|
22-Apr-2013 |
rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@8795 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
429033038271147ed66b4bc2675ac98a5ccfa75c |
|
20-Apr-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Vertex Attrib configurations now handled as pointers vs. SkSTArrays https://codereview.chromium.org/14328009/ git-svn-id: http://skia.googlecode.com/svn/trunk@8787 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
235ef3d0e253200af43bb69139df09744f5ddbef |
|
20-Apr-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GR_STATIC_RECT_VB https://codereview.chromium.org/14367030/ git-svn-id: http://skia.googlecode.com/svn/trunk@8786 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
686bcb871b8425603b9accbf72e27a9309f786d8 |
|
09-Apr-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland of 8525 with fix for case when GrRT outlives GrTexture. Review URL: https://codereview.chromium.org/13814015 git-svn-id: http://skia.googlecode.com/svn/trunk@8573 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
df3695e5c72b3b4401e71ff259827d87bfe8a06f |
|
09-Apr-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
First pass at Rect Effect https://codereview.chromium.org/13521006/ git-svn-id: http://skia.googlecode.com/svn/trunk@8571 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e06f8ef5ba369f6bb1ed83ebe230db68198abf7c |
|
03-Apr-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 8525,8526 pending investigation of bench_pictures crashes. git-svn-id: http://skia.googlecode.com/svn/trunk@8527 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d02e8803e910b762e47a955162292c8b5eee15dc |
|
03-Apr-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrTexture::releaseRenderTarget() and add GrSurface::isSameAs(). Review URL: https://codereview.chromium.org/13414006 git-svn-id: http://skia.googlecode.com/svn/trunk@8525 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0406b9e1faee06c6ecb2732a1bcf3b0e53104e07 |
|
02-Apr-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make drawRect preserve vertex attrib state and push/pop the geom sources. Also, add some balancing calls for setIndexSource*() Review URL: https://codereview.chromium.org/13468004 git-svn-id: http://skia.googlecode.com/svn/trunk@8499 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
054ae99d93711c26e40682a0e3a03a47ea605c53 |
|
01-Apr-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Take two for r8466: Replace the old attribute binding and index interface with one where we include the binding as part of the attribute array. Also removed the fixed attribute indices for constant color and coverage attributes, and replaced with dynamic ones based on current attribute set. Removed binding of color and coverage attributes unless they're actually set. Original author: bsalomon@google.com Author: jvanverth@google.com Reviewed By: bsalomon@google.com,robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/13296005 git-svn-id: http://skia.googlecode.com/svn/trunk@8468 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c7bf2963f00a29bd28e5e2a446da79f93c1d9383 |
|
01-Apr-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rolling back r8466. Not reviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@8467 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fb495b537f5ddd6966f02cfe38f6b106a4869934 |
|
01-Apr-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revise attribute binding interface. Replace the old attribute binding and index interface with one where we include the binding as part of the attribute array. Also removed the fixed attribute indices for constant color and coverage attributes, and replaced with dynamic ones based on current attribute set. Removed binding of color and coverage attributes unless they're actually set. Original author: bsalomon@google.com Author: jvanverth@google.com Reviewed By: bsalomon@google.com,robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/13296005 git-svn-id: http://skia.googlecode.com/svn/trunk@8466 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c26d94fd7dc0b00cd6d0e42d28285f4a38aff021 |
|
25-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps. Pass caps to GrEffect::TestCreate() functions so that they can return effects that will work with the capabilities. Review URL: https://codereview.chromium.org/12965018 git-svn-id: http://skia.googlecode.com/svn/trunk@8369 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
bcce8926524827775539874346dd424a9510dbc9 |
|
25-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrDrawTarget::Caps ref counted and GrGLCaps derive from it. Also rename GrDrawTarget::getCaps() -> GrDrawTarget::caps(). Review URL: https://codereview.chromium.org/12843026 git-svn-id: http://skia.googlecode.com/svn/trunk@8364 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7e32851d5473d14db5c396f5877e3dfcb7b19f6d |
|
23-Mar-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@8350 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
81312830ef73420efdc4821feb7c2d6fd9152af8 |
|
22-Mar-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move oval rendering code to GrOvalRenderer. Author: jvanverth@google.com Reviewed By: bsalomon@google.com,robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/12657003 git-svn-id: http://skia.googlecode.com/svn/trunk@8345 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c78188896e28a4ae49e406a7422b345ae177dafe |
|
20-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Attempt to reland 8264-5 with warning-as-error fixes. git-svn-id: http://skia.googlecode.com/svn/trunk@8272 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
67e7cde5c5e59a8f1de7ee28276b8193ecb2bc7f |
|
20-Mar-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
revert 8265-8264 (broke build) git-svn-id: http://skia.googlecode.com/svn/trunk@8268 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ae81d5c4aa1716756b2cfb4c44f27f4dce2716ef |
|
20-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adds local coords to GrEffect system. Effects can ask the builder for local coords which may or may not be distinct from positions. GrEffectStage tracks changes to relationship between pos and local coords. GrGLEffectMatrix and GrSingleTextureEffect can use either pos or textures as intput coords GrSimpleTextureEffect now allows for an explicit texture coords attribute. Review URL: https://codereview.chromium.org/12531015 git-svn-id: http://skia.googlecode.com/svn/trunk@8264 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
01c34ee59906f729f6ca7d35f0c0e5e2f5e693fe |
|
20-Mar-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@8249 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
65eb4d5a210884cc92c43a8582cbd1ccbddcab57 |
|
19-Mar-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add stroked ovals and CircleEdgeEffect. Adds some optimizations to the circle and ellipse shaders, static effect instances for their GrEffects, and some minor changes to GrDrawState::setEffect to make GrEffect setup faster. git-svn-id: http://skia.googlecode.com/svn/trunk@8238 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8a70eef71cf369803e97ffea786f43f944de758e |
|
19-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add MSAA configs to bench. Review URL: https://codereview.chromium.org/12607013 git-svn-id: http://skia.googlecode.com/svn/trunk@8217 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
91274b99722d9be62e077ab979c630c23cdd04b1 |
|
13-Mar-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@8120 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ff6ea2663f76aa85ec55ddd0f00ca7906f1bc4e3 |
|
12-Mar-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrEllipseEdgeEffect. Adds the effect that replaces the old oval rendering code. Also hooks in code to set attribute names and indices for effects. Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/12462008 git-svn-id: http://skia.googlecode.com/svn/trunk@8092 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8c16ef55f6443e94a9a711832f3cbcd00b86e59c |
|
06-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unused vars git-svn-id: http://skia.googlecode.com/svn/trunk@8008 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
40db6dc98d13e4632cdeaab1577a5e09fd2ad18f |
|
06-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reduce the minimum scratch size to 16, don't look for next pow2 larger sizes. Review URL: https://codereview.chromium.org/12475007 git-svn-id: http://skia.googlecode.com/svn/trunk@8007 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0c23faf222c24529781139495a5f4f4ab61f7cb2 |
|
03-Mar-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@7948 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
13f181f28f4336adcc93b7297b6d16503f4c323c |
|
02-Mar-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Relanding 7914 git-svn-id: http://skia.googlecode.com/svn/trunk@7940 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3b0d631cdfe2dcf59e7b7ea60d92566eade7bfc0 |
|
01-Mar-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove constructors from GrVertexAttrib. It fits our style better to use initializer lists, so the constructors have been removed and replaced with said lists. Review URL: https://codereview.chromium.org/12379052 git-svn-id: http://skia.googlecode.com/svn/trunk@7936 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9b855c7c95ce9fff7a447e4a6bdf8a469c1f3097 |
|
01-Mar-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Resubmit r7899 and r7901. git-svn-id: http://skia.googlecode.com/svn/trunk@7929 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1fc506adc563bbc9c4e2082a4e3ab1162caffc6d |
|
01-Mar-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r7914 due to Linux rendering issues git-svn-id: http://skia.googlecode.com/svn/trunk@7921 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
348e35eff94f3959a625376d231c9869499d8358 |
|
01-Mar-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace A8 with RGBA8 when renderable A8 isn't supported https://codereview.appspot.com/7372053/ git-svn-id: http://skia.googlecode.com/svn/trunk@7914 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
af3a3b9fb1f3be46082013a2d1977d12faf1f61c |
|
01-Mar-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r7901 & r7899 to allow DEPS roll git-svn-id: http://skia.googlecode.com/svn/trunk@7909 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
00b1c3ad30c2cfc73a2b83d18a851d872b533cbc |
|
28-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix assert in bench due to r7899. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@7901 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b8b705b1b983a2ee3a254bed4dd03f926101e4e7 |
|
28-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add new vertex attribute array specification. This changes the old method of setting vertex layout to a new one where we specify vertex attribute data separately from attribute bindings (i.e. program functionality). Attribute data is now set up via an array of generic attribute types and offsets, and this is mapped to the old program functionality by setting specific attribute indices. This allows us to create more general inputs to shaders. git-svn-id: http://skia.googlecode.com/svn/trunk@7899 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b83a1933387ec10866830d05d714252f5e5c749d |
|
27-Feb-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r7882 (Replace A8 with RGBA8 when renderable A8 isn't supported) due Android rendering issues git-svn-id: http://skia.googlecode.com/svn/trunk@7893 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
94ba6c62c70614ff4825db80c2d3af24a49b1e78 |
|
27-Feb-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace A8 with RGBA8 when renderable A8 isn't supported https://codereview.appspot.com/7372053/ git-svn-id: http://skia.googlecode.com/svn/trunk@7882 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6e4e65066a7c0dbc9bfbfe4b8f5d49c3d8a79b59 |
|
25-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Give GrDrawTarget a back ptr to its owning GrContext. Review URL: https://codereview.appspot.com/7395055 git-svn-id: http://skia.googlecode.com/svn/trunk@7850 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3976825a21532e254311b90b4a9046e25717e335 |
|
14-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unused texture coordinate flags. Currently we support 5 texture stages, each with 5 possible texture coordinate attributes. However, we only ever use one explicit texture coordinate. This change removes all but one (now named just "aTexCoord") of the possible explicit texture coordinates. Review URL: https://codereview.appspot.com/7308094/ git-svn-id: http://skia.googlecode.com/svn/trunk@7737 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2b446734cfa8201e5478648988de86b646cb9544 |
|
12-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move blend optimization functions to GrDrawState. Review URL: https://codereview.appspot.com/7300089 git-svn-id: http://skia.googlecode.com/svn/trunk@7703 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6438695222333981fafee9c8c09f3bf51dce3816 |
|
08-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 7625 until after M26 due to a mix of perf changes. git-svn-id: http://skia.googlecode.com/svn/trunk@7683 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
82b0ec6ea408d866e02805fbe0519d00d2e87627 |
|
07-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GR_DISABLE_DRAW_BUFFERING, replace with RTConf variable. R=robertphillips@google.com Review URL: https://codereview.appspot.com/7312061 git-svn-id: http://skia.googlecode.com/svn/trunk@7656 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5b25a8d72d129cdfd8fe001635941cf725bcf2bd |
|
07-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GR_DUMP_TEXTURE_UPLOADS R=robertphillips@google.com Review URL: https://codereview.appspot.com/7300062 git-svn-id: http://skia.googlecode.com/svn/trunk@7652 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1c7c01a1b3963d4d280a0d9c52b1af288d6e04a2 |
|
06-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GR_STATIC_RECT_VB Review URL: https://codereview.appspot.com/7304055 git-svn-id: http://skia.googlecode.com/svn/trunk@7625 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9c68058b679aee81e6e0158e7fcbfb5d8479c91a |
|
06-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix WritePixels test on ANGLE. Don't upload BGRA to RGBA if not supported (ES2 w/ EXT BGRA extension). R=senorblanco@chromium.org Review URL: https://codereview.appspot.com/7305046 git-svn-id: http://skia.googlecode.com/svn/trunk@7622 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cbe4f6a42273c2058f1393f7dfa69e4871787ccd |
|
06-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Set vertex layout prior to setVertexSourceToBuffer for GR_STATIC_RECT_VB git-svn-id: http://skia.googlecode.com/svn/trunk@7612 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
55cac11d8ef30a7045827f762d86d71994565dea |
|
05-Feb-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix calls to setVertexSourceToBuffer git-svn-id: http://skia.googlecode.com/svn/trunk@7604 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a4d18ddb23fa4109d4351f79eadb46464d3a8440 |
|
05-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reinstate r7546: fix unused variable warning https://codereview.appspot.com/7309051 git-svn-id: http://skia.googlecode.com/svn/trunk@7602 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b75b0a0b8492e14c7728e0a0881f87dc64ce60f9 |
|
05-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move vertex layout from GeometrySrcState to GrDrawState. Also adds AutoStateRestore member to AutoGeometryPush to push DrawState as well as GeometrySrcState. And removed vertex layout as an argument to a number of functions -- they will get vertex layout info from the current DrawState. Review URL: https://codereview.appspot.com/7286047 git-svn-id: http://skia.googlecode.com/svn/trunk@7600 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3cb406bb88f5aa09cf9f5a9554b4b1314cf1a2ee |
|
05-Feb-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement support for origin-TopLeft render targets. Note that the default behaviour remains the same: textures default to origin-TopLeft, render targets default to origin-BottomLeft, and backend textures default to origin-BottomLeft. However, the caller can override the default by setting fOrigin in GrTextureDesc, GrBackendTextureDesc or GrBackendRenderTargetDesc. Review URL: https://codereview.appspot.com/7230049 git-svn-id: http://skia.googlecode.com/svn/trunk@7594 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d4ce480d2bb4d34028eead7b3355ad3bc9fffac5 |
|
05-Feb-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Restore variable to release builds. git-svn-id: http://skia.googlecode.com/svn/trunk@7572 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cf9faf6ce9e3351b4d4030753eb43c8cd2010e0c |
|
05-Feb-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r7545 (render target origin change) due to layout test issues (see https://codereview.chromium.org/12210002/) git-svn-id: http://skia.googlecode.com/svn/trunk@7571 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7fbf5cfae80e1526147274a175a2f6a2688fb466 |
|
04-Feb-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix unused variable warning git-svn-id: http://skia.googlecode.com/svn/trunk@7546 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ed8659b51d9f2bad3f004df6033d72cc32d71c0d |
|
04-Feb-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement support for origin-TopLeft render targets in GL backend. Review URL: https://codereview.appspot.com/7230049 git-svn-id: http://skia.googlecode.com/svn/trunk@7545 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d62e88e5af39347a8fc2a5abdf5feb67d7ea256d |
|
01-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make drawIndexedInstances non-virtual and rewrite GrIODB's drawRect on top of drawIndexedInstances. R=robertphillips@google.com Review URL: https://codereview.appspot.com/7221078 git-svn-id: http://skia.googlecode.com/svn/trunk@7508 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
75847199c25121c9989e8dba103ac6002d2132d6 |
|
28-Jan-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix build Review URL: https://codereview.appspot.com/7229052 git-svn-id: http://skia.googlecode.com/svn/trunk@7426 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cc78238f0b6aa1a7b3fc767758d9eeef4c1bffa9 |
|
28-Jan-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move vertex layout definitions from GrDrawTarget to GrDrawState. This is the first step in revising vertex layouts so that the currently installed GrEffects determine the current vertex layout. https://codereview.appspot.com/7235051/ git-svn-id: http://skia.googlecode.com/svn/trunk@7423 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cabe00eaced87016647029b6fee08f24dcd062f3 |
|
28-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix build break after r7411 when GR_STATIC_RECT_VB is enabled. Review URL: https://codereview.appspot.com/7220051 git-svn-id: http://skia.googlecode.com/svn/trunk@7415 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9e040aed72f80602896a069273a05d8933d6ad6e |
|
28-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unnecessary ptr derefs int r7411 (deref result is not used). git-svn-id: http://skia.googlecode.com/svn/trunk@7412 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
adc6536fe5baff2216fb76ecda6cc81c61109d5c |
|
28-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove getter of writable GrEffectStage from GrDrawState. Upcoming changes will require GrDrawState to know things about the set of installed effects. Thus all setting of effects must go through a GrDrawState function (setEffect()). This change accomplishes that. Review URL: https://codereview.appspot.com/7214045 git-svn-id: http://skia.googlecode.com/svn/trunk@7411 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c5fae9e1edb64802c446a8ebddf121ea3572c431 |
|
24-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix spelling error. git-svn-id: http://skia.googlecode.com/svn/trunk@7376 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
95ed55adc6b8f0cee063c2cf2e14782773b0087f |
|
24-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make all GrContext members that return a texture also ref the texture for the caller. Review URL: https://codereview.appspot.com/7198049 git-svn-id: http://skia.googlecode.com/svn/trunk@7362 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
98ded84b80918ac1e40224c125922941f3b2eb03 |
|
23-Jan-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@7332 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6340a41108633ac1ce5941e5cd30538630c4c55b |
|
22-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Let them eat GrEffectRef. Changes the remaining existing code that operates on naked GrEffects to GrEffectRef. Review URL: https://codereview.appspot.com/7124058 git-svn-id: http://skia.googlecode.com/svn/trunk@7321 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
46d3d39e65e0b3ea2ad7c91c176ccafb4df0fa24 |
|
22-Jan-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GPU support for axis-aligned ovals: - Add drawOval base function to SkDevice, and override in SkGpuDevice - Move isSimilarityMatrix to SkMatrix (renamed to isSimilarity) and fixed up unit test - Since both SkGpuDevice::drawOval() and GrContext::drawPath() can try to draw ovals, added GrContext::canDrawOval() and GrContext::internalDrawOval() to avoid duplicate code - Hooked in axis-aligned oval fill shader - Enabled GPU stroked circles - Added stroked circle bench test Review URL: https://codereview.appspot.com/7137050 git-svn-id: http://skia.googlecode.com/svn/trunk@7304 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
68b58c95384dd6c2fd389a5b4bbf8fc468819454 |
|
17-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove default implementation of GrEffect::isEqual. Make GrSingleTextureEffect abstract. Review URL: https://codereview.appspot.com/7142049 git-svn-id: http://skia.googlecode.com/svn/trunk@7254 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0ac6af49975c54c2debf41e9200af416ecd2d973 |
|
16-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Wrap GrEffects in GrEffectPtr. This is the first step towards automatic recycling of scratch resouces in the cache via ref-cnts. R=robertphillips@google.com Review URL: https://codereview.appspot.com/7092061 git-svn-id: http://skia.googlecode.com/svn/trunk@7222 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
eb928ea49a1c8a72ba3e01f64452b20713232059 |
|
08-Jan-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Proposed fix to new stroking/path render selection system https://codereview.appspot.com/7075043/ git-svn-id: http://skia.googlecode.com/svn/trunk@7076 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a7830dc6d8c4427e09f09a5726a4782a54279d0f |
|
07-Jan-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert part of r7047 to check Xoom failures https://codereview.appspot.com/7070049/ git-svn-id: http://skia.googlecode.com/svn/trunk@7062 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0e51577a14f903ffeafa117a75954baeb173ffb9 |
|
07-Jan-2013 |
humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix warning from scalar --> int32 conversion BUG= Review URL: https://codereview.appspot.com/7065050 git-svn-id: http://skia.googlecode.com/svn/trunk@7061 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e3453cbd20d00d685131a09d9141b1c70f0c5710 |
|
07-Jan-2013 |
sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This CL introduces a new path renderer. Here are the characteristics : - It uses the original path, before stroking - It supports traight lines only (no curves) - It supports butt or square caps only - It supports miter or bevel joins only - No AA support Support for these will be added step by step later on. A first pass at the benchmarks on my linux machine gave me these approximate speed improvements (running all bench with the option '--forceAA 0') : path_stroke_small_long_line 4X path_stroke_small_sawtooth 4X path_stroke_big_rect 4X path_stroke_small_rect 6X path_stroke_big_triangle 4X path_stroke_small_triangle 10X lines_1_BW 1.5X dashline_2_square 1.5X dashline_1_square 1.5X Also note that I can't submit this code until GrDrawTarget::isOpaque() is implemented, unless I just disable my renderer completely for now. BUG=chromium:135111 TEST=The following gms are affected and may require rebaselining : lineclosepath, linepath, strokes_poly Review URL: https://codereview.appspot.com/7026049 git-svn-id: http://skia.googlecode.com/svn/trunk@7047 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0797c2cceadd7dfc2e7f9efa30b611d18efcdcdd |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland 6914 w/ fixes. git-svn-id: http://skia.googlecode.com/svn/trunk@6916 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0b6ad2297fbf43466950690102c1c9c150f2a972 |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 6914 to fix build issues. git-svn-id: http://skia.googlecode.com/svn/trunk@6915 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4b86e3428b115202e82d49a0914ea8ab6dc25940 |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Simplify cache IDs and keys. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6954047 git-svn-id: http://skia.googlecode.com/svn/trunk@6914 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5f74cf8c49701f514b69dc6f1a8b5c0ffd78af0a |
|
17-Dec-2012 |
sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Follow up on the previous patch : - Moved the SkStrokeRec class in its own file - Replaced SkStroke by SkStrokeRec in Ganesh - Moved path stroking to the Ganesh level in some cases (everytime it isn't required to do it directly in SkGpuDevice). PathEffect and MaskFilter still require path stroking at the SkGpuDevice for now. - Renamed static functions in SkPath with proper names * No functionality shold have changed with this patch. This is a step towards enabling Ganesh Path Renderers to decide whether or not to stroke the path rather than always receiving the stroked path as an input argument. BUG=chromium:135111 TEST=Try path rendering tests from the gm Review URL: https://codereview.appspot.com/6946072 git-svn-id: http://skia.googlecode.com/svn/trunk@6861 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9f6a557548b4aec8aa0d3345488089b3d75f471c |
|
17-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unused type GrCacheKey R=robertphillips@google.com Review URL: https://codereview.appspot.com/6947074 git-svn-id: http://skia.googlecode.com/svn/trunk@6858 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
45a15f551b5b3c6c747d8eaf6466b7d3b76a8fae |
|
10-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Modifications to GrPatherRenderer(Chain) interfaces to support clip mask manager. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6904069 git-svn-id: http://skia.googlecode.com/svn/trunk@6741 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a2a31928470dfb642880f6ab2e4d34b1c7f5d476 |
|
07-Dec-2012 |
scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix some extract subset bugs. In SkBitmap::extractSubset, perform a deepCopy, if the pixelRef supports it. Fixes a bug in the 'extractbitmap' gm, which attempts to draw a subset of a texture backed bitmap (if the canvas is really an SkGpuCanvas). Also fix some bugs that happen when there is a pixel offset. These fixes get bypassed by the deepCopy, but a user can still set a pixel offset manually. When copying GPU backed bitmap with a pixel offset, copy the offset. If the new config is the same as the old, copy fRowBytes as well. Add a function to SkBitmap.cpp (getUpperLeftFromOffset) to find the x,y coordinate to use when copying to a new config. Fix a bug where readPixels copied to the correct desired config and we were setting the generation ID to match even though the desired config was not the same as the original config (caught by my new tests!). Add some tests to verify the correct behavior. Review URL: https://codereview.appspot.com/6839043 git-svn-id: http://skia.googlecode.com/svn/trunk@6710 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
12b4e27ae1a29460e91a59f38122483e1faec697 |
|
06-Dec-2012 |
sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
As part of preliminary groundwork for a chromium fix, this changelist is deprecating GrPathFill so that SkPath::FillType is used everywhere in order to remove some code duplication between Skia and Ganesh. BUG=chromium:135111 TEST=Try path rendering tests from the gm Review URL: https://codereview.appspot.com/6875058 git-svn-id: http://skia.googlecode.com/svn/trunk@6693 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
df17c64d2872ce0e79a744b6746d7e3ffc034ca7 |
|
05-Nov-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove assert to allow Android bots (that don't support NPOT textures) to continue in Debug mode https://codereview.appspot.com/6820094/ git-svn-id: http://skia.googlecode.com/svn/trunk@6303 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b4a55b7b68bf6b8ba8cb12927e5a627fab95ea5c |
|
02-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make morphology, convolution, and table color filter opt out of default texture matrices. Review URL: https://codereview.appspot.com/6817077 git-svn-id: http://skia.googlecode.com/svn/trunk@6280 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b9086a026844e4cfd08b219e49ce3f12294cba98 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace GrMatrix with SkMatrix. Review URL: https://codereview.appspot.com/6814067 git-svn-id: http://skia.googlecode.com/svn/trunk@6247 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
81712883419f76e25d2ffec38a9438284a45a48d |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrScalar, replace with SkScalar. Review URL: https://codereview.appspot.com/6812064 git-svn-id: http://skia.googlecode.com/svn/trunk@6243 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d8b5faca043100d7a1e4594b4d10e462532af390 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r6233 with fix. git-svn-id: http://skia.googlecode.com/svn/trunk@6241 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
115b06f3d51902a122621e897360ba80153527b3 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Re-revert r6233. git-svn-id: http://skia.googlecode.com/svn/trunk@6239 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c3a58f345de16c185db3a20578c7ddf52bc89d38 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r6233 with fix for config conversion texture matrices. git-svn-id: http://skia.googlecode.com/svn/trunk@6238 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
66e534da8e2b3de928f7ce132da61947a73ab7cb |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r6233 while investigating bot failures. git-svn-id: http://skia.googlecode.com/svn/trunk@6235 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ce49e16d3b4a5b554d75a609e4ac8973c23c17e2 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Checkpoint in moving texture matrices out of GrGLProgram and into GrGLEffect. Review URL: https://codereview.appspot.com/6818064 git-svn-id: http://skia.googlecode.com/svn/trunk@6233 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
209a1143a1a26935578d45c7f86dc6f9aa2eb1a6 |
|
31-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Ganesh resource cache changes https://codereview.appspot.com/6784051/ git-svn-id: http://skia.googlecode.com/svn/trunk@6211 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
42041e6de830c11f252aab072a6527bb28840468 |
|
29-Oct-2012 |
djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow default texture cache limit to be set within gyp. Review URL: https://codereview.appspot.com/6818051 git-svn-id: http://skia.googlecode.com/svn/trunk@6177 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
08283afc265f1153834256fc1012519813ba6b73 |
|
26-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename GrSamplerState to GrEffectStage. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6777053 git-svn-id: http://skia.googlecode.com/svn/trunk@6135 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
16e3ddea6a80972aced04b21b1d66377fa95e7c7 |
|
25-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Platform/Engine -> Backend createPlatform -> wrapBackend R=robertphillips@google.com Review URL: https://codereview.appspot.com/6785044 git-svn-id: http://skia.googlecode.com/svn/trunk@6123 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
021fc736f89fddac4f26b3f32f50263ff8fe3279 |
|
25-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrCustomStage Renaming Part 5 Stuff found by searching for "stage". R=robertphillips@google.com Review URL: https://codereview.appspot.com/6772043 git-svn-id: http://skia.googlecode.com/svn/trunk@6089 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6f261bed0252e3f3caa595798364e0bf12a2573a |
|
24-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrCustomStage Renaming Part 2 GrSamplerState member rename GrCustomStageUnitTest rename some comment updates Review URL: https://codereview.appspot.com/6771043 git-svn-id: http://skia.googlecode.com/svn/trunk@6078 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a469c28c3c16214733a25201a286970f57b3d944 |
|
24-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
CustomStage Renaming Part 1 Search and replace: GrCustomStage->GrEffect GrCustomStageTestFactory->GrEffectTestFactory renamed the cpp/h files from customStage->effect reordered gypi, #includes, forward decls to maintain alphabetical sort. manually fixed up some whitespace and linewraps deleted a commented out #include R=robertphillips@google.com Review URL: https://codereview.appspot.com/6758046 git-svn-id: http://skia.googlecode.com/svn/trunk@6076 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
706f66831a575bdc2b1ab1331b48b793cd487356 |
|
23-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r6330 thru r6333 but do without enabling GL_ARB_fragment_coord_conventions on Intel GPUs. git-svn-id: http://skia.googlecode.com/svn/trunk@6048 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d3353646c31ccb90cc43727ef0fa7869b4e4fe07 |
|
22-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r6330 thru 6333 while we figure out what to do about Intel bots (possible driver bug). git-svn-id: http://skia.googlecode.com/svn/trunk@6037 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4fe9b1b7406f8e29102287c4594ef8cf733513a7 |
|
22-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Automatically handle converting gl_FragCoord to Skia's y-down device coords. NOTE: THIS WILL LIKELY REQUIRE GM REBASELINING. R=robertphillips@google.com,senorblanco@chromium.org Review URL: https://codereview.appspot.com/6744061 git-svn-id: http://skia.googlecode.com/svn/trunk@6030 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
183e34b906372a31ef9a807cfa1c75579d9206d8 |
|
19-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative fix for Chrome bug in SkClipStack::isWideOpen https://codereview.appspot.com/6743048/ git-svn-id: http://skia.googlecode.com/svn/trunk@6019 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7d1267539f952e1a53fdb3257eea97e6737c8a84 |
|
19-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU: add failure checks for the scratch textures used in Gaussian blur. https://codereview.appspot.com/6744047/ On behalf of senorblanco git-svn-id: http://skia.googlecode.com/svn/trunk@6014 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ee0b693532b713736cc89a6dfa333e893c98d912 |
|
18-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Attempt to patch GR_STATIC_RECT_VB path git-svn-id: http://skia.googlecode.com/svn/trunk@5988 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1947ba6b9efc155ebca302696a05c736c0ad7808 |
|
17-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make Ganesh's resource cache limits more representative https://codereview.appspot.com/6709048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5974 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
dfdb7e5240276493077b7c6e1f3cc8b8a0e195ba |
|
16-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r5963 with two fixes: Missing ref in GrSweepGradient::TestCreate. Must reset() the sampler in setup_drawstate_aaclip() to avoid hitting a (dubious) assert. git-svn-id: http://skia.googlecode.com/svn/trunk@5964 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f6eac8af585e44d56e6b18d269e6c34f9917ea88 |
|
16-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r5962 because of failures. git-svn-id: http://skia.googlecode.com/svn/trunk@5963 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b022177777c3602c47bb71c07920e63a261c5038 |
|
16-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Require matrix for custom stage to be set when custom stage is installed. Review URL: https://codereview.appspot.com/6696044 git-svn-id: http://skia.googlecode.com/svn/trunk@5962 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3cbaa2d4da8bc39a99bf3afaaab43cc6dc481723 |
|
12-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Beef up GrContext::AutoMatrix to handle doing GrPaint matrix adjustments. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6656047 git-svn-id: http://skia.googlecode.com/svn/trunk@5918 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5dc26b97366934ba0f896cea02a3fec027d5d5c1 |
|
11-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SkTCopyOnFirstWrite R=reed@google.com Review URL: https://codereview.appspot.com/6650047 git-svn-id: http://skia.googlecode.com/svn/trunk@5905 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f467ce7bc33af5f496e0619387551aedec6d2517 |
|
09-Oct-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5858 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
042aff872a22cadd28368676839a21be8b33e119 |
|
08-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative fix for Chrome bug https://codereview.appspot.com/6632045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5855 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2fdcdeb86788206c23410109b3e2b7976747fd11 |
|
08-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrDrawState::AutoRestoreViewMatrix handle sampler matrices. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6618065 git-svn-id: http://skia.googlecode.com/svn/trunk@5853 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0f11e1ab5b6e53f6176dde2dbb25a8e3ae34858f |
|
08-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove translate param from GrContext::drawPath (and subsequent calls). Review URL: https://codereview.appspot.com/6615062 git-svn-id: http://skia.googlecode.com/svn/trunk@5852 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5b3e890c376f2211218c43edd11939cfc78fd60a |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move some auto restore helpers from GrDrawTarget to GrDrawState. R=robertphillips@google.com git-svn-id: http://skia.googlecode.com/svn/trunk@5846 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c7448cef098b835d6f9adf8a365fde9de076f178 |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrPaint encapsulation. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6624052 git-svn-id: http://skia.googlecode.com/svn/trunk@5838 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
903a4e28b026233fecf0ad3754251a408c1a41d1 |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix find/replace missed in #ifdef'ed out code in r5827. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@5834 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
88becf450f015007d785f2b5aa7fe4690e295868 |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename GrPaint fields/enums/members texture->color mask->coverage. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6615046 git-svn-id: http://skia.googlecode.com/svn/trunk@5827 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
af84e748cedbf43e2d0e8d2eac9b7800c8d8ca19 |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move setPaint from GrContext to GrDrawState. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6624045 git-svn-id: http://skia.googlecode.com/svn/trunk@5823 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d5d69ffaea117428972db48796f7e75f0d1dab34 |
|
04-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add convenience function on GrDrawState to set state bit based on a bool. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6615044 git-svn-id: http://skia.googlecode.com/svn/trunk@5815 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
837ec432ccb5331cd6f96132c62b13ff3cfe9755 |
|
04-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed bug(s) in batching of rects https://codereview.appspot.com/6608043/ git-svn-id: http://skia.googlecode.com/svn/trunk@5811 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ccb39504096db647dafdb254cae59ae172969b8e |
|
01-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative render target ref/unref fixes https://codereview.appspot.com/6592051/ git-svn-id: http://skia.googlecode.com/svn/trunk@5754 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ccaa002dd81a6a8bd5acb7a2fa69a2437873c1fd |
|
25-Sep-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix some linux build warnings Review URL: https://codereview.appspot.com/6571050 git-svn-id: http://skia.googlecode.com/svn/trunk@5675 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cdb426d55a4bc4dae4f6d4f23e6994762950fdc3 |
|
24-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix for GrTextureStripAtlas memory leak https://codereview.appspot.com/6549050/ git-svn-id: http://skia.googlecode.com/svn/trunk@5648 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1ce49fc91714ce8974d11246d29ebe7b97b5fe98 |
|
18-Sep-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move GrTextureParams from GrSamplerState to GrTextureAccess Review URL: https://codereview.appspot.com/6496135/ git-svn-id: http://skia.googlecode.com/svn/trunk@5582 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0d25eefd7a25afe859cb2d4cf733a3cf07f12139 |
|
11-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix texture ref/unref bug in GrContext::createResizedTexture https://codereview.appspot.com/6500107/ git-svn-id: http://skia.googlecode.com/svn/trunk@5502 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
eb9b3e164e55b8d15e1c25bfb1332917453cbc3a |
|
11-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removed access of freed memory in GrContext dtor http://codereview.appspot.com/6488111/ git-svn-id: http://skia.googlecode.com/svn/trunk@5479 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9fbcad0f00d7098574cf3394a812c9d845c9cc5b |
|
09-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removed old resource locking system https://codereview.appspot.com/6488098/ git-svn-id: http://skia.googlecode.com/svn/trunk@5453 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
50a035ddbb068446645b0978f4c092dec87a1a02 |
|
07-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added explicit cache clearing http://codereview.appspot.com/6492094/ git-svn-id: http://skia.googlecode.com/svn/trunk@5444 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
667c3a3b8ba62c49d4728465fc2a85fc14acab94 |
|
06-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed assert in unlockStencilBuffer http://codereview.appspot.com/6492088/ git-svn-id: http://skia.googlecode.com/svn/trunk@5413 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f2e93fc989129f11881919de99a3b8f12081beae |
|
05-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Resource cache now explicitly takes ref of managed resources https://codereview.appspot.com/6489085/ git-svn-id: http://skia.googlecode.com/svn/trunk@5407 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d6bbbf8a831cc982cda9b91e84c5600c631af5b2 |
|
05-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Simplified stencil buffer caching https://codereview.appspot.com/6503073/ git-svn-id: http://skia.googlecode.com/svn/trunk@5400 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5955202c805c7ef1448103cbf666972ea9d1ded1 |
|
31-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow cache tracking to be enabled in release https://codereview.appspot.com/6500057/ git-svn-id: http://skia.googlecode.com/svn/trunk@5365 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a9b0623eac4a473517c15418dbdc1e331ee752d2 |
|
30-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added find, lock to GrContext & GrResourceCache interfaces https://codereview.appspot.com/6499052/ git-svn-id: http://skia.googlecode.com/svn/trunk@5343 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f66018798099750e639a8fa131fece492a050997 |
|
28-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Hide GrDrawTarget::Caps's member vars Review URL: https://codereview.appspot.com/6499044 git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d0f3f6825bd5c232da52f4dc1af69b76403b797f |
|
28-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix dumb bug: redundant runs of upm<->pm roundtrip test Review URL: https://codereview.appspot.com/6498043/ git-svn-id: http://skia.googlecode.com/svn/trunk@5310 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a292112154f803feb9f5cc002bbfab559f7cb633 |
|
28-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove SkGpuDevice::fTexture, use new pixel ref class name Review URL: https://codereview.appspot.com/6474068/ git-svn-id: http://skia.googlecode.com/svn/trunk@5307 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a04e8e842450e606dd938ddae17857849bd504d4 |
|
27-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Do premul and r/b swap conversions in a custom effect Review URL: https://codereview.appspot.com/6473060/ git-svn-id: http://skia.googlecode.com/svn/trunk@5284 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 |
|
23-Aug-2012 |
rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2afb8ec738fc50ea6e4500545c3cacbf346ed187 |
|
23-Aug-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change scratch texture cache behavior to only reuse scratch textures used as render targets if they will be reused as render targets. The original behavior could sometimes confuse the driver; textures would alternate between being used as render targets and having data uploaded into them. Review URL: https://codereview.appspot.com/6480049 git-svn-id: http://skia.googlecode.com/svn/trunk@5252 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
84207c42789e67ef377befb0c9057b9b73fbd6e3 |
|
22-Aug-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move the code for the GPU implementation of morphology effects from GrContext and GrMorphologyEffect.* into SkMorphologyImageFilter.cpp. Review URL: https://codereview.appspot.com/6458065/ git-svn-id: http://skia.googlecode.com/svn/trunk@5241 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
521eaf8cc73cebebeaf54338c51c22922ac70951 |
|
22-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Scratch textures are no longer removed from the cache in Debug http://codereview.appspot.com/6465079/ git-svn-id: http://skia.googlecode.com/svn/trunk@5221 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5f9f2f574fe9b195f5f3e40edeb2e28b673511fd |
|
22-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added resource cache debug output to help track changes http://codereview.appspot.com/6463079/ git-svn-id: http://skia.googlecode.com/svn/trunk@5220 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0342a85091fd430c90a142d155dc9642aa729d9e |
|
20-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove _UPM_ GrPixelConfigs Review URL: http://codereview.appspot.com/6460113/ git-svn-id: http://skia.googlecode.com/svn/trunk@5196 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
07ea2db0260d8e6cd2bf605571b68b1c574b5a77 |
|
17-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unnecessary GrContext flushes Review URL: http://codereview.appspot.com/6446150/ git-svn-id: http://skia.googlecode.com/svn/trunk@5150 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1d4edd38f6b62d1cc54cb7bc6f3c6ce10ccb1471 |
|
16-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make all GrContext draws go through the draw buffer. Review URL: http://codereview.appspot.com/6462069/ git-svn-id: http://skia.googlecode.com/svn/trunk@5136 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1f47f4f7325971dd53991e2bb02da94fa7c6d962 |
|
16-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replaced TextureCacheEntry with GrTexture* and a back pointer to GrResourceEntry (in GrTexture) http://codereview.appspot.com/6460089/ git-svn-id: http://skia.googlecode.com/svn/trunk@5122 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3319f33470abc50a6f3da3a565d917050f9b2f53 |
|
13-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move resize functionality out of createAndLockTexture and into createResizedTexture http://codereview.appspot.com/6459080/ git-svn-id: http://skia.googlecode.com/svn/trunk@5066 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9c2ea846351a29208cb4a36301ee611e7fb384ea |
|
13-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split cache-specific fields out of GrTextureDesc http://codereview.appspot.com/6448143/ git-svn-id: http://skia.googlecode.com/svn/trunk@5065 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
46a8600405e678718271f62c5994119b8d3241e9 |
|
08-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Refactored cacheID in preparation for clip mask caching changes http://codereview.appspot.com/6458089/ git-svn-id: http://skia.googlecode.com/svn/trunk@5002 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a2d71482db8b6d752a51c96da74768d7dfc27932 |
|
01-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removed GrClip & related classes http://codereview.appspot.com/6450071/ git-svn-id: http://skia.googlecode.com/svn/trunk@4899 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0982d35187da7e1ed6c0eba5951bbdadca8b33e7 |
|
31-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make 0-texture GrCustomStages work. Review URL: http://codereview.appspot.com/6448080/ git-svn-id: http://skia.googlecode.com/svn/trunk@4858 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cddaf340f1474cc1ff429b8ef9bc8739c72f80ba |
|
30-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrDrawState::setTexture/getTexture Review URL: http://codereview.appspot.com/6455051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4826 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1c31f633232df572f89a3bc1b0fee3e46d22cb5b |
|
26-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove texture/mask setters on GrPaint Review URL: http://codereview.appspot.com/6446052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4790 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
beb1af78d016d2700c350487a383c6bcfa7e2e20 |
|
26-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Altered Ganesh's clip stack plumbing to pass down new GrClipData class http://codereview.appspot.com/6454047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4788 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b8670998a59d305cd22a3c0cbdc6e075b0a37a6e |
|
25-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move filter/wrap out of GrSamplerState into GrTextureParams Review URL: http://codereview.appspot.com/6440046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4773 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8f4fdc9968123d508d4bb17b5d15946a990613d4 |
|
24-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix npot bitmap tiling Review URL: http://codereview.appspot.com/6419073/ git-svn-id: http://skia.googlecode.com/svn/trunk@4736 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1e8f016305805d4d8cad74aba3a21b78486f9d6f |
|
20-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove easily-removable uses of setTexture(), instead creating a GrSingleTextureEffect - where feasible, through convenience function on GrDrawState. http://codereview.appspot.com/6425055/ git-svn-id: http://skia.googlecode.com/svn/trunk@4694 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e3d3216fe17b6afb2e613271b5246a2766e12df6 |
|
20-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove stage masks Review URL: http://codereview.appspot.com/6422047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4688 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
aa72eab5d82d4c2aa9f6f41755a001282443b042 |
|
19-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Create GL implementation for GrSingleTextureEffect, use it instead of GrPaint::setTexture() or GrDrawState::setTexture() in GrContext.cpp http://codereview.appspot.com/6399053/ git-svn-id: http://skia.googlecode.com/svn/trunk@4677 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1e95d715d06c5125ef6e5439e953fd0353be92b2 |
|
18-Jul-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Clean up the use of AutoScratchTexture in the gaussian blur and morphology filters. Instead of passing in AutoScratchTextures for temporaries, we allocate them inside the function and detach() after rendering. Since the functions now return a ref()'ed texture, we no longer ref() the result in filter_texture(). Also, the imageblur gm was passing a paint with an image filter both to saveLayer()/restore(), and to every text draw call. Back when only restore() was applying filters, this was fine, but since we're now applying filters on all draw calls, this means we're double-blurring in this GM. I've reverted the Mac baselines for the imageblur GM to their previous versions; hopefully this will be correct. git-svn-id: http://skia.googlecode.com/svn/trunk@4659 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fde2c0af2fd5aae19ab6c8b5228debd5b6209856 |
|
16-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Having updated the documentation of GrCustomStage to argue that all custom stages must be immutable, this CL makes that true for ConvolutionEffect. http://codereview.appspot.com/6398043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4613 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e742bf0ab19659145325ac894f7e0b78c8efbd89 |
|
13-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Start removing calls to GrDrawState::setTexture() (and GrPaint::setTexture()?) when there's a GrSingleTextureEffect involved holding the texture. http://codereview.appspot.com/6353094/ git-svn-id: http://skia.googlecode.com/svn/trunk@4608 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d0c1a06cb98dd4a009dfa79e37ba6ca23a8c180b |
|
12-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Introduces new SingleTextureEffect base class for GrCustomStage objects. This class tracks the texture that the object uses. A future commit will get rid of the GrTexture pointer currenty stored in the GrDrawState, allowing us to have CustomStages *without* textures. Requires gyp change on next roll. http://codereview.appspot.com/6306097/ git-svn-id: http://skia.googlecode.com/svn/trunk@4576 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
56c79b10377e358b8092d9c6ab3e1aacf2cd60e5 |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added GrContext::AutoClipStack to encapsulate setting\resetting of clip stack http://codereview.appspot.com/6343097/ git-svn-id: http://skia.googlecode.com/svn/trunk@4558 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fea85ac3e31842f80493e2df8a93a28f21cd815f |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor refactoring to make GrAutoMatrix a nested sub-class of GrContext http://codereview.appspot.com/6356092/ git-svn-id: http://skia.googlecode.com/svn/trunk@4549 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3e11c0bd92fbd12f59080c3f9450201d6105db83 |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Forced GrClip to always have conservative bounds http://codereview.appspot.com/6353089/ git-svn-id: http://skia.googlecode.com/svn/trunk@4545 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
cb325ceda16fab97fd3281785e6ae10fcb8dcf83 |
|
11-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change TextContext handling of stages and draw targets; this allows us to assert in GrContext::setPaint() that all stages are disabled every time the paint is set. Watch for possible performance implications. http://codereview.appspot.com/6347043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4531 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
676e66096c60615bac52f365111596de5c4ca8a6 |
|
10-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More carefully disable stages in Ganesh to avoid textures or effects leaking between draw calls. http://codereview.appspot.com/6353083/ git-svn-id: http://skia.googlecode.com/svn/trunk@4510 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c377baf406996aed18d82d328029c82dbc3b8dda |
|
09-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add placement new macros to SkPostConfig, call SkNEW* from Ganesh. TODO: unify with the placement new implementation in SkTemplatesPriv.h, once various issues there are overcome. reed@ should be taking the lead there. http://codereview.appspot.com/6384043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4492 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
54823c227d383308fb1732e83b566df6272d4bfb |
|
03-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rolling back r4034 (Proposed plumbing to propagate save & restore) http://codereview.appspot.com/6346066/ git-svn-id: http://skia.googlecode.com/svn/trunk@4456 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fa35e3ddcc9d130ce87c927218bdf27879c38711 |
|
26-Jun-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
plumb SkInstCnt to all subclasses of GrRefCnt git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
09662068c38a2a30a92c1326d2e36f9b5fb2155a |
|
25-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Disable assert blocking DEPS roll. This is a sanity-checking assert not necessary to correct operation (yet). Will pursue a fix & reenable. http://codereview.appspot.com/6330056/ git-svn-id: http://skia.googlecode.com/svn/trunk@4332 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1015e034676a90d88544c396ff4dce3849186aa9 |
|
25-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix crash when buidling with no deferred drawing in grcontext git-svn-id: http://skia.googlecode.com/svn/trunk@4329 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f13f58804659175925042a291304d483a4fd9278 |
|
25-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrPaint::*StageEnabled() and GrDrawState::stageEnabled() functions. These wrap the question of "is this stage of the shader enabled?" so that we can change the semantics - previously iff there was a texture, now if there is a texture OR a GrCustomStage, soon (post-cl 6306097) iff there is a GrCustomStage, which at that point will hold whatever texture is necessary. http://codereview.appspot.com/6306104/ git-svn-id: http://skia.googlecode.com/svn/trunk@4325 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b213ed8b767b424cb076bfbab11e936d16526635 |
|
25-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Simplify vertex layout bitfields by making Position-as-texcoords the default. http://codereview.appspot.com/6337050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4321 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7d6afdd795eb4c7ce8f5a327117cfdba5f957ddb |
|
22-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Extend texture release on GrDrawState to also handle custom stages. Add asserts to GrContext::setPaint() to make sure we're keeping things cleaned up. Remove double-call of setPaint() during text context initialization. http://codereview.appspot.com/6324046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4313 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
07fc0d178e20f74a88dd78384f817b53204e625f |
|
22-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r4287. Large numbers of textures created by random gradients can cause poor driver performance (at least on Mac) BUG=670 git-svn-id: http://skia.googlecode.com/svn/trunk@4306 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a0a66c118392fdc6f84f18ac634473468e31becb |
|
22-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix clipping of ovals on top & right http://codereview.appspot.com/6294091/ git-svn-id: http://skia.googlecode.com/svn/trunk@4303 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
15c0fea699b25343fe6f49668a5632866e1a0306 |
|
22-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
AutoScratchTexture can now release its texture and it will return to the texture cache when freed http://codereview.appspot.com/6262043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4301 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c82a8b7aa4ec19fba508c394920a9e88d3e5bd12 |
|
21-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed two bugs in SW-only clip mask generation http://codereview.appspot.com/6306086/ git-svn-id: http://skia.googlecode.com/svn/trunk@4290 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8f7e1dac5c92bf1f53feb603a9bd249d53afa81a |
|
21-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove count budget from resource cache Review URL: http://codereview.appspot.com/6312052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4287 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c0af3173314e227611d8c5541ef2deee0052d412 |
|
15-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
TLS GrContext count Review URL: http://codereview.appspot.com/6298077/ git-svn-id: http://skia.googlecode.com/svn/trunk@4262 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
972265db219ce25b5159879c75e6c62efaf0fa79 |
|
13-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
releaseTextures portion of GrDrawState Ref textures CL (http://codereview.appspot.com/6251049/) http://codereview.appspot.com/6299081/ git-svn-id: http://skia.googlecode.com/svn/trunk@4254 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f6747b0b90b3a270ec7b7bdfdc211cf5c19f28c2 |
|
12-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split GrContext's AA Rect drawing methods into helper class http://codereview.appspot.com/6300070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4233 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
75b3c9633cb9a594dab0ccf51dab1e694c149a18 |
|
07-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move clientID into texture desc http://codereview.appspot.com/6305044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4201 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
47059542e7aa153926377456a6c611e55c8e428c |
|
06-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Search and replace change. Some Gr enum value names didn't have a "Gr" in their suffix. Verbal LGTM from TomH git-svn-id: http://skia.googlecode.com/svn/trunk@4198 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9923c2b29aafc7ebc81c929c68c6b32443c9f22b |
|
06-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove gpu stats tracking Review URL: http://codereview.appspot.com/6300052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4194 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a1e5795279bd085496fa04c59e588f440bf30457 |
|
04-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrTexture can now create its own cache key http://codereview.appspot.com/6269047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4148 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b505a128efae9debcaa9642bade90bab5525d477 |
|
31-May-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement morphology as a custom effect Review URL: http://codereview.appspot.com/6250073/ git-svn-id: http://skia.googlecode.com/svn/trunk@4102 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c077d1eaa8322087f3cc954c3b2e9af7fef103fc |
|
28-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rolling back 4053 git-svn-id: http://skia.googlecode.com/svn/trunk@4054 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ab303ef6e86089ae28f30a52149f1dae177e1468 |
|
28-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative fix for Android Debug only crash in r4049 http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4053 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ac2c666e2777cbcf414391da8f0bd7d6ad2bb99b |
|
25-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rolling back r4049 git-svn-id: http://skia.googlecode.com/svn/trunk@4051 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
837576bf89e946544943fc12b6f002a9b56a9652 |
|
25-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Altered GrDrawState to always ref textures and render target http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4049 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
72176b2d38db005863a54e3dd6657bbabd068bb6 |
|
23-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removed SoftwarePathRenderer from GrContext's path renderer chain http://codereview.appspot.com/6221065/ git-svn-id: http://skia.googlecode.com/svn/trunk@4036 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
49d9fd5fdb9ffd48538c8fc5a2f6f2d43a2e4fe9 |
|
23-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Plumbing to propagate save & restore from SkCanvas down to GrContext & lower http://codereview.appspot.com/6203067/ git-svn-id: http://skia.googlecode.com/svn/trunk@4034 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5acc0e36d987dff3172fd45a14b66c52a51d49e4 |
|
17-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Free cached AA clip mask when create hard/stencil clip mask http://codereview.appspot.com/6214050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3983 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4b2d3f30d047435263642ef8ed170a37ca642c1b |
|
15-May-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make "Partial pixel coverage will be incorrectly blended" debug message conditional git-svn-id: http://skia.googlecode.com/svn/trunk@3945 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ff17584e1c15f68ccc296be517e8a6776a9ddabd |
|
14-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Attached ClipMaskManager to GPU resource freeing system http://codereview.appspot.com/6208058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3927 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
7a39633318f8ae41488f03d3258deade4b36b996 |
|
10-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed GrContext.cpp Windows compiler complaints http://codereview.appspot.com/6198051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3895 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d8f856c32b679d9f5a9926feac005e2c0186f83f |
|
10-May-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move convolution from code in GrGLProgram to new GrConvolutionEffect class. This is the first test of the new Ganesh shader pipeline. Also includes some cleanup of the gpu.gyp file: added src/gpu, allowing us to remove ../ from many #include directives. http://codereview.appspot.com/6199053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3887 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
58b381841cb8d234d09c85af43720cbff00e6212 |
|
03-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix to prevent infinite recursion during AA clip mask generation http://codereview.appspot.com/6183044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3831 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ed4155d610442b75e906a3489c984394c34b5ff9 |
|
01-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Moved SW path renderer from GrContext.cpp to GrSoftwarePathRenderer.cpp http://codereview.appspot.com/6138056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3807 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1ac87ff5aaff284b337652cf3ac0b41bd56fb781 |
|
27-Apr-2012 |
twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Addition of necessary flush to copyToTexturePixelRef(...). Ganesh batches drawing operations, which means that the copy operation, which does not flush the pipeline, can capture stale contents. By forcing a flush, the up-to-date version of the texture is copied. TEST=none BUG=124054 Review URL: https://codereview.appspot.com/6129043 git-svn-id: http://skia.googlecode.com/svn/trunk@3785 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8d033a1b125886c62906d975b5cc28a382064526 |
|
27-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrPath typedef Review URL: http://codereview.appspot.com/6128045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3780 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5af56069010b33562d337a4f76543d898ca8d485 |
|
27-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
convert float to SkScalar changes http://codereview.appspot.com/6071043/ Submitted on behalf of Guanqun.Lu@gmail.com git-svn-id: http://skia.googlecode.com/svn/trunk@3779 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e7655f114438a8ba628fba5bab0bba78b1d39861 |
|
27-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix trivial int->scalar warning introduced in r3772 git-svn-id: http://skia.googlecode.com/svn/trunk@3775 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
93c9660cd158c5d0cab0ba4223e4257f699d5bb8 |
|
27-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
draw circle paths directly via GPU Review URL: http://codereview.appspot.com/5696086/ Submitted on behalf of Guanqun.Lu@gmail.com git-svn-id: http://skia.googlecode.com/svn/trunk@3772 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f4c2c527dd3cab979621fdfbc07eb22fee103472 |
|
27-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
First portion of refactoring to bundle SW path rendering into GrPathRenderer http://codereview.appspot.com/6125046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3769 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
99a5ac0b67a14048a1db3f429878775854d29397 |
|
10-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Updated blur to use A8/R8 (instead of RGBA8) when available - this provides a performance gain for large blurs http://codereview.appspot.com/5988071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3647 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8637a365518a82901d313d61eecd83a0c5102fe9 |
|
10-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor Windows compiler complaint fixes http://codereview.appspot.com/5988072/ git-svn-id: http://skia.googlecode.com/svn/trunk@3644 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
92edd316e5425f7f7fbecbae28483da2851248bb |
|
04-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add macro DEFER_PATHS to proper checks Submitted on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5972047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3608 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3c4d032aeb2831a64fd6eff570667d590e3ed209 |
|
03-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 3857 (which was committed from wrong tree) git-svn-id: http://skia.googlecode.com/svn/trunk@3588 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5f017a4ab001baf1b9f433a9b02c6e01f93a97a1 |
|
03-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix GL attach/detach in Mac SampleApp Review URL: http://codereview.appspot.com/5984043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3587 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
193395c7a391bc0046b7793d633487d510457aec |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Unify text flushing with other deferred drawing Review URL: http://codereview.appspot.com/5936054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3560 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
873ea0c93f202600ec2591bc1e2e5d7a1e05f59d |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make fewer copies when using GrDrawTarget::AutoStateRestore Review URL: http://codereview.appspot.com/5938043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3557 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
10e04bf1c5025389d999f22467405782e9f9ffcc |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland 3507 git-svn-id: http://skia.googlecode.com/svn/trunk@3554 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b9014f4f2e6e2bb13f63006cecf34b848d95b0f3 |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove deprecated names from Gr (WK is no longer using them) Review URL: http://codereview.appspot.com/5969046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3553 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e79c815bca39fa552983b7a8107219aa5084acdb |
|
29-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't look at current vertex layout when vertex source hasn't been set Review URL: http://codereview.appspot.com/5959047 git-svn-id: http://skia.googlecode.com/svn/trunk@3545 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5b819c1f6d4f715a18cf4c112741b17046e71fa3 |
|
28-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 3507 git-svn-id: http://skia.googlecode.com/svn/trunk@3537 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
4fd99ea4494dee2cff9e6d3de1e5a8750daaed42 |
|
28-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix comparison of GrPaint::fCoverage (which is a byte not a uint32_t) git-svn-id: http://skia.googlecode.com/svn/trunk@3527 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
95cd7bdf2b4dee54739f0a375fe99a02f86178b0 |
|
28-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make printf in GrContext about partial pixel coverage be debug-only git-svn-id: http://skia.googlecode.com/svn/trunk@3516 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a5d2203f58c28db033aad47f95470a2cb36efe29 |
|
27-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Use a single GrDrawState in GrContext for direct and buffered drawing Review URL: http://codereview.appspot.com/5933043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3507 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f8aa18c08d97cdc98a85a0422d3415822a73949c |
|
19-Mar-2012 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Compile with c++0x. http://codereview.appspot.com/5841074/ git-svn-id: http://skia.googlecode.com/svn/trunk@3434 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
26936d071f9e426e11db9a8cf67f5ce86e83feb1 |
|
19-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make the text context not have to save / restore GrDrawState at each draw. Reivew URL: http://codereview.appspot.com/5844049/ git-svn-id: http://skia.googlecode.com/svn/trunk@3422 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
60361493548d5259d0a8afae84274c2a3c31dcac |
|
15-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change vertex buffer size for draw buffer. Hopefully helps with some of the perf regression of r3382 on txt drawing. git-svn-id: http://skia.googlecode.com/svn/trunk@3405 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fb4ce6fe9f3f09bf9828aa50b36287f7d22bb78b |
|
14-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Batch path draws. THIS IS EXPECTED TO SUBTLY CHANGE ONE GM IMAGE, WILL REBASELINE. Review URL: http://codereview.appspot.com/5796080/ git-svn-id: http://skia.googlecode.com/svn/trunk@3382 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
97805382d89b717de3355312a79a957ea4a864c9 |
|
13-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add option to automatically flush GrInOrderDrawBuffer based on previewing vtx/idx request sizes Review URL: http://codereview.appspot.com/5794079/ git-svn-id: http://skia.googlecode.com/svn/trunk@3372 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ceb441476e1712861e87a9bb428f119349ef6bb5 |
|
05-Mar-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix debug build: move assertions to GrContext callers, not static callees. Debug build fix; unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@3329 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3b4dd90282932c9cd695d13f3876f98c9c6d6d5e |
|
05-Mar-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Refactor Gaussian blur and morphology from SkGpuDevice into GrContext. Review URL: http://codereview.appspot.com/5720060/ git-svn-id: http://skia.googlecode.com/svn/trunk@3327 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9b1517edc7eb3e116902a3b3da447a73aaa56585 |
|
05-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
minor improvement, remove some conditionals in GrAAConvexPathRenderer Review URL: http://codereview.appspot.com/5728060 git-svn-id: http://skia.googlecode.com/svn/trunk@3316 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c2099d2707abcc94e139627399aed4b8894b69bb |
|
02-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
simplify GrPathRenderer interface Review URL: http://codereview.appspot.com/5706053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3312 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
05054f1a78a697b507580d0025db6c90423e033f |
|
02-Mar-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Erode and dilate image filter effects, CPU and GPU implementations. Review URL: http://codereview.appspot.com/5656067/ git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b4a4ab1e997e9ab31e23cb650c06459c7e40ef11 |
|
02-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove offscreen supersampler. THIS IS EXPECTED TO BREAK MANY GM TESTS. They will be rebaselined. Review URL: http://codereview.appspot.com/5722044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3305 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a91e923874ca0565b4f4816b5697dfdcd337b889 |
|
23-Feb-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU device preserves pixel values across read/write/read of unpremul pixel values Review URL: http://codereview.appspot.com/5695047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3237 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
75f9f25d8bf2adc0494f9afbbd5965809ee13aca |
|
31-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add code path for Gr client to resolve an Gr-created MSAA render target. Review URL: http://codereview.appspot.com/5580049/ git-svn-id: http://skia.googlecode.com/svn/trunk@3112 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
78d6cf9f434d3351b19de14f1eab424c23f0ab6d |
|
30-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrAALevel enum, use explicit sample count Review URL: http://codereview.appspot.com/5600045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3106 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
05e70247c31ae927074ef27ea9893634a8dda543 |
|
27-Jan-2012 |
twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Expose functionality to purge the GPU texture cache while running SampleApp. Press 'p' to purge the cache. A summary of the number of bytes of video memory released is output to the command prompt. Review URL: https://codereview.appspot.com/5587045 git-svn-id: http://skia.googlecode.com/svn/trunk@3097 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b1caea00d8b852576bf3734b7088acdd505d0b8b |
|
27-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rip out GrPlatformSurface (has been deprecated for some time, use GrPlatformTexture or GrPlatformRenderTarget instead) Review URL: http://codereview.appspot.com/5576052/ git-svn-id: http://skia.googlecode.com/svn/trunk@3094 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
dd1be60702b3622f49d97651e31d13eaf2175cf8 |
|
18-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Pull xfer mode test out of generic draw-as-hairline test. Use coverage rather than alpha to draw hairlines < 1pix wide in GPU. Review URL: http://codereview.appspot.com/5528112/ git-svn-id: http://skia.googlecode.com/svn/trunk@3070 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
46f7afb9867200b568c21736da8a8bbb56b20e30 |
|
18-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Turn clipping back on in OSAA pass 1. Skip default cons on GrDrawState when saving off a GrDrawTarget's state. Review URL: http://codereview.appspot.com/5553051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3067 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
52a5dcb43b5acbde377f664807b0f75af8bb1666 |
|
17-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrDrawState reset Review URL: http://codereview.appspot.com/5543059/ git-svn-id: http://skia.googlecode.com/svn/trunk@3043 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5db3b6cce4e9e02415a0a31d95666c044c953ac2 |
|
12-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix vs2010 int to scalar warnings git-svn-id: http://skia.googlecode.com/svn/trunk@3032 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
150d28465d340e3c6da6a3e1fd5adfdb128e61d0 |
|
12-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add code path to SW rasterize paths and upload as a mask texture Review URL: http://codereview.appspot.com/5542043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3031 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
2eba795bcda66813fdc7a7c4388a99ae9cb2c864 |
|
12-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove supports per-vertex coverage caps bit Review URL: http://codereview.appspot.com/5529071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3024 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
46579e03a25d91317272216f1b0608dd440cd183 |
|
11-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix variable renaming in asserts related to r3015 git-svn-id: http://skia.googlecode.com/svn/trunk@3016 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
dafde9e2c1f048328a53f426927a142bc7d2adb8 |
|
11-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove shadersupport caps bit Review URL: http://codereview.appspot.com/5528076/ git-svn-id: http://skia.googlecode.com/svn/trunk@3015 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
337af1777a90872c5d70d0445715b846d84104d8 |
|
11-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix compilation error in GrContext.cpp when PREFER_MSAA_OFFSCREEN_AA is enabled http://codereview.appspot.com/5534068/ git-svn-id: http://skia.googlecode.com/svn/trunk@3009 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
50bdad85db2fe6be4d0bf0c5b6473f712b1bdd32 |
|
03-Jan-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement the color matrix filter in Ganesh. Also, fix and enable the color matrix test slide. This was basically implemented in the same places where the blending-based color filter was being done. The shader simply does a mat4 matrix multiply and a vec4 add. Review URL: http://codereview.appspot.com/5489107/ git-svn-id: http://skia.googlecode.com/svn/trunk@2948 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
838e866289480b6384de95264382012d55100e99 |
|
16-Dec-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove obsolete printf git-svn-id: http://skia.googlecode.com/svn/trunk@2891 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f864ec467dfd518e32f6e4d709fafe57f1b3dbc6 |
|
12-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
skip paint->drawstate sampler copies when there is no texture Review URL: http://codereview.appspot.com/5484053/ git-svn-id: http://skia.googlecode.com/svn/trunk@2859 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
aa814fe4a148b05f9160a5f77cb4e630406ea62d |
|
12-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Access sampler matrices directly, cleanup GrSamplerState::reset()s Review URL: http://codereview.appspot.com/5488048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2854 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1e266f8ff2fb2f05f44e77e046a24410ff7b4c77 |
|
12-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrDrawState::setSampler, use direct access to sampler Review URL: http://codereview.appspot.com/5476052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2852 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1fadb20c50c2302565f73ae12057a6f5d22192c7 |
|
12-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove static initiazled gClampNearest in gpu backend Review URL: http://codereview.appspot.com/5487044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2851 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6b67e21b6549598254c1ffa4243bf32615d90fb6 |
|
09-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
roll more changes from r2830 back in git-svn-id: http://skia.googlecode.com/svn/trunk@2842 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
8f9cbd62ec108d410b91155dcf6a4789c641246f |
|
09-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Cleanup of r2830. git-svn-id: http://skia.googlecode.com/svn/trunk@2841 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
3d0835b6ac0003c18147b6e9ca76a497b92d1d40 |
|
08-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 2830 and 2831. git-svn-id: http://skia.googlecode.com/svn/trunk@2832 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0fec61d19ca9088d54f58bd0a67150171b83d66c |
|
08-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrDrawState a real class with getters and setters Review URL: http://codereview.appspot.com/5448119/ git-svn-id: http://skia.googlecode.com/svn/trunk@2830 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9791291347db8b5e92f16b139df30e28186626c8 |
|
06-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Prep for GrDrawState as a class Part 2 Review URL: http://codereview.appspot.com/5450105/ git-svn-id: http://skia.googlecode.com/svn/trunk@2810 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
39ee0ffa72fbd5df6d3ec6db4fdad0c1bc3946fd |
|
06-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Prep #1 for making GrDrawState a class Review URL: http://codereview.appspot.com/5437138/ git-svn-id: http://skia.googlecode.com/svn/trunk@2808 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5bc34f04fe70cdde702ac3bff1fea0ccb275d4a5 |
|
06-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove fConfig/fFormat union in GrTextureDesc Review URL: http://codereview.appspot.com/5448116/ git-svn-id: http://skia.googlecode.com/svn/trunk@2806 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ef843cdcd1be858fe55cc99ff134ffbd080c9a51 |
|
02-Dec-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
When a bitmap is texture-backed, change SkBitmap::copyTo() to do a deep copy of the texels in VRAM rather than a readback and re-upload. This gives a 3-10X speedup on recursive canvas-to-canvas draws. N.B.: This introduces a new GM test, which will need new baselines. git-svn-id: http://skia.googlecode.com/svn/trunk@2790 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
56d11e097b1975371d0e0b1452ac0c4d5fc46930 |
|
30-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add support for GL_ANGLE_pack_reverse_row_order Review URL: http://codereview.appspot.com/5448063/ git-svn-id: http://skia.googlecode.com/svn/trunk@2774 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
fb30951cd9346a7a2d36e7d5f81f9e7ee792b669 |
|
30-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] tile when large bitmap pased drawBitmap and only a small fraction is used Review URL: http://codereview.appspot.com/5450048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2760 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
bc4b654af85fa67bdd9cc1b88747b8c394a00e27 |
|
19-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
assert that resources used with ctx are owned by the ctx Review URL: http://codereview.appspot.com/5398042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2720 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
a85449dac125b8985010df7c057e9e6201d55112 |
|
19-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Resubmit 2717 w/ fix workaround OS X GL bug. git-svn-id: http://skia.googlecode.com/svn/trunk@2719 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
484be2bafd26f624be879c582b07ca1859a080be |
|
18-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 2717 git-svn-id: http://skia.googlecode.com/svn/trunk@2718 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
5c56e3441c0ec0b406102a9d53f2de123af70d7f |
|
18-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Recommit r2714 with clip fix git-svn-id: http://skia.googlecode.com/svn/trunk@2717 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e1d3127ed4d5f5a1fca462b8faebbde52b000e1e |
|
18-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 2714 for debugging of test failure git-svn-id: http://skia.googlecode.com/svn/trunk@2715 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
598a1ff72ae06d96b53540307777be665800cece |
|
18-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Write direct to RT/Tex when possible, use BGRA rather than RGBA intermediate texture on ANGLE Review URL: http://codereview.appspot.com/5417046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2714 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6f3795105b2b458079e53a721c1735c9518f6bb5 |
|
16-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make all pixel ops go thru ctx so we can correctly flush. Unify two texture upload code paths. Review URL: http://codereview.appspot.com/5373108/ git-svn-id: http://skia.googlecode.com/svn/trunk@2701 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9962108c400dadcae913614e8a5ab781780981d8 |
|
15-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove allocated size vs content size in textures Review URL: http://codereview.appspot.com/5373100/ git-svn-id: http://skia.googlecode.com/svn/trunk@2687 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1dcf506a1aa3771d1b36831da2ab3ce9fd6e1900 |
|
14-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrGpuGLFixed subclass and ES1 support Review URL: http://codereview.appspot.com/5376094/ git-svn-id: http://skia.googlecode.com/svn/trunk@2678 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c4ff22a2965616629765b8ffe0e58f6d05f92fa3 |
|
10-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Hold onto scratch texture until end of readRenderTargetPixels Review URL: http://codereview.appspot.com/5369065/ git-svn-id: http://skia.googlecode.com/svn/trunk@2664 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
f74ad8c91aef4f328dbcbcebae9e436c00a35140 |
|
09-Nov-2011 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removes warnings generated by gcc and clang. git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
60014ca38710d3fc265f4376b05c0fefd0e044cf |
|
09-Nov-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement Gaussian blurs for images. The caller creates an an SkBlurImageFilter, sets it on an SkPaint, passes that paint to saveLayer(), draws the primitives which are to be blurred, then calls restore(), which applies the blur. The blurs have separate sizes in the horizontal and vertical direction. This feature is GPU-only for now. NB: Due to the clipping change, there are slight pixel differences on the blurs_gpu and shadows_gpu tests, so those will require rebaselining on all platforms, as will some of the WebKit layout tests (TBD). Review URL: http://codereview.appspot.com/5322068/ git-svn-id: http://skia.googlecode.com/svn/trunk@2643 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
82c7bd8f25682fcacfeea12ed899976504a767ff |
|
09-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Interim function for reseting GrDrawTarget state, this should be folded into GrDrawState when it has getters / setters Review URL: http://codereview.appspot.com/5369045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2642 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
0a97be216df494291fe929b79d438809af7e9c83 |
|
08-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
When GL_RGBA readPixels are slow do swizzle using a draw then readPixels with GL_BGRA Review URL: http://codereview.appspot.com/5339051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2631 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c43649962221c348d656d425a3fa9b29c78231d4 |
|
07-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] Add explicit byte order and PM vs. UPM 8888 configs Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2618 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
e269f210bdae0288643afaf8a579b22d3f6d5beb |
|
07-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Recommit r2611 with fix for gm git-svn-id: http://skia.googlecode.com/svn/trunk@2614 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
b87d2b5c2a5b9981c4da905a299a513920170391 |
|
07-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r2611 until windows gm can be debugged git-svn-id: http://skia.googlecode.com/svn/trunk@2612 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
6d9adaec78f4c25c16c6f925f6c619955ae7f099 |
|
07-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add replacement APIs for createPlatformSurface: createPlatformTexture and createPlatformRenderTarget git-svn-id: http://skia.googlecode.com/svn/trunk@2611 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
979432ba2621b617f5e85a9ff48c6b6cd1504a0d |
|
05-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Turn off annoying printfs git-svn-id: http://skia.googlecode.com/svn/trunk@2610 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
64c4fe4113424bcfab8b3e0c7049887fda5ab4ff |
|
05-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More removal of texture fUploadByteCount and rename fFormat to fConfig for consistency. git-svn-id: http://skia.googlecode.com/svn/trunk@2608 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
c69809745e6496564639e42ef998ad39adf7dfb8 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt). git-svn-id: http://skia.googlecode.com/svn/trunk@2586 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
ace7bd5623354ffabbd224d5b76550bab159c296 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r2584 (new test fails in fixed pt builds) git-svn-id: http://skia.googlecode.com/svn/trunk@2585 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
1a8ddf0a35bfb6c21a1184f81d2fdd50053acf31 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Changes the SkCanvas::readPixels API. Allows caller to read into prealloced bitmap pixels. Changes how clipping to device bounds is handled. Review URL: http://codereview.appspot.com/5307077/ git-svn-id: http://skia.googlecode.com/svn/trunk@2584 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
9381363050ec9d3e724076a8e9152bfa9a8de1d1 |
|
27-Oct-2011 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Extract GrDrawTarget::DrState into independent GrDrawState struct. This is intended to be a first step towards making the stack of states maintained by GrDrawTarget cheaper to maintain. git-svn-id: http://skia.googlecode.com/svn/trunk@2544 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
289533ada623f2238a83771eec977f204f75994f |
|
27-Oct-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't use GrDrawTarget's AA state bit to convey whether to do custom-aa Review URL: http://codereview.appspot.com/5314061/ git-svn-id: http://skia.googlecode.com/svn/trunk@2539 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|
d38f137e9b813f8193675ebd3dfbfe8bc42639e9 |
|
12-Oct-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move gpu/include/* to include/gpu and gpu/src/* to src/gpu Review URL: http://codereview.appspot.com/5250070/ git-svn-id: http://skia.googlecode.com/svn/trunk@2471 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrContext.cpp
|