Home
last modified time | relevance | path

Searched defs:texture (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp101 void TextureState::bindTexture(GLuint texture) { in bindTexture()
108 void TextureState::bindTexture(GLenum target, GLuint texture) { in bindTexture()
119 void TextureState::deleteTexture(GLuint texture) { in deleteTexture()
144 void TextureState::unbindTexture(GLuint texture) { in unbindTexture()
DRenderState.cpp303 const Glop::Fill::TextureData& texture = fill.texture; in render() local
346 Texture* texture = (fill.skiaShaderData.skiaShaderType & kBitmap_SkiaShaderType) ? in render() local
/frameworks/base/libs/hwui/
DPathCache.cpp215 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()()
223 void PathCache::removeTexture(PathTexture* texture) { in removeTexture()
285 PathTexture* texture = new PathTexture(Caches::getInstance(), in addTexture() local
293 PathTexture* texture, bool addToCache) { in generateTexture()
315 void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) { in generateTexture()
337 PathTexture* texture = t->texture; in onProcess() local
386 PathTexture* texture = mCache.get(entry); in get() local
427 PathTexture* texture = mCache.get(entry); in precache() local
469 PathTexture* texture = get(entry); in getRoundRect() local
491 PathTexture* texture = get(entry); in getCircle() local
[all …]
DTextureCache.cpp69 void TextureCache::operator()(uint32_t&, Texture*& texture) { in operator ()()
119 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); in getCachedTexture() local
163 Texture* texture = getCachedTexture(bitmap, AtlasUsageType::Use); in prefetchAndMarkInUse() local
171 Texture* texture = getCachedTexture(bitmap, atlasUsageType); in get() local
DTexture.h174 AutoTexture(Texture* texture) in AutoTexture()
179 delete texture; in ~AutoTexture() local
183 Texture* const texture; variable
DAssetAtlas.h73 delete texture; in ~Entry() local
87 Entry(SkPixelRef* pixelRef, Texture* texture, const UvMapper& mapper, in Entry()
DBakedOpDispatcher.cpp52 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(bitmap); in onMergedBitmapOps() local
175 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(firstOp.bitmap); in onMergedPatchOps() local
211 ShadowTexture* texture = renderer.caches().dropShadowCache.get( in renderTextShadow() local
375 float xOffset, float yOffset, PathTexture& texture, const SkPaint& paint) { in renderPathTexture()
404 PathTexture* texture = renderer.caches().pathCache.getArc( in onArcOp() local
427 Texture* texture = renderer.getTexture(op.bitmap); in onBitmapOp() local
460 Texture* texture = renderer.renderState().assetAtlas().getEntryTexture(op.bitmap->pixelRef()); in onBitmapMeshOp() local
519 Texture* texture = renderer.getTexture(op.bitmap); in onBitmapRectOp() local
573 PathTexture* texture = renderer.caches().pathCache.getOval( in onOvalOp() local
607 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(op.bitmap); in onPatchOp() local
[all …]
DGradientCache.cpp96 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { in operator ()()
110 Texture* texture = mCache.get(gradient); in get() local
152 Texture* texture = new Texture(Caches::getInstance()); in addLinearGradient() local
223 const uint32_t width, const uint32_t height, Texture* texture) { in generateTexture()
DTextDropShadowCache.cpp127 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) { in operator ()()
151 ShadowTexture* texture = mCache.get(entry); in get() local
DGpuMemoryTracker.cpp125 const Texture* texture = static_cast<Texture*>(obj); in onFrameCompleted() local
133 for (auto& texture : freeList) { in onFrameCompleted() local
DGlopBuilder.cpp324 GlopBuilder& GlopBuilder::setFillTexturePaint(Texture& texture, in setFillTexturePaint()
390 GlopBuilder& GlopBuilder::setFillPathTexturePaint(PathTexture& texture, in setFillPathTexturePaint()
407 GlopBuilder& GlopBuilder::setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor, in setFillShadowTexturePaint()
451 GlopBuilder& GlopBuilder::setFillLayer(Texture& texture, const SkColorFilter* colorFilter, in setFillLayer()
480 GlopBuilder& GlopBuilder::setFillExternalTexture(Texture& texture, Matrix4& textureTransform) { in setFillExternalTexture()
DFontRenderer.cpp59 void TextDrawFunctor::draw(CacheTexture& texture, bool linearFiltering) { in draw()
483 CacheTexture* texture = cacheTextures[i]; in issueDrawCommand() local
505 float x4, float y4, float u4, float v4, CacheTexture* texture) { in appendMeshQuadNoClip()
517 float x4, float y4, float u4, float v4, CacheTexture* texture) { in appendMeshQuad()
540 float x4, float y4, float u4, float v4, CacheTexture* texture) { in appendRotatedMeshQuad()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java94 BasicTexture texture, int x, int y, int width, int height); in drawTexture()
100 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); in drawTexture()
103 public abstract void drawTexture(BasicTexture texture, float[] mTextureTransform, in drawTexture()
123 public abstract boolean unloadTexture(BasicTexture texture); in unloadTexture()
135 public abstract void beginRenderTarget(RawTexture texture); in beginRenderTarget()
147 public abstract void setTextureParameters(BasicTexture texture); in setTextureParameters()
156 public abstract void initializeTextureSize(BasicTexture texture, int format, int type); in initializeTextureSize()
164 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap); in initializeTexture()
177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D()
DGLES20Canvas.java582 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) { in drawTexture()
592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates()
607 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture()
619 public void drawTexture(BasicTexture texture, float[] textureTransform, int x, int y, int w, in drawTexture()
628 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { in drawTextureRect()
643 private static void convertCoordinate(RectF source, RectF target, BasicTexture texture) { in convertCoordinate()
667 private void drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) { in drawTextureRect()
686 private ShaderParameter[] prepareTexture(BasicTexture texture) { in prepareTexture()
700 private void prepareTexture(BasicTexture texture, int program, ShaderParameter[] params) { in prepareTexture()
716 public void drawMesh(BasicTexture texture, int x, int y, int xyBuffer, int uvBuffer, in drawMesh()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTransformUtils.java67 TextureSource texture = frame.lockTextureSource(); in generateMipMaps() local
73 TextureSource texture = frame.lockTextureSource(); in setTextureParameter() local
/frameworks/base/libs/hwui/tests/unit/
DGradientCacheTests.cpp33 Texture* texture = cache.get(colors, positions, 3); in RENDERTHREAD_TEST() local
DTextDropShadowCacheTests.cpp47 ShadowTexture* texture = cache.get(&paint, glyphs.data(), glyphs.size(), 10, positions.data()); in RENDERTHREAD_TEST() local
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp173 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) {
190 Texture texture(Texture::TEXTURE_2D, mProtectedTexName); local
DGLES20RenderEngine.h47 GLuint texture; member
DDescription.cpp62 void Description::setTexture(const Texture& texture) { in setTexture()
/frameworks/base/opengl/java/android/opengl/
DETC1Util.java65 int fallbackFormat, int fallbackType, ETC1Texture texture) { in loadTexture()
206 public static void writeTexture(ETC1Texture texture, OutputStream output) throws IOException { in writeTexture()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAlpha8BitmapActivity.java49 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.spot_mask); in BitmapsView() local
DAdvancedBlendActivity.java63 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in ShadersView() local
DMoreShadersActivity.java65 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in ShadersView() local
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java141 int texture = loadTexture(R.drawable.large_photo); in run() local
213 int texture = textures[0]; in loadTexture() local

1234