546eb5c57aebee47172f9d2a3eae6b49945dba08 |
|
11-Dec-2015 |
kkinnunen <kkinnunen@nvidia.com> |
Initialize glGen* call id args to zero Initialize glGenTexture, glGenBuffer call id buffer items to zero before calls. Otherwise it's not easy to check if the call succeeded or not. Assert the rule in debug gl context. Make TesselatingPathRendererTests use debug gl context. It exercises some of the GenBuffers call sites. Review URL: https://codereview.chromium.org/1514033002
/external/skia/tests/TessellatingPathRendererTests.cpp
|
1530283c483cb88aa725bce50a6d193dd00ee570 |
|
01-Dec-2015 |
kkinnunen <kkinnunen@nvidia.com> |
Generate list of GPU contexts outside tests Use DEF_GPUTEST_FOR_*_CONTEXT macros to obtain the test GPU context. Makes changing the context -related classes easier, since not all tests need to be changed. BUG=skia:2992 Review URL: https://codereview.chromium.org/1448873002
/external/skia/tests/TessellatingPathRendererTests.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/tests/TessellatingPathRendererTests.cpp
|
504ce5dc772e14be2f5697b00ac82fcf82127763 |
|
16-Nov-2015 |
robertphillips <robertphillips@google.com> |
Optionally pass rendertarget to getTestTarget This shouldn't really make any difference but allocating and holding on to a GrRenderTarget for each test target generates image differences for Mali GPUs. This CL allows an existing render target to be used for the test target. TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1447113002
/external/skia/tests/TessellatingPathRendererTests.cpp
|
6335a729769b06f0d6a1450c7c02e03f95bbb049 |
|
01-Sep-2015 |
joshualitt <joshualitt@chromium.org> |
Move PathRenderers to batches folder BUG=skia: Review URL: https://codereview.chromium.org/1306143005
/external/skia/tests/TessellatingPathRendererTests.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/tests/TessellatingPathRendererTests.cpp
|
eae6200acbec2255ac00ab363ffbe16758ec9076 |
|
31-Jul-2015 |
bsalomon <bsalomon@google.com> |
Some cleanup in GrTextureProvider and GrResourceProvider. Review URL: https://codereview.chromium.org/1261643004
/external/skia/tests/TessellatingPathRendererTests.cpp
|
0aff2fa82a5fa9f99aa77327dac3e9e803b4ed07 |
|
31-Jul-2015 |
bsalomon <bsalomon@google.com> |
Also provides the ResourceProvider to onDrawPath which allows the DF PR to no longer require access to GrContext. Review URL: https://codereview.chromium.org/1265763002
/external/skia/tests/TessellatingPathRendererTests.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/tests/TessellatingPathRendererTests.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/tests/TessellatingPathRendererTests.cpp
|
c8e934007a48465e584cdeed9ef02077d3cd5451 |
|
21-Apr-2015 |
senorblanco <senorblanco@chromium.org> |
Yet more ASAN fixes. More nullptr checks for factories I have added. Other checks more Yoda-like I have made. (Skia style this is.) BUG=skia: Review URL: https://codereview.chromium.org/1086393004
/external/skia/tests/TessellatingPathRendererTests.cpp
|
0e95b116fcc7bec1bbdf5f0459ebd464c458f714 |
|
21-Apr-2015 |
senorblanco <senorblanco@chromium.org> |
Speculative fix for ASAN build. Check for NULL GrContext in TessellatingPathRendererTests. Also fix an upload nag (no #includes before GPU #ifdef). TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1097943004
/external/skia/tests/TessellatingPathRendererTests.cpp
|
a2b6d28755916cbb4817cd9d1cd1b0e237de9a50 |
|
02-Mar-2015 |
senorblanco <senorblanco@chromium.org> |
Fix for out-of-bounds intersection (found by fuzzer). Sometimes, the intersection returned by check_intersection() is out-of-bounds for both edges (above both tops or below both bottoms) due to floating-point inaccuracy. This causes split_edge() to create a tiny negative-length edge on one side (which would then assert). Although we could safely remove this assert and allow the negative length edge to be removed, it's faster/safer to simply avoid its creation in the first place by adjusting one edge to the other edge's endpoint. Added a new unit test to exercise this case. Review URL: https://codereview.chromium.org/968993002
/external/skia/tests/TessellatingPathRendererTests.cpp
|
d6ed19cc751463285491a538bc7bf154cc7e6d8c |
|
26-Feb-2015 |
senorblanco <senorblanco@chromium.org> |
Tessellating GPU path renderer. This path renderer converts paths to linear contours, resolves intersections via Bentley-Ottman, implements a trapezoidal decomposition a la Fournier and Montuno to produce triangles, and renders those with a single draw call. It does not currently do antialiasing, so it must be used in conjunction with multisampling. A fair amount of the code is to handle floating point edge cases in intersections. Rather than perform exact computations (which would require arbitrary precision arithmetic), we reconnect the mesh to reflect the intersection points. For example, intersections can occur above the current vertex, and force edges to be merged into the current vertex, requiring a restart of the intersections. Splitting edges for intersections can also force them to merge with formerly-distinct edges in the same polygon, or to violate the ordering of the active edge list, or the active edge state of split edges. BUG=skia: Review URL: https://codereview.chromium.org/855513004
/external/skia/tests/TessellatingPathRendererTests.cpp
|