/external/skia/tests/ |
D | DrawOpAtlasTest.cpp | 76 static void check(skiatest::Reporter* r, GrDrawOpAtlas* atlas, in check() argument 78 REPORTER_ASSERT(r, expectedActive == atlas->numActivePages()); in check() 79 REPORTER_ASSERT(r, expectedMax == atlas->maxPages()); in check() 80 REPORTER_ASSERT(r, expectedAlloced == atlas->numAllocated_TestingOnly()); in check() 108 static bool fill_plot(GrDrawOpAtlas* atlas, in fill_plot() argument 121 code = atlas->addToAtlas(resourceProvider, atlasID, target, kPlotSize, kPlotSize, in fill_plot() 141 std::unique_ptr<GrDrawOpAtlas> atlas = GrDrawOpAtlas::Make( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 149 check(reporter, atlas.get(), 0, 4, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 154 bool result = fill_plot(atlas.get(), resourceProvider, &uploadTarget, &atlasIDs[i], i*32); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 check(reporter, atlas.get(), 1, 4, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/skqp/tests/ |
D | DrawOpAtlasTest.cpp | 76 static void check(skiatest::Reporter* r, GrDrawOpAtlas* atlas, in check() argument 78 REPORTER_ASSERT(r, expectedActive == atlas->numActivePages()); in check() 79 REPORTER_ASSERT(r, expectedMax == atlas->maxPages()); in check() 80 REPORTER_ASSERT(r, expectedAlloced == atlas->numAllocated_TestingOnly()); in check() 108 static bool fill_plot(GrDrawOpAtlas* atlas, in fill_plot() argument 121 code = atlas->addToAtlas(resourceProvider, atlasID, target, kPlotSize, kPlotSize, in fill_plot() 141 std::unique_ptr<GrDrawOpAtlas> atlas = GrDrawOpAtlas::Make( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 149 check(reporter, atlas.get(), 0, 4, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 154 bool result = fill_plot(atlas.get(), resourceProvider, &uploadTarget, &atlasIDs[i], i*32); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 check(reporter, atlas.get(), 1, 4, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/eigen/bench/btl/cmake/ |
D | FindATLAS.cmake | 6 find_file(ATLAS_LIB libatlas.so.3 PATHS /usr/lib /usr/lib/atlas /usr/lib64 /usr/lib64/atlas $ENV{AT… 9 …liblapack_atlas.so.3 liblapack.so.3 PATHS /usr/lib /usr/lib/atlas /usr/lib64 /usr/lib64/atlas $ENV… 12 find_file(ATLAS_F77BLAS libf77blas.so.3 PATHS /usr/lib /usr/lib/atlas /usr/lib64 /usr/lib64/atlas $…
|
/external/skia/samplecode/ |
D | SampleLitAtlas.cpp | 225 SkBitmap atlas; in MakeAtlas() local 226 atlas.allocN32Pixels(kAtlasWidth, kAtlasHeight); in MakeAtlas() 231 *atlas.getAddr32(x, y) = SK_ColorTRANSPARENT; in MakeAtlas() 234 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0x88, 0x88, 0xFF); in MakeAtlas() 247 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas() 249 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0xFF, 0, 0); in MakeAtlas() 254 sk_tool_utils::create_hemi_normal_map(&atlas, in MakeAtlas() 263 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0xFF, 0); in MakeAtlas() 267 sk_tool_utils::create_frustum_normal_map(&atlas, in MakeAtlas() 281 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas() [all …]
|
D | SampleShip.cpp | 26 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas() argument 29 canvas->drawAtlas(atlas, xform, tex, colors, count, SkBlendMode::kModulate, cull, paint); in draw_atlas() 32 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas_sim() argument 41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
|
D | SampleAtlas.cpp | 21 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas() argument 24 canvas->drawAtlas(atlas, xform, tex, colors, count, SkBlendMode::kModulate, cull, paint); in draw_atlas() 27 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas_sim() argument 36 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
|
/external/skqp/samplecode/ |
D | SampleLitAtlas.cpp | 225 SkBitmap atlas; in MakeAtlas() local 226 atlas.allocN32Pixels(kAtlasWidth, kAtlasHeight); in MakeAtlas() 231 *atlas.getAddr32(x, y) = SK_ColorTRANSPARENT; in MakeAtlas() 234 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0x88, 0x88, 0xFF); in MakeAtlas() 247 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas() 249 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0xFF, 0, 0); in MakeAtlas() 254 sk_tool_utils::create_hemi_normal_map(&atlas, in MakeAtlas() 263 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0xFF, 0); in MakeAtlas() 267 sk_tool_utils::create_frustum_normal_map(&atlas, in MakeAtlas() 281 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas() [all …]
|
D | SampleShip.cpp | 26 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas() argument 29 canvas->drawAtlas(atlas, xform, tex, colors, count, SkBlendMode::kModulate, cull, paint); in draw_atlas() 32 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas_sim() argument 41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
|
D | SampleAtlas.cpp | 21 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas() argument 24 canvas->drawAtlas(atlas, xform, tex, colors, count, SkBlendMode::kModulate, cull, paint); in draw_atlas() 27 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas_sim() argument 36 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 462 for (GrCCAtlasStack::Iter atlas(fCopyAtlasStack); atlas.next();) { in finalize() local 463 int endCopyRange = atlas->getFillBatchID(); in finalize() 466 sk_sp<GrRenderTargetContext> rtc = atlas->makeRenderTargetContext(onFlushRP); in finalize() 473 atlas->drawBounds()); in finalize() 485 for (GrCCAtlasStack::Iter atlas(fRenderedAtlasStack); atlas.next();) { in finalize() local 490 if (texture && atlas->currentHeight() == texture->height() && in finalize() 491 atlas->currentWidth() == texture->width()) { in finalize() 497 if (auto rtc = atlas->makeRenderTargetContext(onFlushRP, std::move(backingTexture))) { in finalize() 499 atlas->getFillBatchID(), atlas->getStrokeBatchID(), in finalize() 500 atlas->drawBounds()); in finalize()
|
D | GrCCPathProcessor.cpp | 80 GrCCPathProcessor::GrCCPathProcessor(const GrTextureProxy* atlas, in GrCCPathProcessor() argument 83 , fAtlasAccess(atlas->textureType(), atlas->config(), GrSamplerState::Filter::kNearest, in GrCCPathProcessor() 85 , fAtlasSize(atlas->isize()) in GrCCPathProcessor() 86 , fAtlasOrigin(atlas->origin()) { in GrCCPathProcessor()
|
D | GrCCPathCache.cpp | 354 GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, const SkIVector& atlasOffset, in setCoverageCountAtlas() argument 366 fCachedAtlas = atlas->refOrMakeCachedAtlas(onFlushRP); in setCoverageCountAtlas() 379 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, in upgradeToLiteralCoverageAtlas() argument 388 fCachedAtlas = atlas->refOrMakeCachedAtlas(onFlushRP); in upgradeToLiteralCoverageAtlas()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 459 for (GrCCAtlasStack::Iter atlas(fCopyAtlasStack); atlas.next();) { in finalize() local 460 int endCopyRange = atlas->getFillBatchID(); in finalize() 463 sk_sp<GrRenderTargetContext> rtc = atlas->makeRenderTargetContext(onFlushRP); in finalize() 470 atlas->drawBounds()); in finalize() 482 for (GrCCAtlasStack::Iter atlas(fRenderedAtlasStack); atlas.next();) { in finalize() local 487 if (texture && atlas->currentHeight() == texture->height() && in finalize() 488 atlas->currentWidth() == texture->width()) { in finalize() 494 if (auto rtc = atlas->makeRenderTargetContext(onFlushRP, std::move(backingTexture))) { in finalize() 496 atlas->getFillBatchID(), atlas->getStrokeBatchID(), in finalize() 497 atlas->drawBounds()); in finalize()
|
D | GrCCPathProcessor.cpp | 78 GrCCPathProcessor::GrCCPathProcessor(const GrTextureProxy* atlas, in GrCCPathProcessor() argument 81 , fAtlasAccess(atlas->textureType(), atlas->config(), GrSamplerState::Filter::kNearest, in GrCCPathProcessor() 83 , fAtlasSize(atlas->isize()) in GrCCPathProcessor() 84 , fAtlasOrigin(atlas->origin()) { in GrCCPathProcessor()
|
D | GrCCPathCache.cpp | 354 GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, const SkIVector& atlasOffset, in setCoverageCountAtlas() argument 366 fCachedAtlas = atlas->refOrMakeCachedAtlas(onFlushRP); in setCoverageCountAtlas() 379 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, in upgradeToLiteralCoverageAtlas() argument 388 fCachedAtlas = atlas->refOrMakeCachedAtlas(onFlushRP); in upgradeToLiteralCoverageAtlas()
|
/external/skia/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 291 AtlasTexture* atlas = new AtlasTexture; in createTexture() local 292 atlas->fID = id; in createTexture() 293 atlas->fFormat = format; in createTexture() 294 atlas->fWidth = width; in createTexture() 295 atlas->fHeight = height; in createTexture() 296 return atlas; in createTexture() 339 auto atlas = reinterpret_cast<const AtlasTexture*>(textureHandle); in drawSDFGlyphs() local 344 callgl(BindTexture, GR_GL_TEXTURE_2D, atlas->fID); in drawSDFGlyphs() 350 callgl(Uniform2f, fAtlasInvSizeLocation, 1.f / atlas->fWidth, 1.f / atlas->fHeight); in drawSDFGlyphs()
|
/external/skqp/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 291 AtlasTexture* atlas = new AtlasTexture; in createTexture() local 292 atlas->fID = id; in createTexture() 293 atlas->fFormat = format; in createTexture() 294 atlas->fWidth = width; in createTexture() 295 atlas->fHeight = height; in createTexture() 296 return atlas; in createTexture() 339 auto atlas = reinterpret_cast<const AtlasTexture*>(textureHandle); in drawSDFGlyphs() local 344 callgl(BindTexture, GR_GL_TEXTURE_2D, atlas->fID); in drawSDFGlyphs() 350 callgl(Uniform2f, fAtlasInvSizeLocation, 1.f / atlas->fWidth, 1.f / atlas->fHeight); in drawSDFGlyphs()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 237 GrDrawOpAtlas* atlas, in Make() argument 243 atlas, shapeCache, shapeList, gammaCorrect, in Make() 248 const SkMatrix& viewMatrix, GrDrawOpAtlas* atlas, ShapeCache* shapeCache, in SmallPathOp() argument 267 fAtlas = atlas; in SmallPathOp() 498 bool addToAtlas(GrMeshDrawOp::Target* target, FlushInfo* flushInfo, GrDrawOpAtlas* atlas, in addToAtlas() argument 504 GrDrawOpAtlas::ErrorCode code = atlas->addToAtlas(resourceProvider, id, in addToAtlas() 514 code = atlas->addToAtlas(resourceProvider, id, uploadTarget, width, height, in addToAtlas() 522 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, in addDFPathToAtlas() argument 612 if (!this->addToAtlas(target, flushInfo, atlas, in addDFPathToAtlas() 649 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, in addBMPathToAtlas() argument [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 236 GrDrawOpAtlas* atlas, in Make() argument 242 atlas, shapeCache, shapeList, gammaCorrect, in Make() 247 const SkMatrix& viewMatrix, GrDrawOpAtlas* atlas, ShapeCache* shapeCache, in SmallPathOp() argument 266 fAtlas = atlas; in SmallPathOp() 499 bool addToAtlas(GrMeshDrawOp::Target* target, FlushInfo* flushInfo, GrDrawOpAtlas* atlas, in addToAtlas() argument 505 GrDrawOpAtlas::ErrorCode code = atlas->addToAtlas(resourceProvider, id, in addToAtlas() 515 code = atlas->addToAtlas(resourceProvider, id, uploadTarget, width, height, in addToAtlas() 523 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, in addDFPathToAtlas() argument 613 if (!this->addToAtlas(target, flushInfo, atlas, in addDFPathToAtlas() 650 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, in addBMPathToAtlas() argument [all …]
|
/external/skqp/gm/ |
D | drawatlascolor.cpp | 73 auto atlas = make_atlas(canvas, kAtlasSize); in onDraw() local 144 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw() 148 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw()
|
/external/skia/gm/ |
D | drawatlascolor.cpp | 73 auto atlas = make_atlas(canvas, kAtlasSize); in onDraw() local 144 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw() 148 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw()
|
D | drawatlas.cpp | 54 auto atlas = MakeAtlas(canvas, target); in onDraw() local 91 canvas->drawAtlas(atlas.get(), xform, tex, N, nullptr, &paint); in onDraw() 93 canvas->drawAtlas(atlas.get(), xform, tex, colors, N, SkBlendMode::kSrcIn, nullptr, &paint); in onDraw()
|
/external/mesa3d/src/mesa/main/ |
D | dlist.c | 645 _mesa_delete_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas) in _mesa_delete_bitmap_atlas() argument 647 if (atlas->texObj) { in _mesa_delete_bitmap_atlas() 648 ctx->Driver.DeleteTexture(ctx, atlas->texObj); in _mesa_delete_bitmap_atlas() 650 free(atlas->glyphs); in _mesa_delete_bitmap_atlas() 660 struct gl_bitmap_atlas *atlas; in lookup_bitmap_atlas() local 663 atlas = _mesa_HashLookup(ctx->Shared->BitmapAtlas, listBase); in lookup_bitmap_atlas() 664 return atlas; in lookup_bitmap_atlas() 674 struct gl_bitmap_atlas *atlas; in alloc_bitmap_atlas() local 679 atlas = calloc(1, sizeof(*atlas)); in alloc_bitmap_atlas() 680 if (atlas) { in alloc_bitmap_atlas() [all …]
|
/external/skqp/include/core/ |
D | SkCanvas.h | 2154 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], 2177 void drawAtlas(const sk_sp<SkImage>& atlas, const SkRSXform xform[], const SkRect tex[], in drawAtlas() argument 2180 this->drawAtlas(atlas.get(), xform, tex, colors, count, mode, cullRect, paint); in drawAtlas() 2199 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], int count, in drawAtlas() argument 2201 this->drawAtlas(atlas, xform, tex, nullptr, count, SkBlendMode::kDst, cullRect, paint); in drawAtlas() 2220 void drawAtlas(const sk_sp<SkImage>& atlas, const SkRSXform xform[], const SkRect tex[], in drawAtlas() argument 2222 this->drawAtlas(atlas.get(), xform, tex, nullptr, count, SkBlendMode::kDst, in drawAtlas() 2410 virtual void onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect rect[],
|
/external/skia/include/core/ |
D | SkCanvas.h | 2173 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], 2196 void drawAtlas(const sk_sp<SkImage>& atlas, const SkRSXform xform[], const SkRect tex[], in drawAtlas() argument 2199 this->drawAtlas(atlas.get(), xform, tex, colors, count, mode, cullRect, paint); in drawAtlas() 2218 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], int count, in drawAtlas() argument 2220 this->drawAtlas(atlas, xform, tex, nullptr, count, SkBlendMode::kDst, cullRect, paint); in drawAtlas() 2239 void drawAtlas(const sk_sp<SkImage>& atlas, const SkRSXform xform[], const SkRect tex[], in drawAtlas() argument 2241 this->drawAtlas(atlas.get(), xform, tex, nullptr, count, SkBlendMode::kDst, in drawAtlas() 2430 virtual void onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect rect[],
|