Home
last modified time | relevance | path

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

1234

/frameworks/base/libs/hwui/
DTextureCache.cpp66 void TextureCache::operator()(uint32_t&, Texture*& texture) { in operator ()()
103 Texture* texture = new Texture(Caches::getInstance()); in createTexture() local
116 Texture* texture = createTexture(bitmap); in getCachedTexture() local
127 Texture* texture = mCache.get(bitmap->getStableID()); in getCachedTexture() local
167 Texture* texture = getCachedTexture(bitmap); in prefetchAndMarkInUse() local
179 Texture* texture = getCachedTexture(bitmap); in get() local
DPathCache.cpp128 static void computePathBounds(const SkPath* path, const SkPaint* paint, PathTexture* texture, in computePathBounds()
154 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, in drawPath()
210 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()()
218 void PathCache::removeTexture(PathTexture* texture) { in removeTexture()
271 PathTexture* texture = new PathTexture(Caches::getInstance(), path->getGenerationID()); in addTexture() local
284 PathTexture* texture, bool addToCache) { in generateTexture()
306 void PathCache::generateTexture(Bitmap& bitmap, Texture* texture) { in generateTexture()
362 PathTexture* texture = mCache.get(entry); in get() local
402 PathTexture* texture = mCache.get(entry); in precache() local
444 PathTexture* texture = get(entry); in getRoundRect() local
[all …]
DTexture.h233 explicit AutoTexture(Texture* texture) in AutoTexture()
238 delete texture; in ~AutoTexture() local
242 Texture* const texture; variable
DGradientCache.cpp98 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { in operator ()()
112 Texture* texture = mCache.get(gradient); in get() local
154 Texture* texture = new Texture(Caches::getInstance()); in addLinearGradient() local
219 const uint32_t width, const uint32_t height, Texture* texture) { in generateTexture()
DBakedOpDispatcher.cpp52 Texture* texture = renderer.caches().textureCache.get(bitmap); in onMergedBitmapOps() local
169 Texture* texture = renderer.caches().textureCache.get(firstOp.bitmap); in onMergedPatchOps() local
205 ShadowTexture* texture = renderer.caches().dropShadowCache.get( in renderTextShadow() local
369 float xOffset, float yOffset, PathTexture& texture, const SkPaint& paint) { in renderPathTexture()
398 PathTexture* texture = renderer.caches().pathCache.getArc( in onArcOp() local
421 Texture* texture = renderer.getTexture(op.bitmap); in onBitmapOp() local
439 Texture* texture = renderer.caches().textureCache.get(op.bitmap); in onBitmapMeshOp() local
505 Texture* texture = renderer.getTexture(op.bitmap); in onBitmapRectOp() local
559 PathTexture* texture = renderer.caches().pathCache.getOval( in onOvalOp() local
592 Texture* texture = renderer.caches().textureCache.get(op.bitmap); in onPatchOp() local
[all …]
DTextDropShadowCache.cpp127 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) { in operator ()()
151 ShadowTexture* texture = mCache.get(entry); in get() local
DGlopBuilder.cpp306 GlopBuilder& GlopBuilder::setFillTexturePaint(Texture& texture, in setFillTexturePaint()
371 GlopBuilder& GlopBuilder::setFillPathTexturePaint(PathTexture& texture, in setFillPathTexturePaint()
388 GlopBuilder& GlopBuilder::setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor, in setFillShadowTexturePaint()
432 GlopBuilder& GlopBuilder::setFillLayer(Texture& texture, const SkColorFilter* colorFilter, in setFillLayer()
460 GlopBuilder& GlopBuilder::setFillExternalTexture(Texture& texture, Matrix4& textureTransform, in setFillExternalTexture()
606 Texture* texture = mOutGlop->fill.texture.texture; in build() local
DGpuMemoryTracker.cpp125 const Texture* texture = static_cast<Texture*>(obj); in onFrameCompleted() local
133 for (auto& texture : freeList) { in onFrameCompleted() local
DGlLayer.h91 Texture texture; variable
/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.cpp337 const Glop::Fill::TextureData& texture = fill.texture; in render() local
380 Texture* texture = (fill.skiaShaderData.skiaShaderType & kBitmap_SkiaShaderType) ? in render() local
/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/font/
DFontCacheHistoryTracker.cpp75 void FontCacheHistoryTracker::glyphUploaded(CacheTexture* texture, uint32_t x, uint32_t y, in glyphUploaded()
86 void FontCacheHistoryTracker::glyphsCleared(CacheTexture* texture) { in glyphsCleared()
DFontCacheHistoryTracker.h40 void* texture; member
/frameworks/base/libs/hwui/tests/unit/
DGradientCacheTests.cpp33 Texture* texture = cache.get(colors, positions, 3); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
DTextDropShadowCacheTests.cpp47 ShadowTexture* texture = cache.get(&paint, glyphs.data(), glyphs.size(), 10, positions.data()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
/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
/frameworks/native/services/surfaceflinger/RenderEngine/
DDescription.cpp54 void Description::setTexture(const Texture& texture) { in setTexture()
DGLES20RenderEngine.h47 GLuint texture; member

1234