Searched defs:grContext (Results 1 - 18 of 18) sorted by relevance

/external/pdfium/core/fxcodec/jbig2/
H A DJBig2_SymbolDict.h39 void SetGrContext(const std::vector<JBig2ArithCtx>& grContext) { argument
40 m_grContext = grContext;
H A DJBig2_GrrdProc.cpp18 JBig2ArithCtx* grContext) {
28 return decode_Template0_opt(pArithDecoder, grContext);
30 return decode_Template0_unopt(pArithDecoder, grContext);
34 return decode_Template1_opt(pArithDecoder, grContext);
36 return decode_Template1_unopt(pArithDecoder, grContext);
41 JBig2ArithCtx* grContext) {
50 LTP = LTP ^ pArithDecoder->DECODE(&grContext[0x0010]);
75 int bVal = pArithDecoder->DECODE(&grContext[CONTEXT]);
94 bVal = pArithDecoder->DECODE(&grContext[CONTEXT]);
141 JBig2ArithCtx* grContext) {
16 decode( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext) argument
39 decode_Template0_unopt( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext) argument
139 decode_Template0_opt( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext) argument
280 decode_Template1_unopt( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext) argument
392 decode_Template1_opt( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext) argument
[all...]
H A DJBig2_TrdProc.cpp24 JBig2ArithCtx* grContext) {
154 IBI = pGRRD->decode(pArithDecoder.get(), grContext);
225 JBig2ArithCtx* grContext,
354 pIBI = pGRRD->decode(pArithDecoder, grContext);
22 decode_Huffman( CJBig2_BitStream* pStream, JBig2ArithCtx* grContext) argument
223 decode_Arith( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext, JBig2IntDecoderState* pIDS) argument
H A DJBig2_SddProc.cpp27 std::vector<JBig2ArithCtx>* grContext) {
183 BS = pDecoder->decode_Arith(pArithDecoder, grContext->data(), &ids);
214 BS = pGRRD->decode(pArithDecoder, grContext->data());
265 std::vector<JBig2ArithCtx>* grContext) {
392 BS = pDecoder->decode_Huffman(pStream, grContext->data());
444 BS = pGRRD->decode(pArithDecoder.get(), grContext->data());
24 decode_Arith( CJBig2_ArithDecoder* pArithDecoder, std::vector<JBig2ArithCtx>* gbContext, std::vector<JBig2ArithCtx>* grContext) argument
262 decode_Huffman( CJBig2_BitStream* pStream, std::vector<JBig2ArithCtx>* gbContext, std::vector<JBig2ArithCtx>* grContext) argument
H A DJBig2_Context.cpp558 std::vector<JBig2ArithCtx> grContext; local
566 grContext = pLRSeg->m_SymbolDict->GrContext();
567 if (grContext.size() != grContextSize)
574 grContext.resize(grContextSize);
599 pArithDecoder.get(), &gbContext, &grContext);
607 m_pStream.get(), &gbContext, &grContext);
627 pSegment->m_SymbolDict->SetGrContext(grContext);
890 std::unique_ptr<JBig2ArithCtx, FxFreeDeleter> grContext; local
893 grContext.reset(FX_Alloc(JBig2ArithCtx, size));
894 JBIG2_memset(grContext
[all...]
/external/skia/samplecode/
H A DSampleAnimatedText.cpp104 GrContext* grContext = canvas->getGrContext(); variable
105 if (grContext) {
107 grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat);
H A DSampleChineseFling.cpp173 GrContext* grContext = canvas->getGrContext(); variable
174 if (grContext) {
176 grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 0);
179 image = grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 1);
182 image = grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 2);
185 image = grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 3);
/external/skia/src/atlastext/
H A DSkInternalAtlasTextContext.h35 GrContext* grContext() const { return fGrContext.get(); } function in class:SkInternalAtlasTextContext
H A DSkAtlasTextTarget.cpp136 auto* grContext = this->context()->internal().grContext(); local
138 auto atlasTextContext = grContext->contextPriv().drawingManager()->getAtlasTextContext();
141 atlasTextContext->drawPosText(grContext, this, GrNoClip(), paint, this->ctm(), props,
151 const GrCaps& caps = *this->context()->internal().grContext()->caps();
186 auto glyphCache = context.grContext()->contextPriv().getGlyphCache();
187 auto fullAtlasManager = context.grContext()->contextPriv().getFullAtlasManager();
188 auto resourceProvider = context.grContext()->contextPriv().resourceProvider();
/external/skqp/samplecode/
H A DSampleAnimatedText.cpp104 GrContext* grContext = canvas->getGrContext(); variable
105 if (grContext) {
107 grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat);
H A DSampleChineseFling.cpp171 GrContext* grContext = canvas->getGrContext(); variable
172 if (grContext) {
174 grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 0);
177 image = grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 1);
180 image = grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 2);
183 image = grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat, 3);
/external/skqp/src/atlastext/
H A DSkInternalAtlasTextContext.h34 GrContext* grContext() const { return fGrContext.get(); } function in class:SkInternalAtlasTextContext
H A DSkAtlasTextTarget.cpp136 auto* grContext = this->context()->internal().grContext(); local
138 auto atlasTextContext = grContext->contextPriv().drawingManager()->getAtlasTextContext();
141 atlasTextContext->drawPosText(grContext, this, GrNoClip(), paint, this->ctm(), props,
151 const GrCaps& caps = *this->context()->internal().grContext()->caps();
186 auto* atlasGlyphCache = context.grContext()->contextPriv().getAtlasGlyphCache();
/external/skia/tools/fiddle/
H A Dfiddle_main.cpp290 sk_sp<GrContext> grContext = create_grcontext(gGLDriverInfo); local
291 if (!grContext) {
294 if (!setup_backend_objects(grContext.get(), source, options)) {
299 auto surface = SkSurface::MakeRenderTarget(grContext.get(), SkBudgeted::kNo, info);
/external/skia/tools/gpu/
H A DGrContextFactory.h180 GrContext* grContext() const { return fGrContext; } function in class:sk_gpu_test::ContextInfo
192 ContextInfo(GrContextFactory::ContextType type, TestContext* testContext, GrContext* grContext, argument
194 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {}
/external/skqp/tools/fiddle/
H A Dfiddle_main.cpp290 sk_sp<GrContext> grContext = create_grcontext(gGLDriverInfo); local
291 if (!grContext) {
294 if (!setup_backend_objects(grContext.get(), source, options)) {
299 auto surface = SkSurface::MakeRenderTarget(grContext.get(), SkBudgeted::kNo, info);
/external/skqp/tools/gpu/
H A DGrContextFactory.h180 GrContext* grContext() const { return fGrContext; } function in class:sk_gpu_test::ContextInfo
192 ContextInfo(GrContextFactory::ContextType type, TestContext* testContext, GrContext* grContext, argument
194 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {}
/external/skqp/tests/
H A DVkHardwareBufferTest.cpp65 virtual GrContext* grContext() = 0;
114 GrContext* grContext() override { return fGrContext; }
145 fGrContext = fGLESContextInfo.grContext();
465 GrContext* grContext() override { return fGrContext.get(); }
1463 GrContext* grContext = dstHelper->grContext(); local
1469 sk_sp<SkSurface> dstSurf = SkSurface::MakeRenderTarget(grContext,

Completed in 1164 milliseconds