/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 582 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) { in drawTexture() argument 586 copyTextureCoordinates(texture, mTempSourceRect); in drawTexture() 588 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); in drawTexture() 589 drawTextureRect(texture, mTempSourceRect, mTempTargetRect); in drawTexture() 592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument 595 int right = texture.getWidth(); in copyTextureCoordinates() 596 int bottom = texture.getHeight(); in copyTextureCoordinates() 597 if (texture.hasBorder()) { in copyTextureCoordinates() 607 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument 614 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); in drawTexture() [all …]
|
D | GLCanvas.java | 94 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
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | Alpha8BitmapActivity.java | 49 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()
|
D | AdvancedBlendActivity.java | 63 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()
|
D | MoreShadersActivity.java | 65 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()
|
D | GLTextureViewActivity.java | 188 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()
|
/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 65 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()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TransformUtils.java | 67 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()
|
D | CameraStreamer.java | 154 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() 429 TextureSource texture = textureForContext(context); in surfaceTextureForContext() local 430 if (texture != null) { in surfaceTextureForContext() [all …]
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 160 sp<GraphicBuffer> texture; member in Rectangle 318 layer->handle = it->texture->handle; in main() 507 rect.texture = new GraphicBuffer(rect.sourceDim.width(), in parseRect() 510 if ((rv = rect.texture->initCheck()) != NO_ERROR) { in parseRect() 517 hwcTestFillColor(rect.texture.get(), rect.color, rect.alpha); in parseRect() 521 rect.texture.get(), rect.texture->handle, format->desc, in parseRect()
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser_test.cpp | 138 <gl-texture-groups> 139 <gl-texture-group label="dxt1" version-code-order="2"> 140 <gl-texture name="GL_EXT_texture_compression_dxt1"> 141 <texture-path>assets/dxt1/*</texture-path>
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | surface_texture.cpp | 188 void ASurfaceTexture_takeConsumerOwnership(ASurfaceTexture* texture) { in ASurfaceTexture_takeConsumerOwnership() argument 189 texture->consumer->takeConsumerOwnership(); in ASurfaceTexture_takeConsumerOwnership() 192 void ASurfaceTexture_releaseConsumerOwnership(ASurfaceTexture* texture) { in ASurfaceTexture_releaseConsumerOwnership() argument 193 texture->consumer->releaseConsumerOwnership(); in ASurfaceTexture_releaseConsumerOwnership()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 100 void API_ENTRY(glFramebufferTextureOES)(GLenum target, GLenum attachment, GLuint texture, GLint lev… 101 CALL_GL_API(glFramebufferTextureOES, target, attachment, texture, level); 142 …Texture3DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi… 143 CALL_GL_API(glFramebufferTexture3DOES, target, attachment, textarget, texture, level, zoffset); 178 void API_ENTRY(glTextureViewOES)(GLuint texture, GLenum target, GLuint origtexture, GLenum internal… 179 …CALL_GL_API(glTextureViewOES, texture, target, origtexture, internalformat, minlevel, numlevels, m… 304 void API_ENTRY(glEGLImageTargetTextureStorageEXT)(GLuint texture, GLeglImageOES image, const GLint*… 305 CALL_GL_API(glEGLImageTargetTextureStorageEXT, texture, image, attrib_list); 331 void API_ENTRY(glClearTexImageEXT)(GLuint texture, GLint level, GLenum format, GLenum type, const v… 332 CALL_GL_API(glClearTexImageEXT, texture, level, format, type, data); [all …]
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | glext_api.in | 106 void API_ENTRY(glMultiTexCoord4xOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { 107 CALL_GL_API(glMultiTexCoord4xOES, texture, s, t, r, q); 202 …ferTexture2DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { 203 CALL_GL_API(glFramebufferTexture2DOES, target, attachment, textarget, texture, level); 343 …ltisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs… 344 …CALL_GL_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, s… 367 void API_ENTRY(glTextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum interna… 368 CALL_GL_API(glTextureStorage1DEXT, texture, target, levels, internalformat, width); 370 void API_ENTRY(glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum interna… 371 CALL_GL_API(glTextureStorage2DEXT, texture, target, levels, internalformat, width, height); [all …]
|
D | gl_api.in | 115 void API_ENTRY(glActiveTexture)(GLenum texture) { 116 CALL_GL_API(glActiveTexture, texture); 124 void API_ENTRY(glBindTexture)(GLenum target, GLuint texture) { 125 CALL_GL_API(glBindTexture, target, texture); 148 void API_ENTRY(glClientActiveTexture)(GLenum texture) { 149 CALL_GL_API(glClientActiveTexture, texture); 289 GLboolean API_ENTRY(glIsTexture)(GLuint texture) { 290 CALL_GL_API_RETURN(glIsTexture, texture); 328 void API_ENTRY(glMultiTexCoord4x)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { 329 CALL_GL_API(glMultiTexCoord4x, texture, s, t, r, q);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 141 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()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 19 GLuint texture; variable 134 glGenTextures(1, &texture); in create_texture() 135 glBindTexture(GL_TEXTURE_2D, texture); in create_texture()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 23 GLuint texture; variable 217 glGenTextures(1, &texture); in create_texture() 218 glBindTexture(GL_TEXTURE_2D, texture); in create_texture()
|
/frameworks/native/opengl/include/GLES/ |
D | glext.h | 189 typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfi… 232 GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfi… 302 …EXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 318 …fferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 648 …MPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs… 651 …ltisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs… 738 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei le… 739 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei le… 740 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei le… 745 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenu… [all …]
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 168 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets, in initTexture() argument 186 texture->w = w; in initTexture() 187 texture->h = h; in initTexture() 189 glGenTextures(1, &texture->name); in initTexture() 190 glBindTexture(GL_TEXTURE_2D, texture->name); in initTexture() 756 glGenTextures(1, &font->texture.name); in initFont() 757 glBindTexture(GL_TEXTURE_2D, font->texture.name); in initFont() 759 status = initTexture(font->map, &font->texture.w, &font->texture.h); in initFont() 766 status = initTexture(&font->texture, mAssets, fallback); in initFont() 772 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont() [all …]
|
/frameworks/native/opengl/include/GLES2/ |
D | gl2ext.h | 397 …YP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 399 …L_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level); 589 …RE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi… 596 …Texture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi… 732 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtext… 734 GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GL… 1071 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES… 1074 GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image,… 1141 typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, … 1142 typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffse… [all …]
|
/frameworks/native/opengl/libs/ |
D | entries_gles1.in | 1 GL_ENTRY(void, glActiveTexture, GLenum texture) 8 GL_ENTRY(void, glBindTexture, GLenum target, GLuint texture) 26 GL_ENTRY(void, glClientActiveTexture, GLenum texture) 87 GL_ENTRY(void, glExtGetTexLevelParameterivQCOM, GLuint texture, GLenum face, GLint level, GLenum pn… 104 …ltisampleEXT, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs… 105 …ltisampleIMG, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs… 106 …ufferTexture2DOES, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 168 GL_ENTRY(GLboolean, glIsTexture, GLuint texture) 207 GL_ENTRY(void, glMultiTexCoord4x, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) 208 GL_ENTRY(void, glMultiTexCoord4xOES, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) [all …]
|
/frameworks/base/packages/SystemUI/res/raw/ |
D | image_wallpaper_fragment_shader.glsl | 3 // The actual wallpaper texture.
|
/frameworks/native/opengl/include/EGL/ |
D | eglext_angle.h | 119 …TREAMPOSTD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR stream, void *texture, const EGLAttrib … 122 … eglStreamPostD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, void *texture, const EGLAttrib …
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.1extpack | 3 void glBindTexture ( GLint target, GLint texture ) 14 void glFramebufferTexture2DOES ( GLint target, GLint attachment, GLint textarget, GLint texture, GL…
|