Home
last modified time | relevance | path

Searched refs:texture (Results 1 – 25 of 44) sorted by relevance

12

/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java595 int right = texture.getWidth(); in copyTextureCoordinates()
597 if (texture.hasBorder()) { in copyTextureCoordinates()
644 int width = texture.getWidth(); in convertCoordinate()
706 texture.onBind(this); in prepareTexture()
707 GLES20.glBindTexture(texture.getTarget(), texture.getId()); in prepareTexture()
843 mTargetTextures.add(texture); in beginRenderTarget()
864 if (texture == null) { in setRenderTarget()
867 setSize(texture.getWidth(), texture.getHeight()); in setRenderTarget()
869 if (!texture.isLoaded()) { in setRenderTarget()
870 texture.prepare(this); in setRenderTarget()
[all …]
H A DGLCanvas.java94 BasicTexture texture, int x, int y, int width, int height); in drawTexture() argument
100 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); in drawTexture() argument
103 public abstract void drawTexture(BasicTexture texture, float[] mTextureTransform, in drawTexture() argument
123 public abstract boolean unloadTexture(BasicTexture texture); in unloadTexture() argument
135 public abstract void beginRenderTarget(RawTexture texture); in beginRenderTarget() argument
147 public abstract void setTextureParameters(BasicTexture texture); in setTextureParameters() argument
156 public abstract void initializeTextureSize(BasicTexture texture, int format, int type); in initializeTextureSize() argument
164 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap); in initializeTexture() argument
177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAlpha8BitmapActivity.java49 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.spot_mask); in BitmapsView() local
50 mBitmap1 = Bitmap.createBitmap(texture.getWidth(), texture.getHeight(), in BitmapsView()
53 canvas.drawBitmap(texture, 0.0f, 0.0f, null); in BitmapsView()
55 texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
56 BitmapShader shader = new BitmapShader(texture, in BitmapsView()
59 final float width = texture.getWidth() / 3.0f; in BitmapsView()
60 final float height = texture.getHeight() / 3.0f; in BitmapsView()
H A DAdvancedBlendActivity.java63 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in ShadersView() local
64 mTexWidth = texture.getWidth(); in ShadersView()
65 mTexHeight = texture.getHeight(); in ShadersView()
69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
H A DMoreShadersActivity.java65 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in ShadersView() local
66 mTexWidth = texture.getWidth(); in ShadersView()
67 mTexHeight = texture.getHeight(); in ShadersView()
71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
H A DGLTextureViewActivity.java188 int texture = loadTexture(R.drawable.large_photo); in run() local
200 glBindTexture(GL_TEXTURE_2D, texture); in run()
260 int texture = textures[0]; in loadTexture() local
261 glBindTexture(GL_TEXTURE_2D, texture); in loadTexture()
277 return texture; in loadTexture()
H A DGradientsActivity.java97 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapView() local
98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, in BitmapView()
/aosp14/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java65 int fallbackFormat, int fallbackType, ETC1Texture texture) { in loadTexture() argument
74 int width = texture.getWidth(); in loadTexture()
75 int height = texture.getHeight(); in loadTexture()
76 Buffer data = texture.getData(); in loadTexture()
206 public static void writeTexture(ETC1Texture texture, OutputStream output) throws IOException { in writeTexture() argument
207 ByteBuffer dataBuffer = texture.getData(); in writeTexture()
210 int width = texture.getWidth(); in writeTexture()
211 int height = texture.getHeight(); in writeTexture()
H A DGLErrorWrapper.java70 public void glActiveTexture(int texture) { in glActiveTexture() argument
72 mgl.glActiveTexture(texture); in glActiveTexture()
88 public void glBindTexture(int target, int texture) { in glBindTexture() argument
90 mgl.glBindTexture(target, texture); in glBindTexture()
136 public void glClientActiveTexture(int texture) { in glClientActiveTexture() argument
138 mgl.glClientActiveTexture(texture); in glClientActiveTexture()
1225 public boolean glIsTexture(int texture) { in glIsTexture() argument
1227 boolean valid = mgl11.glIsTexture(texture); in glIsTexture()
1462 int textarget, int texture, int level) { in glFramebufferTexture2DOES() argument
1464 mgl11ExtensionPack.glFramebufferTexture2DOES(target, attachment, textarget, texture, level); in glFramebufferTexture2DOES()
H A DGLES10.java276 int texture in glActiveTexture() argument
297 int texture in glBindTexture() argument
352 int texture in glClientActiveTexture() argument
H A DGLES20.java341 int texture in glActiveTexture() argument
384 int texture in glBindTexture() argument
734 int texture, in glFramebufferTexture2D() argument
1289 int texture in glIsTexture() argument
H A DGLLogWrapper.java1177 public void glActiveTexture(int texture) { in glActiveTexture() argument
1179 arg("texture", texture); in glActiveTexture()
1181 mgl.glActiveTexture(texture); in glActiveTexture()
1206 arg("texture", texture); in glBindTexture()
1208 mgl.glBindTexture(target, texture); in glBindTexture()
1282 public void glClientActiveTexture(int texture) { in glClientActiveTexture() argument
1284 arg("texture", texture); in glClientActiveTexture()
1287 mgl.glClientActiveTexture(texture); in glClientActiveTexture()
3173 public boolean glIsTexture(int texture) { in glIsTexture() argument
3175 arg("texture", texture); in glIsTexture()
[all …]
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTransformUtils.java67 TextureSource texture = frame.lockTextureSource(); in generateMipMaps() local
68 texture.generateMipmaps(); in generateMipMaps()
73 TextureSource texture = frame.lockTextureSource(); in setTextureParameter() local
74 texture.setParameter(param, value); in setTextureParameter()
H A DCameraStreamer.java154 TextureSource texture = mTargetTextures.get(context); in onCleanupContext() local
156 if (texture != null) { in onCleanupContext()
157 texture.release(); in onCleanupContext()
166 TextureSource texture = mTargetTextures.get(context); in textureForContext() local
167 if (texture == null) { in textureForContext()
168 texture = createClientTexture(); in textureForContext()
169 mTargetTextures.put(context, texture); in textureForContext()
171 return texture; in textureForContext()
430 if (texture != null) { in surfaceTextureForContext()
700 TextureSource texture = TextureSource.newTexture(); in createClientTexture() local
[all …]
H A DRenderTarget.java103 public RenderTarget forTexture(TextureSource texture, int width, int height) { in forTexture() argument
111 texture.getTarget(), in forTexture()
112 texture.getTextureId(), in forTexture()
H A DImageShader.java242 public static void renderTextureToTarget(TextureSource texture, in renderTextureToTarget() argument
247 shader.process(texture, target, width, height); in renderTextureToTarget()
277 public void process(TextureSource texture, RenderTarget target, int width, int height) { in process() argument
278 processMulti(new TextureSource[] { texture }, target, width, height); in process()
H A DBackingStore.java611 TextureSource texture = (TextureSource) backing.lock(ACCESS_TEXTURE); in syncTo() local
614 ImageShader.renderTextureToTarget(texture, getRenderTarget(), w, h); in syncTo()
/aosp14/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser_test.cpp119 <gl-texture-groups>
120 <gl-texture-group label="dxt1" version-code-order="2">
121 <gl-texture name="GL_EXT_texture_compression_dxt1">
122 <texture-path>assets/dxt1/*</texture-path>
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java141 int texture = loadTexture(R.drawable.large_photo); in run() local
153 glBindTexture(GL_TEXTURE_2D, texture); in run()
213 int texture = textures[0]; in loadTexture() local
214 glBindTexture(GL_TEXTURE_2D, texture); in loadTexture()
230 return texture; in loadTexture()
/aosp14/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp304 texture->w = w; in initTexture()
305 texture->h = h; in initTexture()
307 glGenTextures(1, &texture->name); in initTexture()
308 glBindTexture(GL_TEXTURE_2D, texture->name); in initTexture()
1024 glGenTextures(1, &font->texture.name); in initFont()
1025 glBindTexture(GL_TEXTURE_2D, font->texture.name); in initFont()
1027 status = initTexture(font->map, &font->texture.w, &font->texture.h); in initFont()
1034 status = initTexture(&font->texture, mAssets, fallback); in initFont()
1040 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()
1049 glBindTexture(GL_TEXTURE_2D, font.texture.name); in drawText()
[all …]
H A DBootAnimation.h59 Texture texture; member
178 status_t initTexture(Texture* texture, AssetManager& asset, const char* name,
/aosp14/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11ExtensionPack.java122 int texture in glBindTexture() argument
204 int texture, in glFramebufferTexture2DOES() argument
H A DGL10.java262 int texture in glActiveTexture() argument
277 int texture in glBindTexture() argument
316 int texture in glClientActiveTexture() argument
/aosp14/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java93 int texture in glActiveTexture() argument
114 int texture in glBindTexture() argument
169 int texture in glClientActiveTexture() argument
1541 int texture in glIsTexture() argument
1993 int texture, in glFramebufferTexture2DOES() argument
/aosp14/frameworks/base/tools/aapt2/integration-tests/DumpTest/
H A Dcomponents_expected.txt5 supports-gl-texture:'GL_OES_compressed_paletted_texture'

12