зеркало из https://github.com/mozilla/moz-skia.git
Second half of refactoring to move SW path rendering to GrPathRenderer
http://codereview.appspot.com/6125046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3804 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
02b1ea24fd
Коммит
7c2578d392
|
@ -264,6 +264,8 @@
|
||||||
'../src/gpu/GrTDArray.h',
|
'../src/gpu/GrTDArray.h',
|
||||||
'../src/gpu/GrTesselatedPathRenderer.cpp',
|
'../src/gpu/GrTesselatedPathRenderer.cpp',
|
||||||
'../src/gpu/GrTesselatedPathRenderer.h',
|
'../src/gpu/GrTesselatedPathRenderer.h',
|
||||||
|
'../src/gpu/GrSoftwarePathRenderer.cpp',
|
||||||
|
'../src/gpu/GrSoftwarePathRenderer.h',
|
||||||
'../src/gpu/GrTextStrike.cpp',
|
'../src/gpu/GrTextStrike.cpp',
|
||||||
'../src/gpu/GrTextStrike.h',
|
'../src/gpu/GrTextStrike.h',
|
||||||
'../src/gpu/GrTextStrike_impl.h',
|
'../src/gpu/GrTextStrike_impl.h',
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
#include "GrAAHairLinePathRenderer.h"
|
#include "GrAAHairLinePathRenderer.h"
|
||||||
#include "GrAAConvexPathRenderer.h"
|
#include "GrAAConvexPathRenderer.h"
|
||||||
|
#include "GrSoftwarePathRenderer.h"
|
||||||
|
|
||||||
void GrPathRenderer::AddPathRenderers(GrContext* ctx,
|
void GrPathRenderer::AddPathRenderers(GrContext* ctx,
|
||||||
GrPathRendererChain::UsageFlags flags,
|
GrPathRendererChain::UsageFlags flags,
|
||||||
|
@ -19,5 +20,6 @@ void GrPathRenderer::AddPathRenderers(GrContext* ctx,
|
||||||
chain->addPathRenderer(pr)->unref();
|
chain->addPathRenderer(pr)->unref();
|
||||||
}
|
}
|
||||||
chain->addPathRenderer(new GrAAConvexPathRenderer())->unref();
|
chain->addPathRenderer(new GrAAConvexPathRenderer())->unref();
|
||||||
|
chain->addPathRenderer(new GrSoftwarePathRenderer(ctx))->unref();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче