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
+18 -10
View File
@@ -89,16 +89,24 @@ get_accelerant_hook(uint32 feature, void *data)
HOOK(FILL_SPAN); HOOK(FILL_SPAN);
*/ */
// overlay // overlay
/* HOOK(OVERLAY_COUNT); case B_OVERLAY_COUNT:
HOOK(OVERLAY_SUPPORTED_SPACES); return intel_overlay_supported_spaces;
HOOK(OVERLAY_SUPPORTED_FEATURES); case B_OVERLAY_SUPPORTED_SPACES:
HOOK(ALLOCATE_OVERLAY_BUFFER); return intel_overlay_supported_spaces;
HOOK(RELEASE_OVERLAY_BUFFER); case B_OVERLAY_SUPPORTED_FEATURES:
HOOK(GET_OVERLAY_CONSTRAINTS); return intel_overlay_supported_features;
HOOK(ALLOCATE_OVERLAY); case B_ALLOCATE_OVERLAY_BUFFER:
HOOK(RELEASE_OVERLAY); return intel_allocate_overlay_buffer;
HOOK(CONFIGURE_OVERLAY); 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; return NULL;
@@ -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 = gInfo->shared_info->graphics_memory + overlay->buffer_offset;
buffer->buffer_dma = gInfo->shared_info->physical_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", TRACE(("allocated overlay buffer: handle=%x, offset=%x, address=%x, phys-address=%x",
overlay->buffer_handle, overlay->buffer_offset, buffer->buffer, buffer->buffer_dma)); overlay->buffer_handle, overlay->buffer_offset, buffer->buffer, buffer->buffer_dma));