Home
last modified time | relevance | path

Searched refs:textureId (Results 1 – 25 of 50) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dtexture.dart36 /// Creates a widget backed by the texture identified by [textureId].
39 @required this.textureId,
40 }) : assert(textureId != null),
44 final int textureId;
47 TextureBox createRenderObject(BuildContext context) => TextureBox(textureId: textureId);
51 renderObject.textureId = textureId;
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dtexture.dart38 /// Creates a box backed by the texture identified by [textureId].
39 TextureBox({ @required int textureId })
40 : assert(textureId != null),
41 _textureId = textureId;
44 int get textureId => _textureId;
46 set textureId(int value) {
77 textureId: _textureId,
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java55 private int textureId = -1; field in BackgroundRenderer
61 return textureId; in getTextureId()
75 textureId = textures[0]; in createOnGlThread()
77 GLES20.glBindTexture(textureTarget, textureId); in createOnGlThread()
146 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, textureId); in draw()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/
DFlutterJNI.java550 public void registerTexture(long textureId, @NonNull SurfaceTexture surfaceTexture) { in registerTexture() argument
553 nativeRegisterTexture(nativePlatformViewId, textureId, surfaceTexture); in registerTexture()
556 …private native void nativeRegisterTexture(long nativePlatformViewId, long textureId, @NonNull Surf… in nativeRegisterTexture() argument
566 public void markTextureFrameAvailable(long textureId) { in markTextureFrameAvailable() argument
569 nativeMarkTextureFrameAvailable(nativePlatformViewId, textureId); in markTextureFrameAvailable()
572 private native void nativeMarkTextureFrameAvailable(long nativePlatformViewId, long textureId); in nativeMarkTextureFrameAvailable() argument
578 public void unregisterTexture(long textureId) { in unregisterTexture() argument
581 nativeUnregisterTexture(nativePlatformViewId, textureId); in unregisterTexture()
584 private native void nativeUnregisterTexture(long nativePlatformViewId, long textureId); in nativeUnregisterTexture() argument
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/renderer/
DFlutterRenderer.java240 private void registerTexture(long textureId, @NonNull SurfaceTexture surfaceTexture) { in registerTexture() argument
241 flutterJNI.registerTexture(textureId, surfaceTexture); in registerTexture()
245 private void markTextureFrameAvailable(long textureId) { in markTextureFrameAvailable() argument
246 flutterJNI.markTextureFrameAvailable(textureId); in markTextureFrameAvailable()
250 private void unregisterTexture(long textureId) { in unregisterTexture() argument
251 flutterJNI.unregisterTexture(textureId); in unregisterTexture()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMaxTextureSizeTest.cpp220 GLuint textureId = 0; in TEST_P() local
222 glGenTextures(1, &textureId); in TEST_P()
223 glBindTexture(GL_TEXTURE_2D, textureId); in TEST_P()
240 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureId, 0); in TEST_P()
282 glDeleteTextures(1, &textureId); in TEST_P()
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Headers/
DFlutterTexture.h23 - (void)textureFrameAvailable:(int64_t)textureId;
24 - (void)unregisterTexture:(int64_t)textureId;
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dtexture_layer.h22 TextureLayer(const SkPoint& offset, SkSize textureSize, int64_t textureId, uint8_t opacity) in TextureLayer() argument
23 : offset_(offset), textureSize_(textureSize), textureId_(textureId), opacity_(opacity) {} in TextureLayer()
Dlayer_tree_builder.cpp126 int64_t textureId, bool freeze, uint8_t opacity) in AddTexture() argument
131 …:make_shared<TextureLayer>(SkPoint::Make(dx, dy), SkSize::Make(width, height), textureId, opacity); in AddTexture()
Dpaint_context.h23 virtual void Paint(int64_t textureId, const SkPoint& offset, uint8_t opacity) const = 0;
Dlayer_tree_builder.h39 …void AddTexture(double dx, double dy, double width, double height, int64_t textureId, bool freeze,…
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMaxTextureSizeTest.cpp218 GLuint textureId = 0; in TEST_P() local
220 glGenTextures(1, &textureId); in TEST_P()
221 glBindTexture(GL_TEXTURE_2D, textureId); in TEST_P()
238 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureId, 0); in TEST_P()
280 glDeleteTextures(1, &textureId); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLProtectedContentTest.cpp155 bool createTexture(EGLBoolean isProtected, GLuint *textureId) in createTexture() argument
180 *textureId = texture; in createTexture()
184 bool createTextureFromImage(EGLImage image, GLuint *textureId) in createTextureFromImage() argument
196 *textureId = texture; in createTextureFromImage()
200 bool createTextureFromPbuffer(EGLSurface pBuffer, GLuint *textureId) in createTextureFromPbuffer() argument
214 *textureId = texture; in createTextureFromPbuffer()
218 bool fillTexture(GLuint textureId, GLColor color) in fillTexture() argument
225 glBindTexture(GL_TEXTURE_2D, textureId); in fillTexture()
232 bool renderTexture(GLuint textureId) in renderTexture() argument
258 glBindTexture(GL_TEXTURE_2D, textureId); in renderTexture()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp80 deUint32 textureId; // id of created texture member
83 ResultData(deUint32 tId) : textureId(tId), bufferId(0) in ResultData()
87 ResultData(deUint32 tId, deUint32 bId) : textureId(tId), bufferId(bId) in ResultData()
178 deUint32 textureId; in createTextureBuffer() local
179 gl.genTextures(1, &textureId); in createTextureBuffer()
180 gl.bindTexture(GL_TEXTURE_BUFFER, textureId); in createTextureBuffer()
182 return ResultData(textureId, bufferId); in createTextureBuffer()
483 …gl.bindImageTexture(definedBinding, resultData.textureId, 0, GL_TRUE, 0, GL_READ_ONLY, m_imageForm… in iterate()
534 gl.deleteTextures(1, &resultData.textureId); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureStateQueryTests.cpp212 GLuint textureId = 0; in test() local
213 glGenTextures(1, &textureId); in test()
214 glBindTexture(m_textureTarget, textureId); in test()
219 glDeleteTextures(1, &textureId); in test()
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
DFlutterEngine.mm482 int64_t textureId = _nextTextureId++;
483 self.iosPlatformView->RegisterExternalTexture(textureId, texture);
484 return textureId;
487 - (void)unregisterTexture:(int64_t)textureId {
488 _shell->GetPlatformView()->UnregisterTexture(textureId);
491 - (void)textureFrameAvailable:(int64_t)textureId {
492 _shell->GetPlatformView()->MarkTextureFrameAvailable(textureId);
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/
Dios_external_texture_gl.mm17 IOSExternalTextureGL::IOSExternalTextureGL(int64_t textureId,
19 : Texture(textureId), external_texture_(externalTexture) {
Dios_external_texture_gl.h16 IOSExternalTextureGL(int64_t textureId, NSObject<FlutterTexture>* externalTexture);
/third_party/gstreamer/gstplugins_good/ext/qt/
Dgstqsgtexture.h45 int textureId () const;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DFramebufferAttachment.h94 bool isTextureWithId(GLuint textureId) const in isTextureWithId() argument
96 return mType == GL_TEXTURE && id() == textureId; in isTextureWithId()
/third_party/flutter/engine/flutter/shell/platform/android/
Dplatform_view_android_jni.h39 void SurfaceTextureAttachToGLContext(JNIEnv* env, jobject obj, jint textureId);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DFramebufferAttachment.h92 bool isTextureWithId(TextureID textureId) const in isTextureWithId() argument
94 return mType == GL_TEXTURE && id() == textureId.value; in isTextureWithId()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.hpp210 …d::vector<glw::GLuint> getDataFromTexture(const glu::RenderContext& context, glw::GLuint textureId,
213 …glw::GLuint calcPixelSumValue(const glu::RenderContext& context, glw::GLuint textureId, tcu::IVec2…
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DPlatformViewsChannel.java87 long textureId = handler.createPlatformView(request);
88 result.success(textureId);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp270 GLuint textureId, in IOSurfaceFramebuffer() argument
273 : FramebufferGL(data, id, isDefault, emulatedAlpha), mTextureId(textureId) in IOSurfaceFramebuffer()

12