Home
last modified time | relevance | path

Searched refs:grContext (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DSharedGraphicsContext3D.cpp50 GrContext* grContext = 0; in getOrCreateContext() local
54 grContext = provider->grContext(); in getOrCreateContext()
57 if (webContext && grContext) { in getOrCreateContext()
59 GrContext* oldGrContext = m_context ? m_context->grContext() : 0; in getOrCreateContext()
60 if (webContext != oldWebContext || grContext != oldGrContext) in getOrCreateContext()
DAcceleratedImageBufferSurface.cpp42 GrContext* grContext = SharedGraphicsContext3D::get()->grContext(); in AcceleratedImageBufferSurface() local
43 if (!grContext) in AcceleratedImageBufferSurface()
45 …RefPtr<SkGpuDevice> device = adoptRef(new SkGpuDevice(grContext, SkBitmap::kARGB_8888_Config, size… in AcceleratedImageBufferSurface()
DWebGLImageBufferSurface.cpp43 GrContext* gr = SharedGraphicsContext3D::get()->grContext(); in WebGLImageBufferSurface()
/external/skia/tests/
DGrDrawTargetTest.cpp27 GrContext* grContext = factory->get(glType); in TestGrDrawTarget() local
28 if (NULL == grContext) { in TestGrDrawTarget()
32 test_print(reporter, grContext->getGpu()->caps()); in TestGrDrawTarget()
DGpuDrawPathTest.cpp52 GrContext* grContext = factory->get(glType); in TestGpuDrawPath() local
53 if (NULL == grContext) { in TestGpuDrawPath()
68 SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0)); in TestGpuDrawPath()
69 SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get()))); in TestGpuDrawPath()
DGpuColorFilterTest.cpp37 static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrContext* grContext) { in test_getConstantColorComponents() argument
103 SkAutoTUnref<GrEffectRef> grEffect(cf->asNewEffect(grContext)); in test_getConstantColorComponents()
117 GrContext* grContext = factory->get(glType); in TestGpuColorFilter() local
118 if (NULL == grContext) { in TestGpuColorFilter()
122 test_getConstantColorComponents(reporter, grContext); in TestGpuColorFilter()
DGpuBitmapCopyTest.cpp111 GrContext* grContext = factory->get(glType); in TestGpuBitmapCopy() local
112 if (NULL == grContext) { in TestGpuBitmapCopy()
117 if (NULL == grContext) { in TestGpuBitmapCopy()
131 SkGpuDevice* device = SkNEW_ARGS(SkGpuDevice, (grContext, gPairs[i].fConfig, W, H)); in TestGpuBitmapCopy()
DBlurTest.cpp280 GrContext* grContext = factory->get(GrContextFactory::kNative_GLContextType); in gpu_blur_path() local
281 if (NULL == grContext) { in gpu_blur_path()
292 SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0)); in gpu_blur_path()
293 SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get()))); in gpu_blur_path()
/external/chromium_org/third_party/WebKit/public/platform/
DWebGraphicsContext3DProvider.h46 virtual GrContext* grContext() = 0;
/external/chromium_org/webkit/common/gpu/
Dwebgraphicscontext3d_provider_impl.cc22 GrContext* WebGraphicsContext3DProviderImpl::grContext() { in grContext() function in webkit::gpu::WebGraphicsContext3DProviderImpl
Dwebgraphicscontext3d_provider_impl.h27 virtual GrContext* grContext() OVERRIDE; in NON_EXPORTED_BASE()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCanvas2DLayerBridge.cpp49 GrContext* gr = context3D->grContext(); in createSkSurface()
324 m_context->grContext()->resetContext(kTextureBinding_GrGLBackendState); in prepareMailbox()
DGraphicsContext3D.cpp82 , m_grContext(m_provider->grContext()) in GraphicsContext3D()
282 GrContext* GraphicsContext3D::grContext() in grContext() function in WebCore::GraphicsContext3D
DGraphicsContext3D.h131 GrContext* grContext();
/external/chromium_org/third_party/WebKit/Source/web/
DWebMediaPlayerClientImpl.cpp591 …if (!ensureTextureBackedSkBitmap(context3D->grContext(), m_bitmap, naturalSize(), kTopLeft_GrSurfa… in paintOnAndroid()