Home
last modified time | relevance | path

Searched refs:BUFFER_COUNT (Results 1 – 22 of 22) sorted by relevance

/external/crosvm/gpu_display/src/
Dgpu_display_wl.rs29 const BUFFER_COUNT: usize = 3; constant
208 let buffer_size = round_up_to_page_size(fb_size as usize * BUFFER_COUNT); in create_surface()
257 let buffer_index = (surface.buffer_index.get() + 1) % BUFFER_COUNT; in framebuffer()
284 let next_buffer_index = (surface.buffer_index.get() + 1) % BUFFER_COUNT; in next_buffer_in_use()
300 .set((surface.buffer_index.get() + 1) % BUFFER_COUNT); in flip()
Dgpu_display_x.rs35 const BUFFER_COUNT: usize = 2; constant
230 buffers: [Option<Buffer>; BUFFER_COUNT],
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_span.c100 for (i = 0; i < BUFFER_COUNT; i++) in radeon_map_framebuffer()
118 for (i = 0; i < BUFFER_COUNT; i++) in radeon_unmap_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_span.c100 for (i = 0; i < BUFFER_COUNT; i++) in radeon_map_framebuffer()
118 for (i = 0; i < BUFFER_COUNT; i++) in radeon_unmap_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_clear.c69 for (i = 0; i < BUFFER_COUNT; i++) { in debug_mask()
99 for (i = 0; i < BUFFER_COUNT; i++) { in intelClear()
Dintel_blit.c371 mask &= (1 << BUFFER_COUNT) - 1; in intelClearWithBlit()
/external/mesa3d/src/mesa/main/
Drenderbuffer.c117 assert(bufferName < BUFFER_COUNT); in validate_and_init_renderbuffer_attachment()
183 assert(bufferName < BUFFER_COUNT); in _mesa_remove_renderbuffer()
Dframebuffer.c227 for (unsigned i = 0; i < BUFFER_COUNT; i++) { in _mesa_free_framebuffer_data()
300 for (unsigned i = 0; i < BUFFER_COUNT; i++) { in _mesa_resize_framebuffer()
441 for (unsigned i = 0; i < BUFFER_COUNT; i++) { in _mesa_update_framebuffer_visual()
469 for (unsigned i = 0; i < BUFFER_COUNT; i++) { in _mesa_update_framebuffer_visual()
595 assert(fb->_ColorReadBufferIndex < BUFFER_COUNT); in update_color_read_buffer()
969 for (unsigned i = 0; i < BUFFER_COUNT; i++) { in _mesa_print_framebuffer()
Dmenums.h136 BUFFER_COUNT, enumerator
Dbuffers.c168 return 1 << BUFFER_COUNT; /* invalid, but not BAD_MASK */ in draw_buffer_enum_to_bitmask()
188 return 1 << BUFFER_COUNT; in draw_buffer_enum_to_bitmask()
230 return BUFFER_COUNT; /* invalid, but not -1 */ in read_buffer_enum_to_index()
250 return BUFFER_COUNT; in read_buffer_enum_to_index()
Dfbobject.c638 for (buf = 0; buf < BUFFER_COUNT; buf++) { in _mesa_validate_framebuffer()
1951 for (i = 0; i < BUFFER_COUNT; i++) { in _mesa_detach_renderbuffer()
2462 for (i = 0; i < BUFFER_COUNT; i++) { in invalidate_rb()
2997 for (i = 0; i < BUFFER_COUNT; i++) { in check_begin_texture_render()
3021 for (i = 0; i < BUFFER_COUNT; i++) { in check_end_texture_render()
Dcontext.c811 assert(BUFFER_COLOR0 + MAX_DRAW_BUFFERS <= BUFFER_COUNT); in check_context_limits()
Dmtypes.h3595 struct gl_renderbuffer_attachment Attachment[BUFFER_COUNT];
Dteximage.c2693 for (i = 0; i < BUFFER_COUNT; i++) { in check_rtt_cb()
/external/OpenCL-CTS/test_conformance/multiple_device_context/
Dtest_multiple_contexts.cpp59 #define BUFFER_COUNT 2 macro
69 cl_mem m[BUFFER_COUNT];
175 for( i = 0; i < BUFFER_COUNT; i++ ) in CreateTestItem()
218 for( i = 0; i < BUFFER_COUNT; i++ ) in DestroyTestItem()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp2780 const deUint32 BUFFER_COUNT = 5u; in submitBufferCountNonZero() local
2798 BUFFER_COUNT, // bufferCount; in submitBufferCountNonZero()
2800 VkCommandBuffer cmdBuffers[BUFFER_COUNT]; in submitBufferCountNonZero()
2812 for (deUint32 ndx = 0; ndx < BUFFER_COUNT; ++ndx) in submitBufferCountNonZero()
2818 for (deUint32 ndx = 0; ndx < BUFFER_COUNT; ++ndx) in submitBufferCountNonZero()
2837 BUFFER_COUNT, // commandBufferCount in submitBufferCountNonZero()
2851 for (deUint32 ndx = 0; ndx < BUFFER_COUNT; ++ndx) in submitBufferCountNonZero()
2873 const deUint32 BUFFER_COUNT = 2u; in submitBufferCountEqualZero() local
2891 BUFFER_COUNT, // bufferCount; in submitBufferCountEqualZero()
2893 VkCommandBuffer cmdBuffers[BUFFER_COUNT]; in submitBufferCountEqualZero()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp612 BUFFER_COUNT, enumerator
657 for (UINT i = 0; i < BUFFER_COUNT; i++) in DX11Operation()
677 for (UINT i = 0; i < BUFFER_COUNT; ++i) in DX11Operation()
712 for (UINT i = 0; i < BUFFER_COUNT; ++i) in DX11Operation()
1091 for (int i = 0; i < BUFFER_COUNT; i++) in cleanup()
1192 HANDLE m_sharedMemHandle[BUFFER_COUNT];
1207 ID3D11Texture2D* m_pTexture[BUFFER_COUNT];
1208 ID3D11Buffer* m_pBuffer[BUFFER_COUNT];
1209 IDXGIKeyedMutex* m_keyedMutex[BUFFER_COUNT];
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_driver.c114 for (i = 0; i < BUFFER_COUNT; i++) { in nouveau_clear()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c68 for (i = 0; i < BUFFER_COUNT; i++) { in debug_mask()
Dbrw_context.c1305 for (int i = 0; i < BUFFER_COUNT; i++) { in intel_gles3_srgb_workaround()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c104 index = BUFFER_COUNT; in attachment_to_buffer_index()
243 if (idx >= BUFFER_COUNT) { in st_framebuffer_validate()
286 for (idx = 0; idx < BUFFER_COUNT; idx++) { in st_framebuffer_update_attachments()
Dst_context.c1068 for (unsigned i = 0; i < BUFFER_COUNT; i++) { in destroy_framebuffer_attachment_sampler_cb()