Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboStateQueryTests.cpp237 GLuint textureID = 0; in test() local
238 glGenTextures(1, &textureID); in test()
239 glBindTexture(GL_TEXTURE_2D, textureID); in test()
243 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test()
247 …ttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, textureID); in test()
250 glDeleteTextures(1, &textureID); in test()
293 GLuint textureID = 0; in test() local
294 glGenTextures(1, &textureID); in test()
295 glBindTexture(GL_TEXTURE_2D, textureID); in test()
299 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, mipmapLevel… in test()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fFboStateQueryTests.cpp89 GLuint textureID = 0; in test() local
90 glGenTextures(1, &textureID); in test()
91 glBindTexture(GL_TEXTURE_2D, textureID); in test()
95 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test()
99 …ttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, textureID); in test()
102 glDeleteTextures(1, &textureID); in test()
145 GLuint textureID = 0; in test() local
147 glGenTextures(1, &textureID); in test()
148 glBindTexture(GL_TEXTURE_2D, textureID); in test()
152 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestime.c262 static void unifont_load_texture(Uint32 textureID) in unifont_load_texture() argument
267 if (textureID >= UNIFONT_NUM_TEXTURES) in unifont_load_texture()
269 …rror(SDL_LOG_CATEGORY_APPLICATION, "unifont: Tried to load out of range texture %u.\n", textureID); in unifont_load_texture()
284 Uint32 codepoint = UNIFONT_GLYPHS_IN_TEXTURE * textureID + i; in unifont_load_texture()
297 SDL_Texture *tex = unifontTexture[UNIFONT_NUM_TEXTURES * i + textureID]; in unifont_load_texture()
303 …LOG_CATEGORY_APPLICATION, "unifont: Failed to create texture %u for renderer %d.\n", textureID, i); in unifont_load_texture()
306 unifontTexture[UNIFONT_NUM_TEXTURES * i + textureID] = tex; in unifont_load_texture()
310 … SDL_Log("unifont error: Failed to update texture %u data for renderer %d.\n", textureID, i); in unifont_load_texture()
315 unifontTextureLoaded[textureID] = 1; in unifont_load_texture()
321 const Uint32 textureID = codepoint / UNIFONT_GLYPHS_IN_TEXTURE; in unifont_draw_glyph() local
[all …]
/third_party/skia/third_party/externals/angle2/samples/multiple_contexts/
DMultipleContexts.cpp20 GLuint textureID; member
64 if (textureAndFence.textureID == 0) in UpdateThreadLoop()
72 glBindTexture(GL_TEXTURE_2D, textureAndFence.textureID); in UpdateThreadLoop()
94 mainThreadQueue->push({textureAndFence.textureID, mainThreadSync}); in UpdateThreadLoop()
203 glBindTexture(GL_TEXTURE_2D, textureAndFence.textureID); in draw()
237 mUpdateThreadQueue.push({textureAndFence.textureID, drawSync}); in draw()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp162 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
163 stateManager->bindTexture(gl::TextureType::Rectangle, textureID); in bindTexImage()
175 if (IsError(initializeAlphaChannel(context, textureID))) in bindTexImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp189 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
200 mTextureHandle = mFunctionsWGL->dxRegisterObjectNV(mDeviceHandle, colorBuffer, textureID, in bindTexImage()
218 mTextureID = textureID; in bindTexImage()
DD3DTextureSurfaceWGL.cpp414 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
417 mDeviceHandle, mObject, textureID, GL_TEXTURE_2D, WGL_ACCESS_READ_WRITE_NV); in bindTexImage()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp189 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
200 mTextureHandle = mFunctionsWGL->dxRegisterObjectNV(mDeviceHandle, colorBuffer, textureID, in bindTexImage()
218 mTextureID = textureID; in bindTexImage()
DD3DTextureSurfaceWGL.cpp414 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
417 mDeviceHandle, mObject, textureID, GL_TEXTURE_2D, WGL_ACCESS_READ_WRITE_NV); in bindTexImage()
/third_party/vk-gl-cts/modules/glshared/
DglsTextureStateQueryTests.cpp1635 GLuint textureID = 0; in test() local
1637 gl.glGenTextures(1, &textureID); in test()
1638 gl.glBindTexture(m_target, textureID); in test()
1651 gl.glDeleteTextures(1, &textureID); in test()
1659 GLuint textureID = 0; in test() local
1661 gl.glGenTextures(1, &textureID); in test()
1662 gl.glBindTexture(m_target, textureID); in test()
1677 gl.glDeleteTextures(1, &textureID); in test()
1704 GLuint textureID = 0; in test() local
1706 gl.glGenTextures(1, &textureID); in test()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm179 GLuint textureID = textureGL->getTextureID();
180 stateManager->bindTexture(gl::TextureType::_2D, textureID);
196 if (IsError(initializeAlphaChannel(context, textureID)))
222 mBoundTextureID = textureID;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.mm154 GLuint textureID = textureGL->getTextureID();
155 stateManager->bindTexture(gl::TextureType::Rectangle, textureID);
167 if (IsError(initializeAlphaChannel(context, textureID)))
/third_party/skia/src/gpu/gl/
DGrGLRenderTarget.cpp205 glTex->textureID(), in bindInternal()
212 glTex->textureID(), in bindInternal()
DGrGLTexture.h44 GrGLuint textureID() const { return fID; } in textureID() function
DGrGLGpu.cpp837 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onWritePixels()
885 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onTransferPixelsTo()
1423 GL_CALL(ClearTexImage(tex->textureID(), i, externalFormat, externalType, in onCreateTexture()
1443 this->bindTextureToScratchUnit(texDesc.fTarget, tex->textureID()); in onCreateTexture()
2643 GrGpuResource::UniqueID textureID = texture->uniqueID(); in bindTexture() local
2645 if (fHWTextureUnitBindings[unitIdx].boundID(target) != textureID) { in bindTexture()
2647 GL_CALL(BindTexture(target, texture->textureID())); in bindTexture()
2648 fHWTextureUnitBindings[unitIdx].setBoundID(target, textureID); in bindTexture()
2843 void GrGLGpu::bindTextureToScratchUnit(GrGLenum target, GrGLint textureID) { in bindTextureToScratchUnit() argument
2853 GL_CALL(BindTexture(target, textureID)); in bindTextureToScratchUnit()
[all …]
DGrGLTexture.cpp174 texture_id.appendU32(this->textureID()); in dumpMemoryStatistics()
DGrGLGpu.h444 void bindTextureToScratchUnit(GrGLenum target, GrGLint textureID);
/third_party/flutter/skia/src/gpu/gl/
DGrGLTexture.h45 GrGLuint textureID() const { return fID; } in textureID() function
DGrGLGpu.cpp844 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onWritePixels()
869 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onTransferPixelsTo()
1509 GL_CALL(ClearTexImage(tex->textureID(), i, GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, in onCreateTexture()
2828 GrGpuResource::UniqueID textureID = texture->uniqueID(); in bindTexture() local
2830 if (fHWTextureUnitBindings[unitIdx].boundID(target) != textureID) { in bindTexture()
2832 GL_CALL(BindTexture(target, texture->textureID())); in bindTexture()
2833 fHWTextureUnitBindings[unitIdx].setBoundID(target, textureID); in bindTexture()
2999 void GrGLGpu::bindTextureToScratchUnit(GrGLenum target, GrGLint textureID) { in bindTextureToScratchUnit() argument
3009 GL_CALL(BindTexture(target, textureID)); in bindTextureToScratchUnit()
3099 GrGLuint texID = texture->textureID(); in bindSurfaceFBOForPixelOps()
[all …]
DGrGLTexture.cpp172 texture_id.appendU32(this->textureID()); in dumpMemoryStatistics()
DGrGLGpu.h381 void bindTextureToScratchUnit(GrGLenum target, GrGLint textureID);
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sSpecialFloatTests.cpp259 GLuint textureID = 0; in drawTestPattern() local
276 gl.genTextures(1, &textureID); in drawTestPattern()
277 gl.bindTexture(GL_TEXTURE_2D, textureID); in drawTestPattern()
301 if (textureID) in drawTestPattern()
302 gl.deleteTextures(1, &textureID); in drawTestPattern()
/third_party/flutter/skia/src/utils/
DSkCanvasStateUtils.cpp73 int32_t textureID; member
/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp73 int32_t textureID; member
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sSpecialFloatTests.cpp267 GLuint textureID = 0; in drawTestPattern() local
284 gl.genTextures(1, &textureID); in drawTestPattern()
285 gl.bindTexture(GL_TEXTURE_2D, textureID); in drawTestPattern()
309 if (textureID) in drawTestPattern()
310 gl.deleteTextures(1, &textureID); in drawTestPattern()