Maybe I shouldn't have forgotten to commit this (didn't break the build, but

overlay didn't even pretend to do anything).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17243 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-04-26 13:36:41 +00:00
parent b907a5acab
commit eea30ef36c
2 changed files with 18 additions and 13 deletions

View File

@ -89,16 +89,24 @@ get_accelerant_hook(uint32 feature, void *data)
HOOK(FILL_SPAN);
*/
// overlay
/* HOOK(OVERLAY_COUNT);
HOOK(OVERLAY_SUPPORTED_SPACES);
HOOK(OVERLAY_SUPPORTED_FEATURES);
HOOK(ALLOCATE_OVERLAY_BUFFER);
HOOK(RELEASE_OVERLAY_BUFFER);
HOOK(GET_OVERLAY_CONSTRAINTS);
HOOK(ALLOCATE_OVERLAY);
HOOK(RELEASE_OVERLAY);
HOOK(CONFIGURE_OVERLAY);
*/
case B_OVERLAY_COUNT:
return intel_overlay_supported_spaces;
case B_OVERLAY_SUPPORTED_SPACES:
return intel_overlay_supported_spaces;
case B_OVERLAY_SUPPORTED_FEATURES:
return intel_overlay_supported_features;
case B_ALLOCATE_OVERLAY_BUFFER:
return intel_allocate_overlay_buffer;
case B_RELEASE_OVERLAY_BUFFER:
return intel_release_overlay_buffer;
case B_GET_OVERLAY_CONSTRAINTS:
return intel_get_overlay_constraints;
case B_ALLOCATE_OVERLAY:
return intel_allocate_overlay;
case B_RELEASE_OVERLAY:
return intel_release_overlay;
case B_CONFIGURE_OVERLAY:
return intel_configure_overlay;
}
return NULL;

View File

@ -95,9 +95,6 @@ intel_allocate_overlay_buffer(color_space colorSpace, uint16 width,
buffer->buffer = gInfo->shared_info->graphics_memory + overlay->buffer_offset;
buffer->buffer_dma = gInfo->shared_info->physical_graphics_memory + overlay->buffer_offset;
// add to list of overlays
TRACE(("allocated overlay buffer: handle=%x, offset=%x, address=%x, phys-address=%x",
overlay->buffer_handle, overlay->buffer_offset, buffer->buffer, buffer->buffer_dma));