Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/gpu/mtl/
DGrMtlTextureRenderTarget.mm20 id<MTLTexture> colorTexture,
25 , GrMtlRenderTarget(gpu, desc, sampleCnt, colorTexture, resolveTexture) {
32 id<MTLTexture> colorTexture,
35 , GrMtlTexture(gpu, desc, colorTexture, mipMapsStatus)
36 , GrMtlRenderTarget(gpu, desc, colorTexture) {
43 id<MTLTexture> colorTexture,
49 , GrMtlRenderTarget(gpu, desc, sampleCnt, colorTexture, resolveTexture) {
55 id<MTLTexture> colorTexture,
59 , GrMtlTexture(gpu, desc, colorTexture, mipMapsStatus)
60 , GrMtlRenderTarget(gpu, desc, colorTexture) {
[all …]
DGrMtlRenderTarget.mm21 id<MTLTexture> colorTexture,
27 , fColorTexture(colorTexture)
35 id<MTLTexture> colorTexture,
39 , fColorTexture(colorTexture)
48 id<MTLTexture> colorTexture,
53 , fColorTexture(colorTexture)
60 id<MTLTexture> colorTexture)
63 , fColorTexture(colorTexture)
92 id<MTLTexture> colorTexture = [gpu->device() newTextureWithDescriptor:texDesc];
93 if (!colorTexture) {
[all …]
DGrMtlTextureRenderTarget.h48 id<MTLTexture> colorTexture,
55 id<MTLTexture> colorTexture,
61 id<MTLTexture> colorTexture,
68 id<MTLTexture> colorTexture,
DGrMtlRenderTarget.h51 id<MTLTexture> colorTexture,
56 id<MTLTexture> colorTexture);
85 id<MTLTexture> colorTexture,
90 id<MTLTexture> colorTexture,
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DReadOnlyDepthStencilAttachmentTests.cpp128 wgpu::Texture colorTexture, in DoTest() argument
153 utils::ComboRenderPassDescriptor passDescriptor({colorTexture.CreateView()}, in DoTest()
202 wgpu::Texture colorTexture = in TEST_P() local
210 DoTest(wgpu::TextureAspect::DepthOnly, depthFormat, colorTexture, &values); in TEST_P()
219 EXPECT_TEXTURE_EQ(kExpectedTopColors.data(), colorTexture, {0, 0}, {kSize, kSize / 2}); in TEST_P()
220 EXPECT_TEXTURE_EQ(kExpectedBottomColors.data(), colorTexture, {0, kSize / 2}, in TEST_P()
233 wgpu::Texture colorTexture = in TEST_P() local
244 DoTest(wgpu::TextureAspect::StencilOnly, stencilFormat, colorTexture, &values); in TEST_P()
246 EXPECT_TEXTURE_EQ(kSampledColors.data(), colorTexture, {0, 0}, {kSize, kSize}); in TEST_P()
251 DoTest(wgpu::TextureAspect::StencilOnly, stencilFormat, colorTexture, &values); in TEST_P()
[all …]
DClipSpaceTests.cpp69 wgpu::Texture colorTexture = Create2DTextureForTest(wgpu::TextureFormat::RGBA8Unorm); in TEST_P() local
73 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
91 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, colorTexture, kSize - 1, kSize - 1); in TEST_P()
92 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, colorTexture, 0, 0); in TEST_P()
DCullingTests.cpp75 wgpu::Texture colorTexture = Create2DTextureForTest(wgpu::TextureFormat::RGBA8Unorm); in DoTest() local
77 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}); in DoTest()
94 EXPECT_PIXEL_RGBA8_EQ(kCCWTriangleTopLeftColor, colorTexture, 0, 0); in DoTest()
98 EXPECT_PIXEL_RGBA8_EQ(kCWTriangleBottomRightColor, colorTexture, kSize - 1, kSize - 1); in DoTest()
DMultisampledSamplingTests.cpp131 wgpu::Texture colorTexture; in TEST_P() local
138 colorTexture = device.CreateTexture(&desc); in TEST_P()
184 wgpu::TextureView colorView = colorTexture.CreateView(); in TEST_P()
DTextureZeroInitTests.cpp637 wgpu::Texture colorTexture = device.CreateTexture(&colorDescriptor); in TEST_P() local
639 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
657 EXPECT_TEXTURE_EQ(expected.data(), colorTexture, {0, 0}, {kSize, kSize}); in TEST_P()
712 wgpu::Texture colorTexture = device.CreateTexture(&colorDescriptor); in TEST_P() local
714 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
731 EXPECT_TEXTURE_EQ(expected.data(), colorTexture, {0, 0}, {kSize, kSize}); in TEST_P()
810 wgpu::Texture colorTexture = device.CreateTexture(&colorDescriptor); in TEST_P() local
812 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
829 EXPECT_TEXTURE_EQ(expected.data(), colorTexture, {0, 0}, {kSize, kSize}); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.cpp82 for (auto colorTexture : colorTextures) in CreateMultiviewBackingTextures() local
84 glBindTexture(texTarget, colorTexture); in CreateMultiviewBackingTextures()
95 glFramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, colorTexture, in CreateMultiviewBackingTextures()
168 GLuint colorTexture, in CreateMultiviewBackingTextures() argument
172 ASSERT_TRUE(colorTexture != 0u); in CreateMultiviewBackingTextures()
173 std::vector<GLuint> colorTextures(1, colorTexture); in CreateMultiviewBackingTextures()
209 GLuint colorTexture, in AttachMultiviewTextures() argument
213 ASSERT_TRUE(colorTexture != 0u); in AttachMultiviewTextures()
214 std::vector<GLuint> colorTextures(1, colorTexture); in AttachMultiviewTextures()
DMultiviewTest.h42 GLuint colorTexture,
59 GLuint colorTexture,
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.cpp82 for (auto colorTexture : colorTextures) in CreateMultiviewBackingTextures() local
84 glBindTexture(texTarget, colorTexture); in CreateMultiviewBackingTextures()
95 glFramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, colorTexture, in CreateMultiviewBackingTextures()
168 GLuint colorTexture, in CreateMultiviewBackingTextures() argument
172 ASSERT_TRUE(colorTexture != 0u); in CreateMultiviewBackingTextures()
173 std::vector<GLuint> colorTextures(1, colorTexture); in CreateMultiviewBackingTextures()
209 GLuint colorTexture, in AttachMultiviewTextures() argument
213 ASSERT_TRUE(colorTexture != 0u); in AttachMultiviewTextures()
214 std::vector<GLuint> colorTextures(1, colorTexture); in AttachMultiviewTextures()
DMultiviewTest.h42 GLuint colorTexture,
59 GLuint colorTexture,
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DClipSpaceTests.cpp75 dawn::Texture colorTexture = Create2DTextureForTest(dawn::TextureFormat::RGBA8Unorm); in TEST_P() local
80 {colorTexture.CreateDefaultView()}, depthStencilTexture.CreateDefaultView()); in TEST_P()
98 EXPECT_PIXEL_RGBA8_EQ(RGBA8(255, 0, 0, 255), colorTexture, kSize - 1, kSize - 1); in TEST_P()
99 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), colorTexture, 0, 0); in TEST_P()
DCullingTests.cpp78 dawn::Texture colorTexture = Create2DTextureForTest(dawn::TextureFormat::RGBA8Unorm); in DoTest() local
80 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateDefaultView()}); in DoTest()
98 EXPECT_PIXEL_RGBA8_EQ(kCCWTriangleTopLeftColor, colorTexture, 0, 0); in DoTest()
102 EXPECT_PIXEL_RGBA8_EQ(kCWTriangleBottomRightColor, colorTexture, kSize - 1, kSize - 1); in DoTest()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPassDescriptorValidationTests.cpp206 dawn::Texture colorTexture = CreateTexture( in TEST_F() local
225 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
248 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
272 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
299 dawn::Texture colorTexture = CreateTexture( in TEST_F() local
318 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
341 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
365 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
391 dawn::Texture colorTexture = CreateTexture( in TEST_F() local
397 dawn::TextureView colorTextureView = colorTexture.CreateDefaultView(); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPassDescriptorValidationTests.cpp217 wgpu::Texture colorTexture = in TEST_F() local
230 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
269 wgpu::Texture colorTexture = in TEST_F() local
289 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
312 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
336 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
388 wgpu::Texture colorTexture = in TEST_F() local
408 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
431 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
455 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DFramebufferTest.cpp2790 GLTexture colorTexture; in TEST_P() local
2791 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
2796 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
2857 GLTexture colorTexture; in TEST_P() local
2858 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
2863 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
2927 GLTexture colorTexture; in TEST_P() local
2928 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
2933 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
3010 GLTexture colorTexture; in TEST_P() local
[all …]
DBlitFramebufferANGLETest.cpp1723 GLTexture colorTexture; in TEST_P() local
1724 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
1733 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
1786 GLTexture colorTexture; in TEST_P() local
1787 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
1800 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
1854 GLTexture colorTexture; in TEST_P() local
1855 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
1868 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
DGeometryShaderTest.cpp72 void verifyLayeredFramebufferColor(GLuint colorTexture,
1019 void GeometryShaderTest::verifyLayeredFramebufferColor(GLuint colorTexture, in verifyLayeredFramebufferColor() argument
1049 glBindTexture(colorTarget, colorTexture); in verifyLayeredFramebufferColor()
1053 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, colorTexture, 0, layer); in verifyLayeredFramebufferColor()
DVulkanPerformanceCounterTest.cpp468 GLTexture colorTexture; in TEST_P() local
469 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
487 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
1332 GLTexture colorTexture; in TEST_P() local
1333 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
1335 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
2451 GLTexture colorTexture; in TEST_P() local
2452 glBindTexture(GL_TEXTURE_2D, colorTexture); in TEST_P()
2456 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp294 const TextureBase* colorTexture = in ResolveMultisampledRenderTargets() local
296 ASSERT(colorTexture->IsMultisampledTexture()); in ResolveMultisampledRenderTargets()
297 ASSERT(colorTexture->GetArrayLayers() == 1); in ResolveMultisampledRenderTargets()
300 GLuint colorHandle = ToBackend(colorTexture)->GetHandle(); in ResolveMultisampledRenderTargets()
303 ToBackend(colorTexture)->GetGLTarget(), colorHandle, 0); in ResolveMultisampledRenderTargets()
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm94 const Texture* colorTexture = (const Texture*)colorInfo.fTextureProxy->texture();
95 colorAttachment.texture = colorTexture->mtlTexture();
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp382 Texture* colorTexture = in ResolveMultisampledRenderPass() local
387 colorTexture->TransitionUsageNow(commandList, D3D12_RESOURCE_STATE_RESOLVE_SOURCE); in ResolveMultisampledRenderPass()
391 ID3D12Resource* colorTextureHandle = colorTexture->GetD3D12Resource(); in ResolveMultisampledRenderPass()
398 kColorTextureSubresourceIndex, colorTexture->GetD3D12Format()); in ResolveMultisampledRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp412 const TextureBase* colorTexture = in ResolveMultisampledRenderTargets() local
414 ASSERT(colorTexture->IsMultisampledTexture()); in ResolveMultisampledRenderTargets()
415 ASSERT(colorTexture->GetArrayLayers() == 1); in ResolveMultisampledRenderTargets()
418 GLuint colorHandle = ToBackend(colorTexture)->GetHandle(); in ResolveMultisampledRenderTargets()
421 ToBackend(colorTexture)->GetGLTarget(), colorHandle, 0); in ResolveMultisampledRenderTargets()

12