HomeSort by relevance Sort by last modified time
    Searched refs:GrContextFactory (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/third_party/skia/tests/
GrContextFactoryTest.cpp 10 #include "GrContextFactory.h"
13 DEF_GPUTEST(GrContextFactory, reporter, factory) {
19 NULL == factory->getGLContext(GrContextFactory::kNull_GLContextType));
22 factory->get(GrContextFactory::kNull_GLContextType);
24 factory->getGLContext(GrContextFactory::kNull_GLContextType) != NULL);
29 NULL == factory->getGLContext(GrContextFactory::kDebug_GLContextType));
GLInterfaceValidationTest.cpp 13 #include "GrContextFactory.h"
16 for (int i = 0; i <= GrContextFactory::kLastGLContextType; ++i) {
17 GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType)i;
24 if (GrContextFactory::kNVPR_GLContextType == glCtxType &&
25 factory->getGLContext(GrContextFactory::kNative_GLContextType) &&
26 !factory->getGLContext(GrContextFactory::kNative_GLContextType)->hasExtension("GL_NV_path_rendering")) {
GrDrawTargetTest.cpp 12 #include "GrContextFactory.h"
24 for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) {
25 GrContextFactory::GLContextType glType = static_cast<GrContextFactory::GLContextType>(type);
FloatingPointTextureTest.cpp 19 #include "GrContextFactory.h"
40 glCtxTypeCnt = GrContextFactory::kGLContextTypeCnt;
51 GrContextFactory::GLContextType type =
52 static_cast<GrContextFactory::GLContextType>(glCtxType);
53 if (!GrContextFactory::IsRenderingGLContext(type)) {
ImageIsOpaqueTest.cpp 10 #include "GrContextFactory.h"
35 for (int i = 0; i < GrContextFactory::kGLContextTypeCnt; ++i) {
36 GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType) i;
38 if (!GrContextFactory::IsRenderingGLContext(glCtxType)) {
Test.h 17 class GrContextFactory;
65 virtual void setGrContextFactory(GrContextFactory* factory) {}
83 virtual void setGrContextFactory(GrContextFactory* factory) {
88 GrContextFactory* fGrContextFactory; // Unowned.
157 static void test_##name(skiatest::Reporter*, GrContextFactory*); \
172 static void test_##name(skiatest::Reporter* reporter, GrContextFactory* factory)
GpuDrawPathTest.cpp 11 #include "GrContextFactory.h"
47 for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) {
48 GrContextFactory::GLContextType glType = static_cast<GrContextFactory::GLContextType>(type);
ReadWriteAlphaTest.cpp 11 #include "GrContextFactory.h"
19 for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) {
20 GrContextFactory::GLContextType glType = static_cast<GrContextFactory::GLContextType>(type);
21 if (!GrContextFactory::IsRenderingGLContext(glType)) {
PremulAlphaRoundTripTest.cpp 15 #include "GrContextFactory.h"
74 glCtxTypeCnt = GrContextFactory::kGLContextTypeCnt;
83 GrContextFactory::GLContextType type =
84 static_cast<GrContextFactory::GLContextType>(glCtxType);
85 if (!GrContextFactory::IsRenderingGLContext(type)) {
GpuColorFilterTest.cpp 12 #include "GrContextFactory.h"
112 for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) {
113 GrContextFactory::GLContextType glType = static_cast<GrContextFactory::GLContextType>(type);
ClipCacheTest.cpp 12 #include "GrContextFactory.h"
218 for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) {
219 GrContextFactory::GLContextType glType = static_cast<GrContextFactory::GLContextType>(type);
220 if (!GrContextFactory::IsRenderingGLContext(glType)) {
GpuLayerCacheTest.cpp 11 #include "GrContextFactory.h"
84 for (int i= 0; i < GrContextFactory::kGLContextTypeCnt; ++i) {
85 GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType) i;
87 if (!GrContextFactory::IsRenderingGLContext(glCtxType)) {
ImageNewShaderTest.cpp 10 #include "GrContextFactory.h"
143 for (int i = 0; i < GrContextFactory::kGLContextTypeCnt; ++i) {
144 GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType) i;
146 if (!GrContextFactory::IsRenderingGLContext(glCtxType)) {
SurfaceTest.cpp 18 #include "GrContextFactory.h"
20 class GrContextFactory;
158 GrContextFactory* factory) {
176 cnt = GrContextFactory::kGLContextTypeCnt;
184 GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType) i;
185 if (!GrContextFactory::IsRenderingGLContext(glCtxType)) {
449 for (int i= 0; i < GrContextFactory::kGLContextTypeCnt; ++i) {
450 GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType) i
    [all...]
  /external/chromium_org/third_party/skia/dm/
DMGpuSupport.h 14 # include "GrContextFactory.h"
20 static inline SkSurface* NewGpuSurface(GrContextFactory* grFactory,
21 GrContextFactory::GLContextType type,
40 class GrContextFactory {
59 static inline SkSurface* NewGpuSurface(GrContextFactory*,
60 GrContextFactory::GLContextType,
DMGpuGMTask.h 23 GrContextFactory::GLContextType,
27 virtual void draw(GrContextFactory*) SK_OVERRIDE;
34 const GrContextFactory::GLContextType fContextType;
DMTaskRunner.cpp 10 GrContextFactory factory;
DMTask.h 66 void run(GrContextFactory*);
67 virtual void draw(GrContextFactory*) = 0;
DM.cpp 61 static const GrContextFactory::GLContextType native = GrContextFactory::kNative_GLContextType;
62 static const GrContextFactory::GLContextType nvpr = GrContextFactory::kNVPR_GLContextType;
63 static const GrContextFactory::GLContextType null = GrContextFactory::kNull_GLContextType;
64 static const GrContextFactory::GLContextType debug = GrContextFactory::kDebug_GLContextType;
66 static const GrContextFactory::GLContextType angle = GrContextFactory::kANGLE_GLContextType
    [all...]
DMGpuGMTask.cpp 14 GrContextFactory::GLContextType contextType,
25 void GpuGMTask::draw(GrContextFactory* grFactory) {
DMTestTask.h 49 virtual void draw(GrContextFactory*) SK_OVERRIDE;
DMTestTask.cpp 42 void GpuTestTask::draw(GrContextFactory* grFactory) {
DMTask.cpp 68 void GpuTask::run(GrContextFactory* factory) {
  /external/chromium_org/third_party/skia/tools/
PictureRenderer.h 25 #include "GrContextFactory.h"
179 GrContextFactory::GLContextType glContextType = GrContextFactory::kNative_GLContextType;
186 // Already set to GrContextFactory::kNative_GLContextType, above.
189 glContextType = GrContextFactory::kNVPR_GLContextType;
193 glContextType = GrContextFactory::kANGLE_GLContextType;
198 glContextType = GrContextFactory::kMESA_GLContextType;
373 GrContextFactory::GLContextType glContextType
374 = GrContextFactory::kNull_GLContextType;
377 glContextType = GrContextFactory::kNative_GLContextType
    [all...]
  /external/chromium_org/third_party/skia/include/gpu/
GrContextFactory.h 31 class GrContextFactory : SkNoncopyable {
91 explicit GrContextFactory(const GrContext::Options& opts) : fGlobalOptions(opts) { }
92 GrContextFactory() { }
94 ~GrContextFactory() { this->destroyContexts(); }

Completed in 612 milliseconds

1 2