Home
last modified time | relevance | path

Searched refs:tex (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp267 static void doSingleTest(uint32_t pgmNum, int tex) { in doSingleTest() argument
281 glBindTexture(GL_TEXTURE_2D, tex); in doSingleTest()
283 glBindTexture(GL_TEXTURE_2D, tex); in doSingleTest()
294 sprintf(gCurrentTestName, "%s, %i, %i, 1", gFragmentTests[pgmNum]->name, pgmNum, tex); in doSingleTest()
/frameworks/native/libs/nativedisplay/include/surfacetexture/
DSurfaceTexture.h100 SurfaceTexture(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, uint32_t textureTarget,
272 status_t attachToContext(uint32_t tex);
DEGLConsumer.h87 status_t attachToContext(uint32_t tex, SurfaceTexture& st);
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp36 SurfaceTexture::SurfaceTexture(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, in SurfaceTexture() argument
49 mTexName(tex), in SurfaceTexture()
181 status_t SurfaceTexture::attachToContext(uint32_t tex) { in attachToContext() argument
197 return mEGLConsumer.attachToContext(tex, *this); in attachToContext()
Dsurface_texture.cpp129 int ASurfaceTexture_attachToGLContext(ASurfaceTexture* st, uint32_t tex) { in ASurfaceTexture_attachToGLContext() argument
130 return st->consumer->attachToContext(tex); in ASurfaceTexture_attachToGLContext()
DEGLConsumer.cpp431 status_t EGLConsumer::attachToContext(uint32_t tex, SurfaceTexture& st) { in attachToContext() argument
457 glBindTexture(st.mTexTarget, GLuint(tex)); in attachToContext()
461 st.mTexName = tex; in attachToContext()
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp121 uint32_t tex = shaderKey.getTextureTarget(); in primeCache() local
122 if (tex != Key::TEXTURE_OFF && tex != Key::TEXTURE_EXT && tex != Key::TEXTURE_2D) { in primeCache()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h86 uint32_t tex, uint32_t texureTarget, bool useFenceSync,
234 status_t attachToContext(uint32_t tex);
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp121 uint32_t tex = shaderKey.getTextureTarget(); in primeCache() local
122 if (tex != Key::TEXTURE_OFF && tex != Key::TEXTURE_EXT && tex != Key::TEXTURE_2D) { in primeCache()
/frameworks/rs/driver/
DrsdShader.cpp390 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { in setupSampler() argument
412 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv; in setupSampler()
420 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler()
421 if (tex->getHasGraphicsMipmaps() && in setupSampler()
447 if (tex->getHasGraphicsMipmaps()) { in setupSampler()
DrsdShader.h100 const android::renderscript::Allocation *tex);
DrsdGL.cpp547 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; in rsdGLDrawQuadTexCoords() local
552 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0"); in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp875 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; local
879 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp1157 std::shared_ptr<renderengine::ExternalTexture>* tex) { in dequeueRenderBuffer() argument
1164 *tex = mRenderSurface->dequeueBuffer(bufferFence); in dequeueRenderBuffer()
1165 if (*tex == nullptr) { in dequeueRenderBuffer()
1177 std::shared_ptr<renderengine::ExternalTexture> tex, base::unique_fd& fd) { in composeSurfaces() argument
1189 if (tex == nullptr) { in composeSurfaces()
1240 if (mClientCompositionRequestCache->exists(tex->getBuffer()->getId(), in composeSurfaces()
1250 mClientCompositionRequestCache->add(tex->getBuffer()->getId(), clientCompositionDisplay, in composeSurfaces()
1290 tex, useFramebufferCache, std::move(fd)) in composeSurfaces()
1295 mClientCompositionRequestCache->remove(tex->getBuffer()->getId()); in composeSurfaces()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp1181 std::shared_ptr<renderengine::ExternalTexture> tex = in TEST_F() local
1189 .WillOnce(DoAll(SetArgPointee<1>(tex), Return(true))); in TEST_F()
1212 std::shared_ptr<renderengine::ExternalTexture> tex = in TEST_F() local
1221 .WillOnce(DoAll(SetArgPointee<1>(tex), Return(true))); in TEST_F()
4090 std::shared_ptr<renderengine::ExternalTexture> tex; in TEST_F() local
4092 mOutput.dequeueRenderBuffer(&fd, &tex); in TEST_F()
4093 mOutput.composeSurfaces(kDebugRegion, kDefaultRefreshArgs, tex, fd); in TEST_F()
4102 std::shared_ptr<renderengine::ExternalTexture> tex; in TEST_F() local
4104 mOutput.dequeueRenderBuffer(&fd, &tex); in TEST_F()
4105 mOutput.composeSurfaces(kDebugRegion, kDefaultRefreshArgs, tex, fd); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.h45 renderengine::RenderEngine&, uint32_t tex,
DSurfaceFlingerFactory.h94 uint32_t tex, Layer*) = 0;
DBufferLayerConsumer.h75 uint32_t tex, Layer* layer);
DBufferLayerConsumer.cpp61 renderengine::RenderEngine& engine, uint32_t tex, in BufferLayerConsumer() argument
78 mTexName(tex), in BufferLayerConsumer()
/frameworks/native/libs/gui/
DGLConsumer.cpp104 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, in GLConsumer() argument
117 mTexName(tex), in GLConsumer()
592 status_t GLConsumer::attachToContext(uint32_t tex) { in attachToContext() argument
623 glBindTexture(mTexTarget, GLuint(tex)); in attachToContext()
627 mTexName = tex; in attachToContext()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java96 public abstract void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, in drawMesh() argument
/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp328 static jint SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) in SurfaceTexture_attachToGLContext() argument
331 return surfaceTexture->attachToContext((GLuint)tex); in SurfaceTexture_attachToGLContext()
/frameworks/rs/script_api/
Drs_graphics.spec840 arg: const rs_matrix4x4* tex, "texture matrix"
/frameworks/rs/script_api/include/
Drs_graphics.rsh1278 * tex: texture matrix
1287 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4* tex);