Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
c79dccc2
Commit
c79dccc2
authored
12 years ago
by
Diego Wilson
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Don't dither RGB 565 frames"
This reverts commit
ee16b672
.
parent
3444e727
No related branches found
Branches containing commit
Tags
AU_LINUX_GECKO_ICS_STRAWBERRY.01.01.00.019.061
AU_LINUX_GECKO_ICS_STRAWBERRY.01.01.00.019.062
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hwc-dont-dither-rgb565.patch
+0
-14
0 additions, 14 deletions
hwc-dont-dither-rgb565.patch
with
0 additions
and
14 deletions
hwc-dont-dither-rgb565.patch
deleted
100644 → 0
+
0
−
14
View file @
3444e727
diff --git a/libhwcomposer/a-family/hwcomposer.cpp b/libhwcomposer/a-family/hwcomposer.cpp
index 6072f9d..50d1e55 100644
--- a/libhwcomposer/a-family/hwcomposer.cpp
+++ b/libhwcomposer/a-family/hwcomposer.cpp
@@ -1700,8 +1700,7 @@
static int drawLayerUsingCopybit(hwc_composer_device_t *dev, hwc_layer_t *layer,
copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, 255);
copybit->set_parameter(copybit, COPYBIT_PREMULTIPLIED_ALPHA,
(layer->blending == HWC_BLENDING_PREMULT)? COPYBIT_ENABLE : COPYBIT_DISABLE);
- copybit->set_parameter(copybit, COPYBIT_DITHER,
- (dst.format == HAL_PIXEL_FORMAT_RGB_565)? COPYBIT_ENABLE : COPYBIT_DISABLE);
+ copybit->set_parameter(copybit, COPYBIT_DITHER, COPYBIT_DISABLE);
err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect, ©bitRegion);
if(tmpHnd)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment