/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ThinPatchesActivity.java | 48 private Bitmap mTexture; field in ThinPatchesActivity.PatchView 58 mTexture = Bitmap.createBitmap(4, 3, Bitmap.Config.ARGB_8888); in PatchView() 59 mTexture.setPixel(0, 0, 0xffff0000); in PatchView() 60 mTexture.setPixel(1, 0, 0xffffffff); in PatchView() 61 mTexture.setPixel(2, 0, 0xff000000); in PatchView() 62 mTexture.setPixel(3, 0, 0xffff0000); in PatchView() 63 mTexture.setPixel(0, 1, 0xffff0000); in PatchView() 64 mTexture.setPixel(1, 1, 0xff000000); in PatchView() 65 mTexture.setPixel(2, 1, 0xffffffff); in PatchView() 66 mTexture.setPixel(3, 1, 0xffff0000); in PatchView() [all …]
|
D | ShadersActivity.java | 54 private Bitmap mTexture; field in ShadersActivity.ShadersView 62 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in ShadersView() 63 mTexWidth = mTexture.getWidth(); in ShadersView() 64 mTexHeight = mTexture.getHeight(); in ShadersView() 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, in ShadersView() 105 canvas.drawBitmap(mTexture, 0.0f, 0.0f, null); in onDraw()
|
D | FramebufferBlendActivity.java | 48 private Bitmap mTexture; field in FramebufferBlendActivity.BlendView 53 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BlendView() 54 mTexWidth = mTexture.getWidth(); in BlendView() 55 mTexHeight = mTexture.getHeight(); in BlendView() 90 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); in drawBlendedBitmap() 106 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); in drawBlendedBitmapInverse()
|
/frameworks/base/libs/hwui/ |
D | Image.cpp | 36 mTexture = 0; in Image() 39 glGenTextures(1, &mTexture); in Image() 40 Caches::getInstance().textureState().bindTexture(mTexture); in Image() 55 Caches::getInstance().textureState().deleteTexture(mTexture); in ~Image() 56 mTexture = 0; in ~Image()
|
D | Image.h | 49 return mTexture; in getTexture() 60 GLuint mTexture;
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 116 : mTexture(Caches::getInstance()) in CacheTexture() 122 mTexture.blend = true; in CacheTexture() 166 mTexture.deleteTexture(); in releasePixelBuffer() 172 mTexture.setFilter(linearFiltering ? GL_LINEAR : GL_NEAREST); in setLinearFiltering() 191 mTexture.resize(mWidth, mHeight, internalFormat, mFormat); in allocatePixelBuffer() 192 mTexture.setFilter(getLinearFiltering() ? GL_LINEAR : GL_NEAREST); in allocatePixelBuffer() 193 mTexture.setWrap(GL_CLAMP_TO_EDGE); in allocatePixelBuffer()
|
D | CacheTexture.h | 120 return mTexture; in getTexture() 125 return mTexture.id(); in getTextureId() 187 Texture mTexture; variable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 583 private TextureSource mTexture = null; field in BackingStore.TextureBacking 588 mTexture = TextureSource.newTexture(); in allocate() 606 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); in syncTo() 609 mTexture.allocateWithBitmapPixels(bitmap); in syncTo() 629 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); in syncToAllocationBacking() 666 if (mTexture.isAllocated()) { in destroy() 667 mTexture.release(); in destroy() 677 if (!mTexture.isAllocated()) { in getTexture() 678 mTexture.allocate(mDimensions[0], mDimensions[1]); in getTexture() 680 return mTexture; in getTexture()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramVertexFixedFunction.java | 204 Matrix4f mTexture; field in ProgramVertexFixedFunction.Constants 226 mTexture = new Matrix4f(); in Constants() 286 mTexture.load(m); in setTexture()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 246 glGenTextures(1, &mTexture); in AutoSkiaGlTexture() 247 glBindTexture(GL_TEXTURE_2D, mTexture); in AutoSkiaGlTexture() 251 glDeleteTextures(1, &mTexture); in ~AutoSkiaGlTexture() 255 GLuint mTexture = 0; member in android::uirenderer::skiapipeline::AutoSkiaGlTexture
|
/frameworks/base/libs/hwui/renderthread/ |
D | OpenGLPipeline.cpp | 316 glGenTextures(1, &mTexture); in AutoGlTexture() 317 caches.textureState().bindTexture(mTexture); in AutoGlTexture() 321 mCaches.textureState().deleteTexture(mTexture); in ~AutoGlTexture() 326 GLuint mTexture = 0; member in android::uirenderer::renderthread::AutoGlTexture
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.h | 46 Texture mTexture; variable
|
D | Description.cpp | 55 mTexture = texture; in setTexture()
|
D | ProgramCache.cpp | 122 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT : in computeKey() 123 description.mTexture.getTextureTarget() == GL_TEXTURE_2D ? Key::TEXTURE_2D : in computeKey()
|
D | Program.cpp | 133 glUniformMatrix4fv(mTextureMatrixLoc, 1, GL_FALSE, desc.mTexture.getMatrix().asArray()); in setUniforms()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 115 mTexture.init(Texture::TEXTURE_EXTERNAL, mTextureName); in Layer() 1180 mTexture.setDimensions(mActiveBuffer->getWidth(), mActiveBuffer->getHeight()); 1181 mTexture.setFiltering(useFiltering); 1182 mTexture.setMatrix(textureMatrix); 1184 engine.setupLayerTexturing(mTexture);
|
D | Layer.h | 747 mutable Texture mTexture; variable
|