/external/skia/samplecode/ |
H A D | SampleShip.cpp | 26 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], argument 29 canvas->drawAtlas(atlas, xform, tex, colors, count, SkXfermode::kModulate_Mode, cull, paint); 32 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], argument 41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint,
|
H A D | SampleAtlas.cpp | 21 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], argument 24 canvas->drawAtlas(atlas, xform, tex, colors, count, SkXfermode::kModulate_Mode, cull, paint); 27 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], argument 36 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint,
|
/external/skia/src/gpu/effects/ |
H A D | GrBitmapTextGeoProc.cpp | 34 SkDEBUGCODE(GrTexture* atlas = cte.textureAccess(0).getTexture()); 35 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); 114 // Currently we hardcode numbers to convert atlas coordinates to normalized floating point 116 GrTexture* atlas = gp.textureAccess(0).getTexture(); local 117 SkASSERT(atlas); 118 b->add32(atlas->width()); 119 b->add32(atlas->height());
|
H A D | GrDistanceFieldGeoProc.cpp | 88 GrTexture* atlas = dfTexEffect.textureAccess(0).getTexture(); variable 89 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); 94 atlas->width(), atlas->height(), 179 // Currently we hardcode numbers to convert atlas coordinates to normalized floating point 181 GrTexture* atlas = gp.textureAccess(0).getTexture(); local 182 SkASSERT(atlas); 183 b->add32(atlas 529 GrTexture* atlas = dfTexEffect.textureAccess(0).getTexture(); variable 671 GrTexture* atlas = gp.textureAccess(0).getTexture(); local [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
H A D | TextureAtlas.java | 61 * <b><code>TextureAtlas</code></b> allows combining multiple textures to one texture atlas. 64 * freely chosen "map names". The textures are automatically placed on the atlas map and the 68 * <p>The first map name used is the "master map" that defines new locations on the atlas. Secondary 77 * inside the atlas is stored. A texture with an existing key name is never added more than once 78 * to the atlas. You can access the information for each texture or geometry texture via helper methods.</p> 81 * to point at the new locations of its texture inside the atlas (if the texture exists inside the atlas).</p> 84 * will not work correctly as their new coordinates leak into other parts of the atlas and thus display 87 * <p>Also note that textures are not scaled and the atlas needs to be large enough to hold all textures. 89 * atlas bein 521 applyAtlasCoords(List<Geometry> geometries, Mesh outMesh, TextureAtlas atlas) argument [all...] |
/external/skia/experimental/GLFWTest/ |
H A D | glfw_main.cpp | 79 SkAutoTUnref<SkImage> atlas; local 87 atlas.reset(SkImage::NewFromEncoded(imageData)); 88 if (!atlas) { 97 SkScalar anchorX = atlas->width()*0.5f; 98 SkScalar anchorY = atlas->height()*0.5f; 105 tex[currIndex] = SkRect::MakeLTRB(0.0f, 0.0f, atlas->width(), atlas->height()); 111 tex[currIndex] = SkRect::MakeLTRB(0.0f, 0.0f, atlas->width(), atlas->height()); 161 canvas->drawAtlas(atlas, xfor [all...] |
/external/skia/src/gpu/ |
H A D | GrResourceProvider.cpp | 178 GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY); local 179 atlas->registerEvictionCallback(func, data); 180 return atlas;
|
H A D | SkGpuDevice.cpp | 1735 void SkGpuDevice::drawAtlas(const SkDraw& draw, const SkImage* atlas, const SkRSXform xform[], argument 1740 this->INHERITED::drawAtlas(draw, atlas, xform, texRect, colors, count, mode, paint); 1748 p.setShader(atlas->newShader(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode))->unref();
|
/external/skia/src/core/ |
H A D | SkPicturePlayback.cpp | 180 const SkImage* atlas = fPictureData->getImage(reader); local 195 canvas->drawAtlas(atlas, xform, tex, colors, count, mode, cull, paint);
|
H A D | SkDevice.cpp | 185 void SkBaseDevice::drawAtlas(const SkDraw& draw, const SkImage* atlas, const SkRSXform xform[], argument 200 SkAutoTUnref<SkShader> shader(atlas->newShader(SkShader::kClamp_TileMode,
|
H A D | SkRecorder.cpp | 322 void SkRecorder::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], argument 326 atlas,
|
H A D | SkPictureRecord.cpp | 745 void SkPictureRecord::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], argument 748 // [op + paint-index + atlas-index + flags + count] + [xform] + [tex] + [*colors + mode] + cull 763 this->addImage(atlas);
|
H A D | SkCanvas.cpp | 1963 void SkCanvas::drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], argument 1966 RETURN_ON_NULL(atlas); 1970 SkASSERT(atlas); 1973 this->onDrawAtlas(atlas, xform, tex, colors, count, mode, cull, paint); 2709 void SkCanvas::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], argument 2723 iter.fDevice->drawAtlas(iter, atlas, xform, tex, colors, count, mode, pnt);
|
/external/skia/src/effects/ |
H A D | SkTableColorFilter.cpp | 351 const GrTextureStripAtlas* atlas() const { return fAtlas; } function in class:ColorTableEffect 363 ColorTableEffect(GrTexture* texture, GrTextureStripAtlas* atlas, int row, unsigned flags); 396 if (cte.atlas()) { 397 SkScalar yDelta = cte.atlas()->getNormalizedTexelHeight(); 398 rgbaYValues[3] = cte.atlas()->getYOffset(cte.atlasRow()) + SK_ScalarHalf * yDelta; 470 GrTextureStripAtlas* atlas = GrTextureStripAtlas::GetAtlas(desc); local 471 int row = atlas->lockRow(bitmap); 474 atlas = nullptr; 477 texture.reset(SkRef(atlas->getTexture())); 480 return new ColorTableEffect(texture, atlas, ro 483 ColorTableEffect(GrTexture* texture, GrTextureStripAtlas* atlas, int row, unsigned flags) argument [all...] |
/external/skia/include/core/ |
H A D | SkCanvas.h | 1039 * Draw a set of sprites from the atlas. Each is specified by a tex rectangle in the 1040 * coordinate space of the atlas, and a corresponding xform which transforms the tex rectangle 1055 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], 1059 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], int count, argument 1061 this->drawAtlas(atlas, xform, tex, NULL, count, SkXfermode::kDst_Mode, cullRect, paint);
|
/external/skia/src/gpu/batches/ |
H A D | GrAADistanceFieldPathRenderer.cpp | 152 GrBatchAtlas* atlas, PathCache* pathCache, PathDataList* pathList) { 153 return new AADistanceFieldPathBatch(geometry, viewMatrix, atlas, pathCache, pathList); 201 GrBatchAtlas* atlas = fAtlas; variable 205 atlas->getTexture(), 251 if (nullptr == pathData || !atlas->hasID(pathData->fID)) { 264 atlas, 277 atlas->setLastUseToken(pathData->fID, target->currentToken()); 283 atlas, 302 GrBatchAtlas* atlas, 308 fAtlas = atlas; 151 Create(const Geometry& geometry, const SkMatrix& viewMatrix, GrBatchAtlas* atlas, PathCache* pathCache, PathDataList* pathList) argument 300 AADistanceFieldPathBatch(const Geometry& geometry, const SkMatrix& viewMatrix, GrBatchAtlas* atlas, PathCache* pathCache, PathDataList* pathList) argument 317 addPathToAtlas(GrVertexBatch::Target* target, const GrGeometryProcessor* dfProcessor, const GrPipeline* pipeline, FlushInfo* flushInfo, GrBatchAtlas* atlas, PathData* pathData, const SkPath& path, uint32_t genID, const SkStrokeRec& stroke, bool antiAlias, uint32_t dimension, SkScalar scale) const argument 443 writePathVertices(GrDrawBatch::Target* target, GrBatchAtlas* atlas, const GrPipeline* pipeline, const GrGeometryProcessor* gp, intptr_t offset, GrColor color, size_t vertexStride, const SkMatrix& viewMatrix, const SkPath& path, const PathData* pathData) const argument [all...] |
/external/skia/tools/android/ |
H A D | SkAndroidSDKCanvas.cpp | 250 void SkAndroidSDKCanvas::onDrawAtlas(const SkImage* atlas, argument 259 fProxyTarget->drawAtlas(atlas, xform, tex, colors, count, mode, cullRect,
|
/external/robolectric/v3/runtime/ |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |