Searched refs:grContext (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DGrDrawTargetTest.cpp27 GrContext* grContext = factory->get(glType); local
28 if (NULL == grContext) {
32 test_print(reporter, grContext->getGpu()->caps());
H A DGpuDrawPathTest.cpp50 GrContext* grContext = factory->get(glType); local
51 if (NULL == grContext) {
59 SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(grContext, info,
H A DGpuColorFilterTest.cpp35 static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrContext* grContext) { argument
101 SkAutoTUnref<GrFragmentProcessor> effect(cf->asFragmentProcessor(grContext));
115 GrContext* grContext = factory->get(glType); local
116 if (NULL == grContext) {
120 test_getConstantColorComponents(reporter, grContext);
H A DBlurTest.cpp282 GrContext* grContext = factory->get(GrContextFactory::kNative_GLContextType);
283 if (NULL == grContext) {
294 SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0));
295 SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get())));
/external/skia/tests/
H A DGrDrawTargetTest.cpp27 GrContext* grContext = factory->get(glType); local
28 if (NULL == grContext) {
32 test_print(reporter, grContext->getGpu()->caps());
H A DGpuDrawPathTest.cpp50 GrContext* grContext = factory->get(glType); local
51 if (NULL == grContext) {
66 SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0));
67 SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get())));
H A DGpuColorFilterTest.cpp35 static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrContext* grContext) { argument
101 SkAutoTUnref<GrEffectRef> grEffect(cf->asNewEffect(grContext));
115 GrContext* grContext = factory->get(glType); local
116 if (NULL == grContext) {
120 test_getConstantColorComponents(reporter, grContext);
H A DBlurTest.cpp282 GrContext* grContext = factory->get(GrContextFactory::kNative_GLContextType);
283 if (NULL == grContext) {
294 SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0));
295 SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get())));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DAcceleratedImageBufferSurface.cpp51 GrContext* grContext = m_contextProvider->grContext();
52 if (!grContext)
57 m_surface = adoptPtr(SkSurface::NewScratchRenderTarget(grContext, info, msaaSampleCount));
H A DWebGLImageBufferSurface.cpp49 GrContext* gr = m_contextProvider->grContext();
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebGraphicsContext3DProvider.h47 virtual GrContext* grContext() = 0;
/external/chromium_org/content/renderer/
H A Dwebgraphicscontext3d_provider_impl.cc21 GrContext* WebGraphicsContext3DProviderImpl::grContext() { function in class:content::WebGraphicsContext3DProviderImpl
H A Dwebgraphicscontext3d_provider_impl.h30 virtual GrContext* grContext() OVERRIDE;
/external/pdfium/core/src/fxcodec/jbig2/
H A DJBig2_GeneralDecoder.h127 CJBig2_Image *decode(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
129 CJBig2_Image *decode_Template0_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
131 CJBig2_Image *decode_Template0_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
133 CJBig2_Image *decode_Template1_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
135 CJBig2_Image *decode_Template1_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
137 CJBig2_Image *decode_V1(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
164 CJBig2_Image *decode_Huffman(CJBig2_BitStream *pStream, JBig2ArithCtx *grContext);
166 CJBig2_Image *decode_Arith(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext,
203 CJBig2_SymbolDict *decode_Arith(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *gbContext, JBig2ArithCtx *grContext);
205 CJBig2_SymbolDict *decode_Huffman(CJBig2_BitStream *pStream, JBig2ArithCtx *gbContext, JBig2ArithCtx *grContext, IFX_Paus
[all...]
H A DJBig2_Context.cpp614 JBig2ArithCtx *gbContext = NULL, *grContext = NULL; local
777 grContext = (JBig2ArithCtx*)m_pModule->JBig2_Malloc2(sizeof(JBig2ArithCtx), dwTemp);
778 JBIG2_memcpy(grContext, pLRSeg->m_Result.sd->m_grContext, sizeof(JBig2ArithCtx)*dwTemp);
789 grContext = (JBig2ArithCtx*)m_pModule->JBig2_Malloc2(sizeof(JBig2ArithCtx), dwTemp);
790 JBIG2_memset(grContext, 0, sizeof(JBig2ArithCtx)*dwTemp);
796 pSegment->m_Result.sd = pSymbolDictDecoder->decode_Arith(pArithDecoder, gbContext, grContext);
805 pSegment->m_Result.sd = pSymbolDictDecoder->decode_Huffman(m_pStream, gbContext, grContext, pPause);
818 pSegment->m_Result.sd->m_grContext = grContext;
847 if(grContext) {
848 m_pModule->JBig2_Free(grContext);
902 JBig2ArithCtx *grContext = NULL; local
1563 JBig2ArithCtx *grContext; local
[all...]
H A DJBig2_GeneralDecoder.cpp1266 CJBig2_Image *CJBig2_GRRDProc::decode(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) argument
1277 return decode_Template0_opt(pArithDecoder, grContext);
1279 return decode_Template0_unopt(pArithDecoder, grContext);
1283 return decode_Template1_opt(pArithDecoder, grContext);
1285 return decode_Template1_unopt(pArithDecoder, grContext);
1289 CJBig2_Image *CJBig2_GRRDProc::decode_Template0_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) argument
1300 SLTP = pArithDecoder->DECODE(&grContext[0x0010]);
1323 bVal = pArithDecoder->DECODE(&grContext[CONTEXT]);
1360 bVal = pArithDecoder->DECODE(&grContext[CONTEXT]);
1373 CJBig2_Image *CJBig2_GRRDProc::decode_Template0_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) argument
1504 decode_Template1_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) argument
1582 decode_Template1_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) argument
1707 decode_V1(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) argument
1821 decode_Huffman(CJBig2_BitStream *pStream, JBig2ArithCtx *grContext) argument
2040 decode_Arith(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext, JBig2IntDecoderState *pIDS) argument
2279 decode_Arith(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *gbContext, JBig2ArithCtx *grContext) argument
2619 decode_Huffman(CJBig2_BitStream *pStream, JBig2ArithCtx *gbContext, JBig2ArithCtx *grContext, IFX_Pause* pPause) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DCanvas2DLayerBridge.cpp67 RefPtr<SkSurface> surface(createSkSurface(contextProvider->grContext(), size, msaaSampleCount));
373 RefPtr<SkSurface> surface(createSkSurface(m_contextProvider->grContext(), size, m_msaaSampleCount));
434 GrContext* grContext = m_contextProvider->grContext(); local
435 if (!grContext)
462 grContext->resetContext(kTextureBinding_GrGLBackendState);
H A DCanvas2DLayerBridgeTest.cpp67 GrContext* grContext() function in class:__anon11301::MockWebGraphicsContext3DProvider
H A DCanvas2DLayerManagerTest.cpp56 GrContext* grContext() function in class:__anon11305::MockWebGraphicsContext3DProvider
H A DImageBuffer.cpp211 // Undo grContext texture binding changes introduced in this function
212 provider->grContext()->resetContext(kTextureBinding_GrGLBackendState);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleApp.cpp1761 GrContext* grContext = this->getGrContext(); local
1762 if (grContext) {
1764 grContext->getResourceCacheUsage(NULL, &cacheBytes);
1765 grContext->freeGpuResources();
/external/skia/samplecode/
H A DSampleApp.cpp1776 GrContext* grContext = this->getGrContext(); local
1777 if (grContext) {
1779 grContext->getResourceCacheUsage(NULL, &cacheBytes);
1780 grContext->freeGpuResources();
/external/chromium_org/content/renderer/media/android/
H A Dwebmediaplayer_android.cc601 if (!EnsureTextureBackedSkBitmap(provider->grContext(), bitmap_,

Completed in 292 milliseconds