Home
last modified time | relevance | path

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

12345678

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_framebuffer.c36 struct vk_framebuffer *framebuffer; in vk_common_CreateFramebuffer() local
40 size_t size = sizeof(*framebuffer); in vk_common_CreateFramebuffer()
50 framebuffer = vk_object_alloc(device, pAllocator, size, in vk_common_CreateFramebuffer()
52 if (framebuffer == NULL) in vk_common_CreateFramebuffer()
55 framebuffer->flags = pCreateInfo->flags; in vk_common_CreateFramebuffer()
56 framebuffer->width = pCreateInfo->width; in vk_common_CreateFramebuffer()
57 framebuffer->height = pCreateInfo->height; in vk_common_CreateFramebuffer()
58 framebuffer->layers = pCreateInfo->layers; in vk_common_CreateFramebuffer()
62 framebuffer->attachments[i] = pCreateInfo->pAttachments[i]; in vk_common_CreateFramebuffer()
63 framebuffer->attachment_count = pCreateInfo->attachmentCount; in vk_common_CreateFramebuffer()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_QCOM_fragment_density_map_offset.adoc20 density map attachment, changing the framebuffer location where density
30 If the fragment density map size is larger than framebuffer size /
32 slink:VkSubpassFragmentDensityMapOffsetEndInfoQCOM to shift the framebuffer
73 texelSize = max(framebuffer / fdmImage, minFragmentDensityTexelSize) = 32x32
75 and the fdmImage covers a total framebuffer region of
79 This means that the framebuffer (1024x1024) can be shifted up to 1024x1024
DVK_EXT_fragment_density_map.adoc59 values for regions of the framebuffer that will be used in rasterization for
139 // Add fdmImage to framebuffer
154 vkCreateFramebuffer(device, &framebufferCreateInfo, nullptr, &framebuffer);
163 .framebuffer = framebuffer,
Dinvariance.adoc21 For any given Vulkan and framebuffer state vector, and for any Vulkan
22 command, the resulting Vulkan and framebuffer state must: be identical
23 whenever the command is executed on that initial Vulkan and framebuffer
54 mode vector, to eventually produce a result in the framebuffer.
57 * "`Erasing`" a primitive from the framebuffer by redrawing it, either in
66 *Rule 1* _For any given Vulkan and framebuffer state vector, and for any
67 given Vulkan command, the resulting Vulkan and framebuffer state must: be
69 framebuffer state._
95 framebuffer, either simultaneously or separately using the same command
120 *Rule 6* _For any given Vulkan and framebuffer state vector, and for any
[all …]
DVK_ARM_rasterization_order_attachment_access.adoc20 same functionality as the framebuffer fetch and pixel local storage
28 framebuffer attachments when used as both input and color, or depth/stencil,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dfragmentdensitymapops.adoc13 framebuffer region that the fragment occupies.
14 The framebuffer is divided into a uniform grid of these local regions, and
31 Each local framebuffer region at center coordinate [eq]#(x,y)# fetches a
41 Each local framebuffer region at center coordinate [eq]#(x,y)# fetches a
44 First, the local framebuffer region center coordinate [eq]#(x,y)# is offset
68 Where the size of each region in the framebuffer is:
117 Fragment area for the framebuffer region is undefined: if the density
132 A single fetched fragment area for the framebuffer region is chosen by the
145 framebuffer region.
158 The clamped fragment area is assigned to the corresponding framebuffer
Dframebuffer.adoc5 [[framebuffer]] anchor
9 [[framebuffer-blending]]
14 framebuffer at the fragment's [eq]#(x~f~,y~f~)# location.
19 <<framebuffer-blendoperations,blend operation>>, quadruplets of source and
20 destination weighting factors determined by the <<framebuffer-blendfactors,
21 blend factors>>, and a <<framebuffer-blendconstants,blend constant>>, to
35 <<framebuffer-blend-advanced,Advanced blending operations>> are performed
72 * pname:logicOpEnable controls whether to apply <<framebuffer-logicop,
101 blending, depending on the <<framebuffer-blendfactors,blend factor>>.
161 framebuffer-local memory dependencies, allowing applications to express
[all …]
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp93 .framebuffer = 0,
110 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
136 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
137 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked()
150 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
268 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
Dframebuffer.cpp84 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
87 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
101 m->base.lock(&m->base, m->framebuffer, in fb_post()
114 m->base.unlock(&m->base, m->framebuffer); in fb_post()
125 if (module->framebuffer) {
282 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0);
292 module->framebuffer->base = intptr_t(vaddr);
/hardware/google/gfxstream/host/gl/
DTextureResize.cpp290 s_framebuffersToRelease.push_back(mFBWidth.framebuffer); in ~TextureResize()
291 s_framebuffersToRelease.push_back(mFBHeight.framebuffer); in ~TextureResize()
375 if (!mFBWidth.framebuffer) { in resize()
376 s_gles2.glGenFramebuffers(1, &mFBWidth.framebuffer); in resize()
378 if (!mFBHeight.framebuffer) { in resize()
379 s_gles2.glGenFramebuffers(1, &mFBHeight.framebuffer); in resize()
383 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFBWidth.framebuffer); in resize()
409 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFBHeight.framebuffer); in resize()
534 s_gles2.glGenFramebuffers(1, &mFrameBuffer.framebuffer); in GenericResizer()
560 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFrameBuffer.framebuffer); in draw()
[all …]
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
114 if (module->framebuffer) { in mapFrameBufferLocked()
318 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
327 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
332 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
Dgpu.cpp185 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
212 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
214 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
317 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
/hardware/google/gfxstream/common/detector/
DGraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.cpp83 Vk::FramebufferWithAttachments framebuffer = in CanHandlePrecisionQualifierWithYuvSampler() local
286 .renderPass = *framebuffer.renderpass, in CanHandlePrecisionQualifierWithYuvSampler()
308 .renderPass = *framebuffer.renderpass, in CanHandlePrecisionQualifierWithYuvSampler()
309 .framebuffer = *framebuffer.framebuffer, in CanHandlePrecisionQualifierWithYuvSampler()
363 framebuffer.colorAttachment->image, in CanHandlePrecisionQualifierWithYuvSampler()
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp93 m->framebuffer->base); in fb_post()
96 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
118 if (module->framebuffer) { in mapFrameBufferLocked()
334 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
344 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
348 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
Dgpu.cpp202 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
229 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
231 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
246 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
332 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
/hardware/qcom/display/msm8084/libgralloc/
Dframebuffer.cpp92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
117 if (module->framebuffer) { in mapFrameBufferLocked()
333 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
343 module->framebuffer->base = uintptr_t(vaddr); in mapFrameBufferLocked()
347 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
Dgpu.cpp199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
226 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
243 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
330 size_t index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Dpipeline_barrier_common.adoc67 <<synchronization-framebuffer-regions, framebuffer-space stages>>,
69 <<synchronization-framebuffer-regions, framebuffer-space stages>>
73 <<synchronization-framebuffer-regions, framebuffer-space stages>>, then
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkSnapshotPipelineTests.cpp426 auto framebuffer = device->createFramebufferUnique(framebufferCreateInfo).value; in TEST_P() local
427 ASSERT_THAT(framebuffer, IsValidHandle()); in TEST_P()
452 auto framebuffer = device->createFramebufferUnique(framebufferCreateInfo).value; in TEST_P() local
453 ASSERT_THAT(framebuffer, IsValidHandle()); in TEST_P()
483 .framebuffer = *framebuffer, in TEST_P()
591 auto framebuffer = device->createFramebufferUnique(framebufferCreateInfo).value; in TEST_P() local
592 ASSERT_THAT(framebuffer, IsValidHandle()); in TEST_P()
622 .framebuffer = *framebuffer, in TEST_P()
768 auto framebuffer = device->createFramebufferUnique(framebufferCreateInfo).value; in TEST_P() local
769 ASSERT_THAT(framebuffer, IsValidHandle()); in TEST_P()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_QCOM_tile_properties.adoc18 In the case of fragment density map, a "local framebuffer region" and all fragments within it will …
20 The "tiles" exposed in this extension also each define a "framebuffer-local region" as described in…
28framebuffer-local dependencies, applications are unable to determine the size of the framebuffer-l…
38 …he size and location of framebuffer-local regions, allowing applications to use local-region depen…
53 …enderpasses, use the above command after framebuffer creation to query the tile properties from th…
58 For dynamic rendering, a new API entrypoint is introduced because it does not have a framebuffer:
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DClientAPIExts.in135 (GLuint framebuffer),
136 (framebuffer))
139 (GLenum target, GLuint framebuffer),
140 (target, framebuffer))
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.cpp218 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
245 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
249 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
264 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
359 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.cpp199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
226 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
230 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
245 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
354 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgpu.cpp197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
352 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
352 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()

12345678